diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/spec/controllers/api/raw_entity_descriptors_controller_spec.rb b/spec/controllers/api/raw_entity_descriptors_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/api/raw_entity_descriptors_controller_spec.rb +++ b/spec/controllers/api/raw_entity_descriptors_controller_spec.rb @@ -5,10 +5...
Rework to include required payload
diff --git a/app/helpers/spree/api/api_helpers_decorator.rb b/app/helpers/spree/api/api_helpers_decorator.rb index abc1234..def5678 100644 --- a/app/helpers/spree/api/api_helpers_decorator.rb +++ b/app/helpers/spree/api/api_helpers_decorator.rb @@ -2,9 +2,9 @@ alias_method :orig_order_attributes, :order_attributes ...
Fix issue with class variables
diff --git a/app/helpers/spree/api/api_helpers_decorator.rb b/app/helpers/spree/api/api_helpers_decorator.rb index abc1234..def5678 100644 --- a/app/helpers/spree/api/api_helpers_decorator.rb +++ b/app/helpers/spree/api/api_helpers_decorator.rb @@ -0,0 +1,16 @@+module Spree + module Api + ApiHelpers.module_eval do ...
[api] Add visual code to product and variant attributes
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ scope "admin", :module => :admin, :as => "admin" do match "/" => "dashboard#show", :as => "dashboard" - match "/app/:application" => "dashboard#show", :as => "dashboar...
Make more sense to be in the dashboard of an app.
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -6,7 +6,7 @@ map.resource :session map.namespace :admin do |admin| - admin.resources :users, :member => { :activate => :put, :suspend => :put, :reset_password => :put }, + adm...
Add routing for the new action
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,5 +5,7 @@ get '/items/:id', to: 'items#show', as: 'item' get '/items/:id/edit', to: 'items#edit', as: 'edit_item' patch '/items/:id', to: 'items#update' + delete '/items/:id', to: ...
Create route for delete /items/:id
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -22,7 +22,7 @@ resources :members, :only => [:index, :show, :update] - root :to => "home#index" + root :to => redirect("/members") match '/401', :to => 'errors#unauthorized' ...
Make the root page redirect to /members Done as an actual redirect, because web. Resolves #109
diff --git a/lib/generators/spree_mail_chimp/install/install_generator.rb b/lib/generators/spree_mail_chimp/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/spree_mail_chimp/install/install_generator.rb +++ b/lib/generators/spree_mail_chimp/install/install_generator.rb @@ -11,7 +11,7 @@ ...
Fix bad naming of when adding migrations
diff --git a/test/rectangle_test.rb b/test/rectangle_test.rb index abc1234..def5678 100644 --- a/test/rectangle_test.rb +++ b/test/rectangle_test.rb @@ -0,0 +1,42 @@+require 'minitest/autorun' +require 'r2d' + +describe Rectangle do + before do + R2D::Window.create width: 640, height: 480 + @rectangle = Rectangl...
Add tests for the Rectangle class
diff --git a/erable.rb b/erable.rb index abc1234..def5678 100644 --- a/erable.rb +++ b/erable.rb @@ -14,6 +14,7 @@ homepage "https://www.atgc-montpellier.fr/erable/" url "http://www.atgc-montpellier.fr/download/sources/erable/erable1.0_Unix_Linux.tar.gz" sha256 "b03ff6f4d854a7cc064f392e428447932cdf1dba08c39712b...
Set the version number because linuxbrew thinks it is "Unix"
diff --git a/0_code_wars/binary_score.rb b/0_code_wars/binary_score.rb index abc1234..def5678 100644 --- a/0_code_wars/binary_score.rb +++ b/0_code_wars/binary_score.rb @@ -0,0 +1,10 @@+# http://www.codewars.com/kata/56cafdabc8cfcc3ad4000a2b +# --- iteration 1 --- +def score(n) + n < 2 ? n : 2**Math.log(n, 2).ceil - 1...
Add code wars (7) - binary score
diff --git a/config/initializers/seeds_proxy.rb b/config/initializers/seeds_proxy.rb index abc1234..def5678 100644 --- a/config/initializers/seeds_proxy.rb +++ b/config/initializers/seeds_proxy.rb @@ -1,10 +1,16 @@ class SeedsProxy < Rack::Proxy - USE = :remote + USE = ENV['SEEDS'] || 'remote' LOCAL_URL = 'localho...
Configure seeds proxy via ENV['SEEDS'].
diff --git a/lib/suspenders/generators/production/manifest_generator.rb b/lib/suspenders/generators/production/manifest_generator.rb index abc1234..def5678 100644 --- a/lib/suspenders/generators/production/manifest_generator.rb +++ b/lib/suspenders/generators/production/manifest_generator.rb @@ -17,7 +17,7 @@ ...
Install redis on heroku for sidekiq
diff --git a/cookbooks/maintenance/recipes/default.rb b/cookbooks/maintenance/recipes/default.rb index abc1234..def5678 100644 --- a/cookbooks/maintenance/recipes/default.rb +++ b/cookbooks/maintenance/recipes/default.rb @@ -1,3 +1,3 @@-include_recipe 'useful_tools' +include_recipe 'maintanance::useful_tools' include_...
Fix link to useful tools.
diff --git a/Casks/rubymine-eap-bundled-jdk.rb b/Casks/rubymine-eap-bundled-jdk.rb index abc1234..def5678 100644 --- a/Casks/rubymine-eap-bundled-jdk.rb +++ b/Casks/rubymine-eap-bundled-jdk.rb @@ -0,0 +1,20 @@+cask :v1 => 'rubymine-eap-bundled-jdk' do + version '141.373' + sha256 '2605d3b61d9ae4a0590337d04bc24bf2f1c4...
Add formula for RubyMine EAP with bundled JDK
diff --git a/lib/active_admin/engine.rb b/lib/active_admin/engine.rb index abc1234..def5678 100644 --- a/lib/active_admin/engine.rb +++ b/lib/active_admin/engine.rb @@ -1,7 +1,7 @@ module ActiveAdmin class Engine < Rails::Engine if Rails.version > "3.1" - initializer "ActiveAdmin precompile hook" do |app| ...
Make sure assets are precompiled on Heroku Heroku recommends that `config.assets.initialize_on_precompile = false`, which means that this initializer will not be invoked by `rake assets:precompile`, which forces developers deploying to Heroku to duplicate this initializer in their apps' configs.
diff --git a/test/kleisli/try_test.rb b/test/kleisli/try_test.rb index abc1234..def5678 100644 --- a/test/kleisli/try_test.rb +++ b/test/kleisli/try_test.rb @@ -24,4 +24,14 @@ def test_fmap_failure assert_kind_of ZeroDivisionError, Try { 10 / 0 }.fmap { |x| x * 2 }.exception end + + def test_bind + try = ...
Add point free style test
diff --git a/lib/frizz/configuration.rb b/lib/frizz/configuration.rb index abc1234..def5678 100644 --- a/lib/frizz/configuration.rb +++ b/lib/frizz/configuration.rb @@ -46,13 +46,10 @@ def start_yaml_listener require "listen" - listener = Listen.to Dir.pwd - listener.change do |modified, added,...
Use block for listen... more concise
diff --git a/test/ventilation_test.rb b/test/ventilation_test.rb index abc1234..def5678 100644 --- a/test/ventilation_test.rb +++ b/test/ventilation_test.rb @@ -12,9 +12,14 @@ should "render external resource" do expected = "response_from_example.com" FakeWeb.register_uri(:get, "http://example.com/", ...
Add test to ensure port numbers are supported in external resources.
diff --git a/lib/lita/adapters/shell.rb b/lib/lita/adapters/shell.rb index abc1234..def5678 100644 --- a/lib/lita/adapters/shell.rb +++ b/lib/lita/adapters/shell.rb @@ -2,12 +2,14 @@ module Adapters class Shell < Adapter def run + user = User.new(1, "Shell User") + source = Source.new(user) ...
Update Shell adapter to use a User as its source.
diff --git a/lib/redirect_follow_get.rb b/lib/redirect_follow_get.rb index abc1234..def5678 100644 --- a/lib/redirect_follow_get.rb +++ b/lib/redirect_follow_get.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true require 'redirect_follow_get/version' +require 'addressable' require 'net/http' module RedirectFollowGet...
Change URI parse depending on `ascii_only?`
diff --git a/lib/renoir/cluster_info.rb b/lib/renoir/cluster_info.rb index abc1234..def5678 100644 --- a/lib/renoir/cluster_info.rb +++ b/lib/renoir/cluster_info.rb @@ -15,9 +15,9 @@ def load_slots(slots) slots.each do |s, e, master, *slaves| ip, port, = master - name = add_node(ip, port) + ...
Fix a bug: slots cache is not used
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -35,10 +35,7 @@ while true line = @client.gets break if line=="\r\n" - array << line - end - array.each do |sentence| - sentence.gsub!("\r\n","") + array << line.gsub("\r\n","") end array end
Refactor get_headers to avoid needless array looping
diff --git a/spec/str_sanitizer/html_entities_spec.rb b/spec/str_sanitizer/html_entities_spec.rb index abc1234..def5678 100644 --- a/spec/str_sanitizer/html_entities_spec.rb +++ b/spec/str_sanitizer/html_entities_spec.rb @@ -0,0 +1,39 @@+require "spec_helper" +require "str_sanitizer/html_entities" + +RSpec.describe Str...
Add specs for HtmlEntities module
diff --git a/spec/unit/job_spec.rb b/spec/unit/job_spec.rb index abc1234..def5678 100644 --- a/spec/unit/job_spec.rb +++ b/spec/unit/job_spec.rb @@ -4,7 +4,7 @@ it "adds and executes job" do spinner = TTY::Spinner.new("[:spinner] :title") called = [] - work = proc { |spinner| called << spinner } + wor...
Change to fix spec var shadowing
diff --git a/add_user_to_sqlite.rb b/add_user_to_sqlite.rb index abc1234..def5678 100644 --- a/add_user_to_sqlite.rb +++ b/add_user_to_sqlite.rb @@ -0,0 +1,29 @@+# -*- coding: utf-8 -*- + +require 'sqlite3' + +@database_yml = ARGV[0] + +@nomnichi_db = SQLite3::Database.new("nomnichi.sqlite3") +print "User : "; user = g...
Create script to add user to sqlite3
diff --git a/activerecord/test/cases/adapters/postgresql/case_insensitive_test.rb b/activerecord/test/cases/adapters/postgresql/case_insensitive_test.rb index abc1234..def5678 100644 --- a/activerecord/test/cases/adapters/postgresql/case_insensitive_test.rb +++ b/activerecord/test/cases/adapters/postgresql/case_insensi...
Fix `test_case_insensitiveness` to follow up eb5fef5
diff --git a/app/services/reports/performance_platform/transactions_by_channel.rb b/app/services/reports/performance_platform/transactions_by_channel.rb index abc1234..def5678 100644 --- a/app/services/reports/performance_platform/transactions_by_channel.rb +++ b/app/services/reports/performance_platform/transactions_b...
Fix performance platform date validations validation was stopping report being generated by the week of the year, regardless of the year itself. This meant users could not run a report for week 51 of 2018 during week 51 of 2019.
diff --git a/test/support/models.rb b/test/support/models.rb index abc1234..def5678 100644 --- a/test/support/models.rb +++ b/test/support/models.rb @@ -4,7 +4,8 @@ attr_accessor :name, :address, :number validates :name, :address, :number, presence: {message: "cannot be blank!"} - validates :name, :address, len...
Add more validation to test
diff --git a/spec/lib/ec2ssh/cli_spec.rb b/spec/lib/ec2ssh/cli_spec.rb index abc1234..def5678 100644 --- a/spec/lib/ec2ssh/cli_spec.rb +++ b/spec/lib/ec2ssh/cli_spec.rb @@ -26,4 +26,10 @@ expect { cli.update }.not_to raise_error end end + + describe '#remove' do + it do + expect { cli.remove }.no...
Add an example for cli.remove
diff --git a/test/orm_ext/mongo_mapper_test.rb b/test/orm_ext/mongo_mapper_test.rb index abc1234..def5678 100644 --- a/test/orm_ext/mongo_mapper_test.rb +++ b/test/orm_ext/mongo_mapper_test.rb @@ -5,11 +5,11 @@ context "The MongoMapper extension" do setup do setup_fixtures - @person = MongoMapperPers...
Add a few more mongo mapper extension tests
diff --git a/daemons.gemspec b/daemons.gemspec index abc1234..def5678 100644 --- a/daemons.gemspec +++ b/daemons.gemspec @@ -21,14 +21,5 @@ monitoring and automatic restarting of your processes if they crash. EOF - s.files = [ - "Rakefile", - "Releases", - "README.md", - "LICENSE", - "setup.rb"...
Use git ls-files to generate the file list
diff --git a/openssl-extensions.gemspec b/openssl-extensions.gemspec index abc1234..def5678 100644 --- a/openssl-extensions.gemspec +++ b/openssl-extensions.gemspec @@ -20,7 +20,8 @@ s.add_development_dependency 'rspec', '~> 2.4.0' s.add_development_dependency 'fuubar', '~> 0.0.1' - s.files = Dir.glob('lib/**/*...
Update files, test_files, executables to use git list.
diff --git a/src/db/migrate/20120227150102_add_pool_family_to_instance.rb b/src/db/migrate/20120227150102_add_pool_family_to_instance.rb index abc1234..def5678 100644 --- a/src/db/migrate/20120227150102_add_pool_family_to_instance.rb +++ b/src/db/migrate/20120227150102_add_pool_family_to_instance.rb @@ -5,11 +5,11 @@ ...
Fix migration after paranoid gem changed the default scope
diff --git a/lib/retina_rails/extensions/carrierwave.rb b/lib/retina_rails/extensions/carrierwave.rb index abc1234..def5678 100644 --- a/lib/retina_rails/extensions/carrierwave.rb +++ b/lib/retina_rails/extensions/carrierwave.rb @@ -14,7 +14,7 @@ def mount_uploader(*args) original_mount_uploa...
Check if table exists before calling columns_hash
diff --git a/lib/tasks/migrations/weapon_overrides.rake b/lib/tasks/migrations/weapon_overrides.rake index abc1234..def5678 100644 --- a/lib/tasks/migrations/weapon_overrides.rake +++ b/lib/tasks/migrations/weapon_overrides.rake @@ -2,6 +2,7 @@ namespace :lca do namespace :migrate do + # Obsoleted columns: Weap...
Add migrator for new weapon override structure
diff --git a/app/controllers/question.rb b/app/controllers/question.rb index abc1234..def5678 100644 --- a/app/controllers/question.rb +++ b/app/controllers/question.rb @@ -12,6 +12,10 @@ json question: @user.questions.last end -delete '/questions/:id' do +delete '/questions' do + Question.find(params['question']...
Add Edit and Delete Feature to Question Controller
diff --git a/app/helpers/index_helper.rb b/app/helpers/index_helper.rb index abc1234..def5678 100644 --- a/app/helpers/index_helper.rb +++ b/app/helpers/index_helper.rb @@ -1,6 +1,6 @@ module IndexHelper def title_and_url(flow_name, title) - tag.p(title) + link_to("/#{flow_name}", smart_answer_path(flow_name)) + ...
Reduce tag nesting on index page Not using these extra paragraph tags also means the index page will look exactly the same after we switched to `header_footer_only` template.
diff --git a/test/test_mechanize_http_auth_realm.rb b/test/test_mechanize_http_auth_realm.rb index abc1234..def5678 100644 --- a/test/test_mechanize_http_auth_realm.rb +++ b/test/test_mechanize_http_auth_realm.rb @@ -14,7 +14,10 @@ assert_equal 'r', @realm.realm realm = @AR.new 'Digest', @uri, 'R' - asser...
Add tests for realm case sensitivity in AuthRealm As per RFC 1945 (section 11) and RFC 2617, the realm value is case sensitive. This commit adds tests for realm case sensitivity in Mechanize::HTTP::AuthRealm.
diff --git a/app/models/search_record.rb b/app/models/search_record.rb index abc1234..def5678 100644 --- a/app/models/search_record.rb +++ b/app/models/search_record.rb @@ -11,7 +11,7 @@ # class SearchRecord < ActiveRecord::Base - STORAGE_LIFETIME = 90.days + STORAGE_LIFETIME = 30.days has_many :search_record...
Reduce SearchRecord::STORAGE_LIFETIME to 30 days
diff --git a/db/data_migration/20130404141154_remove_unpublishing_comment.rb b/db/data_migration/20130404141154_remove_unpublishing_comment.rb index abc1234..def5678 100644 --- a/db/data_migration/20130404141154_remove_unpublishing_comment.rb +++ b/db/data_migration/20130404141154_remove_unpublishing_comment.rb @@ -0,0...
Remove erroneous explanation from an unpublishing
diff --git a/lib/active_record/connection_adapters/oracle_enhanced/column.rb b/lib/active_record/connection_adapters/oracle_enhanced/column.rb index abc1234..def5678 100644 --- a/lib/active_record/connection_adapters/oracle_enhanced/column.rb +++ b/lib/active_record/connection_adapters/oracle_enhanced/column.rb @@ -4,7...
Remove `attr_reader :table_name` from `ActiveRecord::ConnectionAdapters::OracleEnhanced::Column` Already set at `ActiveRecord::ConnectionAdapters::Column`
diff --git a/features/step_definitions/login_steps.rb b/features/step_definitions/login_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/login_steps.rb +++ b/features/step_definitions/login_steps.rb @@ -27,5 +27,5 @@ end Then(/^I should see the login page in the current window$/) do - expect(c...
Change the login URL expectation to a RegExp that takes logindev into account for Travis
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -8,6 +8,6 @@ end def map_locale_names - locale_codes.index_by { |l| [t("language_names.#{l}", locale: "en")] } + ...
Fix locale select form options
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index abc1234..def5678 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -10,7 +10,7 @@ def units_name_from_amee_unit(carbon_producing_type) unit_obj = Unit.from_amee_unit(carbon_produci...
Fix units helper for alternative units
diff --git a/app/views/news/index.atom.builder b/app/views/news/index.atom.builder index abc1234..def5678 100644 --- a/app/views/news/index.atom.builder +++ b/app/views/news/index.atom.builder @@ -9,7 +9,7 @@ @nodes.map(&:content).each do |news| feed.entry(news) do |entry| - entry.title(news.title) + ...
Use the publication date for news in the ATOM feed
diff --git a/week-6/nested_data_solution.rb b/week-6/nested_data_solution.rb index abc1234..def5678 100644 --- a/week-6/nested_data_solution.rb +++ b/week-6/nested_data_solution.rb @@ -0,0 +1,54 @@+# RELEASE 2: NESTED STRUCTURE GOLF +# Hole 1 +# Target element: "FORE" + +array = [[1,2], ["inner", ["eagle", "par", ["FOR...
Add solution file for challenge 6.5
diff --git a/Extra.podspec b/Extra.podspec index abc1234..def5678 100644 --- a/Extra.podspec +++ b/Extra.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Extra' - s.version = '0.6.0' + s.version = '0.6.2' s.summary = 'Swift 3 library with usefull and lightfull extens...
Prepare quick fix 0.6.2 release
diff --git a/app/models/ability.rb b/app/models/ability.rb index abc1234..def5678 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -5,6 +5,10 @@ # # @param user [User] The current user. def initialize(user) + # TODO: Replace with just the symbols when Rails 5 is released. + can :read, Cou...
Allow courses to be read by anyone when it is open.
diff --git a/core/random/default_spec.rb b/core/random/default_spec.rb index abc1234..def5678 100644 --- a/core/random/default_spec.rb +++ b/core/random/default_spec.rb @@ -13,8 +13,8 @@ end ruby_version_is '3.0' do - it "returns a Random instance" do - Random::DEFAULT.should be_an_instance_of(Class) + ...
Clarify spec and change of behavior for Random::DEFAULT
diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index abc1234..def5678 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -1,7 +1,7 @@ require 'puppetlabs_spec_helper/module_spec_helper' require 'spec_helper' -describe 'php' do +describe 'php::install' do context 'with ...
Fix class name in tests
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -6,6 +6,7 @@ domain_prefix = '' domain_prefix = "#{node.chef_environment}-" if node.chef_environment != 'prod' +domain_prefix = 'stage-' if node.chef_environment == 'sta...
Fix subdomain for stage w/ stage-newvpc
diff --git a/lib/active_model/railtie.rb b/lib/active_model/railtie.rb index abc1234..def5678 100644 --- a/lib/active_model/railtie.rb +++ b/lib/active_model/railtie.rb @@ -4,7 +4,7 @@ class Railtie < Rails::Railtie initializer "active_model.globalid" do config.after_initialize do |app| - ActiveMod...
Use the right instance of the application
diff --git a/BIObjCHelpers.podspec b/BIObjCHelpers.podspec index abc1234..def5678 100644 --- a/BIObjCHelpers.podspec +++ b/BIObjCHelpers.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "BIObjCHelpers" - s.version = "0.4.1" + s.version = "0.4.2" s.summary = "My collec...
Bump up pod version number
diff --git a/spec/toy/equality_spec.rb b/spec/toy/equality_spec.rb index abc1234..def5678 100644 --- a/spec/toy/equality_spec.rb +++ b/spec/toy/equality_spec.rb @@ -1,7 +1,7 @@ require 'helper' describe Toy::Equality do - uses_constants('User', 'Game', 'Person') + uses_objects('User', 'Person') describe "#eql...
Use objects for equality spec.
diff --git a/Casks/phpstorm-eap.rb b/Casks/phpstorm-eap.rb index abc1234..def5678 100644 --- a/Casks/phpstorm-eap.rb +++ b/Casks/phpstorm-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'phpstorm-eap' do - version '139.1226' - sha256 '7f9e55d3f5070fb5869eb7053566f21067600d11f93435074fad9cf399ea1626' + version '141.176' + sha256...
Update PhpStorm-EAP.app to version 141.176.
diff --git a/lib/image_optim/worker/gifsicle.rb b/lib/image_optim/worker/gifsicle.rb index abc1234..def5678 100644 --- a/lib/image_optim/worker/gifsicle.rb +++ b/lib/image_optim/worker/gifsicle.rb @@ -9,7 +9,7 @@ LEVEL_OPTION = option(:level, 3, 'Compression level: '\ - '`0` - Does nothing, '\ +...
Send --unoptimize if Gifsicle level is 0
diff --git a/lib/linkedin/api/authentication.rb b/lib/linkedin/api/authentication.rb index abc1234..def5678 100644 --- a/lib/linkedin/api/authentication.rb +++ b/lib/linkedin/api/authentication.rb @@ -13,7 +13,7 @@ params.reverse_merge! redirect_uri: configuration.redirect_uri opts = { mode: :query, pa...
Use auth_code provided by credentials
diff --git a/Casks/paraview-lion-python27.rb b/Casks/paraview-lion-python27.rb index abc1234..def5678 100644 --- a/Casks/paraview-lion-python27.rb +++ b/Casks/paraview-lion-python27.rb @@ -4,12 +4,10 @@ version '4.1.0' sha1 '6da244c25bd500e44f1f020a0e44f5a239708a40' link 'paraview.app' - - def caveats; <<-EOS....
Use caveats DSL in Paraview Lion Python 2.7.
diff --git a/lib/sparrow/response_middleware.rb b/lib/sparrow/response_middleware.rb index abc1234..def5678 100644 --- a/lib/sparrow/response_middleware.rb +++ b/lib/sparrow/response_middleware.rb @@ -10,6 +10,7 @@ def converted_response_body # return the original body if we are not going to process it ...
Return body unprocessed when not processable When strategy says our response is unprocessable, then we should not process the response.
diff --git a/Initializable.podspec b/Initializable.podspec index abc1234..def5678 100644 --- a/Initializable.podspec +++ b/Initializable.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Initializable" - s.version = "1.0.1" + s.version = "1.1.0" s.summary = "Application Initializer p...
Update project version to 1.1.0
diff --git a/laravel/recipes/environment_variables.rb b/laravel/recipes/environment_variables.rb index abc1234..def5678 100644 --- a/laravel/recipes/environment_variables.rb +++ b/laravel/recipes/environment_variables.rb @@ -7,7 +7,7 @@ variables( database: deploy[:database], - variables: (deploy[appl...
Adjust the location of the environment variables
diff --git a/lib/allowing/validations_group.rb b/lib/allowing/validations_group.rb index abc1234..def5678 100644 --- a/lib/allowing/validations_group.rb +++ b/lib/allowing/validations_group.rb @@ -1,9 +1,6 @@-require 'allowing/helpers/scope_helpers' -require 'allowing/wrapped_validation_builder' - module Allowing c...
Remove unnecessary reader and requires
diff --git a/AlamofireActivityLogger.podspec b/AlamofireActivityLogger.podspec index abc1234..def5678 100644 --- a/AlamofireActivityLogger.podspec +++ b/AlamofireActivityLogger.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |spec| spec.name = "AlamofireActivityLogger" - spec.version = "1.0.1" + spec.versi...
Change Alamofire version in podspec
diff --git a/BHCDatabase/app/grids/medical_conditions_grid.rb b/BHCDatabase/app/grids/medical_conditions_grid.rb index abc1234..def5678 100644 --- a/BHCDatabase/app/grids/medical_conditions_grid.rb +++ b/BHCDatabase/app/grids/medical_conditions_grid.rb @@ -6,7 +6,7 @@ end filter(:id, :string, :multiple => ',') -...
Change medical conditions grid to use new search method
diff --git a/lib/deep_cover/node/exceptions.rb b/lib/deep_cover/node/exceptions.rb index abc1234..def5678 100644 --- a/lib/deep_cover/node/exceptions.rb +++ b/lib/deep_cover/node/exceptions.rb @@ -40,6 +40,12 @@ class Kwbegin < Node include NodeBehavior::CoverWithNextInstruction + include NodeBehavior...
Handle case of empty body being rescued
diff --git a/app/controllers/butterfli/instagram/rails/api_controller.rb b/app/controllers/butterfli/instagram/rails/api_controller.rb index abc1234..def5678 100644 --- a/app/controllers/butterfli/instagram/rails/api_controller.rb +++ b/app/controllers/butterfli/instagram/rails/api_controller.rb @@ -1,4 +1,4 @@-class B...
Fixed: Use of namespace changes in Butterfli Rails
diff --git a/lib/dpl/provider/azure_webapps.rb b/lib/dpl/provider/azure_webapps.rb index abc1234..def5678 100644 --- a/lib/dpl/provider/azure_webapps.rb +++ b/lib/dpl/provider/azure_webapps.rb @@ -28,7 +28,7 @@ end def push_app - log "Deploying to Azure Web App '#{config[slot] || config['site']}'"...
Fix log when deploying via azure web apps using slot
diff --git a/lib/omniauth/strategies/github.rb b/lib/omniauth/strategies/github.rb index abc1234..def5678 100644 --- a/lib/omniauth/strategies/github.rb +++ b/lib/omniauth/strategies/github.rb @@ -28,7 +28,7 @@ end extra do - {:user_hash => raw_info} + {:raw_info => raw_info} end ...
Use new :raw_info semantic instead of :user_hash.
diff --git a/server/app/controllers/files_controller.rb b/server/app/controllers/files_controller.rb index abc1234..def5678 100644 --- a/server/app/controllers/files_controller.rb +++ b/server/app/controllers/files_controller.rb @@ -19,7 +19,7 @@ rescue Exception => e logger.error e.message logger.inf...
Add a newline when assembling error response message so that the error and the backtrace don't blend together on the same line.
diff --git a/spec/haml_lint/parser_spec.rb b/spec/haml_lint/parser_spec.rb index abc1234..def5678 100644 --- a/spec/haml_lint/parser_spec.rb +++ b/spec/haml_lint/parser_spec.rb @@ -4,54 +4,54 @@ context 'when skip_frontmatter is true' do let(:parser) { HamlLint::Parser.new(haml, 'skip_frontmatter' => true) } -...
Indent heredocs in Parser spec Heredocs that aren't indented are more difficult to read. Fix that by indenting them and using the `normalize_indent` helper to avoid a parse error. Change-Id: Ia8cde89109290a548f421ad1db642e9c7926c7a4 Reviewed-on: http://gerrit.causes.com/42552 Tested-by: jenkins <d95b56ce41a2e1ac4cecd...
diff --git a/spec/requests/profile_spec.rb b/spec/requests/profile_spec.rb index abc1234..def5678 100644 --- a/spec/requests/profile_spec.rb +++ b/spec/requests/profile_spec.rb @@ -0,0 +1,48 @@+require 'spec_helper' + +describe "Profile account page" do + let(:user) { create(:user) } + + before do + login_as :user...
Test the delete acount option.
diff --git a/lib/rubocopfmt/rubocop_version.rb b/lib/rubocopfmt/rubocop_version.rb index abc1234..def5678 100644 --- a/lib/rubocopfmt/rubocop_version.rb +++ b/lib/rubocopfmt/rubocop_version.rb @@ -10,6 +10,6 @@ '!= 0.44.0', # Restrict to latest version tested. - '<= 0.48' + '< 0.48' ].freeze end
Fix incorrect Rubocop dependency version string
diff --git a/lib/saasable/scoped_controller.rb b/lib/saasable/scoped_controller.rb index abc1234..def5678 100644 --- a/lib/saasable/scoped_controller.rb +++ b/lib/saasable/scoped_controller.rb @@ -16,7 +16,7 @@ private def fetch_current_saas - @current_saas = Saasable::SaasDocument.find_by_host!(req...
Fix another bug on ScopedController.
diff --git a/recipes/config_kairosdb.rb b/recipes/config_kairosdb.rb index abc1234..def5678 100644 --- a/recipes/config_kairosdb.rb +++ b/recipes/config_kairosdb.rb @@ -15,10 +15,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -include_recipe "kairosdb::in...
Add service to remove recursive dep
diff --git a/lib/weary/middleware/hmac_auth.rb b/lib/weary/middleware/hmac_auth.rb index abc1234..def5678 100644 --- a/lib/weary/middleware/hmac_auth.rb +++ b/lib/weary/middleware/hmac_auth.rb @@ -11,35 +11,37 @@ end def call(env) - request = Rack::Request.new(env) - @app.call signed_env_fo...
Fix signing of PUT requests without params
diff --git a/lib/websocket/client_handshake.rb b/lib/websocket/client_handshake.rb index abc1234..def5678 100644 --- a/lib/websocket/client_handshake.rb +++ b/lib/websocket/client_handshake.rb @@ -7,25 +7,37 @@ Digest::SHA1.base64digest(websocket_key.strip + GUID) end - def initialize(method, uri, heade...
Add validation errors to client handshake
diff --git a/spooky.gemspec b/spooky.gemspec index abc1234..def5678 100644 --- a/spooky.gemspec +++ b/spooky.gemspec @@ -14,15 +14,8 @@ spec.homepage = "TODO: Put your gem's website or public repo URL here." spec.license = "MIT" - # Prevent pushing this gem to RubyGems.org. To allow pushes either set...
:bulb: Allow gem to be pushed to any host
diff --git a/TTRangeSlider.podspec b/TTRangeSlider.podspec index abc1234..def5678 100644 --- a/TTRangeSlider.podspec +++ b/TTRangeSlider.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "TTRangeSlider" - s.version = "1.0.2" + s.version = "1.0.3" s.summary = "A slider ...
Update podspec to v 1.0.3
diff --git a/swagger_rails.gemspec b/swagger_rails.gemspec index abc1234..def5678 100644 --- a/swagger_rails.gemspec +++ b/swagger_rails.gemspec @@ -17,7 +17,7 @@ s.files = Dir["{app,bower_components/swagger-ui/dist,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] s.add_dependency 'rack' - s.add_...
Allow all minor updates of Rails 5.0.
diff --git a/lib/approvals/reporters/reporter.rb b/lib/approvals/reporters/reporter.rb index abc1234..def5678 100644 --- a/lib/approvals/reporters/reporter.rb +++ b/lib/approvals/reporters/reporter.rb @@ -23,7 +23,7 @@ protected def launch(received, approved) - exec launcher.call(received, approve...
Use backticks to avoid hijacking execution
diff --git a/lib/batch/framework/configurable.rb b/lib/batch/framework/configurable.rb index abc1234..def5678 100644 --- a/lib/batch/framework/configurable.rb +++ b/lib/batch/framework/configurable.rb @@ -6,14 +6,15 @@ module ClassMethods - def configure(cfg_file = nil, options = {}) - ...
Handle multiple config files, fire post-config event
diff --git a/lib/challenger/recipes/passenger.rb b/lib/challenger/recipes/passenger.rb index abc1234..def5678 100644 --- a/lib/challenger/recipes/passenger.rb +++ b/lib/challenger/recipes/passenger.rb @@ -7,3 +7,13 @@ run "sudo -u root `rbenv which passenger-install-nginx-module` --auto --auto-download --prefix=/et...
Add deploy:start, :stop, :restart tasks. Doesn't work right now.
diff --git a/db/migrate/20160331192758_add_migration_for_add_early_disposition_request_event_type_rake_task.rb b/db/migrate/20160331192758_add_migration_for_add_early_disposition_request_event_type_rake_task.rb index abc1234..def5678 100644 --- a/db/migrate/20160331192758_add_migration_for_add_early_disposition_request...
Add data migration to add early_disposition_request event type
diff --git a/api/app/controllers/v1/slack_invitation/strategies_controller.rb b/api/app/controllers/v1/slack_invitation/strategies_controller.rb index abc1234..def5678 100644 --- a/api/app/controllers/v1/slack_invitation/strategies_controller.rb +++ b/api/app/controllers/v1/slack_invitation/strategies_controller.rb @@ ...
Add proper lookup for strategies
diff --git a/spec/controllers/places_controller_spec.rb b/spec/controllers/places_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/places_controller_spec.rb +++ b/spec/controllers/places_controller_spec.rb @@ -3,32 +3,24 @@ describe PlacesController do describe "GET #index" do it "properl...
Add tests to places controller
diff --git a/spec/tasks/get-commit-shasums/task_spec.rb b/spec/tasks/get-commit-shasums/task_spec.rb index abc1234..def5678 100644 --- a/spec/tasks/get-commit-shasums/task_spec.rb +++ b/spec/tasks/get-commit-shasums/task_spec.rb @@ -4,11 +4,14 @@ describe 'get-commit-shasums', :fly do before :context do @sha_ar...
Copy fixture to tempdir before altering
diff --git a/lib/kosmos/packages/precise_node.rb b/lib/kosmos/packages/precise_node.rb index abc1234..def5678 100644 --- a/lib/kosmos/packages/precise_node.rb +++ b/lib/kosmos/packages/precise_node.rb @@ -0,0 +1,9 @@+class PreciseNode < Kosmos::Package + title 'Precise Node' + aliases 'precisenode' + url 'http://bli...
Add a package for PreciseNode.
diff --git a/db/migrate/20130822161803_add_prominence_fields_to_outgoing_message.rb b/db/migrate/20130822161803_add_prominence_fields_to_outgoing_message.rb index abc1234..def5678 100644 --- a/db/migrate/20130822161803_add_prominence_fields_to_outgoing_message.rb +++ b/db/migrate/20130822161803_add_prominence_fields_to...
Add prominence fields to outgoing message.
diff --git a/lib/modules/search/filter_params.rb b/lib/modules/search/filter_params.rb index abc1234..def5678 100644 --- a/lib/modules/search/filter_params.rb +++ b/lib/modules/search/filter_params.rb @@ -0,0 +1,81 @@+class Search::FilterParams + + def self.standardise(filters) + self.new(filters).standardise + en...
Add forgotten filter params class
diff --git a/lib/pdf_ravager/strategies/smart.rb b/lib/pdf_ravager/strategies/smart.rb index abc1234..def5678 100644 --- a/lib/pdf_ravager/strategies/smart.rb +++ b/lib/pdf_ravager/strategies/smart.rb @@ -4,6 +4,16 @@ def initialize(stamper) @acro_form = Strategies::AcroForm.new(stamper) @xfa ...
Fix Smart strategy not setting XFA read-only properly
diff --git a/core/lib/spree/core/testing_support/factories/product_factory.rb b/core/lib/spree/core/testing_support/factories/product_factory.rb index abc1234..def5678 100644 --- a/core/lib/spree/core/testing_support/factories/product_factory.rb +++ b/core/lib/spree/core/testing_support/factories/product_factory.rb @@ ...
Fix product factory name sequence with Kernel.rand so it is not interpreted as a Spree::Product method Fixes #1964
diff --git a/rails/app/views/feeds/mpdream_info.xml.builder b/rails/app/views/feeds/mpdream_info.xml.builder index abc1234..def5678 100644 --- a/rails/app/views/feeds/mpdream_info.xml.builder +++ b/rails/app/views/feeds/mpdream_info.xml.builder @@ -2,8 +2,8 @@ xml.publicwhip do @policy_member_distances.each do |pmd|...
Change order so it matches PHP and is easier to visually compare
diff --git a/axiom.gemspec b/axiom.gemspec index abc1234..def5678 100644 --- a/axiom.gemspec +++ b/axiom.gemspec @@ -13,8 +13,8 @@ gem.license = 'MIT' gem.require_paths = %w[lib] - gem.files = `git ls-files`.split("\n") - gem.test_files = `git ls-files -- spec/{unit,integration}`.split(...
Change gemspec to use the OS specific line break
diff --git a/db/data_migration/20160623092908_correct_document_content_ids.rb b/db/data_migration/20160623092908_correct_document_content_ids.rb index abc1234..def5678 100644 --- a/db/data_migration/20160623092908_correct_document_content_ids.rb +++ b/db/data_migration/20160623092908_correct_document_content_ids.rb @@ ...
Fix content IDs and remove obsolete documents The Finding Things migration checker has detected an inconsistency in the state of 5 documents across Whitehall > Publishing API > Content Store. These items do not exist in the content store, and have mismatched content IDs in Whitehall/Publishing API. Further detail is ...
diff --git a/packer_templates/windows/cookbooks/packer/recipes/vm_tools.rb b/packer_templates/windows/cookbooks/packer/recipes/vm_tools.rb index abc1234..def5678 100644 --- a/packer_templates/windows/cookbooks/packer/recipes/vm_tools.rb +++ b/packer_templates/windows/cookbooks/packer/recipes/vm_tools.rb @@ -19,3 +19,18...
Install vmware tools on windows vmware-iso boxes Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/lib/generators/open_conference_ware/install/install_generator.rb b/lib/generators/open_conference_ware/install/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/open_conference_ware/install/install_generator.rb +++ b/lib/generators/open_conference_ware/install/install_generator.rb @@ ...
Set up the host app to load OCW's seeds, via install generator
diff --git a/ssl_checker.rb b/ssl_checker.rb index abc1234..def5678 100644 --- a/ssl_checker.rb +++ b/ssl_checker.rb @@ -22,8 +22,11 @@ ssl_client.sysclose tcp_client.close - puts "Certificate Expires #{cert.not_after}" - Time.now > cert.not_after ? exit(1) : exit(0) + if Time.now > cert.not_after +...
Improve output to make failures easier to spot
diff --git a/app/controllers/spree/admin/images_controller.rb b/app/controllers/spree/admin/images_controller.rb index abc1234..def5678 100644 --- a/app/controllers/spree/admin/images_controller.rb +++ b/app/controllers/spree/admin/images_controller.rb @@ -0,0 +1,35 @@+module Spree + module Admin + class ImagesCont...
Bring images controller from spree_backend so we can merge it with ofn's decorator
diff --git a/app/helpers/locomotive/content_entries_helper.rb b/app/helpers/locomotive/content_entries_helper.rb index abc1234..def5678 100644 --- a/app/helpers/locomotive/content_entries_helper.rb +++ b/app/helpers/locomotive/content_entries_helper.rb @@ -5,7 +5,7 @@ content_type = Locomotive::ContentType.class_...
Allow the custom label for a foreign model to be appear in the SELECT menu that lists the belongs_to options for a given model.