diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/F53FeedbackKit.podspec b/F53FeedbackKit.podspec index abc1234..def5678 100644 --- a/F53FeedbackKit.podspec +++ b/F53FeedbackKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'F53FeedbackKit' - s.version = '1.5.1' + s.version = '1.5.2' s.summary ...
Add .pch file to iOS podspec - fixes missing `FRLocalizedString` definition regression in 1.5.1 when integrating using CocoaPods
diff --git a/test/module_smoothie_test.rb b/test/module_smoothie_test.rb index abc1234..def5678 100644 --- a/test/module_smoothie_test.rb +++ b/test/module_smoothie_test.rb @@ -0,0 +1,18 @@+require File.dirname(__FILE__) + '/test_helper.rb' +require 'modules/module_smoothie.rb' + +class TestModule_Smoothie < Test::Unit...
Add simple test for smoothie module Signed-off-by: Aki Saarinen <278bc57fbbff6b7b38435aea0f9d37e3d879167e@akisaarinen.fi>
diff --git a/start_bot.rb b/start_bot.rb index abc1234..def5678 100644 --- a/start_bot.rb +++ b/start_bot.rb @@ -19,6 +19,7 @@ override = File.join(Dir.pwd, 'lib', 'settings', 'bot_settings.user.json') default = File.join(Dir.pwd, 'lib', 'settings', 'bot_settings.json') settings_path = File.exist?(override) ? overrid...
Core: Print out loaded settings file path on bot start
diff --git a/db/migrate/20150112212957_create_schools.rb b/db/migrate/20150112212957_create_schools.rb index abc1234..def5678 100644 --- a/db/migrate/20150112212957_create_schools.rb +++ b/db/migrate/20150112212957_create_schools.rb @@ -10,6 +10,7 @@ t.string :district_code t.string :assembly_district ...
Add refernece to location in schools migration
diff --git a/spec/controllers/dataset_file_schemas_controller_spec.rb b/spec/controllers/dataset_file_schemas_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/dataset_file_schemas_controller_spec.rb +++ b/spec/controllers/dataset_file_schemas_controller_spec.rb @@ -0,0 +1,16 @@+require 'spec_help...
Add test for new controller for listing schemas
diff --git a/spec/workers/pull_request_monitor/repo_processor_spec.rb b/spec/workers/pull_request_monitor/repo_processor_spec.rb index abc1234..def5678 100644 --- a/spec/workers/pull_request_monitor/repo_processor_spec.rb +++ b/spec/workers/pull_request_monitor/repo_processor_spec.rb @@ -0,0 +1,60 @@+require "spec_help...
Add specs for repo processor
diff --git a/vignesh/05_sep/prime_test.rb b/vignesh/05_sep/prime_test.rb index abc1234..def5678 100644 --- a/vignesh/05_sep/prime_test.rb +++ b/vignesh/05_sep/prime_test.rb @@ -0,0 +1,21 @@+require "test/unit" +require "./prime" + + + +class Testprime < Test::Unit::TestCase + + +def check_prime_no + assert_equal("Tru...
Test file for prime number has been created
diff --git a/resources/check.rb b/resources/check.rb index abc1234..def5678 100644 --- a/resources/check.rb +++ b/resources/check.rb @@ -5,7 +5,7 @@ attribute :subscribers, :kind_of => Array attribute :standalone, :kind_of => [TrueClass, FalseClass] attribute :interval, :default => 60 -attribute :handle, :kind_of => ...
Change handle to support both true and false
diff --git a/app/controllers/api/v1/matches_controller.rb b/app/controllers/api/v1/matches_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/matches_controller.rb +++ b/app/controllers/api/v1/matches_controller.rb @@ -6,7 +6,7 @@ end def create - match = MatchSetupService.create! + m...
Create new match with number of players
diff --git a/spec/unit/mutant/loader/eval/class_methods/run_spec.rb b/spec/unit/mutant/loader/eval/class_methods/run_spec.rb index abc1234..def5678 100644 --- a/spec/unit/mutant/loader/eval/class_methods/run_spec.rb +++ b/spec/unit/mutant/loader/eval/class_methods/run_spec.rb @@ -36,6 +36,6 @@ it 'should set file a...
Adjust expectation to unparser change
diff --git a/BHCDatabase/test/models/condition_test.rb b/BHCDatabase/test/models/condition_test.rb index abc1234..def5678 100644 --- a/BHCDatabase/test/models/condition_test.rb +++ b/BHCDatabase/test/models/condition_test.rb @@ -19,4 +19,12 @@ @condition.user = nil assert_not @condition.valid?, @condition.erro...
Add test for index on medical_condition and user for an condition.
diff --git a/.dassie/config/application.rb b/.dassie/config/application.rb index abc1234..def5678 100644 --- a/.dassie/config/application.rb +++ b/.dassie/config/application.rb @@ -9,7 +9,7 @@ module Dassie class Application < Rails::Application # Initialize configuration defaults for originally generated Rails...
Set dassie rails defaults to 6.0
diff --git a/lib/dragonfly/railtie.rb b/lib/dragonfly/railtie.rb index abc1234..def5678 100644 --- a/lib/dragonfly/railtie.rb +++ b/lib/dragonfly/railtie.rb @@ -4,7 +4,7 @@ module Dragonfly class Railtie < ::Rails::Railtie initializer "dragonfly.railtie.initializer" do |app| - app.middleware.insert 1, Drag...
Put CookieMonster before ActionDispatch::Cookies - that way Rack::Cache won't come between them and mess things up
diff --git a/lib/innodb/fseg_entry.rb b/lib/innodb/fseg_entry.rb index abc1234..def5678 100644 --- a/lib/innodb/fseg_entry.rb +++ b/lib/innodb/fseg_entry.rb @@ -22,9 +22,15 @@ # Return an INODE entry which represents this file segment. def self.get_inode(space, cursor) address = cursor.name("address") { get_e...
Deal with zero offsets for an FSEG entry
diff --git a/lib/pronto/foodcritic.rb b/lib/pronto/foodcritic.rb index abc1234..def5678 100644 --- a/lib/pronto/foodcritic.rb +++ b/lib/pronto/foodcritic.rb @@ -33,7 +33,7 @@ def new_message(warning, line) path = line.patch.delta.new_file[:path] message = "#{warning.rule.code} - #{warning.rule.name}" ...
Add the runner class into the report message
diff --git a/core/app/models/spree/user_class_handle.rb b/core/app/models/spree/user_class_handle.rb index abc1234..def5678 100644 --- a/core/app/models/spree/user_class_handle.rb +++ b/core/app/models/spree/user_class_handle.rb @@ -1,7 +1,20 @@ module Spree + # Placeholder for name of Spree.user_class to ensure later...
Add some better documentation to the hack.
diff --git a/lib/sluggable/railtie.rb b/lib/sluggable/railtie.rb index abc1234..def5678 100644 --- a/lib/sluggable/railtie.rb +++ b/lib/sluggable/railtie.rb @@ -1,7 +1,7 @@ module Sluggable class Railtie < Rails::Railtie initializer 'sluggable.configure_rails_initialization' do - ActiveRecord::Validations....
Add Validations to ActiveModel for reusability
diff --git a/lib/tasks/fake_logs.rake b/lib/tasks/fake_logs.rake index abc1234..def5678 100644 --- a/lib/tasks/fake_logs.rake +++ b/lib/tasks/fake_logs.rake @@ -0,0 +1,11 @@+namespace :fake_logs do + desc "Generates fake logs entries" + task generate: :environment do + count = ENV["COUNT"].to_i + set_uuid = Sec...
Add rake task that generates fake logs [#101889132]
diff --git a/mock_server.gemspec b/mock_server.gemspec index abc1234..def5678 100644 --- a/mock_server.gemspec +++ b/mock_server.gemspec @@ -2,7 +2,7 @@ s.name = 'mock_server' s.version = '0.1.5' s.summary = "Mock you're entire application" - s.author = 'Charles Barbier' + s.author = ...
Add Saimon to author list
diff --git a/lib/pod/command/keys.rb b/lib/pod/command/keys.rb index abc1234..def5678 100644 --- a/lib/pod/command/keys.rb +++ b/lib/pod/command/keys.rb @@ -9,7 +9,7 @@ require 'pod/command/keys/rm' require 'pod/command/keys/export' - self.summary = 'A key value store for environment settings in Coc...
Remove the "." in the summary to conform to the rest of the CP commands
diff --git a/lib/sass_paths/bower.rb b/lib/sass_paths/bower.rb index abc1234..def5678 100644 --- a/lib/sass_paths/bower.rb +++ b/lib/sass_paths/bower.rb @@ -2,6 +2,8 @@ module SassPaths module Bower + + private PERMITTED_FILE_EXTENSIONS = ['.scss', '.sass'].freeze
Make Bower module methods private
diff --git a/lib/slowpoke/railtie.rb b/lib/slowpoke/railtie.rb index abc1234..def5678 100644 --- a/lib/slowpoke/railtie.rb +++ b/lib/slowpoke/railtie.rb @@ -2,7 +2,7 @@ class Railtie < Rails::Railtie initializer "slowpoke" do - Rack::Timeout.service_timeout = Slowpoke.timeout + Rack::Timeout.timeout ...
Use timeout as documentation states
diff --git a/lib/with_model/table.rb b/lib/with_model/table.rb index abc1234..def5678 100644 --- a/lib/with_model/table.rb +++ b/lib/with_model/table.rb @@ -9,13 +9,26 @@ end def create - connection = ActiveRecord::Base.connection - connection.drop_table(@name) if connection.table_exists?(@name) + ...
Fix ActiveRecord 5 deprecation warning
diff --git a/app/controllers/corporate_information_pages_controller.rb b/app/controllers/corporate_information_pages_controller.rb index abc1234..def5678 100644 --- a/app/controllers/corporate_information_pages_controller.rb +++ b/app/controllers/corporate_information_pages_controller.rb @@ -13,10 +13,10 @@ def fin...
Remove unnecessary check and parentheses.
diff --git a/app/controllers/crowdblog/admin/transitions_controller.rb b/app/controllers/crowdblog/admin/transitions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/crowdblog/admin/transitions_controller.rb +++ b/app/controllers/crowdblog/admin/transitions_controller.rb @@ -3,6 +3,7 @@ class Trans...
Fix post cache when doing state transitions
diff --git a/app/models/business.rb b/app/models/business.rb index abc1234..def5678 100644 --- a/app/models/business.rb +++ b/app/models/business.rb @@ -33,9 +33,10 @@ __elasticsearch__.search( { query: { - fuzzy_like_this: { - fields: ["title", "category"], - ...
Add fuzziness as AUTO to ES query
diff --git a/lib/time_log_robot/jira/issue_key_parser.rb b/lib/time_log_robot/jira/issue_key_parser.rb index abc1234..def5678 100644 --- a/lib/time_log_robot/jira/issue_key_parser.rb +++ b/lib/time_log_robot/jira/issue_key_parser.rb @@ -15,7 +15,7 @@ def get_key_from_key_mapping(description) mappin...
Use include? over regex matching for mappings
diff --git a/app/models/vat_rate.rb b/app/models/vat_rate.rb index abc1234..def5678 100644 --- a/app/models/vat_rate.rb +++ b/app/models/vat_rate.rb @@ -6,6 +6,6 @@ # String def to_s - "%.1f (%s)" % [rate, I18n::translate(code, :scope => 'vat_rates.code')] + "%.1f%% (%s)" % [rate, I18n::translate(code, :sc...
Add % to VatRate.to_s output.
diff --git a/UICollectionViewLeftAlignedLayout.podspec b/UICollectionViewLeftAlignedLayout.podspec index abc1234..def5678 100644 --- a/UICollectionViewLeftAlignedLayout.podspec +++ b/UICollectionViewLeftAlignedLayout.podspec @@ -1,4 +1,4 @@-version = "0.0.3" +version = "1.0.0" Pod::Spec.new do |s| s.name ...
Bump podspec version to 1.0.0 :tada:
diff --git a/lib/assay/silent_assay.rb b/lib/assay/silent_assay.rb index abc1234..def5678 100644 --- a/lib/assay/silent_assay.rb +++ b/lib/assay/silent_assay.rb @@ -0,0 +1,59 @@+require_relative 'output_assay' + +# Assert that there is no output, either from stdout or stderr. +# +# SilentAssay.pass?{ puts 'foo!' } #...
Add SilentAssay to compliment OutputAssay.
diff --git a/test/cli/command/test_commands.rb b/test/cli/command/test_commands.rb index abc1234..def5678 100644 --- a/test/cli/command/test_commands.rb +++ b/test/cli/command/test_commands.rb @@ -0,0 +1,49 @@+# frozen_string_literal: true + +require "helpers" + +# Tests for KBSecret::CLI::Command::Commands +class KBSe...
test/cli: Add tests for `kbsecret commands`
diff --git a/spec/factories/address_factory.rb b/spec/factories/address_factory.rb index abc1234..def5678 100644 --- a/spec/factories/address_factory.rb +++ b/spec/factories/address_factory.rb @@ -0,0 +1,9 @@+require 'spree/testing_support/factories' +require 'securerandom' + +FactoryGirl.modify do + # Modify the addr...
Create unique addresses by default.
diff --git a/spec/models/configuration_spec.rb b/spec/models/configuration_spec.rb index abc1234..def5678 100644 --- a/spec/models/configuration_spec.rb +++ b/spec/models/configuration_spec.rb @@ -8,7 +8,7 @@ it{ should validate_presence_of :name } it "should be valid from factory" do - @config.should be_vali...
Use expect syntax for Configuration specs
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 @@ -6,5 +6,6 @@ it 'installs the XML package' do expect(chef_run).to install_package('libxml2-dev') expect(chef_run...
Add rspec test to verify zlib1g-dev package is installed
diff --git a/app/helpers/people_helper.rb b/app/helpers/people_helper.rb index abc1234..def5678 100644 --- a/app/helpers/people_helper.rb +++ b/app/helpers/people_helper.rb @@ -23,7 +23,7 @@ person.try :person end - if ((attributes && (attributes.any? { |a| person[a].blank? || subject[a].blank? })) || c...
Handle can_edit? with no person
diff --git a/recipes/git_secrets.rb b/recipes/git_secrets.rb index abc1234..def5678 100644 --- a/recipes/git_secrets.rb +++ b/recipes/git_secrets.rb @@ -8,7 +8,9 @@ log 'Should install git-secrets for linux, but not implemented...' end -execute 'git secrets --register-aws --global' +execute 'git secrets --register...
Edit git secrets --register-aws to allow re-running
diff --git a/app/classes/compendium/presenters/base.rb b/app/classes/compendium/presenters/base.rb index abc1234..def5678 100644 --- a/app/classes/compendium/presenters/base.rb +++ b/app/classes/compendium/presenters/base.rb @@ -3,6 +3,10 @@ def initialize(template, object) @object = object @template ...
Add a to_s method so that Presenters being dumped (ie. in exceptions) aren't 8 billion lines long
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,10 @@ require 'specialist_publisher_wiring' class ApplicationController < ActionC...
Add SSO to all controllers.
diff --git a/app/controllers/invitations_controller.rb b/app/controllers/invitations_controller.rb index abc1234..def5678 100644 --- a/app/controllers/invitations_controller.rb +++ b/app/controllers/invitations_controller.rb @@ -32,7 +32,7 @@ end def find_user_invitation - current_user.invitations.find(params...
Tweak invitation finding for controller
diff --git a/app/controllers/thermostats_controller.rb b/app/controllers/thermostats_controller.rb index abc1234..def5678 100644 --- a/app/controllers/thermostats_controller.rb +++ b/app/controllers/thermostats_controller.rb @@ -12,7 +12,7 @@ private def thermostat_params - params.require( :thermostat ).permi...
Add hysteresis to the allowed params.
diff --git a/app/serializers/api/product_serializer.rb b/app/serializers/api/product_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/api/product_serializer.rb +++ b/app/serializers/api/product_serializer.rb @@ -18,7 +18,7 @@ # return an unformatted descripton def description - strip_tags obj...
Remove indent of product description on iPhone Our HTML formatting plugin for product descriptions adds whitespace to the beginning of the description text. While that shouldn't be rendered in HTML, Safari on iPhone was showing a whitespace and therefore moving the text a bit to the right.
diff --git a/app/validators/original_user_validator.rb b/app/validators/original_user_validator.rb index abc1234..def5678 100644 --- a/app/validators/original_user_validator.rb +++ b/app/validators/original_user_validator.rb @@ -7,8 +7,7 @@ def validate(record) @record = record - return unless (locations_mi...
Fix issue when checking original_user for deleting envelopes
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 @@ -2,9 +2,7 @@ class GemTypo attr_reader :protected_gem - - include Gem::Text - + def initialize(rubygem_name) @rubygem_name = rubygem_name end
Remove unneeded Gem::Text import statement
diff --git a/installscripts/cookbooks/aws/recipes/default.rb b/installscripts/cookbooks/aws/recipes/default.rb index abc1234..def5678 100644 --- a/installscripts/cookbooks/aws/recipes/default.rb +++ b/installscripts/cookbooks/aws/recipes/default.rb @@ -12,6 +12,6 @@ end execute 'installaws' do - command 'sudo ./aw...
Revert "Put this in `/usr/bin` because the test box has a weird PATH var" This reverts commit 5a802ee0a2aa68d172c1aca5b8819de9e6d74d54 [formerly 74bf92c9d52527f5736aad44cbe46606f10f329f]. Former-commit-id: 6bcbb39edca2943be3b7ed62c5606fffdf2def1d
diff --git a/features/step_definitions/license-generator_steps.rb b/features/step_definitions/license-generator_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/license-generator_steps.rb +++ b/features/step_definitions/license-generator_steps.rb @@ -8,7 +8,7 @@ end Then /^I should see the gene...
Update get_help feature so that current builds pass
diff --git a/core/spec/integration-real/interactors/users/delete_spec.rb b/core/spec/integration-real/interactors/users/delete_spec.rb index abc1234..def5678 100644 --- a/core/spec/integration-real/interactors/users/delete_spec.rb +++ b/core/spec/integration-real/interactors/users/delete_spec.rb @@ -8,7 +8,7 @@ ini...
Use more typical pavlov for integration tests.
diff --git a/lib/dissociated_introspection/ruby_class/def.rb b/lib/dissociated_introspection/ruby_class/def.rb index abc1234..def5678 100644 --- a/lib/dissociated_introspection/ruby_class/def.rb +++ b/lib/dissociated_introspection/ruby_class/def.rb @@ -0,0 +1,29 @@+module DissociatedIntrospection + class RubyClass + ...
Add missing files from last commit
diff --git a/app/authorities/qa/authorities/find_works.rb b/app/authorities/qa/authorities/find_works.rb index abc1234..def5678 100644 --- a/app/authorities/qa/authorities/find_works.rb +++ b/app/authorities/qa/authorities/find_works.rb @@ -1,10 +1,13 @@ module Qa::Authorities class FindWorks < Qa::Authorities::Base...
Allow the search builder to be injectable
diff --git a/test/spec_session_abstract_session_hash.rb b/test/spec_session_abstract_session_hash.rb index abc1234..def5678 100644 --- a/test/spec_session_abstract_session_hash.rb +++ b/test/spec_session_abstract_session_hash.rb @@ -0,0 +1,28 @@+require 'minitest/autorun' +require 'rack/session/abstract/id' + +describe...
Add tests for session hash loading
diff --git a/lib/metacrunch/job/dsl.rb b/lib/metacrunch/job/dsl.rb index abc1234..def5678 100644 --- a/lib/metacrunch/job/dsl.rb +++ b/lib/metacrunch/job/dsl.rb @@ -29,6 +29,7 @@ end def dependencies(&gemfile) + raise ArgumentError, "Block needed" unless block_given? BundlerSupport.new(install: @...
Raise ArgumentError if block is missing.
diff --git a/POSInputStreamLibrary.podspec b/POSInputStreamLibrary.podspec index abc1234..def5678 100644 --- a/POSInputStreamLibrary.podspec +++ b/POSInputStreamLibrary.podspec @@ -9,5 +9,6 @@ s.platform = :ios, '7.0' s.requires_arc = true s.source_files = 'POSInputStreamLibrary/*.{h,m}' - s.frameworks =...
Move 'Photos' framework from required framework list to optional one.
diff --git a/Chapter-4/CoreDataBooks/app/controllers/root_view_controller.rb b/Chapter-4/CoreDataBooks/app/controllers/root_view_controller.rb index abc1234..def5678 100644 --- a/Chapter-4/CoreDataBooks/app/controllers/root_view_controller.rb +++ b/Chapter-4/CoreDataBooks/app/controllers/root_view_controller.rb @@ -1,2...
Set up table view with NSFetchedResultsController as data source
diff --git a/metasm.gemspec b/metasm.gemspec index abc1234..def5678 100644 --- a/metasm.gemspec +++ b/metasm.gemspec @@ -18,5 +18,6 @@ s.add_development_dependency "bundler", "~> 1.7" s.add_development_dependency "rake" + s.add_development_dependency "test-unit" end
Add test-unit dependency to the gemspec
diff --git a/vast.gemspec b/vast.gemspec index abc1234..def5678 100644 --- a/vast.gemspec +++ b/vast.gemspec @@ -10,6 +10,7 @@ s.email = ["chrisgdinn@gmail.com"] s.homepage = "http://github.com/chrisdinn/vast" s.summary = "A gem for working with VAST 2.0 documents" + s.license = "MIT" s.f...
Add license to gemspec, is MIT Closes #7
diff --git a/core/app/helpers/refinery/site_bar_helper.rb b/core/app/helpers/refinery/site_bar_helper.rb index abc1234..def5678 100644 --- a/core/app/helpers/refinery/site_bar_helper.rb +++ b/core/app/helpers/refinery/site_bar_helper.rb @@ -15,7 +15,8 @@ return nil if admin? || @page.nil? link_to t('refine...
Disable turbolinks for edit page link
diff --git a/lib/reports_kit/reports/filter_types/records.rb b/lib/reports_kit/reports/filter_types/records.rb index abc1234..def5678 100644 --- a/lib/reports_kit/reports/filter_types/records.rb +++ b/lib/reports_kit/reports/filter_types/records.rb @@ -2,7 +2,9 @@ module Reports module FilterTypes class R...
Set default criteria for FilterTypes::Records
diff --git a/lib/typeset/small_caps.rb b/lib/typeset/small_caps.rb index abc1234..def5678 100644 --- a/lib/typeset/small_caps.rb +++ b/lib/typeset/small_caps.rb @@ -1,18 +1,4 @@ module Typeset - # Holds convenience methods for acronym detection - module SmallCaps - def self.remove_cruft(word) - trailing = "" ...
Remove unneeded small caps module
diff --git a/lib/webrobots/nokogiri.rb b/lib/webrobots/nokogiri.rb index abc1234..def5678 100644 --- a/lib/webrobots/nokogiri.rb +++ b/lib/webrobots/nokogiri.rb @@ -24,8 +24,8 @@ def parse_meta_robots(custom_name) pattern = /\A#{Regexp.quote(custom_name)}\z/i - meta = css('meta[@name]').find { |meta| - ...
Fix shadowing outer variable warning
diff --git a/lib/ymdp/tasks/build.rake b/lib/ymdp/tasks/build.rake index abc1234..def5678 100644 --- a/lib/ymdp/tasks/build.rake +++ b/lib/ymdp/tasks/build.rake @@ -1,4 +1,4 @@-require 'lib/init' +require 'ymdp' @server_names = [] @@ -17,16 +17,20 @@ @message end +desc "Compile the application to the #{CONFIG...
Add descriptions to rake tasks
diff --git a/db/migrate/20160808090529_create_hrds.rb b/db/migrate/20160808090529_create_hrds.rb index abc1234..def5678 100644 --- a/db/migrate/20160808090529_create_hrds.rb +++ b/db/migrate/20160808090529_create_hrds.rb @@ -13,6 +13,5 @@ t.timestamps end - add_index :hrds, [:year, :season_id], :unique ...
Remove uniquness requirement on HRDs b/c it's incompatible with Paranoid
diff --git a/lib/two_factor_authentication/controllers/helpers.rb b/lib/two_factor_authentication/controllers/helpers.rb index abc1234..def5678 100644 --- a/lib/two_factor_authentication/controllers/helpers.rb +++ b/lib/two_factor_authentication/controllers/helpers.rb @@ -24,7 +24,7 @@ session["#{scope}_retur...
Use head instead of render nothing: true
diff --git a/lib/generators/superb_text_constructor/install_generator.rb b/lib/generators/superb_text_constructor/install_generator.rb index abc1234..def5678 100644 --- a/lib/generators/superb_text_constructor/install_generator.rb +++ b/lib/generators/superb_text_constructor/install_generator.rb @@ -2,6 +2,10 @@ modu...
Install generator actions order fixed
diff --git a/lib/naught/null_class_builder/commands/predicates_return.rb b/lib/naught/null_class_builder/commands/predicates_return.rb index abc1234..def5678 100644 --- a/lib/naught/null_class_builder/commands/predicates_return.rb +++ b/lib/naught/null_class_builder/commands/predicates_return.rb @@ -19,8 +19,7 @@ ...
Update other instances of module_eval to module_exec if it needed parameters
diff --git a/lib/travis/build/appliances/fix_container_based_trusty.rb b/lib/travis/build/appliances/fix_container_based_trusty.rb index abc1234..def5678 100644 --- a/lib/travis/build/appliances/fix_container_based_trusty.rb +++ b/lib/travis/build/appliances/fix_container_based_trusty.rb @@ -6,19 +6,16 @@ module Buil...
Remove redis server patch for container-based trusty as it is no longer needed.
diff --git a/darcyWeb/app/controllers/admin_controller.rb b/darcyWeb/app/controllers/admin_controller.rb index abc1234..def5678 100644 --- a/darcyWeb/app/controllers/admin_controller.rb +++ b/darcyWeb/app/controllers/admin_controller.rb @@ -1,6 +1,12 @@ class AdminController < ApplicationController + before_action :...
Check if admin is authenticated.
diff --git a/vendor/gobierto_engines/custom-fields-progress-plugin/lib/custom_fields_progress_plugin/railtie.rb b/vendor/gobierto_engines/custom-fields-progress-plugin/lib/custom_fields_progress_plugin/railtie.rb index abc1234..def5678 100644 --- a/vendor/gobierto_engines/custom-fields-progress-plugin/lib/custom_fields...
Fix plugin webpack watched paths
diff --git a/libraries/instance_tar.rb b/libraries/instance_tar.rb index abc1234..def5678 100644 --- a/libraries/instance_tar.rb +++ b/libraries/instance_tar.rb @@ -3,41 +3,42 @@ # Extract Java to destination directory require 'chef/resource/directory' +require_relative 'tar_helper' module ChefJava module Inst...
Make our instance helper to dealing with tar files use our tar_helper. Remove the extracted mess if requested.
diff --git a/jsonapi-matchers.gemspec b/jsonapi-matchers.gemspec index abc1234..def5678 100644 --- a/jsonapi-matchers.gemspec +++ b/jsonapi-matchers.gemspec @@ -22,7 +22,7 @@ spec.add_dependency "awesome_print" spec.add_development_dependency "bump", "~> 0.9.0" - spec.add_development_dependency "bundler", "~> 1...
Upgrade to bundler v2.1.4 so that Github Actions will work.
diff --git a/rails_sortable.gemspec b/rails_sortable.gemspec index abc1234..def5678 100644 --- a/rails_sortable.gemspec +++ b/rails_sortable.gemspec @@ -23,6 +23,6 @@ s.add_development_dependency "jquery-ui-rails", "~> 6.0" s.add_development_dependency "sqlite3", "~> 1.3" s.add_development_dependency "rspec-rai...
Remove specific version from pry
diff --git a/rakelib/configure.rake b/rakelib/configure.rake index abc1234..def5678 100644 --- a/rakelib/configure.rake +++ b/rakelib/configure.rake @@ -1,5 +1,6 @@ namespace :configure do task :"3rdparty" do + FileUtils.mkdir_p "vendor" system "make -C vendor -f ../Sourcefile" end
Make sure vendor dir exists.
diff --git a/TDNotificationPanel.podspec b/TDNotificationPanel.podspec index abc1234..def5678 100644 --- a/TDNotificationPanel.podspec +++ b/TDNotificationPanel.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |s| s.name = "TDNotificationPanel" - s.version = "0.3" + s.version = "0.3.1" s.summary ...
Fix bug in s.source version number
diff --git a/test/factories/projects_factory.rb b/test/factories/projects_factory.rb index abc1234..def5678 100644 --- a/test/factories/projects_factory.rb +++ b/test/factories/projects_factory.rb @@ -5,7 +5,8 @@ user after(:create) do |project| - create_list(:tutorial_enrolment, 3, project: project) + ...
FIX: Create 1 enrolment to avoid duplicate error
diff --git a/lib/action_view/bruce/bruce-yaml-output.rb b/lib/action_view/bruce/bruce-yaml-output.rb index abc1234..def5678 100644 --- a/lib/action_view/bruce/bruce-yaml-output.rb +++ b/lib/action_view/bruce/bruce-yaml-output.rb @@ -3,10 +3,12 @@ module Bruce module ::ActionView class Config + CONFIG_FILE ...
Read the percentage from the config file.
diff --git a/lib/aquatone/collectors/wayback_machine.rb b/lib/aquatone/collectors/wayback_machine.rb index abc1234..def5678 100644 --- a/lib/aquatone/collectors/wayback_machine.rb +++ b/lib/aquatone/collectors/wayback_machine.rb @@ -21,7 +21,9 @@ end response.parsed_response.each do |page| i...
Handle possible invalid URIs in Wayback Machine collector
diff --git a/lib/linux_admin/service/systemd_service.rb b/lib/linux_admin/service/systemd_service.rb index abc1234..def5678 100644 --- a/lib/linux_admin/service/systemd_service.rb +++ b/lib/linux_admin/service/systemd_service.rb @@ -1,37 +1,37 @@ module LinuxAdmin class SystemdService < Service def running? - ...
Move Common.cmd(:systemctl) calls to a private method
diff --git a/lib/scss_lint/linter/space_before_brace.rb b/lib/scss_lint/linter/space_before_brace.rb index abc1234..def5678 100644 --- a/lib/scss_lint/linter/space_before_brace.rb +++ b/lib/scss_lint/linter/space_before_brace.rb @@ -6,13 +6,9 @@ def visit_root(node) engine.lines.each_with_index do |line, ind...
Remove description method from SpaceBeforeBrace The `description` method is being deprecated. While here, also changed from appending to the `@lints` instance variable directly to using the `add_lint` helper. Change-Id: If2902858e2cd29c06759294c4d6357690aec6017 Reviewed-on: http://gerrit.causes.com/36725 Tested-by: ...
diff --git a/lib/tasks/fake_location_report_emails.rake b/lib/tasks/fake_location_report_emails.rake index abc1234..def5678 100644 --- a/lib/tasks/fake_location_report_emails.rake +++ b/lib/tasks/fake_location_report_emails.rake @@ -9,7 +9,7 @@ if location.has_attribute?(:report_email) name=location.repo...
Update validation for Rails 3
diff --git a/app/models/category.rb b/app/models/category.rb index abc1234..def5678 100644 --- a/app/models/category.rb +++ b/app/models/category.rb @@ -6,7 +6,7 @@ accepts_nested_attributes_for :translations def self.sorted_categories - categories_without_sonstige = order('name').where("name <> 'Sonstiges'")...
Use sort_by instead of order when sorting the categories The command 'order' did not work in the staging database (maybe because of different database versions) so we changed that to the ruby command sort_by
diff --git a/app/models/notebook.rb b/app/models/notebook.rb index abc1234..def5678 100644 --- a/app/models/notebook.rb +++ b/app/models/notebook.rb @@ -2,5 +2,5 @@ belongs_to :user validates :name, presence: true - validates :name, uniqueness: { scope: :user_id } + validates :name, uniqueness: { scope: :user ...
Use association as a uniqueness scope not the actual column name
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 @@ -3,7 +3,7 @@ belongs_to :user has_many :responses, dependent: :destroy - validates :image_path, presence: true + validates :image_path, uniqueness: { scope: :u...
Validate To Ensure User Doesn't Add Same Photo
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -15,9 +15,16 @@ get "/remove/:number/:item" => "pos#remove" get "/print/:number" => "pos#print" get "/inventory/:number" => "pos#inventory" + + scope :refund do + ...
Correct error that appears and added refund controller
diff --git a/config/routes.rb b/config/routes.rb index abc1234..def5678 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -7,6 +7,7 @@ end end resources :clicks, only: :new + resources :places, only: :index resources :airlines, only: :index resources :ui_events, only: [] do collection do @@ ...
Revert "Consider locales in route of Places" This reverts commit a0a6592c4dc1fabab4d531f92c1b703b39f89efd.
diff --git a/dash/app/controllers/spree/admin/overview_controller.rb b/dash/app/controllers/spree/admin/overview_controller.rb index abc1234..def5678 100644 --- a/dash/app/controllers/spree/admin/overview_controller.rb +++ b/dash/app/controllers/spree/admin/overview_controller.rb @@ -18,7 +18,7 @@ private de...
Correct call to Spree::Dash::Config.configured? within Admin::OverviewController
diff --git a/lib/ch02/generate_all.rb b/lib/ch02/generate_all.rb index abc1234..def5678 100644 --- a/lib/ch02/generate_all.rb +++ b/lib/ch02/generate_all.rb @@ -0,0 +1,21 @@+require 'rule_based' + +def generate_all(phrase) + case phrase + when [] + [[]] + when Array + combine_all(generate_all(phrase[0]), + ...
Make it possible to generate every variation of sentence structure
diff --git a/lib/easy_type/mungers.rb b/lib/easy_type/mungers.rb index abc1234..def5678 100644 --- a/lib/easy_type/mungers.rb +++ b/lib/easy_type/mungers.rb @@ -17,6 +17,7 @@ case size when /^\d+(K|k)$/ then size.chop.to_i * 1024 when /^\d+(M|m)$/ then size.chop.to_i * 1024 * 1024 + whe...
Add support for G in size munger
diff --git a/lib/game_of_life/grid.rb b/lib/game_of_life/grid.rb index abc1234..def5678 100644 --- a/lib/game_of_life/grid.rb +++ b/lib/game_of_life/grid.rb @@ -7,14 +7,7 @@ x_min, x_max = [row - 1, 0].max, [row + 1, column_size - 1].min y_min, y_max = [column - 1, 0].max, [column + 1, row_size - 1 ].min ...
Refactor to use built-in matrix operations
diff --git a/lib/glimpse/views/git.rb b/lib/glimpse/views/git.rb index abc1234..def5678 100644 --- a/lib/glimpse/views/git.rb +++ b/lib/glimpse/views/git.rb @@ -4,6 +4,7 @@ def initialize(options = {}) @sha = options.delete(:sha) @nwo = options.delete(:nwo) + @default_branch = options.fet...
Allow you to customize the default branch to compare against
diff --git a/poteti.gemspec b/poteti.gemspec index abc1234..def5678 100644 --- a/poteti.gemspec +++ b/poteti.gemspec @@ -16,7 +16,7 @@ s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md'] - s.add_dependency 'rails', '~> 4.1.4' + s.add_dependency 'rails', '>= 4.0.0' s.add_dependen...
Fix to work bundle install on Travis-CI
diff --git a/lib/mongoid_userstamp.rb b/lib/mongoid_userstamp.rb index abc1234..def5678 100644 --- a/lib/mongoid_userstamp.rb +++ b/lib/mongoid_userstamp.rb @@ -7,4 +7,4 @@ require 'mongoid/userstamp/config/user_config' require 'mongoid/userstamp/mixins/user' require 'mongoid/userstamp/mixins/model' -require 'mongoid...
Check for Rails::Railtie instead of Rails
diff --git a/lib/rails_ops/railtie.rb b/lib/rails_ops/railtie.rb index abc1234..def5678 100644 --- a/lib/rails_ops/railtie.rb +++ b/lib/rails_ops/railtie.rb @@ -18,7 +18,9 @@ # --------------------------------------------------------------- # Include controller mixin # ------------------------------...
Fix eager loading decrepation warning This commit changes the inclusion of the ControllerMixin to be loaded after ActionController::Base is loaded.
diff --git a/lib/rest_spy/encoding.rb b/lib/rest_spy/encoding.rb index abc1234..def5678 100644 --- a/lib/rest_spy/encoding.rb +++ b/lib/rest_spy/encoding.rb @@ -35,7 +35,7 @@ end def ungzip(input) - Zlib::GzipReader.new(StringIO.new(input), :encoding => 'ASCII-8BIT').read + Zlib::GzipReader.new(Str...
Use UTF-8 as default when decoding gzip
diff --git a/lib/string_calculator.rb b/lib/string_calculator.rb index abc1234..def5678 100644 --- a/lib/string_calculator.rb +++ b/lib/string_calculator.rb @@ -1,18 +1,32 @@ class StringCalculator + DELIMITER_REGEXP = /\A\/\/(.+|\n)$/ + def add(pattern="") - sum(extract_numbers(pattern)) + sum(extract_number...
Allow to handle custom delimiters
diff --git a/lib/tango/step_runner.rb b/lib/tango/step_runner.rb index abc1234..def5678 100644 --- a/lib/tango/step_runner.rb +++ b/lib/tango/step_runner.rb @@ -23,5 +23,17 @@ @dance.run(step_name, *args) end + def as(username) + info = Etc.getpwent(username) + uid, gid = Process.euid, Process...
Add as(user) method to the step runner.
diff --git a/substation.gemspec b/substation.gemspec index abc1234..def5678 100644 --- a/substation.gemspec +++ b/substation.gemspec @@ -22,6 +22,5 @@ gem.add_dependency 'abstract_type', '~> 0.0.5' gem.add_dependency 'inflecto', '~> 0.0.2' - gem.add_development_dependency 'rake', '~> 10.0.3'...
Use bundler as the only development dependency
diff --git a/Casks/arq3.rb b/Casks/arq3.rb index abc1234..def5678 100644 --- a/Casks/arq3.rb +++ b/Casks/arq3.rb @@ -3,8 +3,9 @@ sha256 '2b4317b83d14090764f2134d4cc0fa3ee18b102974cff935f47a8afb4b3860a2' url "http://www.haystacksoftware.com/arq/Arq_#{version}.zip" + name 'Arq' homepage 'http://www.haystacksof...
Arq3: Fix license, add name stanza
diff --git a/Casks/atom.rb b/Casks/atom.rb index abc1234..def5678 100644 --- a/Casks/atom.rb +++ b/Casks/atom.rb @@ -1,6 +1,6 @@ cask :v1 => 'atom' do - version '1.0.10' - sha256 'afa74f10054c9bea5eb5d43f792a211449d26f56ec9aeabf0fd1dcf3ac7149db' + version '1.0.11' + sha256 '0a173f06626c22f2cbb9a9cbba0f15a4e7cb34fed...
Upgrade Atom to version 1.0.11.
diff --git a/Casks/onyx.rb b/Casks/onyx.rb index abc1234..def5678 100644 --- a/Casks/onyx.rb +++ b/Casks/onyx.rb @@ -2,16 +2,20 @@ version :latest sha256 :no_check - if MacOS.version == :snow_leopard + if MacOS.version == :tiger + url 'http://www.titanium.free.fr/download/104/OnyX.dmg' + elsif MacOS.versio...
Fix download links for Onyx on Mountain Lion, Mavericks, and Yosemite; Add tests and links for Onyx under Tiger and Leopard
diff --git a/cropster.gemspec b/cropster.gemspec index abc1234..def5678 100644 --- a/cropster.gemspec +++ b/cropster.gemspec @@ -18,6 +18,9 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] + spec.add_runtime_dependency "typhoeus" + + spec.add_development_depend...
Add typhoeus as a dependency
diff --git a/Gloss.podspec b/Gloss.podspec index abc1234..def5678 100644 --- a/Gloss.podspec +++ b/Gloss.podspec @@ -8,7 +8,7 @@ s.author = { "Harlan Kellaway" => "hello@harlankellaway.com" } s.source = { :git => "https://github.com/hkellaway/Gloss.git", :tag => s.version.to_s } - s.platform =...
Add tvos platform to podspec
diff --git a/files/gitlab-ctl-commands/deploy_page.rb b/files/gitlab-ctl-commands/deploy_page.rb index abc1234..def5678 100644 --- a/files/gitlab-ctl-commands/deploy_page.rb +++ b/files/gitlab-ctl-commands/deploy_page.rb @@ -0,0 +1,31 @@+# +# Copyright:: Copyright (c) 2014 GitLab B.V. +# License:: Apache License, Versi...
Add a 'gitlab-ctl deploy-page' command