diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/app/models/odi_locale.rb b/app/models/odi_locale.rb
index abc1234..def5678 100644
--- a/app/models/odi_locale.rb
+++ b/app/models/odi_locale.rb
@@ -1,7 +1,7 @@ class OdiLocale
def self.changed_locale_path(current_path, new_locale)
- current_path.gsub(%r{\A/[a-z]{2}/(.*)}, "/#{new_locale}/\\1")
+ ... | Handle more complex locales in switching helper |
diff --git a/lib/engineyard-cloud-client/version.rb b/lib/engineyard-cloud-client/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard-cloud-client/version.rb
+++ b/lib/engineyard-cloud-client/version.rb
@@ -1,7 +1,7 @@ # This file is maintained by a herd of rabid monkeys with Rakes.
module EY
class CloudC... | Add .pre for next release
|
diff --git a/lib/airbrake/cli/runner.rb b/lib/airbrake/cli/runner.rb
index abc1234..def5678 100644
--- a/lib/airbrake/cli/runner.rb
+++ b/lib/airbrake/cli/runner.rb
@@ -22,6 +22,7 @@ c.api_key = options.api_key
c.host = options.host if options.host
c.port = options.port if options.port
+... | Add support for SSL in the command line tool.
|
diff --git a/lib/alfred/task_manager.rb b/lib/alfred/task_manager.rb
index abc1234..def5678 100644
--- a/lib/alfred/task_manager.rb
+++ b/lib/alfred/task_manager.rb
@@ -12,7 +12,7 @@
def self.load_tasks
task_dirs.each do |dir|
- Dir[dir + '/lib/tasks/**_task.rb'].each { |task_file| load(task_file) }... | Fix TaskManager.load_tasks so the tasks in namespaces are also loaded.
|
diff --git a/lib/input_sanitizer/v2/types.rb b/lib/input_sanitizer/v2/types.rb
index abc1234..def5678 100644
--- a/lib/input_sanitizer/v2/types.rb
+++ b/lib/input_sanitizer/v2/types.rb
@@ -9,7 +9,7 @@ end
end
- class NonStrictIntegerCheck
+ class CoercingIntegerCheck
def call(value)
Integer(value... | Rename NonStrict checks to Coercing.
|
diff --git a/lib/seek/download_handling/streamer.rb b/lib/seek/download_handling/streamer.rb
index abc1234..def5678 100644
--- a/lib/seek/download_handling/streamer.rb
+++ b/lib/seek/download_handling/streamer.rb
@@ -21,13 +21,14 @@ private
def get_uri(uri, output, redirect_count = 0)
+ max_size =... | Stop excessive config-related database queries
|
diff --git a/lib/semaphoreapp/json_api.rb b/lib/semaphoreapp/json_api.rb
index abc1234..def5678 100644
--- a/lib/semaphoreapp/json_api.rb
+++ b/lib/semaphoreapp/json_api.rb
@@ -24,6 +24,25 @@ raise_if_error(JSON.parse(super))
end
+ def self.get_servers(project_hash_id, options={})
+ raise_if_error(... | Add server APIs to JsonApi.
|
diff --git a/unicorn.rb b/unicorn.rb
index abc1234..def5678 100644
--- a/unicorn.rb
+++ b/unicorn.rb
@@ -2,3 +2,22 @@
listen 4000
worker_processes 8
+
+before_fork do |server, worker|
+ # Single server rolling reaper.
+ # 1. Start new master, flag old as old
+ # 2. Bring up 1 new worker and request old master gen... | Use the process-at-a-time rolling restart.
|
diff --git a/lib/stack_master/prompter.rb b/lib/stack_master/prompter.rb
index abc1234..def5678 100644
--- a/lib/stack_master/prompter.rb
+++ b/lib/stack_master/prompter.rb
@@ -6,6 +6,7 @@ if StackMaster.stdin.tty? && StackMaster.stdout.tty?
StackMaster.stdin.getch.chomp
else
+ Stac... | Add additional puts to end the previous line |
diff --git a/lib/tasks/arxiv_oai_update.rake b/lib/tasks/arxiv_oai_update.rake
index abc1234..def5678 100644
--- a/lib/tasks/arxiv_oai_update.rake
+++ b/lib/tasks/arxiv_oai_update.rake
@@ -10,18 +10,18 @@ # Hence the use of submit_date instead of update_date.
# There is some risk here that we could end up with... | Fix oai_update when no papers in database
|
diff --git a/lib/tasks/errbit/bootstrap.rake b/lib/tasks/errbit/bootstrap.rake
index abc1234..def5678 100644
--- a/lib/tasks/errbit/bootstrap.rake
+++ b/lib/tasks/errbit/bootstrap.rake
@@ -7,7 +7,7 @@ configs = {
'config.example.yml' => 'config.yml',
'deploy.example.rb' => 'deploy.rb',
- 'mong... | Copy mongohq example conf on heroku
|
diff --git a/lib/tasks/islay_shop_tasks.rake b/lib/tasks/islay_shop_tasks.rake
index abc1234..def5678 100644
--- a/lib/tasks/islay_shop_tasks.rake
+++ b/lib/tasks/islay_shop_tasks.rake
@@ -1,5 +1,16 @@ namespace :islay_shop do
namespace :db do
+ desc "Fixes ordering of product categories and products"
+ task :... | Add a rake task for repairing product and category orders.
|
diff --git a/gogogibbon_tools.gemspec b/gogogibbon_tools.gemspec
index abc1234..def5678 100644
--- a/gogogibbon_tools.gemspec
+++ b/gogogibbon_tools.gemspec
@@ -17,10 +17,11 @@ s.test_files = Dir["test/**/*"]
s.add_dependency "slim"
- s.add_dependency "rails", "~> 3.2.13.rc1"
+ s.add_dependency "rails", "~>4.2... | Upgrade gems to latest versions.
|
diff --git a/lib/yard/rake/yardoc_task.rb b/lib/yard/rake/yardoc_task.rb
index abc1234..def5678 100644
--- a/lib/yard/rake/yardoc_task.rb
+++ b/lib/yard/rake/yardoc_task.rb
@@ -15,6 +15,9 @@ @files = []
yield self if block_given?
+ self.options += ENV['OPTS'].split(' ') if ENV['OPTS'] ... | Allow command line parameters to extend rake task
|
diff --git a/lib/routemaster/jobs/backends/resque.rb b/lib/routemaster/jobs/backends/resque.rb
index abc1234..def5678 100644
--- a/lib/routemaster/jobs/backends/resque.rb
+++ b/lib/routemaster/jobs/backends/resque.rb
@@ -10,7 +10,7 @@ end
def enqueue(queue, job_class, *args)
- job_data = dat... | LT-113: Add missing 'Job' qualifier :-/
|
diff --git a/lib/sunlight/influence/entity_search.rb b/lib/sunlight/influence/entity_search.rb
index abc1234..def5678 100644
--- a/lib/sunlight/influence/entity_search.rb
+++ b/lib/sunlight/influence/entity_search.rb
@@ -1,5 +1,4 @@ class Sunlight::Influence::EntityTest < OpenStruct
- attr_accessor :result
extend C... | Add entity overview method to entity
|
diff --git a/lib/feed2email/logger.rb b/lib/feed2email/logger.rb
index abc1234..def5678 100644
--- a/lib/feed2email/logger.rb
+++ b/lib/feed2email/logger.rb
@@ -14,7 +14,7 @@ private
def log_to
- if log_path.nil? || log_path == true
+ if log_path == true
$stdout
elsif log_path # tru... | Remove config default for log_path
|
diff --git a/lib/fpm/cookery/facts.rb b/lib/fpm/cookery/facts.rb
index abc1234..def5678 100644
--- a/lib/fpm/cookery/facts.rb
+++ b/lib/fpm/cookery/facts.rb
@@ -17,9 +17,9 @@
def self.target
@target ||= case platform
- when :centos, :redhat, :fedora then :rpm
- whe... | Add amazon linux to the list of RPM-based distros
|
diff --git a/lib/helios/cylon_effect.rb b/lib/helios/cylon_effect.rb
index abc1234..def5678 100644
--- a/lib/helios/cylon_effect.rb
+++ b/lib/helios/cylon_effect.rb
@@ -7,6 +7,8 @@ lights = args.fetch('lights', [1, '..', 25])
@iterations = args.fetch('iterations', 5)
@lights = get_lights(lights)
+ ... | Allow Cylon effect to have a specified color
Allow the Cylon effect to have a specified color, defaulting to red (255, 0, 0) |
diff --git a/lib/inpost/machines_api.rb b/lib/inpost/machines_api.rb
index abc1234..def5678 100644
--- a/lib/inpost/machines_api.rb
+++ b/lib/inpost/machines_api.rb
@@ -4,31 +4,40 @@
ENDPOINT_URL = 'https://api-pl.easypack24.net/v4/machines'
- def initialize(endpoint_url: ENDPOINT_URL, cache_store: Inpost::C... | Add cache in machine api
|
diff --git a/lib/moneymanager/parser.rb b/lib/moneymanager/parser.rb
index abc1234..def5678 100644
--- a/lib/moneymanager/parser.rb
+++ b/lib/moneymanager/parser.rb
@@ -33,7 +33,7 @@ entry = Entry.new
entry.date = Date.strptime(row[:buchungstag], '%d.%m.%y')
entry.reason = row[:verwendungszwec... | Fix import with decimal points
|
diff --git a/lib/tasks/coveralls.rake b/lib/tasks/coveralls.rake
index abc1234..def5678 100644
--- a/lib/tasks/coveralls.rake
+++ b/lib/tasks/coveralls.rake
@@ -1,3 +1,3 @@ require 'coveralls/rake/task'
Coveralls::RakeTask.new
-task :test_with_coveralls => ['spec:models', :features, 'coveralls:push']
+task :test_with_... | Use non-deprecated 'cucumber' rake task.
The 'features' task is deprecated.
|
diff --git a/lib/testjour/pid_file.rb b/lib/testjour/pid_file.rb
index abc1234..def5678 100644
--- a/lib/testjour/pid_file.rb
+++ b/lib/testjour/pid_file.rb
@@ -8,7 +8,7 @@
def verify_doesnt_exist
if File.exist?(@path)
- puts "!!! PID file #{pid_file} already exists. testjour could be running a... | Fix minor bug in Pidfile
|
diff --git a/lib/walmart_open/item.rb b/lib/walmart_open/item.rb
index abc1234..def5678 100644
--- a/lib/walmart_open/item.rb
+++ b/lib/walmart_open/item.rb
@@ -20,17 +20,21 @@ attr_reader attr_name
end
+ attr_reader :raw_attributes
+
def initialize(attrs)
- load_known_attributes(attrs)
+ ... | Save the raw attributes incase we need it
|
diff --git a/lib/tty/command/version.rb b/lib/tty/command/version.rb
index abc1234..def5678 100644
--- a/lib/tty/command/version.rb
+++ b/lib/tty/command/version.rb
@@ -2,6 +2,6 @@
module TTY
class Command
- VERSION = '0.8.1'
+ VERSION = '0.8.2'.freeze
end # Command
end # TTY
| Change to bump patch level up
|
diff --git a/lib/twterm/history/base.rb b/lib/twterm/history/base.rb
index abc1234..def5678 100644
--- a/lib/twterm/history/base.rb
+++ b/lib/twterm/history/base.rb
@@ -11,7 +11,11 @@ return
end
- @history = YAML.load(File.read(history_file)) || []
+ begin
+ @history = YAML.l... | Handle error when history file cannot be loaded correctly
|
diff --git a/spec/bandwidth/xml/verbs/gather_spec.rb b/spec/bandwidth/xml/verbs/gather_spec.rb
index abc1234..def5678 100644
--- a/spec/bandwidth/xml/verbs/gather_spec.rb
+++ b/spec/bandwidth/xml/verbs/gather_spec.rb
@@ -2,8 +2,8 @@ describe Gather do
describe '#to_xml' do
it 'should generate valid xml' do
- ... | Gather should generate valid XML.
|
diff --git a/spec/features/dashboard/datetime_on_tooltips_spec.rb b/spec/features/dashboard/datetime_on_tooltips_spec.rb
index abc1234..def5678 100644
--- a/spec/features/dashboard/datetime_on_tooltips_spec.rb
+++ b/spec/features/dashboard/datetime_on_tooltips_spec.rb
@@ -6,7 +6,7 @@ let(:user) { create(:u... | Change date format to be non zero padded in order to fix failing test
|
diff --git a/lib/elocal_api_support/actions/index.rb b/lib/elocal_api_support/actions/index.rb
index abc1234..def5678 100644
--- a/lib/elocal_api_support/actions/index.rb
+++ b/lib/elocal_api_support/actions/index.rb
@@ -2,6 +2,25 @@ module Actions
module Index
def index
+ add_pagination_headers \
... | Add ability to paginate using header
|
diff --git a/External-Cmds/brew-cd.rb b/External-Cmds/brew-cd.rb
index abc1234..def5678 100644
--- a/External-Cmds/brew-cd.rb
+++ b/External-Cmds/brew-cd.rb
@@ -12,9 +12,11 @@ end
f = ARGV.formulae.first
-op = f.opt_prefix
+fpfx = f.prefix
-odie "No install at #{op}" if !op.directory? || op.children.empty?
+odie "... | Update brew cd cmd to place command on clipboard
|
diff --git a/UIImageColors.podspec b/UIImageColors.podspec
index abc1234..def5678 100644
--- a/UIImageColors.podspec
+++ b/UIImageColors.podspec
@@ -10,4 +10,7 @@ spec.ios.deployment_target = "8.0"
spec.source_files = "Sources/*.swift"
spec.requires_arc = true
+ s.pod_target_xcconfig = {
+ 'SWIFT_VERSION' =... | Use pod_target_xcconfig to configure Swift version
|
diff --git a/app/controllers/backend/tags_controller.rb b/app/controllers/backend/tags_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/backend/tags_controller.rb
+++ b/app/controllers/backend/tags_controller.rb
@@ -15,7 +15,7 @@
def destroy
find_model.tagged_items.where(tag_id: find_tag.id).d... | Enhance json output when a tag is deleted.
|
diff --git a/app/controllers/forest/admin_controller.rb b/app/controllers/forest/admin_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/forest/admin_controller.rb
+++ b/app/controllers/forest/admin_controller.rb
@@ -4,9 +4,11 @@ class AdminController < ApplicationController
before_action :authen... | Add settings resource to dashboard
|
diff --git a/lib/currency_spy/walutomat.rb b/lib/currency_spy/walutomat.rb
index abc1234..def5678 100644
--- a/lib/currency_spy/walutomat.rb
+++ b/lib/currency_spy/walutomat.rb
@@ -9,21 +9,26 @@
def medium_rate
regexp = Regexp.new(currency_code)
- return 1.0
+ res = nil
+ page.search("//td[@... | Add basic support for Walutomat
|
diff --git a/test/unit/integrations/helper_test.rb b/test/unit/integrations/helper_test.rb
index abc1234..def5678 100644
--- a/test/unit/integrations/helper_test.rb
+++ b/test/unit/integrations/helper_test.rb
@@ -0,0 +1,12 @@+require 'test_helper'
+
+class HelperTest < Test::Unit::TestCase
+ include ActiveMerchant::Bi... | Add regression test for helper bug
|
diff --git a/app/mailers/spree/email_delivery_mailer.rb b/app/mailers/spree/email_delivery_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/spree/email_delivery_mailer.rb
+++ b/app/mailers/spree/email_delivery_mailer.rb
@@ -3,4 +3,6 @@ @inventory_units = shipment.inventory_units
mail :to => shipment.o... | Send license key email asynchronously.
We need to send emails asynchronously so that in case something,
the mailer will keep trying to send the email.
|
diff --git a/lib/rubyonacid/factories/random_walk.rb b/lib/rubyonacid/factories/random_walk.rb
index abc1234..def5678 100644
--- a/lib/rubyonacid/factories/random_walk.rb
+++ b/lib/rubyonacid/factories/random_walk.rb
@@ -7,6 +7,8 @@
#The maximum amount to change counters by.
attr_accessor :interval
+ #The numer... | Add attr_accessor :rng_seed to RandomWalkFactory
|
diff --git a/test/smartsheet/api/middleware/error_translator_test.rb b/test/smartsheet/api/middleware/error_translator_test.rb
index abc1234..def5678 100644
--- a/test/smartsheet/api/middleware/error_translator_test.rb
+++ b/test/smartsheet/api/middleware/error_translator_test.rb
@@ -0,0 +1,22 @@+require_relative '../.... | Add tests for the error translator middleware.
|
diff --git a/app/models/user.rb b/app/models/user.rb
index abc1234..def5678 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -4,8 +4,8 @@ has_many :shares
validates_presence_of :name
- validates_presence_of :email_notify
- validates_presence_of :text_notify
+ validates_inclusion_of :email_notify, i... | Correct validations for booleans in User model
Validation of the presence booleans in model must be performed via
validates_inclusion_of, rather than validates_presence_of.
|
diff --git a/test/fixtures/common/v2v_config.rb b/test/fixtures/common/v2v_config.rb
index abc1234..def5678 100644
--- a/test/fixtures/common/v2v_config.rb
+++ b/test/fixtures/common/v2v_config.rb
@@ -25,6 +25,7 @@ end
it 'has the sudoers file for the mechadora' do
- expect(file('/etc/sudoers.d/abiquo-tomcat-... | Align v2v checks with the latest package
|
diff --git a/app/controllers/articles_controller.rb b/app/controllers/articles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/articles_controller.rb
+++ b/app/controllers/articles_controller.rb
@@ -1,26 +1,30 @@ class ArticlesController < ApplicationController
-
+
before_action :set_article,... | Add a user for every article for now.
|
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/comments_controller.rb
+++ b/app/controllers/comments_controller.rb
@@ -1,2 +1,14 @@ class CommentsController < ApplicationController
+ before_action :require_user
+
+ def c... | Add the comments controller for user to comment commentable items.
|
diff --git a/app/extractors/name_party_extractor.rb b/app/extractors/name_party_extractor.rb
index abc1234..def5678 100644
--- a/app/extractors/name_party_extractor.rb
+++ b/app/extractors/name_party_extractor.rb
@@ -10,6 +10,7 @@
pairs.each do |line|
m = line.match(/(.+)\s\((.+)\)/)
+ next if m.nil?
... | Fix NamePartyExtractor when regex doesn't match
|
diff --git a/app/presenters/start_node_presenter.rb b/app/presenters/start_node_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/start_node_presenter.rb
+++ b/app/presenters/start_node_presenter.rb
@@ -27,4 +27,8 @@ custom_button_text = @renderer.content_for(:start_button_text)
custom_button_tex... | Add view template path for Start Node
This adds the location of the landing page template for start nodes. This will be used by the FlowController to resolve the landing page template.
|
diff --git a/app/services/shop/order_cycles_list.rb b/app/services/shop/order_cycles_list.rb
index abc1234..def5678 100644
--- a/app/services/shop/order_cycles_list.rb
+++ b/app/services/shop/order_cycles_list.rb
@@ -8,7 +8,7 @@ end
def self.ready_for_checkout_for(distributor, customer)
- return OrderCy... | Change 'if !' to 'unless' in OrderCyclesList
Co-authored-by: Maikel <3db1433c7298ef0d91dd12baeaaf90dc122deafc@email.org.au> |
diff --git a/jbuilder.gemspec b/jbuilder.gemspec
index abc1234..def5678 100644
--- a/jbuilder.gemspec
+++ b/jbuilder.gemspec
@@ -9,5 +9,6 @@ s.add_dependency 'activesupport', '>= 3.0.0'
s.add_development_dependency 'rake', '~> 10.0.3'
- s.files = Dir["#{File.dirname(__FILE__)}/**/*"]
+ s.files = `git l... | Use `git ls-files` to create the file list for the gem
Fixes an issue with the gem for jbuilder 1.0.2
which includes 3 .gem files inside
|
diff --git a/lib/pastel/decorator_chain.rb b/lib/pastel/decorator_chain.rb
index abc1234..def5678 100644
--- a/lib/pastel/decorator_chain.rb
+++ b/lib/pastel/decorator_chain.rb
@@ -16,7 +16,11 @@ #
# @api public
def add(decorator)
- self.class.new(decorators + [decorator])
+ if decorators.includ... | Change to prevent duplicate colors.
|
diff --git a/icalendar_extractor.rb b/icalendar_extractor.rb
index abc1234..def5678 100644
--- a/icalendar_extractor.rb
+++ b/icalendar_extractor.rb
@@ -36,4 +36,31 @@ return (summary_sum.to_f / self.event_count)
end
+
+ def average_days_to_dtstart
+ distances = distances_from_created_to_dtstart
+ retur... | Add methods in IcsExtractor Class |
diff --git a/lib/simctl/device_settings.rb b/lib/simctl/device_settings.rb
index abc1234..def5678 100644
--- a/lib/simctl/device_settings.rb
+++ b/lib/simctl/device_settings.rb
@@ -14,14 +14,15 @@ def disable_keyboard_helpers!
edit(path.preferences_plist) do |plist|
%w(
+ KeyboardAllowPaddl... | Sort & add missing keyboard options
|
diff --git a/lib/tasks/user_exercises.rake b/lib/tasks/user_exercises.rake
index abc1234..def5678 100644
--- a/lib/tasks/user_exercises.rake
+++ b/lib/tasks/user_exercises.rake
@@ -16,7 +16,6 @@ DB::Connection.establish
sql = "SELECT DISTINCT user_id, language, slug FROM submissions s LEFT JOIN user_exercise... | Optimize user exercise data migration
|
diff --git a/activerecord/lib/active_record/asynchronous_queries_tracker.rb b/activerecord/lib/active_record/asynchronous_queries_tracker.rb
index abc1234..def5678 100644
--- a/activerecord/lib/active_record/asynchronous_queries_tracker.rb
+++ b/activerecord/lib/active_record/asynchronous_queries_tracker.rb
@@ -6,6 +6,... | Add `finalize` to NullSession so it quacks like a Session
|
diff --git a/1_codility/0_training/11_1_count_semiprimes.rb b/1_codility/0_training/11_1_count_semiprimes.rb
index abc1234..def5678 100644
--- a/1_codility/0_training/11_1_count_semiprimes.rb
+++ b/1_codility/0_training/11_1_count_semiprimes.rb
@@ -0,0 +1,44 @@+# 100/100
+def solution(n, p, q)
+ # get primes up to n
+... | Add codility training - count semiprimes
|
diff --git a/spec/features/photos/show_photo_spec.rb b/spec/features/photos/show_photo_spec.rb
index abc1234..def5678 100644
--- a/spec/features/photos/show_photo_spec.rb
+++ b/spec/features/photos/show_photo_spec.rb
@@ -0,0 +1,48 @@+require 'rails_helper'
+
+feature "show photo page" do
+
+ let (:photo) { FactoryGirl... | Test for linkback of photos to harvest/garden/planting
|
diff --git a/spec/support/capybara/console_errors.rb b/spec/support/capybara/console_errors.rb
index abc1234..def5678 100644
--- a/spec/support/capybara/console_errors.rb
+++ b/spec/support/capybara/console_errors.rb
@@ -4,12 +4,15 @@ config.after(:each, type: :system) do
next if page.driver.browser.browser != :... | Maintenance: Save browser logs to log/browser.log in tests.
|
diff --git a/drivers/ruby/tests/basictest.rb b/drivers/ruby/tests/basictest.rb
index abc1234..def5678 100644
--- a/drivers/ruby/tests/basictest.rb
+++ b/drivers/ruby/tests/basictest.rb
@@ -5,12 +5,15 @@
#@conn = Cake.new("localhost", 8888)
@conn = CakeDB.new
-#@conn.write("a","cheeseburger")
-#@conn.write("a","chips... | Test script needs to actually write something before it can query. Added a 10 second pause to ensure the data hits the disk before the query tests start.
|
diff --git a/lib/happy/worker/base.rb b/lib/happy/worker/base.rb
index abc1234..def5678 100644
--- a/lib/happy/worker/base.rb
+++ b/lib/happy/worker/base.rb
@@ -24,7 +24,9 @@ def perform_(job, base, counter)
Happy.logger.debug { "before balance: #{job.local['balances']}" }
worker(job) do |... | Add exception for BTC_X -> KRW_X
|
diff --git a/event_store-client-http.gemspec b/event_store-client-http.gemspec
index abc1234..def5678 100644
--- a/event_store-client-http.gemspec
+++ b/event_store-client-http.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'event_store-client-http'
- s.version = '0.1.9'
+... | Package version is increased from 0.1.9 to 0.2.0
|
diff --git a/lib/process_info/info.rb b/lib/process_info/info.rb
index abc1234..def5678 100644
--- a/lib/process_info/info.rb
+++ b/lib/process_info/info.rb
@@ -14,7 +14,7 @@ end
def to_h
- keys.zip(load_process_info).to_h
+ Hash[keys.zip(load_process_info)]
end
private
| Make backwards compatible to ruby 2.0
|
diff --git a/lib/skyed/git.rb b/lib/skyed/git.rb
index abc1234..def5678 100644
--- a/lib/skyed/git.rb
+++ b/lib/skyed/git.rb
@@ -14,7 +14,7 @@ ENV['GIT_SSH'] = '/tmp/ssh-git'
path = "/tmp/skyed.#{SecureRandom.hex}"
r = ::Git.clone(stack[:custom_cookbooks_source][:url], path)
- puts Skye... | INF-941: Add check if remore is cloned
|
diff --git a/lib/wrkflo/steps/atom.rb b/lib/wrkflo/steps/atom.rb
index abc1234..def5678 100644
--- a/lib/wrkflo/steps/atom.rb
+++ b/lib/wrkflo/steps/atom.rb
@@ -6,4 +6,3 @@ `atom #{config}`
end
end
-0
| Remove spurious `0` after `Atom` step definition
|
diff --git a/features/step_definitions/index_steps.rb b/features/step_definitions/index_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/index_steps.rb
+++ b/features/step_definitions/index_steps.rb
@@ -15,6 +15,6 @@ @blocks = @idx.find([int], @parser)
end
-Then /^(\d+) blocks are obtained$/ ... | Tweak language of number-of-blocks matcher.
|
diff --git a/lib/engineyard-cloud-client/version.rb b/lib/engineyard-cloud-client/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard-cloud-client/version.rb
+++ b/lib/engineyard-cloud-client/version.rb
@@ -1,7 +1,7 @@ # This file is maintained by a herd of rabid monkeys with Rakes.
module EY
class CloudC... | Add .pre for next release
|
diff --git a/lib/formotion/row_type/web_link_row.rb b/lib/formotion/row_type/web_link_row.rb
index abc1234..def5678 100644
--- a/lib/formotion/row_type/web_link_row.rb
+++ b/lib/formotion/row_type/web_link_row.rb
@@ -1,6 +1,6 @@ module Formotion
module RowType
- class WebLinkRow < StaticRow
+ class WebLinkRow ... | Allow WebLinkRow to accept an NSURL and not just a string.
|
diff --git a/Rakefile.rb b/Rakefile.rb
index abc1234..def5678 100644
--- a/Rakefile.rb
+++ b/Rakefile.rb
@@ -3,7 +3,6 @@ task default: %w(create_db spec)
task :create_db do
- sh 'rm rs-db'
sh 'sqlite3 rs-db < create-db.sql'
end
| Remove command to delete rs-db file
|
diff --git a/spec/acceptance/swap_file_class_spec.rb b/spec/acceptance/swap_file_class_spec.rb
index abc1234..def5678 100644
--- a/spec/acceptance/swap_file_class_spec.rb
+++ b/spec/acceptance/swap_file_class_spec.rb
@@ -0,0 +1,45 @@+require 'spec_helper_acceptance'
+
+describe 'swap_file class', :unless => UNSUPPORTED... | Add new acceptance test for class |
diff --git a/app/helpers/bio_helper.rb b/app/helpers/bio_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/bio_helper.rb
+++ b/app/helpers/bio_helper.rb
@@ -7,7 +7,9 @@ if sanitized_bio.present?
simple_format(sanitized_bio, sanitize: false)
else
- content_tag(:em, "No bio provided")
+ ... | Put 'no bio provided' on its own line
|
diff --git a/tests/variables_spec.rb b/tests/variables_spec.rb
index abc1234..def5678 100644
--- a/tests/variables_spec.rb
+++ b/tests/variables_spec.rb
@@ -1,11 +1,20 @@ describe ACL::UserVariables do
before do
- end
-
- it "should add some variables to be used by validators" do
- ACL::some_arbitrary_value... | Convert instance variables into global variables to be used by other tests
|
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb b/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb
index abc1234..def5678 100644
--- a/lib/miq_automation_engine/service_models/miq_ae_service_orchestration_template_vnfd.rb
+++ b/li... | Make Vnfd template creatable from automate
Make Vnfd template creatable from automate
(transferred from ManageIQ/manageiq@88a6e5b4527a1946c7115cb7f78c113ae47bd3db)
|
diff --git a/spec/code_parser/inline_conditionals.rb b/spec/code_parser/inline_conditionals.rb
index abc1234..def5678 100644
--- a/spec/code_parser/inline_conditionals.rb
+++ b/spec/code_parser/inline_conditionals.rb
@@ -1,5 +1,3 @@-include DittoCode::Exec
-
print "I'm pro" if DittoCode::Exec.is 'PRO'
print "I'm pro ... | Change the include into the spec_helper |
diff --git a/spec/factories/proof_attempt_factory.rb b/spec/factories/proof_attempt_factory.rb
index abc1234..def5678 100644
--- a/spec/factories/proof_attempt_factory.rb
+++ b/spec/factories/proof_attempt_factory.rb
@@ -12,7 +12,8 @@ after(:build) do |proof_attempt|
proof_attempt.proof_attempt_configuration... | Fix ProofAttempt factory not having a configuration.
|
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -1,10 +1,4 @@ require 'spec_helper'
describe ApplicationHelper do
- context "representative_ca... | Remove spec for removed method.
|
diff --git a/server/config/unicorn.rb b/server/config/unicorn.rb
index abc1234..def5678 100644
--- a/server/config/unicorn.rb
+++ b/server/config/unicorn.rb
@@ -1,4 +1,4 @@-worker_processes Integer(ENV[WEB_CONCURRENCY] || 3)
+worker_processes Integer(ENV["WEB_CONCURRENCY"] || 3)
timeout 15
preload_app true
| Fix typo in Unicorn config
|
diff --git a/lib/feedback_router.rb b/lib/feedback_router.rb
index abc1234..def5678 100644
--- a/lib/feedback_router.rb
+++ b/lib/feedback_router.rb
@@ -1,5 +1,8 @@ require "feedback_router/version"
module FeedbackRouter
- # Your code goes here...
+ def self.send(feedback_object, application_name)
+ @destinatio... | Add send method with proper params
|
diff --git a/lib/feedback_router.rb b/lib/feedback_router.rb
index abc1234..def5678 100644
--- a/lib/feedback_router.rb
+++ b/lib/feedback_router.rb
@@ -9,8 +9,8 @@
private
- def set_up_destination(url)
- matches = url.match(/(https?:\/\/[\w._:-]+)(.*)/)
+ def set_up_destination
+ matches = ENV['FEEDBACK_... | Change URL Argument to ENV Variable
|
diff --git a/lib/firebolt/warmer.rb b/lib/firebolt/warmer.rb
index abc1234..def5678 100644
--- a/lib/firebolt/warmer.rb
+++ b/lib/firebolt/warmer.rb
@@ -20,7 +20,7 @@ # Private instance methods
#
def _warmer_expires_in
- @_warmer_expires_in ||= ::Firebolt.config.frequency + 1.hour
+ @_warmer_exp... | Fix old reference to config.frequency.
|
diff --git a/lib/flipper/railtie.rb b/lib/flipper/railtie.rb
index abc1234..def5678 100644
--- a/lib/flipper/railtie.rb
+++ b/lib/flipper/railtie.rb
@@ -5,7 +5,8 @@ env_key: "flipper",
memoize: true,
preload: true,
- instrumenter: ActiveSupport::Notifications
+ instrumenter: Acti... | Enable log subscriber by default in Rails
|
diff --git a/spec/mailers/cloud_note_mailer_spec.rb b/spec/mailers/cloud_note_mailer_spec.rb
index abc1234..def5678 100644
--- a/spec/mailers/cloud_note_mailer_spec.rb
+++ b/spec/mailers/cloud_note_mailer_spec.rb
@@ -1,27 +1,31 @@+# encoding: utf-8
+
describe CloudNoteMailer do
describe '.syncdown_note_failed' do
... | Use double instead of mock
Mock is deprecated when creating a test double.
|
diff --git a/lib/pacproxy/config.rb b/lib/pacproxy/config.rb
index abc1234..def5678 100644
--- a/lib/pacproxy/config.rb
+++ b/lib/pacproxy/config.rb
@@ -8,7 +8,7 @@ DEFAULT_CONFIG = {
'daemonize' => false,
'port' => 3128,
- 'proxy_pac' => { 'location' => nil },
+ 'pac_file' => { 'location' =... | Fix a miss for pac_file
|
diff --git a/test/models/registration_policy_test.rb b/test/models/registration_policy_test.rb
index abc1234..def5678 100644
--- a/test/models/registration_policy_test.rb
+++ b/test/models/registration_policy_test.rb
@@ -31,18 +31,5 @@ policy.wont_be :valid?
assert policy.errors.full_messages.first =~ /at ... | Remove test for the validation we removed
|
diff --git a/bali-phy.rb b/bali-phy.rb
index abc1234..def5678 100644
--- a/bali-phy.rb
+++ b/bali-phy.rb
@@ -12,7 +12,6 @@ # void operator()(const T& t){push_back(t);}
def install
- # docs say build oos
mkdir 'macbuild' do
system "../configure", "--disable-debug", "--disable-dependency-trackin... | Remove 'oos' comments from cmake-built stuff
|
diff --git a/lib/webidl/ast/type.rb b/lib/webidl/ast/type.rb
index abc1234..def5678 100644
--- a/lib/webidl/ast/type.rb
+++ b/lib/webidl/ast/type.rb
@@ -22,7 +22,7 @@ private
def camel_case_type(name)
- name.split(/[_ ]/).map { |e| e[0] = e[0].upcase; e }.join
+ name.split(/[_ ]/).map { |e|... | Fix for ruby < 1.9
|
diff --git a/Rover.podspec b/Rover.podspec
index abc1234..def5678 100644
--- a/Rover.podspec
+++ b/Rover.podspec
@@ -8,7 +8,6 @@ s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/RoverPlatform/rover-ios.git", :tag => "v#{s.version}" }
s.cocoapods_version = ">= 1.4.0"
- s.sw... | Remove hardcoded Swift version from Podspec
|
diff --git a/harvestman.gemspec b/harvestman.gemspec
index abc1234..def5678 100644
--- a/harvestman.gemspec
+++ b/harvestman.gemspec
@@ -9,7 +9,7 @@ gem.authors = ["Gabriel Vieira"]
gem.email = ["gluisvieira@gmail.com"]
gem.summary = %q{Lightweight web crawler}
- gem.homepage = ""
+ g... | Add GB page to gemspec
|
diff --git a/lib/activerecord_sane_schema_dumper.rb b/lib/activerecord_sane_schema_dumper.rb
index abc1234..def5678 100644
--- a/lib/activerecord_sane_schema_dumper.rb
+++ b/lib/activerecord_sane_schema_dumper.rb
@@ -7,4 +7,4 @@
# Modules
require 'active_record/sane_schema_dumper/extension'
-require 'active_record/s... | Remove useless Rails version 3 condition since we depend on Rails 4
|
diff --git a/lib/engineyard-cloud-client/version.rb b/lib/engineyard-cloud-client/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard-cloud-client/version.rb
+++ b/lib/engineyard-cloud-client/version.rb
@@ -1,7 +1,7 @@ # This file is maintained by a herd of rabid monkeys with Rakes.
module EY
class CloudC... | Add .pre for next release
|
diff --git a/test/integration/generated_gst_test.rb b/test/integration/generated_gst_test.rb
index abc1234..def5678 100644
--- a/test/integration/generated_gst_test.rb
+++ b/test/integration/generated_gst_test.rb
@@ -0,0 +1,19 @@+require 'gir_ffi_test_helper'
+
+GirFFI.setup :Gst
+Gst.init []
+
+# Tests behavior of obj... | Add skipped integration tests for unintrospectable signals
|
diff --git a/db/migrate/20080916153239_resize_photos.rb b/db/migrate/20080916153239_resize_photos.rb
index abc1234..def5678 100644
--- a/db/migrate/20080916153239_resize_photos.rb
+++ b/db/migrate/20080916153239_resize_photos.rb
@@ -2,7 +2,7 @@ def self.up
require 'mini_magick'
%w(families groups people pic... | Use proper path for photo resize migration.
|
diff --git a/minimal-mistakes-jekyll.gemspec b/minimal-mistakes-jekyll.gemspec
index abc1234..def5678 100644
--- a/minimal-mistakes-jekyll.gemspec
+++ b/minimal-mistakes-jekyll.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "minimal-mistakes-jekyll"
- spec.version ... | Remove `pre` from version and bump to 4.0.1
|
diff --git a/app/main_controller.rb b/app/main_controller.rb
index abc1234..def5678 100644
--- a/app/main_controller.rb
+++ b/app/main_controller.rb
@@ -8,18 +8,20 @@ def generate_login_url end_point
case end_point
when "prod"
- @end_point = "https://login.salesforce.com?retURL=/one/one.app"
+ @en... | Convert to startURL instead of retURL and dry it up a bit.
|
diff --git a/test/unit/wkhtmltopdf_location_test.rb b/test/unit/wkhtmltopdf_location_test.rb
index abc1234..def5678 100644
--- a/test/unit/wkhtmltopdf_location_test.rb
+++ b/test/unit/wkhtmltopdf_location_test.rb
@@ -0,0 +1,50 @@+
+
+class WkhtmltopdfLocationTest < ActiveSupport::TestCase
+ setup do
+ @saved_config... | Add tests around erroneous behavior from using the shell
|
diff --git a/lib/chroot/repository/client/config.rb b/lib/chroot/repository/client/config.rb
index abc1234..def5678 100644
--- a/lib/chroot/repository/client/config.rb
+++ b/lib/chroot/repository/client/config.rb
@@ -8,20 +8,18 @@
desc "setup", "Setup initial configuration"
def setup
- templ... | Remove needless nested bracket from template
|
diff --git a/scripts/install_brews.rb b/scripts/install_brews.rb
index abc1234..def5678 100644
--- a/scripts/install_brews.rb
+++ b/scripts/install_brews.rb
@@ -8,6 +8,7 @@ brew-cask
cloog-ppl015
curl
+ elasticsearch
faac
ffmpeg
freetype
| Add elasticsearch to brew pkgs
|
diff --git a/lib/appsignal/railtie.rb b/lib/appsignal/railtie.rb
index abc1234..def5678 100644
--- a/lib/appsignal/railtie.rb
+++ b/lib/appsignal/railtie.rb
@@ -1,8 +1,5 @@ module Appsignal
class Railtie < Rails::Railtie
- rake_tasks do
- load "tasks/auth_check.rake"
- end
initializer "appsignal.co... | Remove rake task in favor of CLI
|
diff --git a/lib/helpers/find_or_create_students.rb b/lib/helpers/find_or_create_students.rb
index abc1234..def5678 100644
--- a/lib/helpers/find_or_create_students.rb
+++ b/lib/helpers/find_or_create_students.rb
@@ -13,7 +13,7 @@ email: "#{username}@doubtfire.com",
username: ... | QUALITY: Use unless of if !
|
diff --git a/lib/scss_lint/reporter/xml_reporter.rb b/lib/scss_lint/reporter/xml_reporter.rb
index abc1234..def5678 100644
--- a/lib/scss_lint/reporter/xml_reporter.rb
+++ b/lib/scss_lint/reporter/xml_reporter.rb
@@ -6,12 +6,13 @@
output << '<lint>'
lints.group_by(&:filename).each do |filename, file_lint... | Update XmlReporter to XML encode attribute strings
Avoids problem where filename or description contains illegal XML
characters (like an ampersand) by escaping the output.
Change-Id: I161de23cd8d52d5b8bab540457fd5fcb4d44add9
Reviewed-on: http://gerrit.causes.com/37215
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd... |
diff --git a/lib/tasks/test_publishing_schemas.rake b/lib/tasks/test_publishing_schemas.rake
index abc1234..def5678 100644
--- a/lib/tasks/test_publishing_schemas.rake
+++ b/lib/tasks/test_publishing_schemas.rake
@@ -3,7 +3,7 @@ namespace :test do
Rake::TestTask.new(publishing_schemas: "test:prepare") do |t|
t.... | Change method of selecting schema test cases
We are currently running schema tests by grepping the test names for a
specific string. However there are tests for valid schemas that do not
have a name in this format that we are currently missing.
By running all the Publishing API presenter tests (and a validation test
... |
diff --git a/lib/riiif/file_system_file_resolver.rb b/lib/riiif/file_system_file_resolver.rb
index abc1234..def5678 100644
--- a/lib/riiif/file_system_file_resolver.rb
+++ b/lib/riiif/file_system_file_resolver.rb
@@ -10,7 +10,7 @@ private
def input_types
- @input_types ||= %w(png jpg tiff jp jp2)
+ ... | Remove jp as a valid file extension
I think this was a typo.
|
diff --git a/lib/rubocop/cop/rspec/hook_argument.rb b/lib/rubocop/cop/rspec/hook_argument.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/rspec/hook_argument.rb
+++ b/lib/rubocop/cop/rspec/hook_argument.rb
@@ -16,23 +16,28 @@ # ...
# end
class HookArgument < RuboCop::Cop::Cop
- i... | Refactor cop to use node_matcher
|
diff --git a/lib/finite_machine/transition_builder.rb b/lib/finite_machine/transition_builder.rb
index abc1234..def5678 100644
--- a/lib/finite_machine/transition_builder.rb
+++ b/lib/finite_machine/transition_builder.rb
@@ -39,8 +39,8 @@ # @api public
def call(transitions)
StateParser.parse(transitions... | Change to stop mutating attributes
|
diff --git a/lib/knapsack_pro/runners/rspec_runner.rb b/lib/knapsack_pro/runners/rspec_runner.rb
index abc1234..def5678 100644
--- a/lib/knapsack_pro/runners/rspec_runner.rb
+++ b/lib/knapsack_pro/runners/rspec_runner.rb
@@ -16,8 +16,11 @@ end
RSpec::Core::RakeTask.new(task_name) do |t|
- ... | Fix bug with not running test examples in Regular Mode when you use test files and test examples at the same time
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.