diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/mobility/backend/active_record/column/query_methods.rb b/lib/mobility/backend/active_record/column/query_methods.rb index abc1234..def5678 100644 --- a/lib/mobility/backend/active_record/column/query_methods.rb +++ b/lib/mobility/backend/active_record/column/query_methods.rb @@ -4,13 +4,16 @@ def...
Refactor AR Column backend QueryMethods class
diff --git a/test/integration/remote_install_test/serverspec/install_spec.rb b/test/integration/remote_install_test/serverspec/install_spec.rb index abc1234..def5678 100644 --- a/test/integration/remote_install_test/serverspec/install_spec.rb +++ b/test/integration/remote_install_test/serverspec/install_spec.rb @@ -4,6...
Fix Rubocop style error in integration test
diff --git a/connectwise_sdk.gemspec b/connectwise_sdk.gemspec index abc1234..def5678 100644 --- a/connectwise_sdk.gemspec +++ b/connectwise_sdk.gemspec @@ -19,8 +19,8 @@ spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake" - spec.add_develop...
Update gemspec to specify versions of dev dependencies
diff --git a/app/views/api/v1/performances/index.json.jbuilder b/app/views/api/v1/performances/index.json.jbuilder index abc1234..def5678 100644 --- a/app/views/api/v1/performances/index.json.jbuilder +++ b/app/views/api/v1/performances/index.json.jbuilder @@ -1,14 +1,14 @@ json.array! @performances do |performance| ...
Use camelCase in /performances API response
diff --git a/lib/locations_ng/city.rb b/lib/locations_ng/city.rb index abc1234..def5678 100644 --- a/lib/locations_ng/city.rb +++ b/lib/locations_ng/city.rb @@ -1,36 +1,27 @@ module LocationsNg class City - @@all_cities + @all_cities = LoadFile.read('cities') class << self def all - load_c...
Refactor City class to use new LoadFile class, and use instance vars.
diff --git a/lib/slocstar/settings.rb b/lib/slocstar/settings.rb index abc1234..def5678 100644 --- a/lib/slocstar/settings.rb +++ b/lib/slocstar/settings.rb @@ -30,7 +30,12 @@ def repos - @repos ||= ENV['SLOCSTAR_REPOS'] || Dir.mktmpdir('slocstar-') + unless @repos + @repos = ENV['SLOCSTAR_REPO...
Fix default path to slocstar repos
diff --git a/daimon_news_blog/daimon_news_blog.gemspec b/daimon_news_blog/daimon_news_blog.gemspec index abc1234..def5678 100644 --- a/daimon_news_blog/daimon_news_blog.gemspec +++ b/daimon_news_blog/daimon_news_blog.gemspec @@ -9,9 +9,9 @@ s.version = DaimonNewsBlog::VERSION s.authors = ["Masafumi Yokoyam...
Remove TODO in gemspec to build gem
diff --git a/spec/govuk_mirrorer/mirrorer_spec.rb b/spec/govuk_mirrorer/mirrorer_spec.rb index abc1234..def5678 100644 --- a/spec/govuk_mirrorer/mirrorer_spec.rb +++ b/spec/govuk_mirrorer/mirrorer_spec.rb @@ -0,0 +1,15 @@+require 'spec_helper' + +describe GovukMirrorer do + + describe "top-level run method" do + it...
Add spec for top-level run method
diff --git a/spec/services/deal_all_cards_spec.rb b/spec/services/deal_all_cards_spec.rb index abc1234..def5678 100644 --- a/spec/services/deal_all_cards_spec.rb +++ b/spec/services/deal_all_cards_spec.rb @@ -0,0 +1,25 @@+require 'pp' +require 'rails_helper' + +RSpec.describe DealAllCards do + DECK_SIZE = 43 + + desc...
Add RSpec test for DealAllCards
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index abc1234..def5678 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -1,3 +1,4 @@+# Encoding: utf-8 # Be sure to restart your server when you modify this file. # Add new mime types for use ...
Clean up MIME types script
diff --git a/ordering/assigner.rb b/ordering/assigner.rb index abc1234..def5678 100644 --- a/ordering/assigner.rb +++ b/ordering/assigner.rb @@ -32,7 +32,6 @@ state do scratch :holder, [:array] - scratch :holder2, [:array] end bloom :grouping do
Remove unused collection from AggAssign.
diff --git a/core/process/detach_spec.rb b/core/process/detach_spec.rb index abc1234..def5678 100644 --- a/core/process/detach_spec.rb +++ b/core/process/detach_spec.rb @@ -5,12 +5,17 @@ platform_is_not :windows do it "returns a thread" do pid = Process.fork { Process.exit! } - Process.detach(pid).sh...
Make sure we join the returned thread before continuing
diff --git a/spec/includes/pages_controller_include_spec.rb b/spec/includes/pages_controller_include_spec.rb index abc1234..def5678 100644 --- a/spec/includes/pages_controller_include_spec.rb +++ b/spec/includes/pages_controller_include_spec.rb @@ -1,15 +1,11 @@ require 'spec_helper' -class TestPagesController < Appl...
Test controller page includes by means of real application controller spec
diff --git a/app/controllers/blogs_controller.rb b/app/controllers/blogs_controller.rb index abc1234..def5678 100644 --- a/app/controllers/blogs_controller.rb +++ b/app/controllers/blogs_controller.rb @@ -1,9 +1,9 @@ class BlogsController < ApplicationController before_filter :authenticate_user! + before_filter :ge...
Add show_all Action to Blogs Controller Update the Blogs controller to include a show_all action.
diff --git a/app/controllers/check_controller.rb b/app/controllers/check_controller.rb index abc1234..def5678 100644 --- a/app/controllers/check_controller.rb +++ b/app/controllers/check_controller.rb @@ -3,11 +3,23 @@ class CheckController < ApplicationController def index url = sanitized_url + target = par...
Add new parameter to check command
diff --git a/app/controllers/flags_controller.rb b/app/controllers/flags_controller.rb index abc1234..def5678 100644 --- a/app/controllers/flags_controller.rb +++ b/app/controllers/flags_controller.rb @@ -32,7 +32,9 @@ def update flag = Flag.find(params[:id]) flag.update_attributes(flag_params) - redirec...
Prepare to handle JS updates.
diff --git a/app/controllers/stats_controller.rb b/app/controllers/stats_controller.rb index abc1234..def5678 100644 --- a/app/controllers/stats_controller.rb +++ b/app/controllers/stats_controller.rb @@ -2,9 +2,9 @@ def show shas = params[:repos].to_s.split(',') repos = if shas.present? - Repository.w...
Return repository full name in stats controller
diff --git a/Casks/iterm2-nightly.rb b/Casks/iterm2-nightly.rb index abc1234..def5678 100644 --- a/Casks/iterm2-nightly.rb +++ b/Casks/iterm2-nightly.rb @@ -1,8 +1,8 @@ cask :v1 => 'iterm2-nightly' do - version :latest - sha256 :no_check + version '2_9_20151006' + sha256 '1b066544e3c2507c0ec43d6999ed5b450589651fc51...
Switch Iterm2 Nightly to versioned download
diff --git a/app/models/restaurant/daily_menu.rb b/app/models/restaurant/daily_menu.rb index abc1234..def5678 100644 --- a/app/models/restaurant/daily_menu.rb +++ b/app/models/restaurant/daily_menu.rb @@ -10,7 +10,7 @@ def self.broadcast of_today.group_by(&:restaurant).each_pair do |restaurant, daily_menus...
Use mutable string for broadcast message
diff --git a/app/policies/conversation_policy.rb b/app/policies/conversation_policy.rb index abc1234..def5678 100644 --- a/app/policies/conversation_policy.rb +++ b/app/policies/conversation_policy.rb @@ -1,6 +1,10 @@ class ConversationPolicy < ApplicationPolicy def show? @record.users.include? @user + end + +...
Add a pundit policy to authorize conversation creation
diff --git a/Casks/revisions-beta.rb b/Casks/revisions-beta.rb index abc1234..def5678 100644 --- a/Casks/revisions-beta.rb +++ b/Casks/revisions-beta.rb @@ -0,0 +1,11 @@+cask :v1 => 'revisions-beta' do + version '2.1-r928' + sha256 'fb91a2dd876becd034445813bac037cf99cb4f3691f2d140c6425fe52427789f' + + url "https://r...
Add Revisions beta version 2.1 This commit adds a new cask for the Revisions app. I haven't included a comment to say where the download link was obtained as it is from a public page on the vendor site: https://www.revisionsapp.com/releases
diff --git a/sastrawi.gemspec b/sastrawi.gemspec index abc1234..def5678 100644 --- a/sastrawi.gemspec +++ b/sastrawi.gemspec @@ -6,7 +6,7 @@ Gem::Specification.new do |spec| spec.name = "sastrawi" spec.version = Sastrawi::VERSION - spec.required_ruby_version = ">= 1.9.3" + spec.required_ruby_vers...
Use Ruby 2.4.5 as the minimum Ruby required version
diff --git a/test/test_yuimaru.rb b/test/test_yuimaru.rb index abc1234..def5678 100644 --- a/test/test_yuimaru.rb +++ b/test/test_yuimaru.rb @@ -2,7 +2,7 @@ class TestYuimaru < Test::Unit::TestCase def test_sequence - seq = Yuimaru.sequence(<<~SEQ) + seq = Yuimaru.sequence(<<-SEQ) # assign $_ should b...
Update test for ruby 2.2, 2.1
diff --git a/plastic_wrap.gemspec b/plastic_wrap.gemspec index abc1234..def5678 100644 --- a/plastic_wrap.gemspec +++ b/plastic_wrap.gemspec @@ -17,5 +17,5 @@ gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] gem.add_dependency('actionpack', '~> 3.2.0') - gem.add_depend...
Use correct name for active_support which doesn't follow standards
diff --git a/MBContactPicker.podspec b/MBContactPicker.podspec index abc1234..def5678 100644 --- a/MBContactPicker.podspec +++ b/MBContactPicker.podspec @@ -12,19 +12,20 @@ our company used in the past. My main goal when I created this library was to build something that behaved a...
Add UIKit as a framework dependency
diff --git a/migrate_storage_size_from_metadata.rb b/migrate_storage_size_from_metadata.rb index abc1234..def5678 100644 --- a/migrate_storage_size_from_metadata.rb +++ b/migrate_storage_size_from_metadata.rb @@ -0,0 +1,95 @@+#!/usr/bin/env ruby + +require "rubygems" +require "bundler/setup" +require "rest_client" +req...
Add a script to calculate a user's storage size from the metadata... ... And write it to Redis Usage: ENVIRONMENT=development ./migrate_storage_size_from_metadata.rb username
diff --git a/Lasagna-Cookies.podspec b/Lasagna-Cookies.podspec index abc1234..def5678 100644 --- a/Lasagna-Cookies.podspec +++ b/Lasagna-Cookies.podspec @@ -6,7 +6,7 @@ s.screenshots = "https://a248.e.akamai.net/camo.github.com/2c2a1ef5202365d376ace3d003c9b293894d0cd2/687474703a2f2f692e696d6775722e636f6d2f4e47565467...
Correct of cocoapod config file
diff --git a/lib/chef/knife/cloudformation_validate.rb b/lib/chef/knife/cloudformation_validate.rb index abc1234..def5678 100644 --- a/lib/chef/knife/cloudformation_validate.rb +++ b/lib/chef/knife/cloudformation_validate.rb @@ -15,6 +15,7 @@ def run file = load_template_file ui.info "#{ui.color...
Scrub parameters prior to validation
diff --git a/db/migrate/20161218150218_add_epix_fields_to_sandbox_template.rb b/db/migrate/20161218150218_add_epix_fields_to_sandbox_template.rb index abc1234..def5678 100644 --- a/db/migrate/20161218150218_add_epix_fields_to_sandbox_template.rb +++ b/db/migrate/20161218150218_add_epix_fields_to_sandbox_template.rb @@ ...
Add epix timestamps and created/updated by to sandbox
diff --git a/spec/features/creating_team_spec.rb b/spec/features/creating_team_spec.rb index abc1234..def5678 100644 --- a/spec/features/creating_team_spec.rb +++ b/spec/features/creating_team_spec.rb @@ -8,4 +8,5 @@ When { click_link_or_button "Create Team" } Then { expect(Team.find_by(name: "Team A")).to be_pe...
Make sure that current account is the leader of the team
diff --git a/lib/gemstash/migrations/03_cached_gems.rb b/lib/gemstash/migrations/03_cached_gems.rb index abc1234..def5678 100644 --- a/lib/gemstash/migrations/03_cached_gems.rb +++ b/lib/gemstash/migrations/03_cached_gems.rb @@ -17,7 +17,7 @@ String :resource_type, size: 191, null: false DateTime :created_...
Move resource_type up in the index
diff --git a/spec/griddler/configuration_spec.rb b/spec/griddler/configuration_spec.rb index abc1234..def5678 100644 --- a/spec/griddler/configuration_spec.rb +++ b/spec/griddler/configuration_spec.rb @@ -23,17 +23,13 @@ end it 'stores a processor_class' do - class DummyProcessor - def self.proce...
Use local state for testing This avoids creating a globally-available class.
diff --git a/lib/magellan/gcs/proxy/expand_variable.rb b/lib/magellan/gcs/proxy/expand_variable.rb index abc1234..def5678 100644 --- a/lib/magellan/gcs/proxy/expand_variable.rb +++ b/lib/magellan/gcs/proxy/expand_variable.rb @@ -7,7 +7,7 @@ class InvalidReferenceError < StandardError end - + ...
:shirt: Use tertiary operator instead of if statement
diff --git a/spec/unit/advance_spec.rb b/spec/unit/advance_spec.rb index abc1234..def5678 100644 --- a/spec/unit/advance_spec.rb +++ b/spec/unit/advance_spec.rb @@ -0,0 +1,23 @@+# coding: utf-8 + +require 'spec_helper' + +RSpec.describe TTY::ProgressBar, '.advance' do + let(:output) { StringIO.new('', 'w+') } + + it ...
Add tests for advance behaviour.
diff --git a/lib/rails_dev_tweaks/granular_autoload/matchers/asset_matcher.rb b/lib/rails_dev_tweaks/granular_autoload/matchers/asset_matcher.rb index abc1234..def5678 100644 --- a/lib/rails_dev_tweaks/granular_autoload/matchers/asset_matcher.rb +++ b/lib/rails_dev_tweaks/granular_autoload/matchers/asset_matcher.rb @@ ...
Fix routing-filter params being lost by duplicating the route set before calling recognize.
diff --git a/spec/support/oauth.rb b/spec/support/oauth.rb index abc1234..def5678 100644 --- a/spec/support/oauth.rb +++ b/spec/support/oauth.rb @@ -2,8 +2,9 @@ def construct_oauth_service(model) FakeWeb.allow_net_connect = false qb_key = "key" + qb_secret = "secreet" @realm_id = "9991111222" - @oauth_consum...
Add back qb_secret from recent PR but instead properly pass it in as the second arg of OAuth::Consumer.new
diff --git a/app/controllers/admin/edition_world_locations_controller.rb b/app/controllers/admin/edition_world_locations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/edition_world_locations_controller.rb +++ b/app/controllers/admin/edition_world_locations_controller.rb @@ -5,7 +5,7 @@ def...
Revert "Reorder documents so featuring a doc is quicker" This reverts commit a919267e98a439193757a9578f639f9cebaefe8b.
diff --git a/lib/rspec-2/rails/generators/install_generator.rb b/lib/rspec-2/rails/generators/install_generator.rb index abc1234..def5678 100644 --- a/lib/rspec-2/rails/generators/install_generator.rb +++ b/lib/rspec-2/rails/generators/install_generator.rb @@ -25,7 +25,6 @@ end def manifest - empty_dire...
Remove wrong directory being created in the install generator
diff --git a/lib/transition/import/mappings_from_host_paths.rb b/lib/transition/import/mappings_from_host_paths.rb index abc1234..def5678 100644 --- a/lib/transition/import/mappings_from_host_paths.rb +++ b/lib/transition/import/mappings_from_host_paths.rb @@ -8,9 +8,10 @@ def self.refresh!(site) start '...
Fix mappings from host paths * We really need the GROUP BY, and the way we tell Postgres that the path is effectively represented by the hash is to use MIN as the aggregate. We can no longer use #pluck as this will affect the SELECTed field, but we can get the same behaviour by simple #map.
diff --git a/lib/travis/enqueue/services/enqueue_jobs/limit.rb b/lib/travis/enqueue/services/enqueue_jobs/limit.rb index abc1234..def5678 100644 --- a/lib/travis/enqueue/services/enqueue_jobs/limit.rb +++ b/lib/travis/enqueue/services/enqueue_jobs/limit.rb @@ -22,7 +22,7 @@ private def running ...
Improve one of the queries related to queueing
diff --git a/week-5/acct_groups.rb b/week-5/acct_groups.rb index abc1234..def5678 100644 --- a/week-5/acct_groups.rb +++ b/week-5/acct_groups.rb @@ -0,0 +1,22 @@+# In this challenge, you will make your own method to automatically create accountability groups from a list of names. You'll want to make of the People in yo...
Add the acct_group file with solution
diff --git a/app/models/chouette/timeband.rb b/app/models/chouette/timeband.rb index abc1234..def5678 100644 --- a/app/models/chouette/timeband.rb +++ b/app/models/chouette/timeband.rb @@ -14,6 +14,8 @@ validates :start_time, :end_time, presence: true validates_with TimebandValidator + default_scope { ord...
Add default order for Timebands
diff --git a/Casks/lytro-desktop.rb b/Casks/lytro-desktop.rb index abc1234..def5678 100644 --- a/Casks/lytro-desktop.rb +++ b/Casks/lytro-desktop.rb @@ -1,11 +1,11 @@ cask :v1 => 'lytro-desktop' do - version '4.2.1' - sha256 '5ebe2cdd0b80749f3ad97fd319ab6c4cea4045f6705d10ce28b191935bbf561b' + version '4.3.1' + sha2...
Update Lytro Desktop to 4.3.1
diff --git a/app/models/spree/license_key.rb b/app/models/spree/license_key.rb index abc1234..def5678 100644 --- a/app/models/spree/license_key.rb +++ b/app/models/spree/license_key.rb @@ -7,6 +7,7 @@ attr_accessible :license_key, :inventory_unit_id, :variant_id scope :available, where(inventory_unit_id: nil...
Add scope for used license keys. Change-Id: Ie9a3eb9ebf3b137a5ad72e9c3c07e6f8634251a9
diff --git a/lib/appsignal/integrations/sinatra.rb b/lib/appsignal/integrations/sinatra.rb index abc1234..def5678 100644 --- a/lib/appsignal/integrations/sinatra.rb +++ b/lib/appsignal/integrations/sinatra.rb @@ -1,3 +1,5 @@+require 'appsignal' + Appsignal.logger.info('Loading Sinatra integration') app_settings = :...
Add appsignal require to Sinatra integration
diff --git a/lib/cloud_conductor/stack_observer.rb b/lib/cloud_conductor/stack_observer.rb index abc1234..def5678 100644 --- a/lib/cloud_conductor/stack_observer.rb +++ b/lib/cloud_conductor/stack_observer.rb @@ -30,13 +30,12 @@ Log.debug ' Status is CREATE_COMPLETE' outputs = system.outputs - ...
Change check logic to notice a completion of stack
diff --git a/spec/lib/nil_spec.rb b/spec/lib/nil_spec.rb index abc1234..def5678 100644 --- a/spec/lib/nil_spec.rb +++ b/spec/lib/nil_spec.rb @@ -2,7 +2,7 @@ describe NilClass do it "should respond to entitle" do - expect(nil.entitle).to eq nil + expect(nil.entitle).to eq '' end it "should respond to ...
Fix nil spec for entitle.
diff --git a/spec_support.gemspec b/spec_support.gemspec index abc1234..def5678 100644 --- a/spec_support.gemspec +++ b/spec_support.gemspec @@ -15,9 +15,7 @@ s.description = "Add useful spec/support functionalities that come back in each project" s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rake...
Correct the dependencies in the gemspec
diff --git a/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb b/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb index abc1234..def5678 100644 --- a/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb +++ b/lib/two_factor_authentication/hooks/two_factor_authenticatable.rb...
Fix crash in warden hook It seems that in some cases `action_dispatch.cookies` is not set in the environment during the `after_authentication` hook.
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb index abc1234..def5678 100644 --- a/config/initializers/i18n.rb +++ b/config/initializers/i18n.rb @@ -2,4 +2,4 @@ I18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')] I18n.default_locale = :de I18n::Backend::Simple.send(...
Use memory store fir I18n caching.
diff --git a/app/models/api_scope.rb b/app/models/api_scope.rb index abc1234..def5678 100644 --- a/app/models/api_scope.rb +++ b/app/models/api_scope.rb @@ -19,7 +19,7 @@ validates :host, :presence => true, :format => { - :with => CommonValidations::HOST_FORMAT, + :with => CommonValidations::HOST_...
Fix so API scopes can be created for wildcard hosts. https://github.com/18F/api.data.gov/issues/249
diff --git a/lib/tic_tac_toe_ai/computer_player.rb b/lib/tic_tac_toe_ai/computer_player.rb index abc1234..def5678 100644 --- a/lib/tic_tac_toe_ai/computer_player.rb +++ b/lib/tic_tac_toe_ai/computer_player.rb @@ -1,12 +1,16 @@ class ComputerPlayer - attr_accessor :minimax + attr_accessor :minimax, :char - def init...
Add char attribute back to computer player
diff --git a/PromiseSignals.podspec b/PromiseSignals.podspec index abc1234..def5678 100644 --- a/PromiseSignals.podspec +++ b/PromiseSignals.podspec @@ -8,9 +8,9 @@ s.description = 'Extends PromiseKit with Signals that can resolve multiple times. Based on PromiseKit.' s.license = { :type => 'MIT', :file =>...
Fix source tag in podspec
diff --git a/spec/factories/jobs.rb b/spec/factories/jobs.rb index abc1234..def5678 100644 --- a/spec/factories/jobs.rb +++ b/spec/factories/jobs.rb @@ -6,7 +6,7 @@ title { Faker::Lorem.sentence } description { Faker::Lorem.paragraph } - trait :draft_job do + trait :draft do state :draft ...
Fix name of draft job trait
diff --git a/sample/basic/channels/main_channel.rb b/sample/basic/channels/main_channel.rb index abc1234..def5678 100644 --- a/sample/basic/channels/main_channel.rb +++ b/sample/basic/channels/main_channel.rb @@ -14,37 +14,33 @@ # tick_note 24, 47 # B # tick_note 28, 48 # C - tick_note 0, 36 - tick_not...
Fix basic sample for latest changes
diff --git a/jsonapi-matchers.gemspec b/jsonapi-matchers.gemspec index abc1234..def5678 100644 --- a/jsonapi-matchers.gemspec +++ b/jsonapi-matchers.gemspec @@ -21,6 +21,7 @@ spec.add_dependency "activesupport", ">= 4.0", "< 6" spec.add_dependency "awesome_print" + spec.add_development_dependency "bump", "~> 0....
Add 'bump' gem to make versioning easier.
diff --git a/spec/active_set/sort/processor_spec.rb b/spec/active_set/sort/processor_spec.rb index abc1234..def5678 100644 --- a/spec/active_set/sort/processor_spec.rb +++ b/spec/active_set/sort/processor_spec.rb @@ -0,0 +1,114 @@+# frozen_string_literal: true + +require 'spec_helper' +require 'ostruct' + +RSpec.descri...
Add back the accidentally deleted spec
diff --git a/jekyll-invoice.gemspec b/jekyll-invoice.gemspec index abc1234..def5678 100644 --- a/jekyll-invoice.gemspec +++ b/jekyll-invoice.gemspec @@ -21,7 +21,7 @@ spec.add_runtime_dependency "jekyll", "~> 3.3.0" - spec.add_development_dependency "bundler", "~> 1.5" + spec.add_development_dependency "bundler...
Update bundler requirement from ~> 1.5 to ~> 2.0 Updates the requirements on [bundler](https://github.com/bundler/bundler) to permit the latest version. - [Release notes](https://github.com/bundler/bundler/releases) - [Changelog](https://github.com/bundler/bundler/blob/master/CHANGELOG.md) - [Commits](https://github.c...
diff --git a/_plugins/mesos-video.rb b/_plugins/mesos-video.rb index abc1234..def5678 100644 --- a/_plugins/mesos-video.rb +++ b/_plugins/mesos-video.rb @@ -7,7 +7,7 @@ end def render(context) - "<div class=\"video-lecture-container\"><iframe class=\"smart-player-embed-container-iframe\" id=\"embeddedSm...
Use correct URL for https
diff --git a/rack-ip_address_restriction.gemspec b/rack-ip_address_restriction.gemspec index abc1234..def5678 100644 --- a/rack-ip_address_restriction.gemspec +++ b/rack-ip_address_restriction.gemspec @@ -22,4 +22,5 @@ spec.add_development_dependency "bundler", "~> 1.12" spec.add_development_dependency "rake", "~>...
Add development dependency rack-contrib to test.
diff --git a/saltstack/test/spec/server/nodejs_spec.rb b/saltstack/test/spec/server/nodejs_spec.rb index abc1234..def5678 100644 --- a/saltstack/test/spec/server/nodejs_spec.rb +++ b/saltstack/test/spec/server/nodejs_spec.rb @@ -2,10 +2,15 @@ describe 'nodejs' do describe command('/usr/bin/node -v') do - its(:s...
Update tests for nodejs 8 and nvm
diff --git a/delayed_job_mongoid.gemspec b/delayed_job_mongoid.gemspec index abc1234..def5678 100644 --- a/delayed_job_mongoid.gemspec +++ b/delayed_job_mongoid.gemspec @@ -14,7 +14,7 @@ s.require_paths = ['lib'] s.test_files = Dir.glob('spec/**/*') - s.add_runtime_dependency 'mongoid', '~>...
Update for the mongoid release candiate.
diff --git a/lib/airplay/server/browser.rb b/lib/airplay/server/browser.rb index abc1234..def5678 100644 --- a/lib/airplay/server/browser.rb +++ b/lib/airplay/server/browser.rb @@ -11,19 +11,24 @@ def self.browse @servers = [] - DNSSD.browse!(Airplay::Protocol::SEARCH) do |reply| - resolver = DNSSD::Se...
Add timeout when doing lookup
diff --git a/walmart_open.gemspec b/walmart_open.gemspec index abc1234..def5678 100644 --- a/walmart_open.gemspec +++ b/walmart_open.gemspec @@ -19,7 +19,6 @@ spec.require_paths = ["lib"] spec.add_dependency "httparty", "~> 0.10" - spec.add_dependency "addressable", "~> 2.0" spec.add_development_dependency...
Remove addressable gem, we don't need it
diff --git a/lib/elocal_capistrano/puma.rb b/lib/elocal_capistrano/puma.rb index abc1234..def5678 100644 --- a/lib/elocal_capistrano/puma.rb +++ b/lib/elocal_capistrano/puma.rb @@ -1,21 +1,22 @@ Capistrano::Configuration.instance.load do + set(:puma_application_name) { "#{application}_puma" } namespace :puma do ...
Allow application name configuration, use reload
diff --git a/lib/hal_client/retryinator.rb b/lib/hal_client/retryinator.rb index abc1234..def5678 100644 --- a/lib/hal_client/retryinator.rb +++ b/lib/hal_client/retryinator.rb @@ -1,6 +1,14 @@ require 'hal_client/null_logger' class HalClient + + # Retries http requests that meet certain conditions -- we want to re...
Add class comment to Retryinator class
diff --git a/tasks/build-binary/run.rb b/tasks/build-binary/run.rb index abc1234..def5678 100644 --- a/tasks/build-binary/run.rb +++ b/tasks/build-binary/run.rb @@ -1,7 +1,7 @@ #!/usr/bin/env ruby # encoding: utf-8 -task_root_dir = File.expand_path(File.join(File.dirname(__FILE__), '..','..')) +task_root_dir = File....
Fix relative pathing for build-binary script [#126369115]
diff --git a/lib/logstash-logger/device.rb b/lib/logstash-logger/device.rb index abc1234..def5678 100644 --- a/lib/logstash-logger/device.rb +++ b/lib/logstash-logger/device.rb @@ -15,6 +15,7 @@ autoload :Stdout, 'logstash-logger/device/stdout' def self.new(opts) + opts = opts.dup type = opts.del...
Update Device.new to not mutate passed options This fixes an issue I was having were part of my configuration was being deleted once it got into this method.
diff --git a/test/unit/wdpa/pame_importer_test.rb b/test/unit/wdpa/pame_importer_test.rb index abc1234..def5678 100644 --- a/test/unit/wdpa/pame_importer_test.rb +++ b/test/unit/wdpa/pame_importer_test.rb @@ -31,8 +31,5 @@ pame_evaluations = PameEvaluation.all assert_equal 9, pame_evaluations.count - - hi...
Remove unnecessary part of the test (cherry picked from commit e4538e6f0f97dac3ecd4185e9f4ec0163ea4e3a1)
diff --git a/test/test_faker_number.rb b/test/test_faker_number.rb index abc1234..def5678 100644 --- a/test/test_faker_number.rb +++ b/test/test_faker_number.rb @@ -5,16 +5,20 @@ def setup @tester = Faker::Number end - + def test_number assert @tester.number(10).match(/[0-9]{10}/) + 10.times do |...
Test correct number of digits Added test from https://github.com/stympy/faker/pull/147 that verifies behavior in 722041c
diff --git a/lib/framework/version.rb b/lib/framework/version.rb index abc1234..def5678 100644 --- a/lib/framework/version.rb +++ b/lib/framework/version.rb @@ -3,7 +3,7 @@ # ** DO NOT CHANGE THE FOLLOWING UNLESS YOU KNOW WHAT YOU'RE DOING!! ** CORE = 'core-six' MAJOR = '4.00' - MINOR = '156' + MINOR ...
Update build revision for previous commit
diff --git a/Casks/android-studio.rb b/Casks/android-studio.rb index abc1234..def5678 100644 --- a/Casks/android-studio.rb +++ b/Casks/android-studio.rb @@ -1,7 +1,7 @@ class AndroidStudio < Cask - url 'http://dl.google.com/dl/android/studio/ide-zips/0.5.2/android-studio-ide-135.1078000-mac.zip' + url 'http://dl.goog...
Upgrade Android Studio.app to v0.5.3 build-135.1092050
diff --git a/lib/tasks/scheduler.rake b/lib/tasks/scheduler.rake index abc1234..def5678 100644 --- a/lib/tasks/scheduler.rake +++ b/lib/tasks/scheduler.rake @@ -0,0 +1,14 @@+desc "This task is called hourly to sync github data" + +task :sync_github_data => :environment do + puts "Updating github user data..." + + max...
Add rake task to sync user data from github
diff --git a/lib/bra/baps/models.rb b/lib/bra/baps/models.rb index abc1234..def5678 100644 --- a/lib/bra/baps/models.rb +++ b/lib/bra/baps/models.rb @@ -17,6 +17,8 @@ def create root do + log :log + hash :x_baps, :x_baps do hash :server, :x_baps_server do ...
Add logger to BAPS model.
diff --git a/spec/airbrush/publishers/memcache_spec.rb b/spec/airbrush/publishers/memcache_spec.rb index abc1234..def5678 100644 --- a/spec/airbrush/publishers/memcache_spec.rb +++ b/spec/airbrush/publishers/memcache_spec.rb @@ -34,7 +34,7 @@ it 'should calculate a unique memcache queue name for publishing results' ...
Update spec following queue name change git-svn-id: 6d9b9a8f21f96071dc3ac7ff320f08f2a342ec80@31 daa9635f-4444-0410-9b3d-b8c75a019348
diff --git a/lib/dmm-ruby/client.rb b/lib/dmm-ruby/client.rb index abc1234..def5678 100644 --- a/lib/dmm-ruby/client.rb +++ b/lib/dmm-ruby/client.rb @@ -4,10 +4,10 @@ require 'faraday_middleware' module DMM + API_URL = 'http://affiliate-api.dmm.com' + API_VERSION = '2.00' + class Client - API_URL = '...
Move constants to upward namespace.
diff --git a/spec/unit/ducktrap/formatter/body_spec.rb b/spec/unit/ducktrap/formatter/body_spec.rb index abc1234..def5678 100644 --- a/spec/unit/ducktrap/formatter/body_spec.rb +++ b/spec/unit/ducktrap/formatter/body_spec.rb @@ -0,0 +1,19 @@+require 'spec_helper' + +describe Ducktrap::Formatter, '#body' do + let(:obje...
Kill remaning mutants in Formatter
diff --git a/lib/cocoapods/generator/copy_resources_script.rb b/lib/cocoapods/generator/copy_resources_script.rb index abc1234..def5678 100644 --- a/lib/cocoapods/generator/copy_resources_script.rb +++ b/lib/cocoapods/generator/copy_resources_script.rb @@ -8,12 +8,12 @@ { case $1 in *\.xib) - echo "ibtool ...
Use PODS_ROOT instead of hardcoding SRCROOT/Pods in the copy resources script
diff --git a/lib/dry/view/errors.rb b/lib/dry/view/errors.rb index abc1234..def5678 100644 --- a/lib/dry/view/errors.rb +++ b/lib/dry/view/errors.rb @@ -1,5 +1,7 @@ module Dry class View + # Error raised when template could not be found within a view's configured + # paths class TemplateNotFoundError < St...
Add doc string for error class
diff --git a/spec/jobs/github_commits_jobs_spec.rb b/spec/jobs/github_commits_jobs_spec.rb index abc1234..def5678 100644 --- a/spec/jobs/github_commits_jobs_spec.rb +++ b/spec/jobs/github_commits_jobs_spec.rb @@ -0,0 +1,15 @@+require 'spec_helper' + +describe GithubCommitsJob do + describe '.job' do + before do + ...
Test for GitHub Commit Count Job
diff --git a/lib/models/metadata.rb b/lib/models/metadata.rb index abc1234..def5678 100644 --- a/lib/models/metadata.rb +++ b/lib/models/metadata.rb @@ -9,7 +9,7 @@ field :description, type: Hash, default: {} field :datatype, type: String - validates_inclusion_of :type, in: ['chart', 'tasklist', 'target', 'pie'...
Allow number to be specified as default
diff --git a/lib/models/tag_type.rb b/lib/models/tag_type.rb index abc1234..def5678 100644 --- a/lib/models/tag_type.rb +++ b/lib/models/tag_type.rb @@ -1,6 +1,7 @@ class TagType < ActiveRecord::Base ALLOWED_LABELS = [ + 'uprn', 'saon', 'paon', 'street',
Add UPRN to allowed labels list
diff --git a/test/ext/module_test.rb b/test/ext/module_test.rb index abc1234..def5678 100644 --- a/test/ext/module_test.rb +++ b/test/ext/module_test.rb @@ -0,0 +1,34 @@+require_relative '../needs' + +class ModuleTest < LibraryTest + setup do + @before = Smeltery::Storage.cache.size + end + + teardown do + Sme...
Add tests for module extension.
diff --git a/effective_slugs.gemspec b/effective_slugs.gemspec index abc1234..def5678 100644 --- a/effective_slugs.gemspec +++ b/effective_slugs.gemspec @@ -12,6 +12,7 @@ s.homepage = "https://github.com/code-and-effect/effective_slugs" s.summary = "Automatically generate URL-appropriate slugs when saving a...
Add a license to gem spec
diff --git a/lib/ssrs/datasource.rb b/lib/ssrs/datasource.rb index abc1234..def5678 100644 --- a/lib/ssrs/datasource.rb +++ b/lib/ssrs/datasource.rb @@ -3,14 +3,8 @@ BASE_PATH = 'DataSources' attr_accessor :name, :host, :instance, :database, :datasource_id, :username, :password - def initialize(name, data...
Stop DataSource going and looking up its configuration and instead expect the caller to configure the DataSource
diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake index abc1234..def5678 100644 --- a/lib/tasks/install.rake +++ b/lib/tasks/install.rake @@ -1,17 +1,18 @@ namespace :spree_simple_product_translations do desc "Copies all migrations and assets (NOTE: This will be obsolete with Rails 3.1)" task :install ...
Remove migrations mirroring rake task since there are no migrations to mirror.
diff --git a/htmlbeautifier.gemspec b/htmlbeautifier.gemspec index abc1234..def5678 100644 --- a/htmlbeautifier.gemspec +++ b/htmlbeautifier.gemspec @@ -15,7 +15,7 @@ s.require_paths = ["lib"] - s.required_ruby_version = '>= 1.9.2' + s.required_ruby_version = '>= 2.6.0' s.add_development_dependency "ra...
Drop support for unmaintained Ruby versions
diff --git a/config/software/gtar.rb b/config/software/gtar.rb index abc1234..def5678 100644 --- a/config/software/gtar.rb +++ b/config/software/gtar.rb @@ -15,9 +15,9 @@ # name "gtar" -default_version "1.2.9" +default_version "1.29" -version("1.2.9") { source md5: "2e115fe26e435e33b0d5c022e4490567" } +version("1....
Fix version copy paste typo
diff --git a/lib/yubioath/select.rb b/lib/yubioath/select.rb index abc1234..def5678 100644 --- a/lib/yubioath/select.rb +++ b/lib/yubioath/select.rb @@ -0,0 +1,28 @@+require 'bindata' + +module YubiOATH + class Select + def self.send(aid:, to:) + Response.read(to.transmit(Request.new(aid: aid).to_binary_s)) + ...
Call the Select instruction using `YubiOATH::Select`
diff --git a/spec/integration/cancel_task_spec.rb b/spec/integration/cancel_task_spec.rb index abc1234..def5678 100644 --- a/spec/integration/cancel_task_spec.rb +++ b/spec/integration/cancel_task_spec.rb @@ -11,9 +11,10 @@ expect(output).to match(/Task #{task_id} is getting canceled/) expect(exit_code).to eq(...
Make cancel task test fail with better error
diff --git a/spec/lib/river_notifications_spec.rb b/spec/lib/river_notifications_spec.rb index abc1234..def5678 100644 --- a/spec/lib/river_notifications_spec.rb +++ b/spec/lib/river_notifications_spec.rb @@ -27,9 +27,11 @@ describe "update" do it "publishes the post together with changed_attributes" do + ...
Disable observer so we dont needlessly attempt a rabbit connection in pebblebed::river
diff --git a/spec/private_attr/everywhere_spec.rb b/spec/private_attr/everywhere_spec.rb index abc1234..def5678 100644 --- a/spec/private_attr/everywhere_spec.rb +++ b/spec/private_attr/everywhere_spec.rb @@ -8,13 +8,13 @@ it 'requiring only private_attr keeps Classes and Modules intact' do require 'private_at...
Switch to better private_attr/everywhere test assertions
diff --git a/spec/unit/postmark/inflector_spec.rb b/spec/unit/postmark/inflector_spec.rb index abc1234..def5678 100644 --- a/spec/unit/postmark/inflector_spec.rb +++ b/spec/unit/postmark/inflector_spec.rb @@ -0,0 +1,24 @@+require 'spec_helper' + +describe Postmark::Inflector do + + describe ".to_postmark" do + it '...
Add a spec for Postmark::Inflector.
diff --git a/db/migrate/20150324163317_move_fax_from_offer_to_contact_person.rb b/db/migrate/20150324163317_move_fax_from_offer_to_contact_person.rb index abc1234..def5678 100644 --- a/db/migrate/20150324163317_move_fax_from_offer_to_contact_person.rb +++ b/db/migrate/20150324163317_move_fax_from_offer_to_contact_perso...
Add migration to move fax from offers to contact_people
diff --git a/app/models/campaign.rb b/app/models/campaign.rb index abc1234..def5678 100644 --- a/app/models/campaign.rb +++ b/app/models/campaign.rb @@ -9,7 +9,7 @@ has_many :purchases has_many :rewards has_many :heroes, -> { order(user_character: :desc) } - has_many :items + has_many :items, -> { order(sold:...
Sort items- not sold are on top
diff --git a/app/models/gem_typo.rb b/app/models/gem_typo.rb index abc1234..def5678 100644 --- a/app/models/gem_typo.rb +++ b/app/models/gem_typo.rb @@ -8,9 +8,8 @@ end def protected_typo? - gem_typo_exceptions = GemTypoException.all.pluck(:name) - return false if gem_typo_exceptions.include?(@rubygem_name...
Refactor database queries for exceptions and published Gem names 1. Refactor published_exact_name_matches to use existing Scope 2. Updated GemTypoException check to use database instead of array search
diff --git a/app/models/question.rb b/app/models/question.rb index abc1234..def5678 100644 --- a/app/models/question.rb +++ b/app/models/question.rb @@ -1,6 +1,20 @@ class Question < ActiveRecord::Base belongs_to :user has_many :answers, dependent: :destroy + has_many :votes, as: :voteable, dependent: :destroy ...
Add methods for vote counts
diff --git a/Casks/yubikey-personalization-gui.rb b/Casks/yubikey-personalization-gui.rb index abc1234..def5678 100644 --- a/Casks/yubikey-personalization-gui.rb +++ b/Casks/yubikey-personalization-gui.rb @@ -1,6 +1,6 @@ cask :v1 => 'yubikey-personalization-gui' do - version '3.1.18' - sha256 'b6acac4b25cc0758e3333ee...
Upgrade YubiKey Personalization Tool.app to v3.1.20
diff --git a/app/controllers/spree/home_controller_decorator.rb b/app/controllers/spree/home_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/spree/home_controller_decorator.rb +++ b/app/controllers/spree/home_controller_decorator.rb @@ -2,13 +2,13 @@ def index slider = Spree::Taxon....
Fix sliders when using postgres
diff --git a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb index abc1234..def5678 100644 --- a/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb +++ b/rb/spec/integration/selenium/webdriver/chrome/driver_spec.rb @@ -0,0 +1,24 @@+mo...
JariBakken: Add missing file from last commit. git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@12313 07704840-8298-11de-bf8c-fd130f914ac9