diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,7 +2,7 @@ maintainer 'Aetrion, LLC DBA DNSimple' maintainer_email 'ops@dnsimple.com' license 'Apache 2.0' -description 'Installs/Configures pdns' +description 'Installs/Configures Po...
Update description with something less terse
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,7 +1,7 @@ name 'omnibus' maintainer 'Chef Software, Inc.' maintainer_email 'releng@chef.io' -license 'Apache 2.0' +license 'Apache-2.0' description 'Prepares a...
Use SPDX standard license string Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/databasedotcom.gemspec b/databasedotcom.gemspec index abc1234..def5678 100644 --- a/databasedotcom.gemspec +++ b/databasedotcom.gemspec @@ -24,4 +24,10 @@ s.add_development_dependency 'rspec', '~> 2.6' s.add_development_dependency 'webmock' s.add_development_dependency 'rake', '>= 0.8.6' + + if RU...
Add debugger to development dependencies * debugger if ruby > 1.9 * else ruby-debug
diff --git a/test/processors/command_processor_test.rb b/test/processors/command_processor_test.rb index abc1234..def5678 100644 --- a/test/processors/command_processor_test.rb +++ b/test/processors/command_processor_test.rb @@ -15,6 +15,11 @@ EOC end + def test_empty_command_repeats_last_command + ...
Add a test to check empty commands behaviour which is supposed to execute the last non-empty command.
diff --git a/mlk.gemspec b/mlk.gemspec index abc1234..def5678 100644 --- a/mlk.gemspec +++ b/mlk.gemspec @@ -24,5 +24,5 @@ spec.add_development_dependency 'rake' spec.add_development_dependency 'mocha' spec.add_development_dependency 'pry' - spec.add_development_dependency 'pry-debugger' + spec.add_developmen...
Fix dependencies for recent ruby versions
diff --git a/mdv.gemspec b/mdv.gemspec index abc1234..def5678 100644 --- a/mdv.gemspec +++ b/mdv.gemspec @@ -17,6 +17,8 @@ `git ls-files -z`.split("\0") s.test_files = Dir['test/**/*.rb'] + s.license = 'MIT' + s.add_dependency('gir_ffi-gtk', ['~> 0.8.0']) s.add_dependency('github-markup', ['~> 1.1']) ...
Include license info in the gemspec
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -9,7 +9,7 @@ depends "site-gittypo3org", "~> 0.1.0" depends "ssl_certificates", "~> 1.1.0" -depends "t3-gerrit", "~> 0.5.0" +depends "t3-gerrit", "~> 0.5.5" depends "t3-chef-vault", "~> ...
[TASK] Add version hint for depsolver
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -8,4 +8,4 @@ depends 'build-essential', '~> 2.2' depends 'java', '~> 1.35' depends 'runit', '~> 1.7' -depends 'zookeeper', '~> 3.0' +depends 'zookeeper', '~> 4.0'
Update to zookeeper ~> 4.0
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -13,6 +13,11 @@ # it down until they're done depends "opscode-postgresql", "= 0.1.3" +# This is the version we currently have in prod / preprod +# +# It apparently does not play nicely with Ubuntu 12? +depends...
Fix apt at the version in prod
diff --git a/AttributedLib.podspec b/AttributedLib.podspec index abc1234..def5678 100644 --- a/AttributedLib.podspec +++ b/AttributedLib.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'AttributedLib' - s.version = '0.2.0' + s.version = '0.2.1' s.summary = 'A Modern ...
Update Pod specification to point to 0.2.1
diff --git a/mms.gemspec b/mms.gemspec index abc1234..def5678 100644 --- a/mms.gemspec +++ b/mms.gemspec @@ -18,5 +18,6 @@ s.add_runtime_dependency 'clamp', '~> 0.6.0' s.add_development_dependency 'rake' + s.add_development_dependency 'pry' s.add_development_dependency 'rspec', '~> 2.0' end
Add pry for dev debugging
diff --git a/db/migrate/20150312155312_add_module_full_name_to_match.rb b/db/migrate/20150312155312_add_module_full_name_to_match.rb index abc1234..def5678 100644 --- a/db/migrate/20150312155312_add_module_full_name_to_match.rb +++ b/db/migrate/20150312155312_add_module_full_name_to_match.rb @@ -1,6 +1,6 @@ class AddMo...
Change string type to text
diff --git a/spec/integration/commands/addresses/remove_spec.rb b/spec/integration/commands/addresses/remove_spec.rb index abc1234..def5678 100644 --- a/spec/integration/commands/addresses/remove_spec.rb +++ b/spec/integration/commands/addresses/remove_spec.rb @@ -21,14 +21,16 @@ end it "should not list in a...
Fix spec to catch exception raised when there are no addresses. Behavior changed in Diablo4.
diff --git a/business.gemspec b/business.gemspec index abc1234..def5678 100644 --- a/business.gemspec +++ b/business.gemspec @@ -20,7 +20,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_dependency "gc_ruboconfig", "~> 2.20.0" + spec.add_...
Update gc_ruboconfig requirement from ~> 2.20.0 to ~> 2.23.0 Updates the requirements on [gc_ruboconfig](https://github.com/gocardless/ruboconfig) to permit the latest version. - [Release notes](https://github.com/gocardless/ruboconfig/releases) - [Changelog](https://github.com/gocardless/gc_ruboconfig/blob/master/CHA...
diff --git a/api_classes/dsl_proxy.rb b/api_classes/dsl_proxy.rb index abc1234..def5678 100644 --- a/api_classes/dsl_proxy.rb +++ b/api_classes/dsl_proxy.rb @@ -32,3 +32,4 @@ Proxy.get Proxy.create Proxy.delete +Proxy.update
Add method "update" tp proxy
diff --git a/app/extensions/assets.rb b/app/extensions/assets.rb index abc1234..def5678 100644 --- a/app/extensions/assets.rb +++ b/app/extensions/assets.rb @@ -27,16 +27,16 @@ Stylus.setup(assets) app.set :asset_host, '' + assets.cache = Sprockets::Cache::FileStore.new('./tmp') + # app...
Revert using memcache on prod
diff --git a/app/jobs/post_grouper.rb b/app/jobs/post_grouper.rb index abc1234..def5678 100644 --- a/app/jobs/post_grouper.rb +++ b/app/jobs/post_grouper.rb @@ -10,7 +10,7 @@ def delete_orphaned_gene_claims DataModel::GeneClaim.joins(:gene, :gene_claim_aliases, :source) .where("gene_claims.gene_id I...
Use destroy_all instead of calling destroy on individual entries
diff --git a/scss-lint.gemspec b/scss-lint.gemspec index abc1234..def5678 100644 --- a/scss-lint.gemspec +++ b/scss-lint.gemspec @@ -14,7 +14,7 @@ s.summary = 'SCSS lint tool' s.description = 'Opinionated tool to help write clean and consistent SCSS' - s.files = Dir['lib/**/*.rb'] + s.files ...
Include config directory in gem file Commit 4b13f23 forgot to add the new `config` directory to the gemspec, resulting in default configurations not being found (and the gem ultimately crashing). Change-Id: Ieff25d0e002c9dae069c16e88685a9b802254d4d Reviewed-on: https://gerrit.causes.com/31531 Tested-by: jenkins <d95b...
diff --git a/test/trash_test.rb b/test/trash_test.rb index abc1234..def5678 100644 --- a/test/trash_test.rb +++ b/test/trash_test.rb @@ -2,6 +2,7 @@ require 'rubygems' require 'active_record' require 'trash' +require 'factory_girl' ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => ":memor...
Use factories to create data
diff --git a/omf_common/example/engine_xmpp.rb b/omf_common/example/engine_xmpp.rb index abc1234..def5678 100644 --- a/omf_common/example/engine_xmpp.rb +++ b/omf_common/example/engine_xmpp.rb @@ -0,0 +1,75 @@+# OMF_VERSIONS = 6.0 +require 'omf_common' + +OmfCommon::Eventloop.init(type: :em) + +def create_engine(garage...
Add xmpp engine test according to new API
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -23,7 +23,7 @@ config.middleware.insert_before "ActionDispatch::Static", "Rack::Cors" do allow do origins '*' - resource '*', :headers => :any, :...
Update CORS config to allow PUT requests
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -24,10 +24,12 @@ config.generators.views = false config.generators.assets = false - config.middleware.insert_before 'Warden::Manager', 'Rack::Cors' do - ...
Fix split on nil issue.
diff --git a/EEEOperationCenter.podspec b/EEEOperationCenter.podspec index abc1234..def5678 100644 --- a/EEEOperationCenter.podspec +++ b/EEEOperationCenter.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "EEEOperationCenter" - s.version = "1.0.0" + s.version = "1.0.0.b1" s.s...
Mark this podspec as beta, up until pushing to Cocoapods (`pod push`)
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -24,5 +24,10 @@ # Do not swallow errors in after_commit/after_rollback callbacks. config.active_record.raise_in_transactional_callbacks = true + + config.acti...
Allow site to appear inside iframe iframe is common in imageboard aggregation sites.
diff --git a/spec/deep_cover_spec.rb b/spec/deep_cover_spec.rb index abc1234..def5678 100644 --- a/spec/deep_cover_spec.rb +++ b/spec/deep_cover_spec.rb @@ -7,13 +7,16 @@ it 'temporarily overrides `require`, `require_relative` and `autoload`' do methods = %i[require require_relative] methods << :autol...
Improve spec, and make it JRuby compatible
diff --git a/lib/gglog/repository.rb b/lib/gglog/repository.rb index abc1234..def5678 100644 --- a/lib/gglog/repository.rb +++ b/lib/gglog/repository.rb @@ -37,7 +37,7 @@ def pull Dir.chdir(@path) do system "git", "reset", "--hard", "--quiet" - system "git", "pull", "--force", "--quiet", "ori...
Use HEAD for pulling branch
diff --git a/lib/launch_pass/user.rb b/lib/launch_pass/user.rb index abc1234..def5678 100644 --- a/lib/launch_pass/user.rb +++ b/lib/launch_pass/user.rb @@ -39,8 +39,6 @@ @teams ||= @info_hash["teams"].map do |team_hash| team_hash["name"] end - else - [] end end @@ ...
Revert "better handling for nil collections" This reverts commit 4d21c5d4c0309abd581fe2bd0e14a48caf5d8a4b.
diff --git a/SwiftyZeroMQ.podspec b/SwiftyZeroMQ.podspec index abc1234..def5678 100644 --- a/SwiftyZeroMQ.podspec +++ b/SwiftyZeroMQ.podspec @@ -24,6 +24,6 @@ s.watchos.deployment_target = "2.0" s.libraries = "stdc++" s.source_files = "Sources/*.{h,swift}" - s.vendored_libraries ...
Fix cocoapods vendored libs pattern
diff --git a/spec/run_command_spec.rb b/spec/run_command_spec.rb index abc1234..def5678 100644 --- a/spec/run_command_spec.rb +++ b/spec/run_command_spec.rb @@ -15,9 +15,11 @@ out.string.should =~ /hokey_pokey/ end - # This is a regression test as 0.9.11 broke this behaviour - it 'can perform a show-source' ...
Fix failing specs on ree/ruby18 We put a conditional around tests so that we skip those those using show-source (namely the one in run_command_spec.rb) on ree/ruby18
diff --git a/lib/baseball_stats/calculators/improved_batting_average.rb b/lib/baseball_stats/calculators/improved_batting_average.rb index abc1234..def5678 100644 --- a/lib/baseball_stats/calculators/improved_batting_average.rb +++ b/lib/baseball_stats/calculators/improved_batting_average.rb @@ -41,7 +41,11 @@ en...
Add a friendly message to NoStatsToCalculateError for the report
diff --git a/config/initializers/haml.rb b/config/initializers/haml.rb index abc1234..def5678 100644 --- a/config/initializers/haml.rb +++ b/config/initializers/haml.rb @@ -1 +1,7 @@ Haml::Template.options[:ugly] = true + +# Remove the `:coffee` and `:coffeescript` filters +# +# See https://git.io/vztMu and http://stac...
Remove the `:coffee` and `:coffeescript` Haml filters See https://git.io/vztMu and http://stackoverflow.com/a/17571242/223897
diff --git a/capistrano-karaf.gemspec b/capistrano-karaf.gemspec index abc1234..def5678 100644 --- a/capistrano-karaf.gemspec +++ b/capistrano-karaf.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'capistrano-karaf' - s.version = '1.2.1' + s.version = '1.2.2' s.date ...
Change version number to 1.2.2
diff --git a/lib/npr/api/response.rb b/lib/npr/api/response.rb index abc1234..def5678 100644 --- a/lib/npr/api/response.rb +++ b/lib/npr/api/response.rb @@ -6,19 +6,21 @@ module NPR module API class Response + include NPR::Concern::Relation + + has_many "messages", :key => "message", :class_name...
Add messages relations to API::Response
diff --git a/ext/libvirt/extconf.rb b/ext/libvirt/extconf.rb index abc1234..def5678 100644 --- a/ext/libvirt/extconf.rb +++ b/ext/libvirt/extconf.rb @@ -20,7 +20,10 @@ 'virStoragePoolPtr', 'virStorageVolPtr' ] +libvirt_funcs = [ ] + have_libvirt_types(libvirt_types) +have_libvirt...
Introduce have_libvirt_funcs, which will be needed later. Signed-off-by: Chris Lalancette <60b62644009db6b194cc0445b64e9b27bb26433a@redhat.com>
diff --git a/fancybox-rails.gemspec b/fancybox-rails.gemspec index abc1234..def5678 100644 --- a/fancybox-rails.gemspec +++ b/fancybox-rails.gemspec @@ -8,7 +8,7 @@ s.summary = "Use FancyBox with the Rails asset pipeline" s.description = "This gem provides jQuery FancyBox for your Rails application." - s.fi...
Use git to determine which files to include in gem When you create a gem with bundler this is the standard way that it gets the list of files. Using this method avoids accidentally missing out some of the files.
diff --git a/lib/s3browser/server.rb b/lib/s3browser/server.rb index abc1234..def5678 100644 --- a/lib/s3browser/server.rb +++ b/lib/s3browser/server.rb @@ -8,22 +8,25 @@ set :port, 9292 set :bind, '0.0.0.0' enable :logging - set :store, Store.new end get '/' do - buckets = set...
fix: Move store back to a helper
diff --git a/lib/yacht/javascript.rb b/lib/yacht/javascript.rb index abc1234..def5678 100644 --- a/lib/yacht/javascript.rb +++ b/lib/yacht/javascript.rb @@ -13,7 +13,7 @@ def to_js_file(opts={}) # by default, set :dir to 'public/javascripts' in Rails - opts[:dir] ||= Rails.root.join('public', 'javascr...
Use Object.const_defined? to detect rails
diff --git a/glyphicons-rails.gemspec b/glyphicons-rails.gemspec index abc1234..def5678 100644 --- a/glyphicons-rails.gemspec +++ b/glyphicons-rails.gemspec @@ -23,4 +23,6 @@ spec.add_development_dependency "rake", "~> 10.0" spec.add_dependency "sass", "~> 3.3" spec.add_dependency "sass-rails" + + spec.post_in...
Add deprecation warning to gemspec
diff --git a/static_deploy.gemspec b/static_deploy.gemspec index abc1234..def5678 100644 --- a/static_deploy.gemspec +++ b/static_deploy.gemspec @@ -1,4 +1,3 @@-# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'static_deploy/version' @@ -18,7 ...
Change to use only tty-prompt and add dev dependencies
diff --git a/spec/lib/analytics/histogram_plotter_spec.rb b/spec/lib/analytics/histogram_plotter_spec.rb index abc1234..def5678 100644 --- a/spec/lib/analytics/histogram_plotter_spec.rb +++ b/spec/lib/analytics/histogram_plotter_spec.rb @@ -22,7 +22,8 @@ describe HistogramPlotter do let(:course) { create(:course, ...
Test both histogram and density plots, with different options
diff --git a/spec/requests/application_controller_spec.rb b/spec/requests/application_controller_spec.rb index abc1234..def5678 100644 --- a/spec/requests/application_controller_spec.rb +++ b/spec/requests/application_controller_spec.rb @@ -0,0 +1,21 @@+require 'rails_helper' + +RSpec.describe "get a 404 response (in J...
Add spec for desired behavior
diff --git a/spec/unit/shared/attribute/accept_options.rb b/spec/unit/shared/attribute/accept_options.rb index abc1234..def5678 100644 --- a/spec/unit/shared/attribute/accept_options.rb +++ b/spec/unit/shared/attribute/accept_options.rb @@ -25,9 +25,9 @@ end context "when new attribute is created and overrid...
Move the subject to the top of the context block
diff --git a/app/services/sunlight_congress_legislator_service.rb b/app/services/sunlight_congress_legislator_service.rb index abc1234..def5678 100644 --- a/app/services/sunlight_congress_legislator_service.rb +++ b/app/services/sunlight_congress_legislator_service.rb @@ -10,7 +10,7 @@ def initialize @key = EN...
Use HTTPS for Sunlight Congress API interaction
diff --git a/katex.gemspec b/katex.gemspec index abc1234..def5678 100644 --- a/katex.gemspec +++ b/katex.gemspec @@ -15,7 +15,7 @@ s.homepage = 'https://github.com/glebm/katex-ruby' s.license = 'MIT' - s.required_ruby_version = '~> 2.3' + s.required_ruby_version = '>= 2.3' s.files = Dir['{exe,lib,vendor}/...
Add support for Ruby 3
diff --git a/spec/unit/owner_spec.rb b/spec/unit/owner_spec.rb index abc1234..def5678 100644 --- a/spec/unit/owner_spec.rb +++ b/spec/unit/owner_spec.rb @@ -10,5 +10,31 @@ yaml = YAML.load(@owner.to_yaml) yaml.keys.sort.should == %w(created_at email id name) end + + it "finds itself with an email a...
[App] Make sure find or create for owners works properly.
diff --git a/lib/alfabank/api/base.rb b/lib/alfabank/api/base.rb index abc1234..def5678 100644 --- a/lib/alfabank/api/base.rb +++ b/lib/alfabank/api/base.rb @@ -19,11 +19,7 @@ end def url - if Alfabank::Configuration.mode == :test - self.class::TEST_URL - elsif Alfabank::Configuration.mode =...
Use test environment by default if none specified
diff --git a/split-analytics.gemspec b/split-analytics.gemspec index abc1234..def5678 100644 --- a/split-analytics.gemspec +++ b/split-analytics.gemspec @@ -7,7 +7,6 @@ gem.email = ['andrewnez@gmail.com'] gem.summary = 'Split extension to push test data to Google Analytics' gem.homepage = 'ht...
Remove bug tracker from gemspec
diff --git a/lib/catscan/scannable.rb b/lib/catscan/scannable.rb index abc1234..def5678 100644 --- a/lib/catscan/scannable.rb +++ b/lib/catscan/scannable.rb @@ -15,15 +15,13 @@ module ScannerMethods def scan(context, comment = nil, &block) - result = nil - klass_name = context.class.name ...
Clean up scan instance/class method
diff --git a/test/test_calc.rb b/test/test_calc.rb index abc1234..def5678 100644 --- a/test/test_calc.rb +++ b/test/test_calc.rb @@ -14,6 +14,11 @@ assert_equal 10, calc("2 PLUS 5 MINUS 1 PLUS 4") end + def test_another_complex_expression + skip "not yet" + assert_equal 5, calc("2 TIMES 4 MINUS 3") + e...
Add multiplication test. Not implemented.
diff --git a/db/schema.rb b/db/schema.rb index abc1234..def5678 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -18,8 +18,8 @@ create_table "skills", force: :cascade do |t| t.string "title" - t.integer "current_streak" - t.integer "longest_streak" + t.integer "current_streak", default: 1 + t.i...
Add default values to current and longest streak fields
diff --git a/lib/jibby/application.rb b/lib/jibby/application.rb index abc1234..def5678 100644 --- a/lib/jibby/application.rb +++ b/lib/jibby/application.rb @@ -27,7 +27,7 @@ private def prompt_text - '>' + "#{@current_key}>" end end end
Add ticket key to prompt if found
diff --git a/lib/rhythmmml/command.rb b/lib/rhythmmml/command.rb index abc1234..def5678 100644 --- a/lib/rhythmmml/command.rb +++ b/lib/rhythmmml/command.rb @@ -37,10 +37,11 @@ "Reverse octave sign (><) effects") do |boolean| options[:octave_reverse] = boolean end - parser.on("--cha...
Disable a not supporting option
diff --git a/lib/servicenow/record.rb b/lib/servicenow/record.rb index abc1234..def5678 100644 --- a/lib/servicenow/record.rb +++ b/lib/servicenow/record.rb @@ -29,7 +29,7 @@ else self.wsdl = "https://%s:%s@%s.%s/%s.do?WSDL" % [user,password,instance,domain,table] end - client :wsdl => self.w...
Allow for custom WSDL location
diff --git a/lib/tasks/analytics.rake b/lib/tasks/analytics.rake index abc1234..def5678 100644 --- a/lib/tasks/analytics.rake +++ b/lib/tasks/analytics.rake @@ -26,4 +26,16 @@ end end end + + desc "Delete old export files (specify the number to keep with EXPORT_FILE_LIMIT)" + task :delete_old_files do +...
Add rake task to delete old export files
diff --git a/provisioner/worker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/loom_hosts/recipes/default.rb b/provisioner/worker/plugins/automators/chef_solo_automator/chef_solo_automator/cookbooks/loom_hosts/recipes/default.rb index abc1234..def5678 100644 --- a/provisioner/worker/plugins/automa...
Change cookbook to use new bind_v4 address
diff --git a/app/controllers/api/v1/notes_controller.rb b/app/controllers/api/v1/notes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/notes_controller.rb +++ b/app/controllers/api/v1/notes_controller.rb @@ -28,6 +28,15 @@ end end + def destroy + @note = current_api_user.notes.find...
Add delete endpoint to API
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,7 +5,7 @@ end member do - put :update_notes + patch :update_notes end member do
Change PUT to PATCH for update_notes method Rails 4 changed the default HTTP verb from PUT to PATCH for updates, which broke the note updating functionality in this app.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,6 +7,7 @@ get "/releases/2016/12/12/new-backend", to: redirect('/blogs/2016/12/12/new-backend') # Sessions + get '/logout', to: 'sessions#destroy' resource :session, only: ...
Enable to log out by GET /login
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -12,6 +12,7 @@ get '/terms', to: 'page#term', as: 'show_term' get '/feedbacks', to: 'page#feedback', as: 'show_feedback' get '/docs', to: 'page#doc', as: 'show_doc' + get '/dashboard'...
Add user root path for devise to redirect
diff --git a/spec/models/cloud_model/workers/components/ruby_component_worker_spec.rb b/spec/models/cloud_model/workers/components/ruby_component_worker_spec.rb index abc1234..def5678 100644 --- a/spec/models/cloud_model/workers/components/ruby_component_worker_spec.rb +++ b/spec/models/cloud_model/workers/components/r...
Fix ruby component worker test for latest changes
diff --git a/releases.rb b/releases.rb index abc1234..def5678 100644 --- a/releases.rb +++ b/releases.rb @@ -0,0 +1,71 @@+# Release - a HAProxy release +# Build - our docker image for a corresponding release +# + +HAPROXY_GIT_URL = "http://git.haproxy.org/git/haproxy-%s.git" + +# Supported versions per the table on t...
Add a script to check how current each major version is.
diff --git a/hpr.gemspec b/hpr.gemspec index abc1234..def5678 100644 --- a/hpr.gemspec +++ b/hpr.gemspec @@ -22,6 +22,6 @@ spec.add_development_dependency "bundler", "~> 1.5" spec.add_development_dependency "rake" - spec.add_development_dependency "rspec" + spec.add_development_dependency "rspec", "~> 3" sp...
Make RSpec 3 a requirement
diff --git a/pullable.rb b/pullable.rb index abc1234..def5678 100644 --- a/pullable.rb +++ b/pullable.rb @@ -5,6 +5,7 @@ root = ARGF.argv[0] raise ArgumentError.new("Please pass a root directoy!") if root.nil? +raise ArgumentError.new("Please pass a valid root directoy!") unless File.directory?(root) Dir.foreach(...
Check for a valid root directory
diff --git a/test/controllers/products_controller_test.rb b/test/controllers/products_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/products_controller_test.rb +++ b/test/controllers/products_controller_test.rb @@ -26,6 +26,13 @@ assert_template :new end + test 'should redirect to sh...
Test that successful product creation redirects to show
diff --git a/app/lib/ehjob_authentication/api_client.rb b/app/lib/ehjob_authentication/api_client.rb index abc1234..def5678 100644 --- a/app/lib/ehjob_authentication/api_client.rb +++ b/app/lib/ehjob_authentication/api_client.rb @@ -11,7 +11,7 @@ default_options.merge!(verify: false) headers 'Content-Type' => ...
Set debug flag as optional
diff --git a/app/services/gas_asset_lists/calculator.rb b/app/services/gas_asset_lists/calculator.rb index abc1234..def5678 100644 --- a/app/services/gas_asset_lists/calculator.rb +++ b/app/services/gas_asset_lists/calculator.rb @@ -7,7 +7,10 @@ private def time_range - min_year..max_year + min = m...
Fix invalid nil..nil range with no gas assets Closes #981
diff --git a/app/views/spree/products/index.rss.builder b/app/views/spree/products/index.rss.builder index abc1234..def5678 100644 --- a/app/views/spree/products/index.rss.builder +++ b/app/views/spree/products/index.rss.builder @@ -1,27 +1,30 @@-xml.instruct! :xml, :version=>"1.0" -xml.rss(:version=>"2.0", "xmlns:g" =...
Make RSS template more readable
diff --git a/app/controllers/admin/papers_controller.rb b/app/controllers/admin/papers_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/papers_controller.rb +++ b/app/controllers/admin/papers_controller.rb @@ -1,4 +1,4 @@-class Admin::PapersController < ApplicationController +class Admin::PapersC...
Fix permission check on papers admin
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 @@ -9,7 +9,7 @@ def create create_tag unless tag_exists? - tag_model + find_...
Simplify tag creation a bit more.
diff --git a/PullToRefresh.podspec b/PullToRefresh.podspec index abc1234..def5678 100644 --- a/PullToRefresh.podspec +++ b/PullToRefresh.podspec @@ -0,0 +1,21 @@+Pod::Spec.new do |s| + + s.name = "PullToRefresh" + s.version = "0.0.1" + s.summary = "A simple CollectionViewController with UIRefreshCo...
Add podspec, not tag use branch
diff --git a/lib/sucker_punch/queue.rb b/lib/sucker_punch/queue.rb index abc1234..def5678 100644 --- a/lib/sucker_punch/queue.rb +++ b/lib/sucker_punch/queue.rb @@ -1,3 +1,5 @@+require 'thread' + module SuckerPunch class Queue attr_reader :job @@ -6,14 +8,17 @@ def initialize(job) @job = job ...
Put a mutex around creating the pool
diff --git a/lib/brew-cask-upgrade.rb b/lib/brew-cask-upgrade.rb index abc1234..def5678 100644 --- a/lib/brew-cask-upgrade.rb +++ b/lib/brew-cask-upgrade.rb @@ -5,7 +5,7 @@ require 'vendor/homebrew-fork/global' require 'hbc' -CASKROOM = "/opt/homebrew-cask/Caskroom" +CASKROOM = "/usr/local/Caskroom" def each_inst...
Update caskroom path according to cask last update
diff --git a/spec/views/shared/_atom_header_spec.rb b/spec/views/shared/_atom_header_spec.rb index abc1234..def5678 100644 --- a/spec/views/shared/_atom_header_spec.rb +++ b/spec/views/shared/_atom_header_spec.rb @@ -0,0 +1,26 @@+require 'spec_helper' + +describe "shared/_atom_header.atom.builder" do + before do + ...
Create spec for atom header partial.
diff --git a/slapshot.rb b/slapshot.rb index abc1234..def5678 100644 --- a/slapshot.rb +++ b/slapshot.rb @@ -0,0 +1,45 @@+#!/usr/bin/env ruby + + +# Uploads current, last built apk of the Android project of your +# current path. + + +if !ARGV[0] + puts "Usage: slapshot <RELEASE MESSAGE>" + exit +end + +msg = ARGV[0] ...
Add old ruby impl as reference
diff --git a/lib/excon/addressable.rb b/lib/excon/addressable.rb index abc1234..def5678 100644 --- a/lib/excon/addressable.rb +++ b/lib/excon/addressable.rb @@ -8,7 +8,15 @@ Excon.defaults[:uri_parser] = Excon::Addressable::Parser +# Excon +# +# We inject the `expand` key to the allowed lists of keys to be used whe...
Add `expand` to Excon's allowed keys
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -8,6 +8,6 @@ protected def configure_permitted_parameters - devise_parameter_sanit...
Add 'terms_of_use' to Devise's permitted params Tell devise to allow the 'terms_of_use' form value to be passed to the model for recrod creation. Devise's parameters are an array so the new allowed values are pushed in as an array as well.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,6 +2,6 @@ # Prevent CSRF attacks by raising an exception. # For APIs, you may want t...
Remove squash from app/controller because squash is not set up for the app
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -27,6 +27,8 @@ end def set_expiry(duration) - expires_in duration, public: true un...
Convert single-line conditional into multi-line I'm about to make the `expires_in` line longer which will make the line very long and in any case I find this code easier to read.
diff --git a/app/controllers/guest_users_controller.rb b/app/controllers/guest_users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/guest_users_controller.rb +++ b/app/controllers/guest_users_controller.rb @@ -4,6 +4,7 @@ end def new + @guest_user = GuestUser.new end def create
Update guest users new action
diff --git a/app/decorators/search_result_decorator.rb b/app/decorators/search_result_decorator.rb index abc1234..def5678 100644 --- a/app/decorators/search_result_decorator.rb +++ b/app/decorators/search_result_decorator.rb @@ -10,22 +10,20 @@ end def title - object.title.sub(site_title_regex, '') + objec...
Use Regexp.union to process search result titles
diff --git a/app/helpers/shortener/shortener_helper.rb b/app/helpers/shortener/shortener_helper.rb index abc1234..def5678 100644 --- a/app/helpers/shortener/shortener_helper.rb +++ b/app/helpers/shortener/shortener_helper.rb @@ -1,4 +1,5 @@ module Shortener::ShortenerHelper + DEFAULT_HTTP_PORT = 80.freeze # gener...
Fix shortener URL helper namespace
diff --git a/lib/xapian_db/railtie.rb b/lib/xapian_db/railtie.rb index abc1234..def5678 100644 --- a/lib/xapian_db/railtie.rb +++ b/lib/xapian_db/railtie.rb @@ -35,6 +35,7 @@ end config.adapter adapter.to_sym config.writer writer.to_sym + config.language(env_config["language"]) if env_c...
Support for language configuration from the config file
diff --git a/vendor/plugins/refinery/lib/refinery/base_presenter.rb b/vendor/plugins/refinery/lib/refinery/base_presenter.rb index abc1234..def5678 100644 --- a/vendor/plugins/refinery/lib/refinery/base_presenter.rb +++ b/vendor/plugins/refinery/lib/refinery/base_presenter.rb @@ -1,7 +1,7 @@ class Refinery::BasePresent...
Check for presence before titleize because otherwise we get NilClass in the title.
diff --git a/pkg/brew/ripgrep-bin.rb b/pkg/brew/ripgrep-bin.rb index abc1234..def5678 100644 --- a/pkg/brew/ripgrep-bin.rb +++ b/pkg/brew/ripgrep-bin.rb @@ -3,7 +3,7 @@ desc "Search tool like grep and The Silver Searcher." homepage "https://github.com/BurntSushi/ripgrep" url "https://github.com/BurntSushi/ripgr...
Fix brew tap sha256 sum. Fixes #407
diff --git a/steam-condenser.gemspec b/steam-condenser.gemspec index abc1234..def5678 100644 --- a/steam-condenser.gemspec +++ b/steam-condenser.gemspec @@ -14,7 +14,7 @@ s.add_dependency 'multi_json', '~> 1.8.0' s.add_dependency 'multi_xml', '~> 0.5.2' - s.add_development_dependency 'mocha', '~> 0.13.0' + s.a...
Update mocha dependency to 0.14.0
diff --git a/elasticsearch-node.gemspec b/elasticsearch-node.gemspec index abc1234..def5678 100644 --- a/elasticsearch-node.gemspec +++ b/elasticsearch-node.gemspec @@ -3,7 +3,7 @@ require "elasticsearch-node/version" Gem::Specification.new do |s| - s.name = "elsearch-node" + s.name = "elasticsearch-...
Use proper name in gemspec [skip ci]
diff --git a/test/active_record/query/limit_test.rb b/test/active_record/query/limit_test.rb index abc1234..def5678 100644 --- a/test/active_record/query/limit_test.rb +++ b/test/active_record/query/limit_test.rb @@ -5,15 +5,41 @@ create_table "ships" do |t| t.string "name", limit: 255 ...
Add test for previous commit
diff --git a/steam-condenser.gemspec b/steam-condenser.gemspec index abc1234..def5678 100644 --- a/steam-condenser.gemspec +++ b/steam-condenser.gemspec @@ -12,7 +12,7 @@ s.description = 'A multi-language library for querying the Steam Community, Source, GoldSrc servers and Steam master servers' s.add_dependency...
Update multi_json dependency to 1.7.2
diff --git a/test/dummy/db/schema.rb b/test/dummy/db/schema.rb index abc1234..def5678 100644 --- a/test/dummy/db/schema.rb +++ b/test/dummy/db/schema.rb @@ -0,0 +1,16 @@+# encoding: UTF-8 +# This file is auto-generated from the current state of the database. Instead +# of editing this file, please use the migrations fe...
Test suite complains about missing migration in dummy project
diff --git a/Formula/getmail.rb b/Formula/getmail.rb index abc1234..def5678 100644 --- a/Formula/getmail.rb +++ b/Formula/getmail.rb @@ -9,7 +9,7 @@ scripts = %w[ getmail getmail_fetch getmail_maildir getmail_mbox ] libexec.install 'getmailcore' libexec_scripts = libexec.install scripts - bin.install_s...
Update return values of install and install_symlink These now return an Array of all the target destinations. Previously, if a single argument was passed a single non- Array was returned. This behavior has been changed so that an Array is always returned even for a single argument. Updated the test. Hopefully this ...
diff --git a/u2f.gemspec b/u2f.gemspec index abc1234..def5678 100644 --- a/u2f.gemspec +++ b/u2f.gemspec @@ -9,7 +9,7 @@ s.description = 'Library for handling registration and authentication of U2F devices' s.authors = ['Johan Brissmyr', 'Sebastian Wallin'] s.email = ['brissmyr@gmail.com', 'sebastian....
Update gemspec with correct github path
diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb index abc1234..def5678 100644 --- a/test/minitest_helper.rb +++ b/test/minitest_helper.rb @@ -2,6 +2,6 @@ require "minitest/reporters" # for attaching tests to rubymine -MiniTest::Reporters.use! +MiniTest::Reporters.use! if ENV['RUBYMINE'] require 'mo...
Use MiniTest reporters only if ENV['RUBYMINE'] set
diff --git a/LightRoute.podspec b/LightRoute.podspec index abc1234..def5678 100644 --- a/LightRoute.podspec +++ b/LightRoute.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LightRoute" - s.version = "2.1.6" + s.version = "2.1.7" s.summary = "LightRoute is easy transition between ...
Update spec to version 2.1.7
diff --git a/PAPasscode.podspec b/PAPasscode.podspec index abc1234..def5678 100644 --- a/PAPasscode.podspec +++ b/PAPasscode.podspec @@ -1,10 +1,10 @@ Pod::Spec.new do |s| s.name = 'PAPasscode' - s.version = '0.0.1' + s.version = '0.1' s.summary = 'A Passcode View Controller for iOS similar to the one in...
Revise podspec to refer to 1st tagged version
diff --git a/tool/cleanup-imports.rb b/tool/cleanup-imports.rb index abc1234..def5678 100644 --- a/tool/cleanup-imports.rb +++ b/tool/cleanup-imports.rb @@ -0,0 +1,23 @@+#!/usr/bin/env ruby + +# You can call this from .git/hooks/pre-commit with +# exec tool/cleanup-imports.rb + +STDERR.puts "Removing unused imports ......
Add tool to cleanup imports as a pre-commit hook
diff --git a/Transition.podspec b/Transition.podspec index abc1234..def5678 100644 --- a/Transition.podspec +++ b/Transition.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Transition' - s.version = '1.0.1' + s.version = '1.1.0' s.summary = 'Easy interactive interru...
Update podspec for version 1.1.0
diff --git a/kernel/common/errno.rb b/kernel/common/errno.rb index abc1234..def5678 100644 --- a/kernel/common/errno.rb +++ b/kernel/common/errno.rb @@ -15,13 +15,7 @@ exc = Errno::Mapping[err] if exc - msg = FFI::Platform::POSIX.strerror(err) - - if additional - msg << " - " << additional -...
Fix the double strerror() output in the message
diff --git a/app/views/api/v1/places/index.json.rabl b/app/views/api/v1/places/index.json.rabl index abc1234..def5678 100644 --- a/app/views/api/v1/places/index.json.rabl +++ b/app/views/api/v1/places/index.json.rabl @@ -9,5 +9,7 @@ # farm attributes actually, not place attributes. # but included here for map tooltip ...
Update user relation in API response.
diff --git a/lib/gitlab_git/blob.rb b/lib/gitlab_git/blob.rb index abc1234..def5678 100644 --- a/lib/gitlab_git/blob.rb +++ b/lib/gitlab_git/blob.rb @@ -13,7 +13,7 @@ end def data - if raw_blob + if raw_blob and raw_blob.respond_to?('data') raw_blob.data else ...
Fix missing "data" method when accesing a Git::Submodule
diff --git a/lib/mixins/nestable.rb b/lib/mixins/nestable.rb index abc1234..def5678 100644 --- a/lib/mixins/nestable.rb +++ b/lib/mixins/nestable.rb @@ -4,7 +4,7 @@ # Setup an accessor for all nested instances. attr_accessor *mapping.keys # Create a nested instance automatically on initialize. - self.d...
Call private method define_method correctly.