diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/summarizer/summarizer.rb b/summarizer/summarizer.rb index abc1234..def5678 100644 --- a/summarizer/summarizer.rb +++ b/summarizer/summarizer.rb @@ -26,6 +26,6 @@ @summary = summary erb = ERB.new(File.open("template.html.erb").read, 0, '>') html = erb.result binding -File.open(title.downcase + "_summary.h...
Correct naming of generated files In order to make titles nicer in the summaries a space was added. This wasn't fixed in the file names that needed to be parameterized.
diff --git a/config/schedule.rb b/config/schedule.rb index abc1234..def5678 100644 --- a/config/schedule.rb +++ b/config/schedule.rb @@ -1,5 +1,6 @@ # This file is overwritten on deploy set :output, {:error => 'log/cron.error.log', :standard => 'log/cron.log'} +job_type :rake, 'cd :path && /usr/local/bin/govuk_setenv ...
Make whenever rake tasks run under govuk_setenv This will fix the local_transactions import
diff --git a/obtuse.gemspec b/obtuse.gemspec index abc1234..def5678 100644 --- a/obtuse.gemspec +++ b/obtuse.gemspec @@ -16,4 +16,10 @@ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] + + gem.ad...
Add parslet, rspec, guard-rspec, simplecov and pry gems.
diff --git a/activo-rails.gemspec b/activo-rails.gemspec index abc1234..def5678 100644 --- a/activo-rails.gemspec +++ b/activo-rails.gemspec @@ -4,7 +4,7 @@ Gem::Specification.new do |s| s.name = "activo-rails" - s.version = Activo::Rails::VERSION + s.version = ActivoRails::VERSION s.platform ...
Update the gemspec to load version correctly
diff --git a/Casks/textexpander3.rb b/Casks/textexpander3.rb index abc1234..def5678 100644 --- a/Casks/textexpander3.rb +++ b/Casks/textexpander3.rb @@ -3,8 +3,11 @@ sha256 '87859d7efcbfe479e7b78686d4d3f9be9983b2c7d68a6122acea10d4efbb1bfa' url "http://cdn.smilesoftware.com/TextExpander_#{version}.zip" + name 'T...
Textexpander3: Add zap, name and update license
diff --git a/lib/odd_even.rb b/lib/odd_even.rb index abc1234..def5678 100644 --- a/lib/odd_even.rb +++ b/lib/odd_even.rb @@ -12,7 +12,9 @@ if (numbers[i] % 2 == 0) numbers[i] = "even" end - + if (numbers[i] % 2 == 1) + numbers[i]= "odd" + end i += 1 end numbers @@ ...
Replace odd numbers in the array with 'odd'
diff --git a/lib/ttt/game.rb b/lib/ttt/game.rb index abc1234..def5678 100644 --- a/lib/ttt/game.rb +++ b/lib/ttt/game.rb @@ -4,6 +4,11 @@ def initialize(dir) Dir.mkdir(dir) + Dir.chdir(dir) do + SPACES.each do |space| + Dir.mkdir(File.join(dir, space)) + end + end end ...
Make it pass. I'll stop committing tests + code separately now
diff --git a/spec/array_sink_spec.rb b/spec/array_sink_spec.rb index abc1234..def5678 100644 --- a/spec/array_sink_spec.rb +++ b/spec/array_sink_spec.rb @@ -0,0 +1,8 @@+require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + +describe ArraySink do + it "stores rows in #data" do + subject << {:a => 1} + ...
Add a spec for ArraySink.
diff --git a/spec/units/host_spec.rb b/spec/units/host_spec.rb index abc1234..def5678 100644 --- a/spec/units/host_spec.rb +++ b/spec/units/host_spec.rb @@ -41,12 +41,12 @@ describe ".find_by" do let(:hostname) { "www.minitrue.gov.uk" } let(:other_hostname) { "www.minipax.gov.uk" } + let!(:host) { descri...
Use let over instance variable
diff --git a/lib/candy_check/app_store/subscription_verification.rb b/lib/candy_check/app_store/subscription_verification.rb index abc1234..def5678 100644 --- a/lib/candy_check/app_store/subscription_verification.rb +++ b/lib/candy_check/app_store/subscription_verification.rb @@ -14,6 +14,13 @@ VerificationFa...
Create separate `valid?` method for `SubscriptionVerification` Instead of checking that the `receipt` key is available, use the `latest_receipt_info` key.
diff --git a/lib/gitlab/background_migration/migrate_stage_index.rb b/lib/gitlab/background_migration/migrate_stage_index.rb index abc1234..def5678 100644 --- a/lib/gitlab/background_migration/migrate_stage_index.rb +++ b/lib/gitlab/background_migration/migrate_stage_index.rb @@ -4,18 +4,20 @@ module Gitlab module B...
Improve stages index migration code readability
diff --git a/lib/arc42-pandoc/markdown/markdown_builder.rb b/lib/arc42-pandoc/markdown/markdown_builder.rb index abc1234..def5678 100644 --- a/lib/arc42-pandoc/markdown/markdown_builder.rb +++ b/lib/arc42-pandoc/markdown/markdown_builder.rb @@ -23,7 +23,7 @@ chunks = files.group_by { |file| file.split('/')[-2] } ...
Fix formatting issue in list command
diff --git a/lib/dnsimple/commands/describe_certificate.rb b/lib/dnsimple/commands/describe_certificate.rb index abc1234..def5678 100644 --- a/lib/dnsimple/commands/describe_certificate.rb +++ b/lib/dnsimple/commands/describe_certificate.rb @@ -27,6 +27,7 @@ puts puts "#{certificate.private_key}" ...
Include the ssl certificate in the output
diff --git a/lib/transam_funding/funding_funding_source.rb b/lib/transam_funding/funding_funding_source.rb index abc1234..def5678 100644 --- a/lib/transam_funding/funding_funding_source.rb +++ b/lib/transam_funding/funding_funding_source.rb @@ -1,8 +1,10 @@ module FundingFundingSource extend ActiveSupport::Concern ...
Add missing include block in FundingFundingSource extension
diff --git a/test/dimensions/test_case.rb b/test/dimensions/test_case.rb index abc1234..def5678 100644 --- a/test/dimensions/test_case.rb +++ b/test/dimensions/test_case.rb @@ -1,10 +1,24 @@ require 'dimensions' -require 'test/unit' module Dimensions FIXTURE_ROOT = File.expand_path('../../fixtures', __FILE__) -...
Fix tests on Ruby 2.0
diff --git a/prefnerd.gemspec b/prefnerd.gemspec index abc1234..def5678 100644 --- a/prefnerd.gemspec +++ b/prefnerd.gemspec @@ -3,6 +3,7 @@ spec.version = '0.2' spec.authors = ['Greg Hurrell'] spec.email = ['greg@hurrell.net'] + spec.homepage = 'https://github.com/wincent/prefnerd' ...
Add GitHub as homepage in gemspec
diff --git a/core/io/sysopen_spec.rb b/core/io/sysopen_spec.rb index abc1234..def5678 100644 --- a/core/io/sysopen_spec.rb +++ b/core/io/sysopen_spec.rb @@ -6,39 +6,49 @@ @filename = tmp("rubinius-spec-io-sysopen-#{$$}.txt") end + before :each do + @fd = nil + end + + after :each do + IO.for_fd(@fd).c...
Fix IO.sysopen specs to clean afther themselves and make them pass on Windows
diff --git a/telemetry-logger.gemspec b/telemetry-logger.gemspec index abc1234..def5678 100644 --- a/telemetry-logger.gemspec +++ b/telemetry-logger.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'telemetry-logger' - s.version = '0.1.10' + s.version = '0.1.11' s.summar...
Package version is increased from 0.1.10 to 0.1.11
diff --git a/perf/models.rb b/perf/models.rb index abc1234..def5678 100644 --- a/perf/models.rb +++ b/perf/models.rb @@ -6,7 +6,6 @@ embeds_one :name, :validate => false embeds_many :addresses, :validate => false - embeds_many :phones, :validate => false has_many :posts, :validate => false has_one :game...
Remove phone relation from benchmark
diff --git a/spec/action_spec.rb b/spec/action_spec.rb index abc1234..def5678 100644 --- a/spec/action_spec.rb +++ b/spec/action_spec.rb @@ -5,7 +5,7 @@ double('Launchboard::Receiver', :do => 'nothing') end let(:start_action) { 'music' } - let(:end_action) { '' } + let(:end_action) { nil } let(:action) d...
Use nil for empty end_action in spec
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,5 +28,6 @@ Typhoeus.on_complete.clear Typhoeus.on_success.clear Typhoeus.on_failure.clear + Typhoeus::Config.verbose = false end end
Make sure verbose setting doesn't leak.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,7 +6,10 @@ require 'knockoff' ActiveRecord::Base.configurations = { - 'test' => { 'adapter' => 'sqlite3', 'database' => 'tmp/test_db' } + test: { + adapter: 'sqlite3', +...
Use symbols in the configuration hash
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,4 +7,8 @@ config.filter_run focus: true config.run_all_when_everything_filtered = true + + config.before :suite do + Adhearsion::Logging.start Adhearsion::Logging.def...
[CS] Include logs in spec output
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,9 @@ require 'erb_helper' require 'bundler/setup' require 'vcloud/net_launcher' + +RSpec.configure do |config| + config.expect_with :rspec do |c| + c.syntax = :expect...
Disable `should` syntax in Rspec `should` syntax is deprecated as of Rspec version 3.0 and the previous commit converts all of our tests to use `expect` for consistency. To prevent regressions, this change disables `should` syntax for this gem.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,7 +9,11 @@ end add_group 'Tasks', 'lib/agharta/tasks' add_group 'UsetStream', 'lib/agharta/user_stream' - add_group 'Handlers', 'lib/agharta/handlers' + ...
Add handler group pattern at simplecov.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -19,8 +19,11 @@ end SimpleCov.start do - # Don't get coverage on the test cases themselves + # Don't get coverage on the test cases themselves. + add_filter '/spec/' add_f...
Add a few more default filters.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -23,24 +23,3 @@ PuppetlabsSpec::Files.cleanup end end - -require 'pathname' -dir = Pathname.new(__FILE__).parent -Puppet[:modulepath] = File.join(dir, 'fixtures', 'modules'...
Use modulesync to manage meta files
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -4,6 +4,7 @@ class Rack::MockRequest def trace(uri, opts={}) request("TRACE", uri, opts) end + def options(uri, opts={}) request("TRACE", uri, opts) end end def e...
Add options to rack mock request
diff --git a/lib/marooned/finder.rb b/lib/marooned/finder.rb index abc1234..def5678 100644 --- a/lib/marooned/finder.rb +++ b/lib/marooned/finder.rb @@ -3,10 +3,7 @@ def find(directory) search_path = File.join(directory, "**/*") files = Dir.glob(search_path) - files = files.select do |file| - ...
Allow filtering of absolute paths This fixes an issue with xcdatamodel files since they are included as a directory not as the file inside of them
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index abc1234..def5678 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,6 +6,9 @@ # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each {...
Apply database seeds before running specs.
diff --git a/lib/sports_data_api.rb b/lib/sports_data_api.rb index abc1234..def5678 100644 --- a/lib/sports_data_api.rb +++ b/lib/sports_data_api.rb @@ -1,6 +1,7 @@ require "sports_data_api/version" require "nokogiri" require "rest_client" +require "time" module SportsDataApi def self.key
Fix "undefined method `parse' for Time:Class"
diff --git a/core/db/migrate/20150623214058_seed_store_credit_update_reasons.rb b/core/db/migrate/20150623214058_seed_store_credit_update_reasons.rb index abc1234..def5678 100644 --- a/core/db/migrate/20150623214058_seed_store_credit_update_reasons.rb +++ b/core/db/migrate/20150623214058_seed_store_credit_update_reason...
Destroy record in down migration
diff --git a/lib/tubesock/hijack.rb b/lib/tubesock/hijack.rb index abc1234..def5678 100644 --- a/lib/tubesock/hijack.rb +++ b/lib/tubesock/hijack.rb @@ -33,7 +33,7 @@ ActiveRecord::Base.clear_active_connections! if defined? ActiveRecord end sock.listen - render text: nil, status: -1 + re...
Use `render plain` instead of `render text` for Rails 5.1
diff --git a/spec/features/geolocation_alert_spec.rb b/spec/features/geolocation_alert_spec.rb index abc1234..def5678 100644 --- a/spec/features/geolocation_alert_spec.rb +++ b/spec/features/geolocation_alert_spec.rb @@ -16,7 +16,7 @@ button = page.find('.joined-link', match: :first) button.click cl...
Change sleep back to 2 seconds
diff --git a/test/models/user_test.rb b/test/models/user_test.rb index abc1234..def5678 100644 --- a/test/models/user_test.rb +++ b/test/models/user_test.rb @@ -0,0 +1,43 @@+require 'test_helper' + +describe User do + + let(:auth_hash) { + { + provider: 'google', + uid: '12345', + info: { + na...
Add tests for building a User from an auth hash
diff --git a/test/mysql_import_test.rb b/test/mysql_import_test.rb index abc1234..def5678 100644 --- a/test/mysql_import_test.rb +++ b/test/mysql_import_test.rb @@ -11,7 +11,7 @@ end test 'success' do - client = MysqlImport.new(DbConfig.to_hash) + client = MysqlImport.new(DbConfig.to_hash, sql_opts...
:green_heart: Add option for Travis CI test
diff --git a/spec/electric_sheep/shell/resourceful_spec.rb b/spec/electric_sheep/shell/resourceful_spec.rb index abc1234..def5678 100644 --- a/spec/electric_sheep/shell/resourceful_spec.rb +++ b/spec/electric_sheep/shell/resourceful_spec.rb @@ -0,0 +1,40 @@+require 'spec_helper' + +describe ElectricSheep::Shell::Resour...
Add missing spec of resourceful module
diff --git a/script/marriage-abroad-countries-leading-to-outcome.rb b/script/marriage-abroad-countries-leading-to-outcome.rb index abc1234..def5678 100644 --- a/script/marriage-abroad-countries-leading-to-outcome.rb +++ b/script/marriage-abroad-countries-leading-to-outcome.rb @@ -0,0 +1,17 @@+outcome_name = ARGV.shift ...
Add script to list countries leading to outcome This displays the countries that lead to the given outcome. It's going to help me when extracting the marriage-abroad services from the templates.
diff --git a/spec/prepare.rb b/spec/prepare.rb index abc1234..def5678 100644 --- a/spec/prepare.rb +++ b/spec/prepare.rb @@ -26,4 +26,16 @@ assert $first, :==, true assert $second, :==, false end + + scope 'second level scope' do + prepare do + $second = true + end + + spec 'call prepare bloc...
Call Prepare blocks from file level scope to second level scope.
diff --git a/pieces.gemspec b/pieces.gemspec index abc1234..def5678 100644 --- a/pieces.gemspec +++ b/pieces.gemspec @@ -16,11 +16,11 @@ spec.executables = ['pieces'] spec.require_paths = ['lib'] - spec.add_dependency 'mustache' spec.add_dependency 'tilt', '~> 2.0.1' spec.add_development_dependency 'b...
Move mustache to development dependency
diff --git a/init.rb b/init.rb index abc1234..def5678 100644 --- a/init.rb +++ b/init.rb @@ -23,7 +23,7 @@ permission :delete_gollum_wiki, :gollum => [:destroy] end - menu :project_menu, :gollum_wiki, { :controller => :gollum, :action => :index }, :caption => 'Wiki', :after => 'Issues', :param => :project_id ...
Rename tab to 'Gollum Wiki', fix it to be selected, place before :wiki.
diff --git a/init.rb b/init.rb index abc1234..def5678 100644 --- a/init.rb +++ b/init.rb @@ -1,3 +1,7 @@+if ActionPack::VERSION::STRING == "2.3.6" + raise "rails_xss does not support Rails 2.3.6. Please upgrade to Rails 2.3.6.1 or later." +end + unless $gems_rake_task require 'rails_xss/plugin' end
Add an error message for Rails 2.3.6.
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -1,10 +1,6 @@ class HelloWorldApp < Sinatra::Base configure do set :protection, :except => :frame_options - end - - get '/' do - "Hello, world!" end get '/button' do
Remove "/" route since we dont need it
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -13,7 +13,7 @@ thread = nil ws.onmessage {|msg| ts.each {|t| t[:queue].push(msg) } - p ts + p msg } ws.onopen { thread = Thread.new {
Print a message when it comes.
diff --git a/test/appharbor_test.rb b/test/appharbor_test.rb index abc1234..def5678 100644 --- a/test/appharbor_test.rb +++ b/test/appharbor_test.rb @@ -5,10 +5,17 @@ @stubs = Faraday::Adapter::Test::Stubs.new end - def test_push - application_slug = 'foo' - token = 'bar' + def test_single_slug_push + ...
Move logic for testing push to private method
diff --git a/test/weblate_test.rb b/test/weblate_test.rb index abc1234..def5678 100644 --- a/test/weblate_test.rb +++ b/test/weblate_test.rb @@ -0,0 +1,22 @@+class WeblateTest < Service::TestCase + def setup + @stubs = Faraday::Adapter::Test::Stubs.new + end + + def test_push + @stubs.post "/hooks/github/" do ...
Add testcase for Weblate service
diff --git a/app/helpers/matrices_helper.rb b/app/helpers/matrices_helper.rb index abc1234..def5678 100644 --- a/app/helpers/matrices_helper.rb +++ b/app/helpers/matrices_helper.rb @@ -22,10 +22,10 @@ def kind_submission_list @kinds = kind_list - @kinds.each { |kind| - if kind.include? "Sequence" or k...
Remove "Subsequent" kinds from matrix submission options
diff --git a/lib/active_record/mass_assignment_security/inheritance.rb b/lib/active_record/mass_assignment_security/inheritance.rb index abc1234..def5678 100644 --- a/lib/active_record/mass_assignment_security/inheritance.rb +++ b/lib/active_record/mass_assignment_security/inheritance.rb @@ -12,6 +12,8 @@ def s...
Support Active Record <= 4.0.3, which uses the old method signature
diff --git a/roles/db-slave.rb b/roles/db-slave.rb index abc1234..def5678 100644 --- a/roles/db-slave.rb +++ b/roles/db-slave.rb @@ -14,7 +14,7 @@ :user => "replication", :passwords => { :bag => "db", :item => "passwords" } }, - :restore_command => "/usr/local/bin/openstreetmap-wal-...
Switch slave databases to use wal-g instead of wal-e
diff --git a/app/helpers/games_helper.rb b/app/helpers/games_helper.rb index abc1234..def5678 100644 --- a/app/helpers/games_helper.rb +++ b/app/helpers/games_helper.rb @@ -6,6 +6,6 @@ private def random_placeholder - Game.where.not(shortname: nil).offset(rand(Game.where.not(shortname: nil).count)).first + ...
Fix search placeholder name/shortname being two different games
diff --git a/app/models/gobierto_data.rb b/app/models/gobierto_data.rb index abc1234..def5678 100644 --- a/app/models/gobierto_data.rb +++ b/app/models/gobierto_data.rb @@ -8,4 +8,8 @@ def self.classes_with_custom_fields [GobiertoData::Dataset] end + + def self.root_path(current_site) + Rails.application....
Implement root_path in gobierto data module
diff --git a/app/models/jodel_handler.rb b/app/models/jodel_handler.rb index abc1234..def5678 100644 --- a/app/models/jodel_handler.rb +++ b/app/models/jodel_handler.rb @@ -14,7 +14,12 @@ def loudest_post(latitude, longitude) response = get_posts(latitude, longitude) - response["voted"][0] + puts respons...
Fix crash if no jodels available
diff --git a/app/models/system_system.rb b/app/models/system_system.rb index abc1234..def5678 100644 --- a/app/models/system_system.rb +++ b/app/models/system_system.rb @@ -17,13 +17,13 @@ def does_not_link_to_self if parent_id == child_id - errors.add(:base, "System cannot be its own sub-system") + ...
Change error messages for system-system links to be clearer [story:42834235]
diff --git a/app/api/bookyt/api.rb b/app/api/bookyt/api.rb index abc1234..def5678 100644 --- a/app/api/bookyt/api.rb +++ b/app/api/bookyt/api.rb @@ -13,12 +13,8 @@ end rescue_from ActiveRecord::RecordInvalid do |error| - error = { - 'status' => 422, - 'message' => error.record.errors.full...
Return validation errors in a consistent way
diff --git a/rb/lib/selenium/webdriver/firefox/bridge.rb b/rb/lib/selenium/webdriver/firefox/bridge.rb index abc1234..def5678 100644 --- a/rb/lib/selenium/webdriver/firefox/bridge.rb +++ b/rb/lib/selenium/webdriver/firefox/bridge.rb @@ -6,9 +6,9 @@ class Bridge < Remote::Bridge def initialize(opts = {}...
JariBakken: Make sure opts is empty when we validate the options passed. r11124
diff --git a/week-4/factorial/my_solution.rb b/week-4/factorial/my_solution.rb index abc1234..def5678 100644 --- a/week-4/factorial/my_solution.rb +++ b/week-4/factorial/my_solution.rb @@ -14,7 +14,7 @@ else result= 1 i = number - while i > 1 + while i > 0 result = result * i i= i - 1 ...
Create factorial files with codes
diff --git a/searchify.gemspec b/searchify.gemspec index abc1234..def5678 100644 --- a/searchify.gemspec +++ b/searchify.gemspec @@ -16,7 +16,7 @@ s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] s.test_files = Dir["test/**/*"] - s.add_dependency "rails", "~> 3.1.1" + s.add_...
Update rails dependency in order to work with Rails 3.2 RC1
diff --git a/spec/celluloid/supervision_group_spec.rb b/spec/celluloid/supervision_group_spec.rb index abc1234..def5678 100644 --- a/spec/celluloid/supervision_group_spec.rb +++ b/spec/celluloid/supervision_group_spec.rb @@ -55,5 +55,11 @@ Celluloid::Actor[:example_pool].args.should eq ['foo'] Celluloid::A...
Add spec for internal registry access
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -0,0 +1,56 @@+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') + +describe U...
Add specs for custom signchangeaddress action.
diff --git a/spec/features/course/duplication_spec.rb b/spec/features/course/duplication_spec.rb index abc1234..def5678 100644 --- a/spec/features/course/duplication_spec.rb +++ b/spec/features/course/duplication_spec.rb @@ -0,0 +1,67 @@+# frozen_string_literal: true +require 'rails_helper' + +RSpec.feature 'Course: Du...
Add feature spec for duplication.
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.1.1'...
Package version increased from 0.1.1.1 to 0.2.0.0
diff --git a/provisioner/spec/provider_spec.rb b/provisioner/spec/provider_spec.rb index abc1234..def5678 100644 --- a/provisioner/spec/provider_spec.rb +++ b/provisioner/spec/provider_spec.rb @@ -1,5 +1,32 @@ require 'spec_helper' +require 'json' describe Provider do + response = IO.read("#{File.dirname(__FILE__...
Test Provider for create, confirm, and delete to create an instance of Provider with a task instance variable equaling the task hash and an empty result hash
diff --git a/rubygems-openpgp.gemspec b/rubygems-openpgp.gemspec index abc1234..def5678 100644 --- a/rubygems-openpgp.gemspec +++ b/rubygems-openpgp.gemspec @@ -12,5 +12,5 @@ "lib/rubygems/commands/sbuild_command.rb", "lib/rubygems/commands/sign_command.rb", "lib/rubygems/gem_openpgp.rb"]...
Use github homepage instead of personal
diff --git a/cuba-contrib.gemspec b/cuba-contrib.gemspec index abc1234..def5678 100644 --- a/cuba-contrib.gemspec +++ b/cuba-contrib.gemspec @@ -18,5 +18,5 @@ s.add_dependency "cuba", "~> 3.1" s.add_development_dependency "cutest" - s.add_development_dependency "mote", "~> 1.0" + s.add_dependency "mote", "~> 1...
Add mote as a runtime dependency Mote is not a development dependency, as cuba/contrib requires cuba/mote, which in turn requires mote.
diff --git a/schema.gemspec b/schema.gemspec index abc1234..def5678 100644 --- a/schema.gemspec +++ b/schema.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'schema' s.summary = "Primitives for schema and structure" - s.version = '0.2.0.0' + s.version = '0.3.0.0' s.description = ' ' s.aut...
Package version is increased from 0.2.0.0 to 0.3.0.0
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,4 +1,6 @@ default['cron']['package_name'] = case node['platform_family'] + when 'debian' + ['cron'] ...
Make sure cron is installed on Debian / Ubuntu
diff --git a/guard-zeus.gemspec b/guard-zeus.gemspec index abc1234..def5678 100644 --- a/guard-zeus.gemspec +++ b/guard-zeus.gemspec @@ -12,11 +12,11 @@ gem.summary = %q{Pushes watched files to Zeus} gem.homepage = "http://github.com/qnm/guard-zeus" - gem.add_dependency 'guard' - gem.add_dependency ...
Add a dependency on guard version 1, to prepare the migration to version 2
diff --git a/sicuro.gemspec b/sicuro.gemspec index abc1234..def5678 100644 --- a/sicuro.gemspec +++ b/sicuro.gemspec @@ -6,18 +6,18 @@ s.name = 'sicuro' s.version = Sicuro::VERSION s.platform = Gem::Platform::RUBY - s.authors = ['Nick Markwell'] - s.email = ['nick@duckinator.net'] + s...
Update dependencies (and the spelling of my name :P) in gemspec.
diff --git a/db/migrate/20141028160511_remove_nickname_limit.rb b/db/migrate/20141028160511_remove_nickname_limit.rb index abc1234..def5678 100644 --- a/db/migrate/20141028160511_remove_nickname_limit.rb +++ b/db/migrate/20141028160511_remove_nickname_limit.rb @@ -0,0 +1,9 @@+class RemoveNicknameLimit < ActiveRecord::M...
Remove nickname limit on db
diff --git a/db/migrate/20180731153536_drop_political_groups.rb b/db/migrate/20180731153536_drop_political_groups.rb index abc1234..def5678 100644 --- a/db/migrate/20180731153536_drop_political_groups.rb +++ b/db/migrate/20180731153536_drop_political_groups.rb @@ -0,0 +1,19 @@+# frozen_string_literal: true + +class Dro...
Add migration to drop gp_political_groups table
diff --git a/lib/generators/link_to_action/install_generator.rb b/lib/generators/link_to_action/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/link_to_action/install_generator.rb +++ b/lib/generators/link_to_action/install_generator.rb @@ -32,8 +32,9 @@ def copy_templates ...
Copy bootstrap templates if option specified.
diff --git a/spec/eee_spec.rb b/spec/eee_spec.rb index abc1234..def5678 100644 --- a/spec/eee_spec.rb +++ b/spec/eee_spec.rb @@ -25,6 +25,5 @@ it "should include a title" do get "/recipes/#{@permalink}" response.should be_ok - response.should have_selector("h1", :content => @title) end end
Move the view-specific spec into a real view spec.
diff --git a/test/pushbullet_test.rb b/test/pushbullet_test.rb index abc1234..def5678 100644 --- a/test/pushbullet_test.rb +++ b/test/pushbullet_test.rb @@ -0,0 +1,75 @@+require File.expand_path('../helper', __FILE__) + +class PushbulletTest < Service::TestCase + def setup + @stubs = Faraday::Adapter::Test::Stubs.n...
Add test for Pushbullet service.
diff --git a/test/test_hierogloss.rb b/test/test_hierogloss.rb index abc1234..def5678 100644 --- a/test/test_hierogloss.rb +++ b/test/test_hierogloss.rb @@ -4,8 +4,4 @@ def test_that_it_has_a_version_number refute_nil ::Hierogloss::VERSION end - - def test_it_does_something_useful - assert false - end e...
Remove auto-generated failing unit test
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -0,0 +1,28 @@+require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') +...
Add spec for hiding of attachments that show personal details.
diff --git a/spec/generators/uninstall_generator_spec.rb b/spec/generators/uninstall_generator_spec.rb index abc1234..def5678 100644 --- a/spec/generators/uninstall_generator_spec.rb +++ b/spec/generators/uninstall_generator_spec.rb @@ -22,7 +22,7 @@ it "creates migrations for droping histories table" do ...
Add _table-suffix to migration filename in uninstall spec
diff --git a/Casks/cloudfoundry-cli.rb b/Casks/cloudfoundry-cli.rb index abc1234..def5678 100644 --- a/Casks/cloudfoundry-cli.rb +++ b/Casks/cloudfoundry-cli.rb @@ -1,6 +1,6 @@ cask :v1 => 'cloudfoundry-cli' do - version '6.6.1' - sha256 '1a159944a447b4b321513cadd8c009477dc084ce22b6bfd2e5e20382d98bb5e5' + version '6...
Upgrade Cloud Foundry CLI to 6.7.0
diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index abc1234..def5678 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -6,14 +6,19 @@ end end +redis_options = { url: REDIS_URL, namespace: 'sidekiq' } + +# Set Redis driver explicitly if FakeRedis is u...
Use FakeRedis in Sidekiq as well
diff --git a/app/controllers/hologram_rails/styleguide_controller.rb b/app/controllers/hologram_rails/styleguide_controller.rb index abc1234..def5678 100644 --- a/app/controllers/hologram_rails/styleguide_controller.rb +++ b/app/controllers/hologram_rails/styleguide_controller.rb @@ -3,6 +3,5 @@ module HologramRails ...
Use default application layout for styleguide
diff --git a/app/models/course/assessment/question/forum_response.rb b/app/models/course/assessment/question/forum_response.rb index abc1234..def5678 100644 --- a/app/models/course/assessment/question/forum_response.rb +++ b/app/models/course/assessment/question/forum_response.rb @@ -2,14 +2,20 @@ class Course::Assessm...
fix(ForumResponse): Set max no of posts that could be selected
diff --git a/app/serializers/show_annual_report_upload_serializer.rb b/app/serializers/show_annual_report_upload_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/show_annual_report_upload_serializer.rb +++ b/app/serializers/show_annual_report_upload_serializer.rb @@ -0,0 +1,68 @@+class ShowAnnualReport...
Add serializer for show page of aru
diff --git a/spec/page_objects/circle/roles.rb b/spec/page_objects/circle/roles.rb index abc1234..def5678 100644 --- a/spec/page_objects/circle/roles.rb +++ b/spec/page_objects/circle/roles.rb @@ -9,13 +9,15 @@ sections :admins, '.default-table tbody tr' do element :role, 'td:nth-child(1)' eleme...
Verify new admin role is active.
diff --git a/spec/unit/sql/fuzzer/each_spec.rb b/spec/unit/sql/fuzzer/each_spec.rb index abc1234..def5678 100644 --- a/spec/unit/sql/fuzzer/each_spec.rb +++ b/spec/unit/sql/fuzzer/each_spec.rb @@ -3,8 +3,8 @@ require 'spec_helper' describe SQL::Fuzzer, '#each' do - let(:object) { described_class.new(ast) } - let...
Replace deprecated stub method with double in specs
diff --git a/BLCStarRatingView.podspec b/BLCStarRatingView.podspec index abc1234..def5678 100644 --- a/BLCStarRatingView.podspec +++ b/BLCStarRatingView.podspec @@ -9,14 +9,14 @@ Pod::Spec.new do |s| s.name = "BLCStarRatingView" - s.version = "1.0.0" + s.version = "1.1.0" s.summa...
Update podspect to support version 1.1.0
diff --git a/actionpack/lib/action_view/template_handlers/compilable.rb b/actionpack/lib/action_view/template_handlers/compilable.rb index abc1234..def5678 100644 --- a/actionpack/lib/action_view/template_handlers/compilable.rb +++ b/actionpack/lib/action_view/template_handlers/compilable.rb @@ -16,36 +16,6 @@ ...
Remove dead code from merge
diff --git a/boot/fancy_ext/block_env.rb b/boot/fancy_ext/block_env.rb index abc1234..def5678 100644 --- a/boot/fancy_ext/block_env.rb +++ b/boot/fancy_ext/block_env.rb @@ -12,16 +12,16 @@ alias_method :":call", :call define_method("call:") do |args| - if args.size < self.arity - raise ArgumentError, "To...
Undo check for unsufficient argument count for now (causes problems during bootstrap).
diff --git a/syntax.gemspec b/syntax.gemspec index abc1234..def5678 100644 --- a/syntax.gemspec +++ b/syntax.gemspec @@ -11,5 +11,6 @@ s.add_development_dependency "rake" s.add_development_dependency "rake-contrib" + s.add_development_dependency "rdoc" s.add_development_dependency "test-unit" end
Include rdoc as a dev dependency.
diff --git a/Casks/handbrakecli-nightly.rb b/Casks/handbrakecli-nightly.rb index abc1234..def5678 100644 --- a/Casks/handbrakecli-nightly.rb +++ b/Casks/handbrakecli-nightly.rb @@ -1,6 +1,6 @@ cask :v1 => 'handbrakecli-nightly' do - version '7031svn' - sha256 '29584bd078000dc79c95c56aa9483e7bc5d6cce048349414e4016bcea...
Update HandbrakeCLI Nightly to v7073svn HandBrakeCLI Nightly v7073svn built 2015-04-09.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -57,11 +57,11 @@ resources :ui_associations, path: 'ui-associations', only: [:new] resources :slides, only: [:new] - # unauthenticated do - # as :user do - # root to: 'users/se...
Add unauthenticated route back for Rails3
diff --git a/lib/country_select/rails3/country_select_helper.rb b/lib/country_select/rails3/country_select_helper.rb index abc1234..def5678 100644 --- a/lib/country_select/rails3/country_select_helper.rb +++ b/lib/country_select/rails3/country_select_helper.rb @@ -1,7 +1,14 @@ module ActionView module Helpers c...
Add fixes for Rails 3
diff --git a/lib/xclarity_client/discover_request_management.rb b/lib/xclarity_client/discover_request_management.rb index abc1234..def5678 100644 --- a/lib/xclarity_client/discover_request_management.rb +++ b/lib/xclarity_client/discover_request_management.rb @@ -10,7 +10,7 @@ end def discover_manageable_de...
Change the format of JSON representation
diff --git a/test/state_transition/test_state_transition_on_transition_callback.rb b/test/state_transition/test_state_transition_on_transition_callback.rb index abc1234..def5678 100644 --- a/test/state_transition/test_state_transition_on_transition_callback.rb +++ b/test/state_transition/test_state_transition_on_transi...
Fix weird and more or less random test failure.
diff --git a/spec/client/partial_message_spec.rb b/spec/client/partial_message_spec.rb index abc1234..def5678 100644 --- a/spec/client/partial_message_spec.rb +++ b/spec/client/partial_message_spec.rb @@ -13,28 +13,28 @@ it 'should not hold stale message data across a reconnect' do got_message = false expec...
Update spec for partial message which was flapping
diff --git a/spec/factories/booking_templates.rb b/spec/factories/booking_templates.rb index abc1234..def5678 100644 --- a/spec/factories/booking_templates.rb +++ b/spec/factories/booking_templates.rb @@ -1,18 +1,19 @@-Factory.define :booking_template do |b| +FactoryGirl.define do + factory :booking_template do + f...
Use modern syntax for booking template factory.
diff --git a/spec/integration/repository_spec.rb b/spec/integration/repository_spec.rb index abc1234..def5678 100644 --- a/spec/integration/repository_spec.rb +++ b/spec/integration/repository_spec.rb @@ -5,10 +5,6 @@ RSpec.describe 'Tweets Repository', integration: true do subject(:repository) { Plaintweet::Repos...
Allow network connection for integration tests
diff --git a/spec/models/user_identifier_spec.rb b/spec/models/user_identifier_spec.rb index abc1234..def5678 100644 --- a/spec/models/user_identifier_spec.rb +++ b/spec/models/user_identifier_spec.rb @@ -3,16 +3,13 @@ RSpec.describe UserIdentifier, type: :model do context "validations" do + it { is_expected....
Remove validation spec for UserIdentifier spec This validation was removed from the model
diff --git a/lib/cognizant/system/process.rb b/lib/cognizant/system/process.rb index abc1234..def5678 100644 --- a/lib/cognizant/system/process.rb +++ b/lib/cognizant/system/process.rb @@ -23,8 +23,8 @@ end def self.send_signals(pid, options = {}) - # Return if the process is already stopped. - ...
Fix the pid running check method call.
diff --git a/lib/ethon/easy/http/postable.rb b/lib/ethon/easy/http/postable.rb index abc1234..def5678 100644 --- a/lib/ethon/easy/http/postable.rb +++ b/lib/ethon/easy/http/postable.rb @@ -4,6 +4,7 @@ # This module contains logic for setting up a [multipart] POST body. module Postable + # Set th...
Use form to get size.
diff --git a/test/ts_all.rb b/test/ts_all.rb index abc1234..def5678 100644 --- a/test/ts_all.rb +++ b/test/ts_all.rb @@ -30,6 +30,14 @@ require 'test/adapter/redland/test_redland_adapter' require 'test/adapter/redland/test_redland_adapter_add' require 'test/adapter/redland/test_redland_adapter_remove' +require 'test/...
Add unit test for adapter.
diff --git a/cmd/brew-test-bot-docker.rb b/cmd/brew-test-bot-docker.rb index abc1234..def5678 100644 --- a/cmd/brew-test-bot-docker.rb +++ b/cmd/brew-test-bot-docker.rb @@ -17,7 +17,7 @@ "linuxbrew/linuxbrew", "sh", "-c", <<-EOS.undent sudo apt-get install -y python - brew tap linuxbrew/hom...
test-bot-docker: Fix a typo (tap linuxbrew/xorg)