diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/renalware/pathology/observation_request.rb b/app/models/renalware/pathology/observation_request.rb
index abc1234..def5678 100644
--- a/app/models/renalware/pathology/observation_request.rb
+++ b/app/models/renalware/pathology/observation_request.rb
@@ -17,7 +17,6 @@ validates :patient, pre... | Remove requirement for order number uniqueness
|
diff --git a/wkhtmltopdf-old.rb b/wkhtmltopdf-old.rb
index abc1234..def5678 100644
--- a/wkhtmltopdf-old.rb
+++ b/wkhtmltopdf-old.rb
@@ -0,0 +1,32 @@+require 'formula'
+
+class WkhtmltopdfOld < Formula
+ url 'http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9.tar.bz2'
+ homepage 'http://code.google.com/p/wkhtm... | Add wkhtmltopdf for PDFKit. Useful when you cannot install wkhtmltopdf-binary gem
|
diff --git a/tasks/console.rake b/tasks/console.rake
index abc1234..def5678 100644
--- a/tasks/console.rake
+++ b/tasks/console.rake
@@ -4,7 +4,8 @@ task :console do
require 'irb'
require 'irb/completion'
- require File.join(__FILE__, '../../lib/tty-command')
+ require_relative '../lib/tty-command'
ARGV.clea... | Change to fix on jruby
|
diff --git a/Casks/pycharm-ce-bundled-jdk.rb b/Casks/pycharm-ce-bundled-jdk.rb
index abc1234..def5678 100644
--- a/Casks/pycharm-ce-bundled-jdk.rb
+++ b/Casks/pycharm-ce-bundled-jdk.rb
@@ -0,0 +1,22 @@+cask :v1 => 'pycharm-ce-bundled-jdk' do
+ version '4.5.1'
+ sha256 '8929fa6e995a895244731a1ac2ab888593decb7d0592ba56... | Add PyCharm Community Edition 4.5.1 with bundled JDK 1.8
|
diff --git a/app/models/oauth_account.rb b/app/models/oauth_account.rb
index abc1234..def5678 100644
--- a/app/models/oauth_account.rb
+++ b/app/models/oauth_account.rb
@@ -36,9 +36,8 @@ end
end
- private
-
- def self.crypt
- ActiveSupport::MessageEncryptor.new(Rails.application.secrets.secret_key_bas... | Correct privatisation of class method.
|
diff --git a/app/services/start_round.rb b/app/services/start_round.rb
index abc1234..def5678 100644
--- a/app/services/start_round.rb
+++ b/app/services/start_round.rb
@@ -11,8 +11,6 @@ @game.with_lock do
start_round if round_can_be_started
end
-
- success?
end
private
@@ -23,20 +21,10 @@ ... | Create all 10 tricks at start of round
|
diff --git a/spec/features/notifications_spec.rb b/spec/features/notifications_spec.rb
index abc1234..def5678 100644
--- a/spec/features/notifications_spec.rb
+++ b/spec/features/notifications_spec.rb
@@ -22,6 +22,7 @@ it "Replying to the notification" do
click_link "Reply"
expect(page).to have_conten... | Update notification spec to count messages, not rows
|
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb
index abc1234..def5678 100644
--- a/spec/install/gems/resolving_spec.rb
+++ b/spec/install/gems/resolving_spec.rb
@@ -20,6 +20,7 @@ end
it "works with crazy rubygem plugin stuff" do
+ return pending
install_gem... | Mark non-functional rubygems plugin spec 'pending' |
diff --git a/test/test-query.rb b/test/test-query.rb
index abc1234..def5678 100644
--- a/test/test-query.rb
+++ b/test/test-query.rb
@@ -0,0 +1,78 @@+$VERBOSE = true
+require 'test/unit'
+require_relative '../lib/resource'
+
+class TestQuery < Test::Unit::TestCase
+
+ TEST_DATASET_NAME = 'ClinVar/2.0.0-1/Variants'
+... | Convert last query test from Python code. It doesn't work yet, though.
|
diff --git a/spec/obtuse/functions/equal_spec.rb b/spec/obtuse/functions/equal_spec.rb
index abc1234..def5678 100644
--- a/spec/obtuse/functions/equal_spec.rb
+++ b/spec/obtuse/functions/equal_spec.rb
@@ -2,9 +2,16 @@
describe Obtuse do
describe "=" do
- describe "Object Object" do
+ describe "Integer Intege... | Fix spec description for `=`.
|
diff --git a/lib/capistrano/ghostinspector/api.rb b/lib/capistrano/ghostinspector/api.rb
index abc1234..def5678 100644
--- a/lib/capistrano/ghostinspector/api.rb
+++ b/lib/capistrano/ghostinspector/api.rb
@@ -26,8 +26,8 @@ results = JSON.parse(data)
if (type == "suite")
- results['data'].each do |test| ... | Rename variable to avoid conflict with outer variable
|
diff --git a/app/models/address.rb b/app/models/address.rb
index abc1234..def5678 100644
--- a/app/models/address.rb
+++ b/app/models/address.rb
@@ -4,4 +4,8 @@ validates :user_id, :city, :state, :zip_code, presence: true
geocoded_by :zip_code
after_validation :geocode
+
+ def city_state
+ "#{city}, #{stat... | Add method to print both city and state
|
diff --git a/app/models/snippet.rb b/app/models/snippet.rb
index abc1234..def5678 100644
--- a/app/models/snippet.rb
+++ b/app/models/snippet.rb
@@ -1,3 +1,8 @@ class Snippet
include Mongoid::Document
+ field :name, :type => String
+ field :type, :type => String
+ field :description, :type => String
+ field :tag... | [002] Add attributes to Snippet model; used rails generate model cmd
$ rails generate model snippet name:string type:string
description:string tags:string text:text invoke mongoid
create app/models/snippet.rb
invoke rspec
identical spec/models/snippet_spec.rb
|
diff --git a/lib/tb_heavy_control/configurable.rb b/lib/tb_heavy_control/configurable.rb
index abc1234..def5678 100644
--- a/lib/tb_heavy_control/configurable.rb
+++ b/lib/tb_heavy_control/configurable.rb
@@ -11,9 +11,14 @@ private
def load_file(original_path)
- relative_path = Pathname.new('').join(*Ar... | Make '.rb' part for load_file optional
|
diff --git a/attributes/default.rb b/attributes/default.rb
index abc1234..def5678 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -18,18 +18,14 @@ # limitations under the License.
#
# Attributes for the Go cookbook
-
+platforms = {
+ 'x86_64' => 'amd64',
+ 'i686' => '386
+}
default[:go][:install_... | Use a Hash to map platform names.
|
diff --git a/Stripe.podspec b/Stripe.podspec
index abc1234..def5678 100644
--- a/Stripe.podspec
+++ b/Stripe.podspec
@@ -0,0 +1,12 @@+Pod::Spec.new do |s|
+ s.name = "Stripe"
+ s.version = "1.0.0"
+ s.summary = "Stripe is a RESTful API for accepting payments online."
+ s.license = { :type => ... | Add podspec file for CocoaPods support
|
diff --git a/TEST2/test2.rb b/TEST2/test2.rb
index abc1234..def5678 100644
--- a/TEST2/test2.rb
+++ b/TEST2/test2.rb
@@ -1,9 +1,9 @@ # http://ruby-doc.org/stdlib-2.0.0/libdoc/open-uri/rdoc/OpenURI.html
require 'open-uri'
+require 'nokogiri'
# Go fetch the contents of a URL & store them as a String
-response = open... | Use nokogiri gem to focus on table elements
|
diff --git a/spec/appsignal/auth_check_spec.rb b/spec/appsignal/auth_check_spec.rb
index abc1234..def5678 100644
--- a/spec/appsignal/auth_check_spec.rb
+++ b/spec/appsignal/auth_check_spec.rb
@@ -5,7 +5,7 @@ before do
@transmitter = mock
Appsignal::Transmitter.should_receive(:new).
- with('http://loca... | Update API path in spec |
diff --git a/spec/helpers/plots_helper_spec.rb b/spec/helpers/plots_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/plots_helper_spec.rb
+++ b/spec/helpers/plots_helper_spec.rb
@@ -5,11 +5,21 @@ describe "#link_to_featured_plant" do
let(:plot) { build(:plot, id: 1) }
+ let(:current_user) { b... | Update plots helper spec to accomodate users that are not logged in
|
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index abc1234..def5678 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -24,8 +24,8 @@ # Configure all nodes in nodeset
c.before :suite do
# Install module and dependencies
- puppet_module_instal... | Fix issue with puppet_module_install, removed and using updated method from beaker core copy_module_to
|
diff --git a/spec/support/feature_helper.rb b/spec/support/feature_helper.rb
index abc1234..def5678 100644
--- a/spec/support/feature_helper.rb
+++ b/spec/support/feature_helper.rb
@@ -2,6 +2,24 @@ def login_as(username)
visit "/login/#{username}"
expect(page).to have_content(username)
+ end
+
+ def login... | Add login with ui method for spec tests.
|
diff --git a/spec/classes/apt_preferences_spec.rb b/spec/classes/apt_preferences_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/apt_preferences_spec.rb
+++ b/spec/classes/apt_preferences_spec.rb
@@ -17,7 +17,7 @@
describe 'pixelated packages' do
it { should contain_apt__preferences_snippet("pixelated... | Fix spec test for previous commit
|
diff --git a/lib/app_stats/stats.rb b/lib/app_stats/stats.rb
index abc1234..def5678 100644
--- a/lib/app_stats/stats.rb
+++ b/lib/app_stats/stats.rb
@@ -8,6 +8,8 @@ CURRENT_FILE = File.basename(__FILE__)
PIPE_MINUS_CURRENT_FILE = "| grep -v \"#{CURRENT_FILE}\""
HAS_MANY_SEARCH = "ack \" has_many \" -c | a... | Add lines of code search
|
diff --git a/app/controllers/deploys_controller.rb b/app/controllers/deploys_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/deploys_controller.rb
+++ b/app/controllers/deploys_controller.rb
@@ -5,12 +5,24 @@
def create
@app = App.find_by_api_key!(params[:api_key])
- @deploy = @app.deplo... | Support Heroku's HTTP Post deployhook.
|
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -9,7 +9,7 @@ def amr_data_show
@meter = Meter.includes(:meter_readings).find(params[:meter_id])
... | Fix deprecation warning by wrapping cast
|
diff --git a/app/controllers/schools_controller.rb b/app/controllers/schools_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/schools_controller.rb
+++ b/app/controllers/schools_controller.rb
@@ -9,8 +9,21 @@ @results = School.search_schools(params["search"])
end
- def show
- #AJAX to get info o... | Add method for getting 50 random schools from db with ajax
|
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/welcome_controller.rb
+++ b/app/controllers/welcome_controller.rb
@@ -1,6 +1,6 @@ class WelcomeController < ApplicationController
def index
- @most_popular_buildings = Bui... | Use Arel.sql on hardcoded SQL.
|
diff --git a/spec/features/forms/form/form_status_spec.rb b/spec/features/forms/form/form_status_spec.rb
index abc1234..def5678 100644
--- a/spec/features/forms/form/form_status_spec.rb
+++ b/spec/features/forms/form/form_status_spec.rb
@@ -0,0 +1,60 @@+# frozen_string_literal: true
+
+require "rails_helper"
+
+feature... | 10156: Add feature spec for form status changes
|
diff --git a/lib/active_record/tasks/chronomodel_database_tasks.rb b/lib/active_record/tasks/chronomodel_database_tasks.rb
index abc1234..def5678 100644
--- a/lib/active_record/tasks/chronomodel_database_tasks.rb
+++ b/lib/active_record/tasks/chronomodel_database_tasks.rb
@@ -24,21 +24,24 @@
private
- de... | Define :remove_sql_heder_comments only if not defined from upstream
|
diff --git a/lib/devise/omniauth.rb b/lib/devise/omniauth.rb
index abc1234..def5678 100644
--- a/lib/devise/omniauth.rb
+++ b/lib/devise/omniauth.rb
@@ -8,8 +8,8 @@ raise
end
-unless OmniAuth::VERSION =~ /^1\./
- raise "You are using an old OmniAuth version, please ensure you have 1.0.0.pr2 version or later insta... | Improve OmniAuth version check to allow anything from 1.0 forward
This should enable people to try OmniAuth 2 currently in pre-release.
|
diff --git a/lib/generators/fiona/templates/create_fiona_tables.rb b/lib/generators/fiona/templates/create_fiona_tables.rb
index abc1234..def5678 100644
--- a/lib/generators/fiona/templates/create_fiona_tables.rb
+++ b/lib/generators/fiona/templates/create_fiona_tables.rb
@@ -10,8 +10,8 @@
create_table :template_... | Change template attribute data type to handle large json strings.
|
diff --git a/lib/email_processor.rb b/lib/email_processor.rb
index abc1234..def5678 100644
--- a/lib/email_processor.rb
+++ b/lib/email_processor.rb
@@ -23,7 +23,9 @@ # Add a new answer to question
print "\nSubject: #{email.subject}\n"
if email.subject.include? '|Answer Needed|'
- ques_content = emai... | Update logic for gettin question from email subject
|
diff --git a/spec/controllers/items_controller_spec.rb b/spec/controllers/items_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/items_controller_spec.rb
+++ b/spec/controllers/items_controller_spec.rb
@@ -13,7 +13,7 @@
expect(assigns[:items]).to be_empty
end
-
+
context "Wh... | Remove trailing space and Insert newline at the end of file
|
diff --git a/lib/rom/sql/commands/error_wrapper.rb b/lib/rom/sql/commands/error_wrapper.rb
index abc1234..def5678 100644
--- a/lib/rom/sql/commands/error_wrapper.rb
+++ b/lib/rom/sql/commands/error_wrapper.rb
@@ -1,7 +1,13 @@ module ROM
module SQL
module Commands
+ # Shared error handler for all SQL comman... | Add some docs to error wrapper [ci skip]
|
diff --git a/lib/travis/logs/services/fetch_log.rb b/lib/travis/logs/services/fetch_log.rb
index abc1234..def5678 100644
--- a/lib/travis/logs/services/fetch_log.rb
+++ b/lib/travis/logs/services/fetch_log.rb
@@ -28,9 +28,11 @@ ].join('')
end
+ removed_by_id = result.delete(:removed_by... | Rename attribute removed_by => removed_by_id
to ease overriding method in travis-api
|
diff --git a/lib/versionator/detector/mediawiki.rb b/lib/versionator/detector/mediawiki.rb
index abc1234..def5678 100644
--- a/lib/versionator/detector/mediawiki.rb
+++ b/lib/versionator/detector/mediawiki.rb
@@ -6,18 +6,30 @@ set :app_name, "MediaWiki"
set :project_url, "http://www.mediawiki.org"
- ... | Update MediaWiki detector for changes in MediaWiki 1.18 |
diff --git a/lib/tasks/twitter.rake b/lib/tasks/twitter.rake
index abc1234..def5678 100644
--- a/lib/tasks/twitter.rake
+++ b/lib/tasks/twitter.rake
@@ -0,0 +1,50 @@+namespace :twitter do
+ desc "This task is called by the Heroku scheduler add-on"
+ puts "Start making tweet of hot entry"
+ task :tweet_hot_entry => :... | Implement rake task to tweet about most hottest entry.
|
diff --git a/lib/brightbox-cli/commands/firewall-rules-list.rb b/lib/brightbox-cli/commands/firewall-rules-list.rb
index abc1234..def5678 100644
--- a/lib/brightbox-cli/commands/firewall-rules-list.rb
+++ b/lib/brightbox-cli/commands/firewall-rules-list.rb
@@ -3,14 +3,15 @@ arg_name '[firewall-policy-id...]'
comma... | Fix problem with firewall list not working on 1.9
|
diff --git a/lib/eaco/adapters/active_record/postgres_jsonb.rb b/lib/eaco/adapters/active_record/postgres_jsonb.rb
index abc1234..def5678 100644
--- a/lib/eaco/adapters/active_record/postgres_jsonb.rb
+++ b/lib/eaco/adapters/active_record/postgres_jsonb.rb
@@ -25,7 +25,7 @@ def accessible_by(actor)
r... | Use sanitize instead of quote_value
Under the hood it works the same as passing nil to quote_value in Rails
4+, and is deprecated in Rails 5.
|
diff --git a/lib/generators/wheelie/render/render_generator.rb b/lib/generators/wheelie/render/render_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/wheelie/render/render_generator.rb
+++ b/lib/generators/wheelie/render/render_generator.rb
@@ -9,10 +9,8 @@ end
def migrate
- <<-`MIGRATE`... | Change migrations in RenderGenerator to output their output :)
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -1,6 +1,7 @@ require File.expand_path('../boot', __FILE__)
require 'rails/all'
+require 'action_mailer/log_subscriber'
# Require the gems listed in Gemfile, including... | Disable default request logging - use logstasher instead
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -27,5 +27,9 @@ I18n.enforce_available_locales = true
config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
+
+ config.autoload_paths += %W(
+ ... | Add app/presenters to load path
|
diff --git a/spec/cases/not_overly_helpful_spec.rb b/spec/cases/not_overly_helpful_spec.rb
index abc1234..def5678 100644
--- a/spec/cases/not_overly_helpful_spec.rb
+++ b/spec/cases/not_overly_helpful_spec.rb
@@ -0,0 +1,13 @@+# frozen_string_literal: true
+require "spec_helper"
+
+describe "Case: Not overly helpful" do... | Spec: Add a not overly helpful case
|
diff --git a/spec/shared_examples/serialization.rb b/spec/shared_examples/serialization.rb
index abc1234..def5678 100644
--- a/spec/shared_examples/serialization.rb
+++ b/spec/shared_examples/serialization.rb
@@ -5,7 +5,5 @@ subject.attributes.each do |attr, value|
expect(deserialized.send(attr)).to eq(value... | Remove new_record? expectation since since its not implemented by us
|
diff --git a/spec/tasks/remove_old_stories_spec.rb b/spec/tasks/remove_old_stories_spec.rb
index abc1234..def5678 100644
--- a/spec/tasks/remove_old_stories_spec.rb
+++ b/spec/tasks/remove_old_stories_spec.rb
@@ -2,18 +2,21 @@ app_require 'tasks/remove_old_stories'
describe RemoveOldStories do
- before do
- @are... | Split RemoveOldStories spec in two
One assertion per test.
|
diff --git a/spec/uploaders/image_uploader_spec.rb b/spec/uploaders/image_uploader_spec.rb
index abc1234..def5678 100644
--- a/spec/uploaders/image_uploader_spec.rb
+++ b/spec/uploaders/image_uploader_spec.rb
@@ -11,7 +11,7 @@ ImageUploader.enable_processing = true
@uploader = ImageUploader.new(course, :lo... | Make sure that we open the jpeg in binary mode.
|
diff --git a/spec/integration/spec_helper.rb b/spec/integration/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/integration/spec_helper.rb
+++ b/spec/integration/spec_helper.rb
@@ -2,7 +2,7 @@ require 'net/ssh'
require 'tempfile'
-include Specinfra::Helper::Ssh
+set :backend, :ssh
def vagrant(cmd)
Bund... | Use set method to set backend type
|
diff --git a/spec/pdftotext_document_spec.rb b/spec/pdftotext_document_spec.rb
index abc1234..def5678 100644
--- a/spec/pdftotext_document_spec.rb
+++ b/spec/pdftotext_document_spec.rb
@@ -23,4 +23,9 @@ expect(pages.last.text).to eql("This is another test.\n")
expect(pages.last.number).to eql(2)
end
+
+ it... | Add failing test for non-boolean command-line args
|
diff --git a/minitest-sugar.gemspec b/minitest-sugar.gemspec
index abc1234..def5678 100644
--- a/minitest-sugar.gemspec
+++ b/minitest-sugar.gemspec
@@ -14,4 +14,5 @@ s.test_files = Dir["test/**/*.rb"]
s.add_dependency "minitest", "~> 5.0"
+ s.add_development_dependency "rake", "~> 10.0"
end
| Add rake as a development dependency.
|
diff --git a/plugins/providers/hyperv/cap/validate_disk_ext.rb b/plugins/providers/hyperv/cap/validate_disk_ext.rb
index abc1234..def5678 100644
--- a/plugins/providers/hyperv/cap/validate_disk_ext.rb
+++ b/plugins/providers/hyperv/cap/validate_disk_ext.rb
@@ -6,8 +6,8 @@ module ValidateDiskExt
LOGGER = ... | Use correct disk extension formats for Hyper-V
|
diff --git a/MJExtension.podspec b/MJExtension.podspec
index abc1234..def5678 100644
--- a/MJExtension.podspec
+++ b/MJExtension.podspec
@@ -1,8 +1,10 @@ Pod::Spec.new do |s|
s.name = "MJExtension"
- s.version = "3.2.5"
+ s.version = "3.3.0"
s.ios.deployment_target = '9.0'
s.osx.deployment_... | Add watchOS and tvOS support.
|
diff --git a/yard_extensions.rb b/yard_extensions.rb
index abc1234..def5678 100644
--- a/yard_extensions.rb
+++ b/yard_extensions.rb
@@ -1,11 +1,26 @@ # A YARD handler to deal with the "property" DSL method.
class PropertyDslHandler < YARD::Handlers::Ruby::Base
handles method_call(:property)
+ namespace_only # Do ... | Update PropertyDslHandler to better generate documentation
|
diff --git a/test/xample/text/analyzer_spec.rb b/test/xample/text/analyzer_spec.rb
index abc1234..def5678 100644
--- a/test/xample/text/analyzer_spec.rb
+++ b/test/xample/text/analyzer_spec.rb
@@ -0,0 +1,73 @@+require File.expand_path(File.dirname(__FILE__) + "/../../test_helper")
+
+include Xample::Text
+
+describe An... | Add some tests for the analyzer
|
diff --git a/Regex.swift.podspec b/Regex.swift.podspec
index abc1234..def5678 100644
--- a/Regex.swift.podspec
+++ b/Regex.swift.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'Regex.swift'
- s.version = '1.0'
+ s.version = '1.0.1'
s.summary = 'A Simple Swift NSRegu... | Add mac, TV and Watch support
|
diff --git a/tools/scripts/mosaic/msgcounts.rb b/tools/scripts/mosaic/msgcounts.rb
index abc1234..def5678 100644
--- a/tools/scripts/mosaic/msgcounts.rb
+++ b/tools/scripts/mosaic/msgcounts.rb
@@ -0,0 +1,36 @@+def main()
+ if ARGF.argv.empty?
+ puts "Usage: #{$PROGRAM_NAME} [list_of_msgcount_logs]"
+ exit 1
+ e... | Add script to process mosaic msgcount logs
|
diff --git a/lib/hpcloud/commands/servers/remove.rb b/lib/hpcloud/commands/servers/remove.rb
index abc1234..def5678 100644
--- a/lib/hpcloud/commands/servers/remove.rb
+++ b/lib/hpcloud/commands/servers/remove.rb
@@ -24,9 +24,16 @@ if (server && server.id == id)
begin
# disassociate serv... | Fix command to ignore exception rasied when no IPs are found. Behavior changed in Diablo4 release.
|
diff --git a/test/fabricators/post_fabricator.rb b/test/fabricators/post_fabricator.rb
index abc1234..def5678 100644
--- a/test/fabricators/post_fabricator.rb
+++ b/test/fabricators/post_fabricator.rb
@@ -1,5 +1,5 @@ Fabricator(:post) do
content { Faker::Lorem.paragraphs.join("\n\n") }
- markup_language { Post::MAR... | Fix markup language in post fabricator
|
diff --git a/test/functional/index_group_test.rb b/test/functional/index_group_test.rb
index abc1234..def5678 100644
--- a/test/functional/index_group_test.rb
+++ b/test/functional/index_group_test.rb
@@ -15,6 +15,9 @@ "mappings" => {
"default" => {
"edition" => { "_all" => { "enabled" =... | Test custom mappings for particular indices.
|
diff --git a/cyclid-client.gemspec b/cyclid-client.gemspec
index abc1234..def5678 100644
--- a/cyclid-client.gemspec
+++ b/cyclid-client.gemspec
@@ -8,6 +8,8 @@ s.authors = ['Kristian Van Der Vliet']
s.email = 'vanders@liqwyd.com'
s.files = Dir.glob('lib/**/*') + %w(LICENSE README.md)
+ s.bindi... | Add cyclid to the bindir
|
diff --git a/dredd_hooks.gemspec b/dredd_hooks.gemspec
index abc1234..def5678 100644
--- a/dredd_hooks.gemspec
+++ b/dredd_hooks.gemspec
@@ -9,17 +9,16 @@ spec.authors = ["Adam Kliment", "Gonzalo Bulnes Guilpain"]
spec.email = ["adam@apiary.io", "gon.bulnes@gmail.com"]
spec.summary = %q{Ruby... | Refactor simplify file lists in gemspec
These lists of files are not modified often, and the Git versions
are cryptic enough to allow useless files to be added to the gem.
|
diff --git a/worker_host/travis_worker/recipes/default.rb b/worker_host/travis_worker/recipes/default.rb
index abc1234..def5678 100644
--- a/worker_host/travis_worker/recipes/default.rb
+++ b/worker_host/travis_worker/recipes/default.rb
@@ -1,3 +1,11 @@+directory "#{node[:travis][:worker][:home]}" do
+ action :create
... | Create worker directory. Bundle into sub-dir.
|
diff --git a/test/unit/persistence_riak_dt_set_test.rb b/test/unit/persistence_riak_dt_set_test.rb
index abc1234..def5678 100644
--- a/test/unit/persistence_riak_dt_set_test.rb
+++ b/test/unit/persistence_riak_dt_set_test.rb
@@ -0,0 +1,39 @@+## -------------------------------------------------------------------
+##
+... | Add RiakDTSetStrategy persistence api test
|
diff --git a/test/lib/thermite/util_test.rb b/test/lib/thermite/util_test.rb
index abc1234..def5678 100644
--- a/test/lib/thermite/util_test.rb
+++ b/test/lib/thermite/util_test.rb
@@ -1,4 +1,6 @@+require 'tempfile'
require 'test_helper'
+require 'thermite/config'
require 'thermite/util'
module Thermite
| Fix require statements for util test
|
diff --git a/examples/blink_led.rb b/examples/blink_led.rb
index abc1234..def5678 100644
--- a/examples/blink_led.rb
+++ b/examples/blink_led.rb
@@ -6,13 +6,14 @@ board.connect
pin_number = 3
+rate = 0.5
10.times do
board.digital_write pin_number, Firmata::Board::HIGH
puts '+'
- board.delay 0.5
+ board.de... | Add rate var for blink example.
|
diff --git a/test/integration/default/minitest/test_default.rb b/test/integration/default/minitest/test_default.rb
index abc1234..def5678 100644
--- a/test/integration/default/minitest/test_default.rb
+++ b/test/integration/default/minitest/test_default.rb
@@ -7,6 +7,6 @@ it "check R version" do
system('echo "q(... | Update R version for default
|
diff --git a/ext/lingua/extconf.rb b/ext/lingua/extconf.rb
index abc1234..def5678 100644
--- a/ext/lingua/extconf.rb
+++ b/ext/lingua/extconf.rb
@@ -17,12 +17,15 @@ exit
end
end
-# make this stuff
-system "cd #{LIBSTEMMER}; #{make} libstemmer.o; cd #{ROOT};"
-exit unless $? == 0
-$CFLAGS += " -I#{File.join(L... | Expand paths for compiler flags
Don't build libstemmer.o on windows - should be build manually
|
diff --git a/0_code_wars/is_valid_identifier.rb b/0_code_wars/is_valid_identifier.rb
index abc1234..def5678 100644
--- a/0_code_wars/is_valid_identifier.rb
+++ b/0_code_wars/is_valid_identifier.rb
@@ -0,0 +1,18 @@+# http://www.codewars.com/kata/563a8656d52a79f06c00001f/train/
+# --- iteration 1 ---
+def is_valid(idn)
+... | Add code wars (7) - is valid identifier
|
diff --git a/spec/ethon/easies/http/action_spec.rb b/spec/ethon/easies/http/action_spec.rb
index abc1234..def5678 100644
--- a/spec/ethon/easies/http/action_spec.rb
+++ b/spec/ethon/easies/http/action_spec.rb
@@ -4,8 +4,22 @@ let(:easy) { Ethon::Easy.new }
describe ".reset" do
- let(:action) { Ethon::Easies:... | Add more specs for Action.reset.
|
diff --git a/spec/features/articles_edited_spec.rb b/spec/features/articles_edited_spec.rb
index abc1234..def5678 100644
--- a/spec/features/articles_edited_spec.rb
+++ b/spec/features/articles_edited_spec.rb
@@ -0,0 +1,23 @@+# frozen_string_literal: true
+
+require 'rails_helper'
+
+describe 'Articles Edited view', ty... | Add spec for opening the ArticleGraphs component
This exercises a request that is being converted from jquery.ajax to `request`.
|
diff --git a/PullToMakeSoup.podspec b/PullToMakeSoup.podspec
index abc1234..def5678 100644
--- a/PullToMakeSoup.podspec
+++ b/PullToMakeSoup.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "PullToMakeSoup"
- s.version = "1.0"
+ s.version = "1.1"
s.summary = "Custom animated pull-t... | Update podspec to version 1.1
|
diff --git a/Casks/adobe-photoshop-lightroom571.rb b/Casks/adobe-photoshop-lightroom571.rb
index abc1234..def5678 100644
--- a/Casks/adobe-photoshop-lightroom571.rb
+++ b/Casks/adobe-photoshop-lightroom571.rb
@@ -0,0 +1,19 @@+cask :v1 => 'adobe-photoshop-lightroom' do
+ version '5.7.1'
+ sha256 '155a91e2c90927a05ccaa... | Migrate Lightroom 5.7.1 from homebrew-cask
|
diff --git a/spec/vidibus/recording/worker_spec.rb b/spec/vidibus/recording/worker_spec.rb
index abc1234..def5678 100644
--- a/spec/vidibus/recording/worker_spec.rb
+++ b/spec/vidibus/recording/worker_spec.rb
@@ -19,15 +19,6 @@ pid
end
stub(Process).detach(pid)
- end
-
- def process_alive?(pid)
- b... | Enhance specs for worker killing |
diff --git a/app/models/entry.rb b/app/models/entry.rb
index abc1234..def5678 100644
--- a/app/models/entry.rb
+++ b/app/models/entry.rb
@@ -18,7 +18,8 @@ feed.entries.map do |hentry|
find_or_create_from_hentry(hentry)
end
- rescue OpenURI::HTTPError, "304 Not Modified"
+ rescue OpenURI::HTT... | Fix feed reeding by properly rescuing error
|
diff --git a/app/controllers/courses_controller.rb b/app/controllers/courses_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/courses_controller.rb
+++ b/app/controllers/courses_controller.rb
@@ -1,5 +1,6 @@ class CoursesController < ApplicationController
before_filter :authenticate_user!
+ before_... | Add show_all Action to Courses Controller
Update the Courses controller to include the show_all action.
|
diff --git a/app/controllers/invites_controller.rb b/app/controllers/invites_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/invites_controller.rb
+++ b/app/controllers/invites_controller.rb
@@ -7,7 +7,7 @@ handle = current_user.name if handle.blank?
invite.accept(handle)
- redirect_to g... | Simplify redirects in the InvitesController
|
diff --git a/app/models/spree/home_page_feature.rb b/app/models/spree/home_page_feature.rb
index abc1234..def5678 100644
--- a/app/models/spree/home_page_feature.rb
+++ b/app/models/spree/home_page_feature.rb
@@ -16,7 +16,7 @@
validates_attachment_presence :image, unless: :body
- scope :published, where(publ... | Add Rails 4.1 new scope syntax
|
diff --git a/app/presenters/statistic_presenter.rb b/app/presenters/statistic_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/statistic_presenter.rb
+++ b/app/presenters/statistic_presenter.rb
@@ -29,7 +29,7 @@ ["land", "marine"].each do |type|
stat = "percentage_pa_#{type}_cover".to_sym
def... | Handle other exceptions when statistic empty
|
diff --git a/app/view/webview.rb b/app/view/webview.rb
index abc1234..def5678 100644
--- a/app/view/webview.rb
+++ b/app/view/webview.rb
@@ -6,6 +6,11 @@ end
def dealloc
+ if self.loading?
+ self.stopLoading
+ end
+ self.delegate = nil
+
NSLog("dealloc: " + self.class.name)
... | Fix memory problem on UIWebView
|
diff --git a/Casks/intel-haxm.rb b/Casks/intel-haxm.rb
index abc1234..def5678 100644
--- a/Casks/intel-haxm.rb
+++ b/Casks/intel-haxm.rb
@@ -1,12 +1,17 @@ cask :v1 => 'intel-haxm' do
- version '1.0.8'
- sha256 'cee233cf1a0293d9e19b15c375f2c4cb7cf0c6948b7fd579bec28719e0b51d35'
+ version '1.1.1'
+ sha256 'dd6dabfc34e... | Update Intel HAXM to version 1.1.1
|
diff --git a/Casks/virtualbox.rb b/Casks/virtualbox.rb
index abc1234..def5678 100644
--- a/Casks/virtualbox.rb
+++ b/Casks/virtualbox.rb
@@ -1,8 +1,8 @@ class Virtualbox < Cask
- url 'http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-4.3.6-91406-OSX.dmg'
+ url 'http://download.virtualbox.org/virtualbox/4.3.8... | Update VirtualBox to version 4.3.8
|
diff --git a/EECircularMusicPlayerControl.podspec b/EECircularMusicPlayerControl.podspec
index abc1234..def5678 100644
--- a/EECircularMusicPlayerControl.podspec
+++ b/EECircularMusicPlayerControl.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "EECircularMusicPlayerControl"
- s.version = "0.0.1"... | Set the version of the podspec to 0.0.2. |
diff --git a/guard-compass.gemspec b/guard-compass.gemspec
index abc1234..def5678 100644
--- a/guard-compass.gemspec
+++ b/guard-compass.gemspec
@@ -6,14 +6,15 @@ s.name = 'guard-compass'
s.version = Guard::CompassVersion::VERSION
s.platform = Gem::Platform::RUBY
- s.summary = 'Guard gem for ... | Update gemspec to depend on Guard ~> 2.0
|
diff --git a/Library/Homebrew/build_environment.rb b/Library/Homebrew/build_environment.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/build_environment.rb
+++ b/Library/Homebrew/build_environment.rb
@@ -29,11 +29,11 @@ end
def _dump(*)
- @settings.to_a.join(":")
+ Marshal.dump(@settings)
end
... | Remove knowledge of serialization details by marshaling twice
|
diff --git a/app/controllers/boa_vista_stubs/requests_controller.rb b/app/controllers/boa_vista_stubs/requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/boa_vista_stubs/requests_controller.rb
+++ b/app/controllers/boa_vista_stubs/requests_controller.rb
@@ -5,15 +5,15 @@ document = Document... | Update to return a document response
|
diff --git a/app/app_delegate.rb b/app/app_delegate.rb
index abc1234..def5678 100644
--- a/app/app_delegate.rb
+++ b/app/app_delegate.rb
@@ -40,6 +40,6 @@
def applicationDidBecomeActive(application)
@stories_controller.loadData
- @stories_controller.tableView.setContentOffset(CGPoint.new)
+ @stories_co... | Hide the search on load
|
diff --git a/app/models/round.rb b/app/models/round.rb
index abc1234..def5678 100644
--- a/app/models/round.rb
+++ b/app/models/round.rb
@@ -2,7 +2,7 @@ include YearlyModel
belongs_to :tournament
- has_many :game_appointments, dependent: :destroy
+ has_many :game_appointments, -> { order(:table) }, dependent: ... | Add default scope for game appointments to order by table
|
diff --git a/config/initializers/active_storage.rb b/config/initializers/active_storage.rb
index abc1234..def5678 100644
--- a/config/initializers/active_storage.rb
+++ b/config/initializers/active_storage.rb
@@ -7,4 +7,4 @@
Rails.application.config.active_storage.variable_content_types << 'image/svg+xml'
-# Rails.... | Allow use of libvips through env variable [SCI-3881]
|
diff --git a/app/controllers/officing/voters_controller.rb b/app/controllers/officing/voters_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/officing/voters_controller.rb
+++ b/app/controllers/officing/voters_controller.rb
@@ -20,6 +20,7 @@ poll: @poll,
... | Set booth and officer assignments to Poll Voter on officing panel
|
diff --git a/app/controllers/source_download_controller.rb b/app/controllers/source_download_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/source_download_controller.rb
+++ b/app/controllers/source_download_controller.rb
@@ -6,7 +6,7 @@ if @source.source?
send_data @source.source, disposi... | Raise ActiveRecord::RecordNotFound if source is not imported
|
diff --git a/app/helpers/obs_factory/application_helper.rb b/app/helpers/obs_factory/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/obs_factory/application_helper.rb
+++ b/app/helpers/obs_factory/application_helper.rb
@@ -4,7 +4,8 @@ # Catch some url helpers used in the OBS layout and forward... | Add missing url_helpers used in the OBS layout
|
diff --git a/config/initializers/airbrake.rb b/config/initializers/airbrake.rb
index abc1234..def5678 100644
--- a/config/initializers/airbrake.rb
+++ b/config/initializers/airbrake.rb
@@ -1,6 +1,6 @@ Airbrake.configure do |config|
config.project_key = ENV['ECHO_TRELLO_AIRBRAKE_API'] || "airbrake-api-key"
- ... | Fix the project_id setting for Airbrake
This changed recently in Airbrake 1.4.1, so a project ID needs to be set
properly.
|
diff --git a/db/migrate/016_create_album_tracks.rb b/db/migrate/016_create_album_tracks.rb
index abc1234..def5678 100644
--- a/db/migrate/016_create_album_tracks.rb
+++ b/db/migrate/016_create_album_tracks.rb
@@ -0,0 +1,14 @@+class CreateAlbumTracks < ActiveRecord::Migration[4.2]
+ def self.up
+ create_table :album... | Add migration that creates album_tracks table
|
diff --git a/lib/active_record/acts_as/querying.rb b/lib/active_record/acts_as/querying.rb
index abc1234..def5678 100644
--- a/lib/active_record/acts_as/querying.rb
+++ b/lib/active_record/acts_as/querying.rb
@@ -28,10 +28,8 @@
module ScopeForCreate
def scope_for_create(attributes = nil)
- scope = A... | Use activerecord `values_for_create` to replace `scope_for_create`
In relation to the changes in `activerecord` version `5.2.2`
in using `scope_for_create` (https://github.com/rails/rails/pull/33639/files),
we must use the new method `values_for_create` provided.
|
diff --git a/lib/collective/collectors/postgres.rb b/lib/collective/collectors/postgres.rb
index abc1234..def5678 100644
--- a/lib/collective/collectors/postgres.rb
+++ b/lib/collective/collectors/postgres.rb
@@ -7,7 +7,7 @@ resolution '600s'
collect do
- group 'postgres' do |group|
+ group "postgr... | Change metric names, add begin/ensure around conn
|
diff --git a/lib/data_mapper/support/graph/edge.rb b/lib/data_mapper/support/graph/edge.rb
index abc1234..def5678 100644
--- a/lib/data_mapper/support/graph/edge.rb
+++ b/lib/data_mapper/support/graph/edge.rb
@@ -8,7 +8,7 @@ @name = name.to_sym
@left = left
@right = right
- @nodes = Set.new([... | Simplify set creation in Graph::Edge
|
diff --git a/scripts/migrate_to_single_object_db.rb b/scripts/migrate_to_single_object_db.rb
index abc1234..def5678 100644
--- a/scripts/migrate_to_single_object_db.rb
+++ b/scripts/migrate_to_single_object_db.rb
@@ -0,0 +1,20 @@+#!/usr/bin/env ruby
+# Migrates .yardocs to --single-db
+$:.unshift(File.dirname(__FILE__)... | Add script to migrate object dbs
|
diff --git a/Formula/mlton.rb b/Formula/mlton.rb
index abc1234..def5678 100644
--- a/Formula/mlton.rb
+++ b/Formula/mlton.rb
@@ -5,11 +5,13 @@ # would require an existing ML compiler/interpreter for bootstrapping.
class Mlton < Formula
- # the dynamic macports version works fine with Homebrew's gmp
- url 'http://m... | Make MLton formula install statically-linked-gmp
Closes Homebrew/homebrew#9529
Signed-off-by: Misty De Meo <85d6b3741948526aebc363d97f74b6575b2cc027@gmail.com>
|
diff --git a/lib/puppet/parser/functions/upcase.rb b/lib/puppet/parser/functions/upcase.rb
index abc1234..def5678 100644
--- a/lib/puppet/parser/functions/upcase.rb
+++ b/lib/puppet/parser/functions/upcase.rb
@@ -31,8 +31,8 @@ result = value.collect { |i| i.is_a?(String) ? i.upcase : i }
elsif value.is_a?(Ha... | Fix issue with Ruby 1.8.7 which did not allow for the return in an each_pair of the hash
|
diff --git a/lib/shield/contrib/sinatra/default.rb b/lib/shield/contrib/sinatra/default.rb
index abc1234..def5678 100644
--- a/lib/shield/contrib/sinatra/default.rb
+++ b/lib/shield/contrib/sinatra/default.rb
@@ -33,10 +33,10 @@
m.post "/login" do
if login(User, params[:username], params[:password]... | Fix the redirection login in the /login route.
|
diff --git a/lib/table_cloth/presenters/default.rb b/lib/table_cloth/presenters/default.rb
index abc1234..def5678 100644
--- a/lib/table_cloth/presenters/default.rb
+++ b/lib/table_cloth/presenters/default.rb
@@ -20,7 +20,7 @@ end
def render_td(column, object)
- td_options = column.options.delete(... | Fix so that options are passed to each row
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.