diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/config/environment.rb b/config/environment.rb index abc1234..def5678 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -22,3 +22,7 @@ } end +# Fix the bug described here:http://stackoverflow.com/questions/9122411/rails-javascript-too-many-parameter-keys-whats-a-good-way-to-normalize-f ...
Fix 'exceeded available parameter key space' with large POST requests
diff --git a/Casks/razer-synapse.rb b/Casks/razer-synapse.rb index abc1234..def5678 100644 --- a/Casks/razer-synapse.rb +++ b/Casks/razer-synapse.rb @@ -1,6 +1,6 @@ cask :v1 => 'razer-synapse' do - version '1.41' - sha256 'f8fce465114da56f6d5f0771429b1f118ac547c77b9b05d3f84333f8d94b5019' + version '1.44' + sha256 '...
Update Razer Synapse to 1.44 - update to version 1.44.1 - add zap stanza - add pkgutil, quit, and launchctl to uninstall stanza
diff --git a/core/string/unpack/z_spec.rb b/core/string/unpack/z_spec.rb index abc1234..def5678 100644 --- a/core/string/unpack/z_spec.rb +++ b/core/string/unpack/z_spec.rb @@ -20,4 +20,9 @@ ["\x00a\x00 bc \x00", ["", "c"]] ].should be_computed_by(:unpack, "Z5Z") end + + it "does not advance past the nu...
Add specs for consuming null byte.
diff --git a/lib/appsignal/integrations/delayed_job_plugin.rb b/lib/appsignal/integrations/delayed_job_plugin.rb index abc1234..def5678 100644 --- a/lib/appsignal/integrations/delayed_job_plugin.rb +++ b/lib/appsignal/integrations/delayed_job_plugin.rb @@ -6,7 +6,7 @@ invoke_with_instrumentation(job, block) ...
Change Delayed Job callback from loop to execute
diff --git a/lib/cognizant/process/conditions/memory_usage.rb b/lib/cognizant/process/conditions/memory_usage.rb index abc1234..def5678 100644 --- a/lib/cognizant/process/conditions/memory_usage.rb +++ b/lib/cognizant/process/conditions/memory_usage.rb @@ -0,0 +1,32 @@+module Cognizant + class Process + module Cond...
Add a memory usage condition.
diff --git a/lib/infinity_test/core/continuous_test_server.rb b/lib/infinity_test/core/continuous_test_server.rb index abc1234..def5678 100644 --- a/lib/infinity_test/core/continuous_test_server.rb +++ b/lib/infinity_test/core/continuous_test_server.rb @@ -3,14 +3,14 @@ class ContinuousTestServer attr_reader...
Add a Poc for notifications code. Put the instantiation code in continuous test server.
diff --git a/dartsduino-games-x01.gemspec b/dartsduino-games-x01.gemspec index abc1234..def5678 100644 --- a/dartsduino-games-x01.gemspec +++ b/dartsduino-games-x01.gemspec @@ -8,8 +8,8 @@ spec.version = Dartsduino::Games::X01::VERSION spec.authors = ["Ikuo Terado"] spec.email = ["eqobar@gma...
Update gem's summary and description
diff --git a/bump-version.rb b/bump-version.rb index abc1234..def5678 100644 --- a/bump-version.rb +++ b/bump-version.rb @@ -0,0 +1,50 @@+#!/usr/bin/ruby + +if not ARGV.empty? then + version_str = ARGV.first + version_array = ARGV.first.split('.') + if version_array.size == 3 then + major = version_arra...
Add script to automate version bumping
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb index abc1234..def5678 100644 --- a/actionpack/lib/action_controller/test_case.rb +++ b/actionpack/lib/action_controller/test_case.rb @@ -3,9 +3,15 @@ module ActionController class NonInferrableControllerError ...
Make the non inferrable controller message a little friendlier. [Koz] git-svn-id: afc9fed30c1a09d8801d1e4fbe6e01c29c67d11f@8749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb index abc1234..def5678 100644 --- a/Library/Homebrew/os.rb +++ b/Library/Homebrew/os.rb @@ -4,7 +4,7 @@ end def self.linux? - /linux/i === RUBY_PLATFORM + /linux/i === RUBY_PLATFORM || /linux/i === RbConfig::CONFIG["host_os"] end require ...
Fix OS detection for JRuby on Linuxbrew Included an extra check for whether the OS was Linux or not. RUBY_PLATFORM returns "java" on Linux if using JRuby, which is Fedora's default, for example. Closes Homebrew/linuxbrew#653. Signed-off-by: Shaun Jackman <b580dab3251a9622aba3803114310c23fdb42900@gmail.com>
diff --git a/app/controllers/spree/admin/look_book_image_products_controller.rb b/app/controllers/spree/admin/look_book_image_products_controller.rb index abc1234..def5678 100644 --- a/app/controllers/spree/admin/look_book_image_products_controller.rb +++ b/app/controllers/spree/admin/look_book_image_products_controlle...
Use insert_at for placing an item at the correct index
diff --git a/has_magic_columns.gemspec b/has_magic_columns.gemspec index abc1234..def5678 100644 --- a/has_magic_columns.gemspec +++ b/has_magic_columns.gemspec @@ -14,7 +14,7 @@ s.date = Date.today s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/`.split("\n") + s.te...
Test cases now live in the spec directory
diff --git a/server/roles/bootstrap/spec/create-user.rb b/server/roles/bootstrap/spec/create-user.rb index abc1234..def5678 100644 --- a/server/roles/bootstrap/spec/create-user.rb +++ b/server/roles/bootstrap/spec/create-user.rb @@ -5,3 +5,13 @@ # |_.__/ \___/ \___/ \__|___/\__|_| \__,_| .__/_/ |___/ .__/ \___|\___| ...
Add test code for checking user
diff --git a/app/helpers/startups_helper.rb b/app/helpers/startups_helper.rb index abc1234..def5678 100644 --- a/app/helpers/startups_helper.rb +++ b/app/helpers/startups_helper.rb @@ -1,2 +1,11 @@ module StartupsHelper + def market_names(markets) + markets.map { |market| market.name } + end + + def market_names_...
Add startup helper methods for getting names and generating markup
diff --git a/recipes/install_remoteservices.rb b/recipes/install_remoteservices.rb index abc1234..def5678 100644 --- a/recipes/install_remoteservices.rb +++ b/recipes/install_remoteservices.rb @@ -45,3 +45,7 @@ action [:enable, :start] end end + +service "abiquo-tomcat" do + action :nothing +end
Define the tomcat service when installing the remote services
diff --git a/db/seeds/maintainer_users.rb b/db/seeds/maintainer_users.rb index abc1234..def5678 100644 --- a/db/seeds/maintainer_users.rb +++ b/db/seeds/maintainer_users.rb @@ -1,5 +1,5 @@ if Rails.env.development? || ENV['STAGING'] - names = %w[kevin rachel] + names = %w[kevin rachel austin] names.each do |name...
Add name to maintainer seeds
diff --git a/spec/boulangerie_spec.rb b/spec/boulangerie_spec.rb index abc1234..def5678 100644 --- a/spec/boulangerie_spec.rb +++ b/spec/boulangerie_spec.rb @@ -5,15 +5,27 @@ { example_key_id => "totally secret key I swear" } end + it "raises NotConfiguredError unless configured" do + expect { described_cl...
Test initializing with a Schema class
diff --git a/spec/config_test_spec.rb b/spec/config_test_spec.rb index abc1234..def5678 100644 --- a/spec/config_test_spec.rb +++ b/spec/config_test_spec.rb @@ -12,6 +12,7 @@ stubs = stub_faraday_request expect(Rnotifier::ConfigTest.test).to be_true + expect(Rnotifier::Config.api_key).to eq 'API-KEY' ...
Check for api key in config test spec
diff --git a/spec/integration_spec.rb b/spec/integration_spec.rb index abc1234..def5678 100644 --- a/spec/integration_spec.rb +++ b/spec/integration_spec.rb @@ -0,0 +1,76 @@+require 'rails_helper' + +RSpec.describe 'Integration Test', :type => :request do + let(:url) { '/posts/1234?categoryFilter[categoryName][]=food'...
Add integration test for middleware
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index abc1234..def5678 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -19,4 +19,10 @@ expect(user.password).to eq("password") end end + + describe "Invalid username" do + it "is invalid without a username" do + expect...
Add rspect to user model - raise error for invalid username - success
diff --git a/spec/tic_tac_toe_spec.rb b/spec/tic_tac_toe_spec.rb index abc1234..def5678 100644 --- a/spec/tic_tac_toe_spec.rb +++ b/spec/tic_tac_toe_spec.rb @@ -45,10 +45,10 @@ expect(@board.pos 10).to eq(nil) end - def do_winning_test board, mark - board.move 0, mark - board.move 1, mark - ...
Add ability to test winning at arbitrary places
diff --git a/app/controllers/api/v1/nightbot_controller.rb b/app/controllers/api/v1/nightbot_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/nightbot_controller.rb +++ b/app/controllers/api/v1/nightbot_controller.rb @@ -10,7 +10,7 @@ render text: format('Now playing: %s - %s', track.artis...
Fix response of empty playlist of Nightbot API
diff --git a/app/controllers/credit_invoices_controller.rb b/app/controllers/credit_invoices_controller.rb index abc1234..def5678 100644 --- a/app/controllers/credit_invoices_controller.rb +++ b/app/controllers/credit_invoices_controller.rb @@ -6,7 +6,7 @@ :customer_id => current_tenant.company.id, :state ...
Use .to_date in pre seeded due_date on credit_invoices.
diff --git a/app/controllers/settings/import_controller.rb b/app/controllers/settings/import_controller.rb index abc1234..def5678 100644 --- a/app/controllers/settings/import_controller.rb +++ b/app/controllers/settings/import_controller.rb @@ -8,23 +8,30 @@ hide_cover_image if params[:animelist] + file...
Improve handling of really stupid browsers
diff --git a/app/models/project_score_calculation_batch.rb b/app/models/project_score_calculation_batch.rb index abc1234..def5678 100644 --- a/app/models/project_score_calculation_batch.rb +++ b/app/models/project_score_calculation_batch.rb @@ -1,4 +1,28 @@ class ProjectScoreCalculationBatch + def self.run(platform, l...
Add redis set for managing recursive project score calcualtion batches
diff --git a/app/models/solidus_paypal_braintree/source.rb b/app/models/solidus_paypal_braintree/source.rb index abc1234..def5678 100644 --- a/app/models/solidus_paypal_braintree/source.rb +++ b/app/models/solidus_paypal_braintree/source.rb @@ -1,6 +1,7 @@ class SolidusPaypalBraintree::Source < ApplicationRecord bel...
Add AR relation from Source to Payment
diff --git a/app/helpers/admin/paths_helper.rb b/app/helpers/admin/paths_helper.rb index abc1234..def5678 100644 --- a/app/helpers/admin/paths_helper.rb +++ b/app/helpers/admin/paths_helper.rb @@ -20,10 +20,6 @@ "/admin/editions/#{edition.to_param}" end - def clone_edition_path(edition, conversions) - send...
Remove clone edition path helper as the method won't exist
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,6 +10,16 @@ end def open_source_url - "https://github.com/buildkite/docs/tree/master/pages/TODO.md.erb" + #...
Fix the Github contribute link
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 @@ -2,7 +2,7 @@ def gravatar_image_tag(email, size = 16) hash = Digest::MD5.hexdigest(email.strip.downcase) - image...
Use actual secure gravatar URL
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 @@ -44,16 +44,10 @@ end def current_main_navigation_path(parameters) - case parameters[:controller] - when "common...
Make navigation highlighting method more dumb People sometimes forget to add their controllers to this method, so for now everything in Limelight is "Services".
diff --git a/app/models/concerns/squishable.rb b/app/models/concerns/squishable.rb index abc1234..def5678 100644 --- a/app/models/concerns/squishable.rb +++ b/app/models/concerns/squishable.rb @@ -12,7 +12,7 @@ attributes.each do |attribute| class_eval <<-RUBY def #{attribute}=(attribute) - ...
Use super when overwriting default accessors
diff --git a/Casks/brackets.rb b/Casks/brackets.rb index abc1234..def5678 100644 --- a/Casks/brackets.rb +++ b/Casks/brackets.rb @@ -3,4 +3,5 @@ homepage 'http://brackets.io' version 'sprint-24' sha1 '279912a34b788fa7e40528b8581df947de1e58ac' + link :app, 'Brackets Sprint 24.app' end
Add the missing `link` line.
diff --git a/natero/natero.gemspec b/natero/natero.gemspec index abc1234..def5678 100644 --- a/natero/natero.gemspec +++ b/natero/natero.gemspec @@ -18,7 +18,7 @@ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = 'exe' spec.executables ...
Use array, fails on older Ruby versions
diff --git a/config.ru b/config.ru index abc1234..def5678 100644 --- a/config.ru +++ b/config.ru @@ -1,12 +1,11 @@ # This file is used by Rack-based servers to start the application. +ENV["RAILS_RELATIVE_URL_ROOT"] ||= "/" require ::File.expand_path('../config/environment', __FILE__) if defined? PhusionPassenger ...
Move env assignment out, so rails wont detect it as nil at boot
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -1,5 +1,5 @@-package libxml-xpath-perl -package gdal-bin +package "libxml-xpath-perl" +package "gdal-bin" git "/root/xml-to-csv" do repository "https://github.comjjshoe/xml-to-cs...
Fix a bug where by package names wern't enclosed as strings
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -22,5 +22,5 @@ # Install dynect gem for usage within Chef runs chef_gem 'dynect_rest' do action :install - compile_time false if Chef::Resource::ChefGem.method_defined?(:compile_t...
Remove chef 11 compatibility in chef_gem Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/recipes/smartos.rb b/recipes/smartos.rb index abc1234..def5678 100644 --- a/recipes/smartos.rb +++ b/recipes/smartos.rb @@ -17,18 +17,11 @@ # limitations under the License. # -include_recipe 'pkgin' - %w{ - gcc47 - gcc47-runtime - scmgit-base - gmake - pkg-config - binutils + build-essential }....
Switch SmartOS to use build-essentials with package provider
diff --git a/lib/happy/extras/action_controller.rb b/lib/happy/extras/action_controller.rb index abc1234..def5678 100644 --- a/lib/happy/extras/action_controller.rb +++ b/lib/happy/extras/action_controller.rb @@ -13,8 +13,16 @@ # /foo/123 # foo (with params['id'] set to 123) # class ActionController < Ha...
Fix method visibility for ActionController
diff --git a/lib/less-rails-fontawesome/version.rb b/lib/less-rails-fontawesome/version.rb index abc1234..def5678 100644 --- a/lib/less-rails-fontawesome/version.rb +++ b/lib/less-rails-fontawesome/version.rb @@ -2,7 +2,7 @@ module Awesome module Less module Rails - VERSION = "0.1.0" + VERSI...
Upgrade to Font Awesome v2.0
diff --git a/lib/metasploit/cache/payload/stage.rb b/lib/metasploit/cache/payload/stage.rb index abc1234..def5678 100644 --- a/lib/metasploit/cache/payload/stage.rb +++ b/lib/metasploit/cache/payload/stage.rb @@ -1,5 +1,5 @@ # Namespace for stage payload Metasploit Module cache metadata, including -# {Metasploit::Cache...
Add link from namespace to Payload::Stage::Class MSP-12343
diff --git a/lib/oxblood/commands/hyper_log_log.rb b/lib/oxblood/commands/hyper_log_log.rb index abc1234..def5678 100644 --- a/lib/oxblood/commands/hyper_log_log.rb +++ b/lib/oxblood/commands/hyper_log_log.rb @@ -20,7 +20,7 @@ # @param [String, Array<String>] keys # # @return [Integer] the approxima...
Fix link to method in docs
diff --git a/lib/raven/integrations/delayed_job.rb b/lib/raven/integrations/delayed_job.rb index abc1234..def5678 100644 --- a/lib/raven/integrations/delayed_job.rb +++ b/lib/raven/integrations/delayed_job.rb @@ -14,23 +14,23 @@ rescue Exception => exception # Log error to Sentry ...
Support for Ruby 1.8.7 failing due new Hash syntax
diff --git a/lib/rollbar/plugins/resque/failure.rb b/lib/rollbar/plugins/resque/failure.rb index abc1234..def5678 100644 --- a/lib/rollbar/plugins/resque/failure.rb +++ b/lib/rollbar/plugins/resque/failure.rb @@ -2,13 +2,16 @@ module Resque module Failure + # Falure class to use in Resque in order to send + ...
Make Codeclimate happy with Resque Failure class
diff --git a/lib/sequenceserver/blast/formatter.rb b/lib/sequenceserver/blast/formatter.rb index abc1234..def5678 100644 --- a/lib/sequenceserver/blast/formatter.rb +++ b/lib/sequenceserver/blast/formatter.rb @@ -2,24 +2,26 @@ module SequenceServer module BLAST - # Formats BLAST+ archive file format into other ...
Use sys's stdout option in BLAST::Formatter Instead of blast_formatter's -out option. Just being consistent - we don't use -out option while running the search either. Increase documentation comments and fix funny line breaks. Signed-off-by: Anurag Priyam <6e6ab5ea9cb59fe7c35d2a1fc74443577eb60635@gmail.com>
diff --git a/test/lib/tasks/score_and_reward_test.rb b/test/lib/tasks/score_and_reward_test.rb index abc1234..def5678 100644 --- a/test/lib/tasks/score_and_reward_test.rb +++ b/test/lib/tasks/score_and_reward_test.rb @@ -0,0 +1,18 @@+require 'test_helper' + +class ScoreAndRewardTest < ActiveSupport::TestCase + def tes...
Test for calculate score and reward rake task
diff --git a/activerecord-safer_migrations.gemspec b/activerecord-safer_migrations.gemspec index abc1234..def5678 100644 --- a/activerecord-safer_migrations.gemspec +++ b/activerecord-safer_migrations.gemspec @@ -20,5 +20,5 @@ gem.add_development_dependency "pg", "~> 0.21.0" gem.add_development_dependency "rspec...
Update rubocop requirement from ~> 0.56.0 to ~> 0.57.2 Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop-hq/rubocop/releases) - [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md) - [Commits](h...
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -32,7 +32,9 @@ Giphy::Configuration.configure do |config| config.api_key = ENV['GIPHY_KEY'] end - @image=...
Add print method to giphy api
diff --git a/massa.gemspec b/massa.gemspec index abc1234..def5678 100644 --- a/massa.gemspec +++ b/massa.gemspec @@ -11,7 +11,7 @@ spec.summary = 'Keep the quality, good practices and security of Rails projects.' spec.description = 'Keep the quality, good practices and security of Rails projects.' - spe...
Use HTTPS instead of HTTP
diff --git a/spec/features/ListItems/index_spec.rb b/spec/features/ListItems/index_spec.rb index abc1234..def5678 100644 --- a/spec/features/ListItems/index_spec.rb +++ b/spec/features/ListItems/index_spec.rb @@ -26,4 +26,16 @@ expect(page.all("ul.list_items li").size).to eq(0) end + it "displays list items w...
Test displaying content from list
diff --git a/lib/buildr_plus/extension_registry.rb b/lib/buildr_plus/extension_registry.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/extension_registry.rb +++ b/lib/buildr_plus/extension_registry.rb @@ -35,7 +35,9 @@ def activate! raw_extensions.each do |extension| - Buildr::Project....
Use class eval to call include so code works on earlier versions of ruby
diff --git a/lib/electric_sheeps/agents/command.rb b/lib/electric_sheeps/agents/command.rb index abc1234..def5678 100644 --- a/lib/electric_sheeps/agents/command.rb +++ b/lib/electric_sheeps/agents/command.rb @@ -10,8 +10,16 @@ @logger = options[:logger] @shell = options[:shell] @work_dir = op...
Add method_missing in order to access resources
diff --git a/lib/fund_america/selling_agreement.rb b/lib/fund_america/selling_agreement.rb index abc1234..def5678 100644 --- a/lib/fund_america/selling_agreement.rb +++ b/lib/fund_america/selling_agreement.rb @@ -10,9 +10,9 @@ end # End point: https://apps.fundamerica.com/api/selling_agreements/:id (GET)...
Add Selling Agreement API points
diff --git a/server.rb b/server.rb index abc1234..def5678 100644 --- a/server.rb +++ b/server.rb @@ -2,9 +2,15 @@ require 'redis' require 'redis-namespace' +configure do + set :server, :puma + set :bind, '0.0.0.0' + set :port, 80 +end + redis_options = { - host: (ENV['REDIS_HOST'] || 'localhost'), - port: (ENV...
Configure Puma and Redis connection
diff --git a/rails_stats.gemspec b/rails_stats.gemspec index abc1234..def5678 100644 --- a/rails_stats.gemspec +++ b/rails_stats.gemspec @@ -20,4 +20,7 @@ spec.add_dependency "rake" spec.add_development_dependency "bundler", ">= 1.6", "< 3.0" + spec.add_development_dependency "byebug" + spec.add_development_de...
Add minitest and byebug as development dependencies
diff --git a/lhm.gemspec b/lhm.gemspec index abc1234..def5678 100644 --- a/lhm.gemspec +++ b/lhm.gemspec @@ -13,7 +13,7 @@ s.email = %q{rany@soundcloud.com, tobi@soundcloud.com, ts@soundcloud.com} s.summary = %q{online schema changer for mysql} s.description = %q{Migrate large tables without dow...
Update homepage url in gemspec
diff --git a/app/mailers/ballot_notifier.rb b/app/mailers/ballot_notifier.rb index abc1234..def5678 100644 --- a/app/mailers/ballot_notifier.rb +++ b/app/mailers/ballot_notifier.rb @@ -1,23 +1,41 @@ class BallotNotifier < ApplicationMailer - # First define the value for "locker_mail_to" in secrets.yml - default from:...
Update ballot mailer to track ballot submitter
diff --git a/app/models/etsource/dataset.rb b/app/models/etsource/dataset.rb index abc1234..def5678 100644 --- a/app/models/etsource/dataset.rb +++ b/app/models/etsource/dataset.rb @@ -25,9 +25,11 @@ end def self.region_codes - @region_codes ||= Atlas::Dataset.all - .select { |dataset| dataset.en...
Expire region code cache when importing ETSource
diff --git a/lib/wemo.rb b/lib/wemo.rb index abc1234..def5678 100644 --- a/lib/wemo.rb +++ b/lib/wemo.rb @@ -5,7 +5,7 @@ module WeMo def self.all - light_switches + switches + light_switches + switches + sensors end def self.light_switches @@ -14,6 +14,10 @@ def self.switches @switches ||= d...
Add WeMo motion into device list
diff --git a/app/services/gemmies/create.rb b/app/services/gemmies/create.rb index abc1234..def5678 100644 --- a/app/services/gemmies/create.rb +++ b/app/services/gemmies/create.rb @@ -2,7 +2,7 @@ module Gemmies class Create < Services::Base - class AlreadyExists < Error + class BaseError < StandardError ...
Refactor NotFound Error to be similar to AlreadyExists
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index abc1234..def5678 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -9,7 +9,7 @@ def amr_data_show @meter = Meter.includes(:meter_readings).find(params[:meter_id]) ...
Fix deprecation warning by wrapping cast
diff --git a/app/helpers/container_image_helper.rb b/app/helpers/container_image_helper.rb index abc1234..def5678 100644 --- a/app/helpers/container_image_helper.rb +++ b/app/helpers/container_image_helper.rb @@ -1,4 +1,4 @@-module ContainerImageHelper +module ContainerImageHelper include_concern 'ComplianceSummary...
Fix rubocop warnings in ContainerImageHelper
diff --git a/app/jobs/admin_activity_notify_job.rb b/app/jobs/admin_activity_notify_job.rb index abc1234..def5678 100644 --- a/app/jobs/admin_activity_notify_job.rb +++ b/app/jobs/admin_activity_notify_job.rb @@ -1,6 +1,6 @@ class AdminActivityNotifyJob < ApplicationJob CHANNEL = if Rails.env.production? - ...
Change channel name in AdminActivityNotifyJob
diff --git a/spec/parser/source_parser_spec.rb b/spec/parser/source_parser_spec.rb index abc1234..def5678 100644 --- a/spec/parser/source_parser_spec.rb +++ b/spec/parser/source_parser_spec.rb @@ -2,7 +2,6 @@ describe YARD::Parser::SourceParser do before do - p self.class.description Registry.clear end...
Remove debugging message in spec
diff --git a/spec/shared/models/sanitizable.rb b/spec/shared/models/sanitizable.rb index abc1234..def5678 100644 --- a/spec/shared/models/sanitizable.rb +++ b/spec/shared/models/sanitizable.rb @@ -2,12 +2,6 @@ let(:sanitizable) { build(model_name(described_class)) } describe "#tag_list" do - before do - ...
Remove unnecessary condition to skip tag list test This file only has tests related to tags; if the model doesn't have tags, we simply wouldn't include `it_behaves_as` in their tests instead of including it and then skipping it.
diff --git a/spec/unit/recipes/default_spec.rb b/spec/unit/recipes/default_spec.rb index abc1234..def5678 100644 --- a/spec/unit/recipes/default_spec.rb +++ b/spec/unit/recipes/default_spec.rb @@ -4,6 +4,6 @@ let(:chef_run) { ChefSpec::Runner.new.converge(described_recipe) } it 'installs the chef gem' do - ex...
Remove version check in tests
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 @@ -8,11 +8,7 @@ CodeClimate::TestReporter.start require 'rom' - require 'rom/adapter/memory' - -require 'rom-sql' -require 'rom/sql/spec/support' root = Pathname(__FILE__).dir...
Use memory adapter for all specs * extend memory dataset with new operations * fix sorting in Join operation * fix method forwarding in Join operation * remove sql-related code
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 @@ -11,7 +11,7 @@ Thread.abort_on_exception = true require "#{File.dirname(__FILE__)}/../watirspec" -hook = File.expand_path("#{File.dirname(__FILE__)}/../../spec_helper") +hook = ...
Use .rb since we're checking if File.exist?
diff --git a/app/authorizers/universe_core_content_authorizer.rb b/app/authorizers/universe_core_content_authorizer.rb index abc1234..def5678 100644 --- a/app/authorizers/universe_core_content_authorizer.rb +++ b/app/authorizers/universe_core_content_authorizer.rb @@ -2,6 +2,7 @@ def self.creatable_by? user [ ...
Allow anyone on premium to create universes regardless of current subscription
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -17,3 +17,7 @@ DatabaseRewinder.clean end end + +class ActionDispatch::IntegrationTest + include FactoryGirl::Syntax::Methods +end
Enable factory_girl shortcut in controller tests
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,5 @@ require 'test/unit' -require 'lib/email_veracity' +require File.dirname(__FILE__) + '/../lib/email_veracity' Dir.glob('test/mocks/*.rb') { |f| require(f) }
Fix up include path to make test files run in TextMate
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -2,10 +2,11 @@ maintainer 'Chef Software, Inc' maintainer_email 'cookbooks@chef.io' license 'Apache 2.0' -description 'Installs/Configures unicorn' +description 'Installs and configures unicorn' long_descripti...
Add Chef 11 compat and cleanup wording
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -25,4 +25,4 @@ depends "apt", ">= 1.9.0" depends "build-essential" -depends "openssl", "~> 4.0.0" +depends "openssl", "~> 4.0"
Use more optimistic openssl version constraint.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -16,4 +16,4 @@ depends 'line', '< 1.0' depends 'chef-vault' -version '1.57.2' +version '1.58.0'
Add SSL private key management
diff --git a/visio2pdf.rb b/visio2pdf.rb index abc1234..def5678 100644 --- a/visio2pdf.rb +++ b/visio2pdf.rb @@ -22,8 +22,8 @@ end def visio2pdf - @visio = WIN32OLE.new('Visio.Application') begin + @visio = WIN32OLE.new('Visio.Application') files = Dir["#{@in_dir}/[^~]*{#{VSDEXTS}}"] f...
Fix blank is included in filepath
diff --git a/spec/devise-i18n-bootstrap_spec.rb b/spec/devise-i18n-bootstrap_spec.rb index abc1234..def5678 100644 --- a/spec/devise-i18n-bootstrap_spec.rb +++ b/spec/devise-i18n-bootstrap_spec.rb @@ -1,8 +1,8 @@ require 'spec_helper' -Dir.glob('locales/*.yml').each do |locale_file| - describe "a devise-i18n-views #...
Fix new path of locales folder
diff --git a/ruby_provisioning_api.gemspec b/ruby_provisioning_api.gemspec index abc1234..def5678 100644 --- a/ruby_provisioning_api.gemspec +++ b/ruby_provisioning_api.gemspec @@ -4,9 +4,9 @@ Gem::Specification.new do |gem| gem.authors = ["Davide Targa", "Damiano Braga"] gem.email = ["davide.targa@...
Add description and summary to the gemspec.
diff --git a/chef-config/lib/chef-config/mixin/fuzzy_hostname_matcher.rb b/chef-config/lib/chef-config/mixin/fuzzy_hostname_matcher.rb index abc1234..def5678 100644 --- a/chef-config/lib/chef-config/mixin/fuzzy_hostname_matcher.rb +++ b/chef-config/lib/chef-config/mixin/fuzzy_hostname_matcher.rb @@ -20,8 +20,16 @@ mo...
Remove .nil? and add some yard explaining what this method is Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/pixiv.gemspec b/pixiv.gemspec index abc1234..def5678 100644 --- a/pixiv.gemspec +++ b/pixiv.gemspec @@ -18,4 +18,8 @@ gem.require_paths = ["lib"] gem.add_dependency 'mechanize', '~> 2.0' + + gem.add_development_dependency 'rake', '>= 0.8.7' + gem.add_development_dependency 'rspec', '~> 2.12' + ge...
Add development dependency on rake, rspec, webmock
diff --git a/config/initializers/new_framework_defaults.rb b/config/initializers/new_framework_defaults.rb index abc1234..def5678 100644 --- a/config/initializers/new_framework_defaults.rb +++ b/config/initializers/new_framework_defaults.rb @@ -6,20 +6,20 @@ # # Read the Guide for Upgrading Ruby on Rails for more info...
Migrate to new framework defaults
diff --git a/spec/ffi/spec_helper.rb b/spec/ffi/spec_helper.rb index abc1234..def5678 100644 --- a/spec/ffi/spec_helper.rb +++ b/spec/ffi/spec_helper.rb @@ -2,10 +2,14 @@ require 'rbconfig' require 'spec' -if ENV["MRI_FFI"] +if RUBY_PLATFORM =~/java/ + libdir = File.expand_path(File.join(File.dirname(__FILE__), ".....
Remove lib/ from load path when running under JRuby
diff --git a/spec/knife/maas_spec.rb b/spec/knife/maas_spec.rb index abc1234..def5678 100644 --- a/spec/knife/maas_spec.rb +++ b/spec/knife/maas_spec.rb @@ -1,11 +1,7 @@ require 'spec_helper' -describe Knife::Maas do +describe Chef::Knife::Maas do it 'has a version number' do - expect(Knife::Maas::VERSION).not_...
Make sure all tests pass
diff --git a/spree_warehouse.gemspec b/spree_warehouse.gemspec index abc1234..def5678 100644 --- a/spree_warehouse.gemspec +++ b/spree_warehouse.gemspec @@ -7,7 +7,7 @@ s.description = 'Warehouse management system based on Spree' s.required_ruby_version = '>= 1.8.7' - s.author = 'Rei Kagetsuki' + s....
Put myself in authors list
diff --git a/app/presenters/georgia/sidebar_link_presenter.rb b/app/presenters/georgia/sidebar_link_presenter.rb index abc1234..def5678 100644 --- a/app/presenters/georgia/sidebar_link_presenter.rb +++ b/app/presenters/georgia/sidebar_link_presenter.rb @@ -44,7 +44,7 @@ def get_active_state_from_controller ...
Allow multiple controllers on links
diff --git a/bin/cleanup_old_execution_histories.rb b/bin/cleanup_old_execution_histories.rb index abc1234..def5678 100644 --- a/bin/cleanup_old_execution_histories.rb +++ b/bin/cleanup_old_execution_histories.rb @@ -0,0 +1,9 @@+old_histories = Kuroko2::ExecutionHistory.where('finished_at < ?', 2.weeks.ago) + +count = ...
Add script to cleanup old execution histories
diff --git a/UINavigationItem+Margin.podspec b/UINavigationItem+Margin.podspec index abc1234..def5678 100644 --- a/UINavigationItem+Margin.podspec +++ b/UINavigationItem+Margin.podspec @@ -10,5 +10,5 @@ s.frameworks = 'UIKit' s.requires_arc = true - s.ios.deployment_target = '6.0' + s.ios.deployment_...
Update deployment target to 7.0
diff --git a/prius.gemspec b/prius.gemspec index abc1234..def5678 100644 --- a/prius.gemspec +++ b/prius.gemspec @@ -22,5 +22,5 @@ spec.add_development_dependency "rspec", "~> 3.1" spec.add_development_dependency "rubocop", "~> 0.54.0" - spec.add_development_dependency "rspec_junit_formatter", "~> 0.3.0" + spe...
Update rspec_junit_formatter requirement to ~> 0.4.0 Updates the requirements on [rspec_junit_formatter](https://github.com/sj26/rspec_junit_formatter) to permit the latest version. - [Release notes](https://github.com/sj26/rspec_junit_formatter/releases) - [Commits](https://github.com/sj26/rspec_junit_formatter/commi...
diff --git a/lib/buildr_plus/common.rb b/lib/buildr_plus/common.rb index abc1234..def5678 100644 --- a/lib/buildr_plus/common.rb +++ b/lib/buildr_plus/common.rb @@ -18,7 +18,7 @@ require 'buildr/git_auto_version' require 'buildr/top_level_generate_dir' -BuildrPlus::FeatureManager.activate_features([:repositories, :i...
Make sure whitespace and gitignore features are activated
diff --git a/lib/config/wdtk-routes.rb b/lib/config/wdtk-routes.rb index abc1234..def5678 100644 --- a/lib/config/wdtk-routes.rb +++ b/lib/config/wdtk-routes.rb @@ -1,6 +1,8 @@ # Here you can override or add to the pages in the core website Rails.application.routes.draw do + get '/london' => redirect('/body?tag=lon...
Add redirect for /london authorities This mirrors the behaviour of `GET /local/london`. Eventually we'll want to make `/london` a landing page in its own right, but this just makes the URL accessible in case we want to get it out in to marketing material. See https://github.com/mysociety/whatdotheyknow-theme/issues/...
diff --git a/lib/engineyard/version.rb b/lib/engineyard/version.rb index abc1234..def5678 100644 --- a/lib/engineyard/version.rb +++ b/lib/engineyard/version.rb @@ -1,4 +1,4 @@ module EY - VERSION = '2.0.7' + VERSION = '2.0.8.pre' ENGINEYARD_SERVERSIDE_VERSION = ENV['ENGINEYARD_SERVERSIDE_VERSION'] || '2.0.3' end...
Add .pre for next release
diff --git a/Casks/iterm2-beta.rb b/Casks/iterm2-beta.rb index abc1234..def5678 100644 --- a/Casks/iterm2-beta.rb +++ b/Casks/iterm2-beta.rb @@ -1,7 +1,7 @@ class Iterm2Beta < Cask - url 'http://www.iterm2.com/downloads/beta/iTerm2-1_0_0_20131218.zip' + url 'http://www.iterm2.com/downloads/beta/iTerm2-1_0_0_20131228....
Update iterm2 version to 20131228
diff --git a/Casks/omnigraffle.rb b/Casks/omnigraffle.rb index abc1234..def5678 100644 --- a/Casks/omnigraffle.rb +++ b/Casks/omnigraffle.rb @@ -14,7 +14,7 @@ end name 'OmniGraffle' - homepage 'http://www.omnigroup.com/products/omnigraffle' + homepage 'https://www.omnigroup.com/omnigraffle/' license :commer...
Fix homepage to use SSL in OmniGraffle Cask The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly makes it more secure and saves a HTTP round-trip.
diff --git a/TABSwiftLayout.podspec b/TABSwiftLayout.podspec index abc1234..def5678 100644 --- a/TABSwiftLayout.podspec +++ b/TABSwiftLayout.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'TABSwiftLayout' - s.version = '4.0.0' + s.version = '4.0.1' s.platforms = { :ios => "8.0", :os...
Set podspec version to 4.0.1
diff --git a/app/controllers/benchmark_runs_controller.rb b/app/controllers/benchmark_runs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/benchmark_runs_controller.rb +++ b/app/controllers/benchmark_runs_controller.rb @@ -1,7 +1,8 @@ class BenchmarkRunsController < APIController def create - re...
PERF: Reduce to one SQL call.
diff --git a/app/controllers/course_classes_controller.rb b/app/controllers/course_classes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/course_classes_controller.rb +++ b/app/controllers/course_classes_controller.rb @@ -15,10 +15,10 @@ config.columns[:year].options = {:options => ((Date.today.y...
Add Allocations form into Course Classes create form
diff --git a/lib/green-button-data/parser/summary_measurement.rb b/lib/green-button-data/parser/summary_measurement.rb index abc1234..def5678 100644 --- a/lib/green-button-data/parser/summary_measurement.rb +++ b/lib/green-button-data/parser/summary_measurement.rb @@ -2,20 +2,30 @@ module Parser class SummaryMea...
Fix bug and add ESPI namespace
diff --git a/app/controllers/fixes_controller.rb b/app/controllers/fixes_controller.rb index abc1234..def5678 100644 --- a/app/controllers/fixes_controller.rb +++ b/app/controllers/fixes_controller.rb @@ -4,11 +4,11 @@ protect_from_forgery with: :null_session, if: Proc.new { |c| c.request.format == 'application/json'...
Fix bug where fix_controller only looks at fix id. When issue id and fix id in the URL do not match user is now redirected to the dashboard.
diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index abc1234..def5678 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -7,8 +7,8 @@ @last_newsletter = Newsletter.last @upcoming_events = Event.upcoming - flash[:warning] = ...
Change alert message on homepage
diff --git a/lib/simctl/device_path.rb b/lib/simctl/device_path.rb index abc1234..def5678 100644 --- a/lib/simctl/device_path.rb +++ b/lib/simctl/device_path.rb @@ -17,7 +17,11 @@ end def launchctl - @launchctl ||= File.join(runtime_root, 'bin/launchctl') + @launchctl ||= if Xcode::Version.gte? '9....
Update launchctl location for Xcode 9
diff --git a/lib/sqlize/definitions.rb b/lib/sqlize/definitions.rb index abc1234..def5678 100644 --- a/lib/sqlize/definitions.rb +++ b/lib/sqlize/definitions.rb @@ -16,7 +16,7 @@ end def template(qname) - qname.split('/')[1..-1].inject(defs){|m,k| m[k]} + qname.split('/')[1..-1].inject(defs){|m,k| ...
Raise even when last one is missing
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index abc1234..def5678 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -14,6 +14,15 @@ @errors = @user.errors.full_messages render 'new' end + end + + def join_from_in...
Call new user form from invitation