diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/weka/class_builder.rb b/lib/weka/class_builder.rb index abc1234..def5678 100644 --- a/lib/weka/class_builder.rb +++ b/lib/weka/class_builder.rb @@ -6,60 +6,59 @@ module ClassBuilder extend ActiveSupport::Concern - included do - class << self - def build_class(class_name) - ...
Move ClassBuilder class methods from include to ClassMethods module
diff --git a/web/test/test_repoman_checks.rb b/web/test/test_repoman_checks.rb index abc1234..def5678 100644 --- a/web/test/test_repoman_checks.rb +++ b/web/test/test_repoman_checks.rb @@ -10,6 +10,6 @@ def test_heading get '/repoman_checks' assert last_response.ok? - assert last_response.body.include? '<h1>Bui...
Fix repoman page check, it should never have passed
diff --git a/app/controllers/docker_manager/application_controller.rb b/app/controllers/docker_manager/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/docker_manager/application_controller.rb +++ b/app/controllers/docker_manager/application_controller.rb @@ -5,7 +5,7 @@ include Curre...
Use `before_action` for compatibility with Rails 5.
diff --git a/filter/calculator_bot.rb b/filter/calculator_bot.rb index abc1234..def5678 100644 --- a/filter/calculator_bot.rb +++ b/filter/calculator_bot.rb @@ -1,5 +1,6 @@ module Filter class CalculatorBot + include Math def update(p) t = p['text'] re = /^\:= / @@ -15,7 +16,10 @@ end ...
Add math lib to calculator
diff --git a/spec/acceptance/motd_spec.rb b/spec/acceptance/motd_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/motd_spec.rb +++ b/spec/acceptance/motd_spec.rb @@ -0,0 +1,16 @@+require 'spec_helper_acceptance' + +describe 'motd and motd::entry should work' do + it 'should configure and work with no erro...
Add acceptance test for motd
diff --git a/spec/classes/rsyslog_spec.rb b/spec/classes/rsyslog_spec.rb index abc1234..def5678 100644 --- a/spec/classes/rsyslog_spec.rb +++ b/spec/classes/rsyslog_spec.rb @@ -15,9 +15,24 @@ require 'spec_helper' describe 'rsyslog', :type => :class do - let(:title) { 'rsyslog' } + context "On an Ubuntu install in...
Fix test cases by introducing facts to rspec
diff --git a/test/controllers/kiitos/admin/administrators_controller_test.rb b/test/controllers/kiitos/admin/administrators_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/kiitos/admin/administrators_controller_test.rb +++ b/test/controllers/kiitos/admin/administrators_controller_test.rb @@ -19,...
Use let instead of instance variable
diff --git a/buildserver/cookbooks/android-ndk/recipes/default.rb b/buildserver/cookbooks/android-ndk/recipes/default.rb index abc1234..def5678 100644 --- a/buildserver/cookbooks/android-ndk/recipes/default.rb +++ b/buildserver/cookbooks/android-ndk/recipes/default.rb @@ -25,9 +25,9 @@ else SUFFIX='' f...
Fix incomplete ndk upgrade in d7f558ad
diff --git a/lib/arbetsformedlingen/codes/municipality_code.rb b/lib/arbetsformedlingen/codes/municipality_code.rb index abc1234..def5678 100644 --- a/lib/arbetsformedlingen/codes/municipality_code.rb +++ b/lib/arbetsformedlingen/codes/municipality_code.rb @@ -25,7 +25,7 @@ def self.to_form_array(name_only: false) ...
Add Municipality::to_form_array method name_only option
diff --git a/micro-optparse.gemspec b/micro-optparse.gemspec index abc1234..def5678 100644 --- a/micro-optparse.gemspec +++ b/micro-optparse.gemspec @@ -9,8 +9,8 @@ s.authors = ["Florian Pilz"] s.email = ["fpilz87@googlemail.com"] s.homepage = "http://florianpilz.github.com/micro-optparse/" - s.su...
Adjust description for rubygems and ruby toolbox
diff --git a/mixlib-config.gemspec b/mixlib-config.gemspec index abc1234..def5678 100644 --- a/mixlib-config.gemspec +++ b/mixlib-config.gemspec @@ -8,18 +8,19 @@ s.name = "mixlib-config" s.version = Mixlib::Config::VERSION - s.authors = ["Opscode, Inc."] - s.email = "info@opscode.com" + s.authors = ["Chef So...
Add license to gemspec and update other fields for new company name.
diff --git a/lib/headlines/security_headers/security_header.rb b/lib/headlines/security_headers/security_header.rb index abc1234..def5678 100644 --- a/lib/headlines/security_headers/security_header.rb +++ b/lib/headlines/security_headers/security_header.rb @@ -1,9 +1,10 @@ module Headlines module SecurityHeaders ...
Add name attribute to security header
diff --git a/lib/test_wrangler/cohort/matchers/base_matcher.rb b/lib/test_wrangler/cohort/matchers/base_matcher.rb index abc1234..def5678 100644 --- a/lib/test_wrangler/cohort/matchers/base_matcher.rb +++ b/lib/test_wrangler/cohort/matchers/base_matcher.rb @@ -0,0 +1,18 @@+module TestWrangler + class Cohort + modul...
Add serialization and deserialization for cohorts Make all matchers inherit from base matcher. Implement serializer for Cohort. Implement basic serializer for base matcher class. Implement specific serializer for user agent matcher class. Spec out new functionality
diff --git a/app/controllers/one_more_rating/ratings_controller.rb b/app/controllers/one_more_rating/ratings_controller.rb index abc1234..def5678 100644 --- a/app/controllers/one_more_rating/ratings_controller.rb +++ b/app/controllers/one_more_rating/ratings_controller.rb @@ -1,7 +1,11 @@ module OneMoreRating class ...
Check if entity is rateable before try to rate it
diff --git a/spec/event_value_spec.rb b/spec/event_value_spec.rb index abc1234..def5678 100644 --- a/spec/event_value_spec.rb +++ b/spec/event_value_spec.rb @@ -0,0 +1,24 @@+require 'graphite_client' +require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + +require 'json' + +describe "GraphiteClient::EventR...
Add specs to test events Hash normalizer
diff --git a/spec/lib/webhook_spec.rb b/spec/lib/webhook_spec.rb index abc1234..def5678 100644 --- a/spec/lib/webhook_spec.rb +++ b/spec/lib/webhook_spec.rb @@ -8,9 +8,9 @@ let(:resource) { client.webhooks } - include_examples 'list resource' - include_examples 'find resource' - include_examples 'create resour...
Update example use in webhook spec
diff --git a/lib/envato/client.rb b/lib/envato/client.rb index abc1234..def5678 100644 --- a/lib/envato/client.rb +++ b/lib/envato/client.rb @@ -29,6 +29,17 @@ inspected end + # Public: Conceal a sensitive string. + # + # This conceals everything in a string except for the first and last 4 + # ...
Test with some doc generation tomdoc
diff --git a/spec/support/helpers/view_component_example_group.rb b/spec/support/helpers/view_component_example_group.rb index abc1234..def5678 100644 --- a/spec/support/helpers/view_component_example_group.rb +++ b/spec/support/helpers/view_component_example_group.rb @@ -8,16 +8,21 @@ attr_reader :rendered end ...
Allow rendering an Arbre fragment in view component tests
diff --git a/divvy.gemspec b/divvy.gemspec index abc1234..def5678 100644 --- a/divvy.gemspec +++ b/divvy.gemspec @@ -0,0 +1,20 @@+# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = "divvy" + s.version = "1.0" + s.platform = Gem::Platform::RUBY + s.authors = %w[@rtomayko] + s.em...
Add a gemspec, this is v1.0
diff --git a/tests/serverlove/requests/compute/server_tests.rb b/tests/serverlove/requests/compute/server_tests.rb index abc1234..def5678 100644 --- a/tests/serverlove/requests/compute/server_tests.rb +++ b/tests/serverlove/requests/compute/server_tests.rb @@ -0,0 +1,11 @@+Shindo.tests('Fog::Compute[:serverlove] | serv...
Test that we can view servers.
diff --git a/spec/attr_cleaner/model_spec.rb b/spec/attr_cleaner/model_spec.rb index abc1234..def5678 100644 --- a/spec/attr_cleaner/model_spec.rb +++ b/spec/attr_cleaner/model_spec.rb @@ -9,14 +9,6 @@ end let(:instance) { model.new } - - describe ".attr_cleaner" do - context "called with attributes" do - ...
Remove spec for class attribute
diff --git a/spec/futuroscope/future_spec.rb b/spec/futuroscope/future_spec.rb index abc1234..def5678 100644 --- a/spec/futuroscope/future_spec.rb +++ b/spec/futuroscope/future_spec.rb @@ -20,7 +20,7 @@ end end - it "delegates some important methods to the original object's" do + it "delegates some O...
Add test case to test method_missing
diff --git a/lib/convection/model/template/resource/aws_events_rule.rb b/lib/convection/model/template/resource/aws_events_rule.rb index abc1234..def5678 100644 --- a/lib/convection/model/template/resource/aws_events_rule.rb +++ b/lib/convection/model/template/resource/aws_events_rule.rb @@ -11,6 +11,10 @@ ty...
Add a comment around EventsRule
diff --git a/spec/support/govuk_component.rb b/spec/support/govuk_component.rb index abc1234..def5678 100644 --- a/spec/support/govuk_component.rb +++ b/spec/support/govuk_component.rb @@ -3,7 +3,7 @@ module GovukComponent include Slimmer::TestHelpers::SharedTemplates - def expect_component(name, key = name, valu...
Put optional argument at end of `expect_component`
diff --git a/app/importers/file_importers/educators_importer.rb b/app/importers/file_importers/educators_importer.rb index abc1234..def5678 100644 --- a/app/importers/file_importers/educators_importer.rb +++ b/app/importers/file_importers/educators_importer.rb @@ -21,6 +21,7 @@ if educator.present? educato...
Revert "Remove student searchbar caching from educator import job"
diff --git a/app/queries/live_edition_blocking_draft_edition.rb b/app/queries/live_edition_blocking_draft_edition.rb index abc1234..def5678 100644 --- a/app/queries/live_edition_blocking_draft_edition.rb +++ b/app/queries/live_edition_blocking_draft_edition.rb @@ -12,10 +12,9 @@ conflicts = Edition.with_documen...
Fix deprecation warning in query The upgrade has triggered this warning: `DEPRECATION WARNING: NOT conditions will no longer behave as NOR in Rails 6.1. To continue using NOR conditions, NOT each conditions manually`
diff --git a/lib/kubernetes-deploy/kubernetes_resource/cloudsql.rb b/lib/kubernetes-deploy/kubernetes_resource/cloudsql.rb index abc1234..def5678 100644 --- a/lib/kubernetes-deploy/kubernetes_resource/cloudsql.rb +++ b/lib/kubernetes-deploy/kubernetes_resource/cloudsql.rb @@ -9,9 +9,11 @@ def sync _, st = ru...
Set status to Provisioned if everything's up or Unknown otherwise
diff --git a/lib/rom/rails/model/validator/uniqueness_validator.rb b/lib/rom/rails/model/validator/uniqueness_validator.rb index abc1234..def5678 100644 --- a/lib/rom/rails/model/validator/uniqueness_validator.rb +++ b/lib/rom/rails/model/validator/uniqueness_validator.rb @@ -3,33 +3,69 @@ module ROM module Model ...
Add yard docs for uniqueness validator
diff --git a/dough.gemspec b/dough.gemspec index abc1234..def5678 100644 --- a/dough.gemspec +++ b/dough.gemspec @@ -13,7 +13,7 @@ s.summary = "Dough" s.description = "Dough" - s.files = Dir["{app,config,db,lib}/**/*"] + ["LICENSE", "Rakefile", "README.rdoc"] + s.files = Dir["{app,config,db,lib}/**/*"] + [...
Correct readme filename in gemspec
diff --git a/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb b/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb index abc1234..def5678 100644 --- a/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +++ b/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb @@ -6,1...
Correct example that did not do what it claimed. Rework explanation.
diff --git a/kernel/common/module19.rb b/kernel/common/module19.rb index abc1234..def5678 100644 --- a/kernel/common/module19.rb +++ b/kernel/common/module19.rb @@ -28,7 +28,7 @@ Rubinius.add_writer name, self, vis if attributes.last else attributes.each do |name| - raise TypeError, "#{name.ins...
Revert "raises TypeError if to_s returns empty string" This reverts commit e7057cafe7597b9ffc47e5dfeb7b1a0aaec18517.
diff --git a/lib/tty/cmd.rb b/lib/tty/cmd.rb index abc1234..def5678 100644 --- a/lib/tty/cmd.rb +++ b/lib/tty/cmd.rb @@ -23,6 +23,13 @@ ) end + # The root path for all the templates + # + # @api public + def templates_root_path + Pathname.new(::File.join(::File.dirname(__FILE__), 'template...
Add root path for all templates
diff --git a/database_transform.gemspec b/database_transform.gemspec index abc1234..def5678 100644 --- a/database_transform.gemspec +++ b/database_transform.gemspec @@ -19,6 +19,10 @@ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.add_dependency 'act...
Add dependencies on RSpec, ActiveSupport, and ActiveRecord.
diff --git a/Casks/intellij-idea-eap.rb b/Casks/intellij-idea-eap.rb index abc1234..def5678 100644 --- a/Casks/intellij-idea-eap.rb +++ b/Casks/intellij-idea-eap.rb @@ -1,6 +1,6 @@ cask :v1 => 'intellij-idea-eap' do - version '141.588.1' - sha256 '4748d0785eb9e7df24fe43524ee196db69ebde50125eb2d6879702eecc64a604' + v...
Upgrade Intellij Idea EAP to 141.1192.2 Signed-off-by: Koichi Shiraishi <41a18128582fec5418c0a92661f7d4b13d21d912@gmail.com>
diff --git a/appium_tests/spec_helper.rb b/appium_tests/spec_helper.rb index abc1234..def5678 100644 --- a/appium_tests/spec_helper.rb +++ b/appium_tests/spec_helper.rb @@ -16,8 +16,8 @@ platformName: "iOS", deviceName: "iPhone 7", # deviceName: "iPad Pro (10.5-inch)", - ...
Fix deprecated use of Appium::Driver.new()
diff --git a/lib/sinatra/jsonp.rb b/lib/sinatra/jsonp.rb index abc1234..def5678 100644 --- a/lib/sinatra/jsonp.rb +++ b/lib/sinatra/jsonp.rb @@ -18,6 +18,7 @@ content_type :js response = "#{callback}(#{data})" else + content_type :json response = data end ...
Add missing "content_type :json" for pure JSON output
diff --git a/db/migrate/20190520142857_create_infrastructure_voltage_types.rb b/db/migrate/20190520142857_create_infrastructure_voltage_types.rb index abc1234..def5678 100644 --- a/db/migrate/20190520142857_create_infrastructure_voltage_types.rb +++ b/db/migrate/20190520142857_create_infrastructure_voltage_types.rb @@ ...
Fix transit components reference in db migration.
diff --git a/lib/t/collectable.rb b/lib/t/collectable.rb index abc1234..def5678 100644 --- a/lib/t/collectable.rb +++ b/lib/t/collectable.rb @@ -32,7 +32,7 @@ def collect_with_page(collection = ::Set.new, page = 1, previous = nil, &block) tweets = Retryable.retryable(tries: 3, on: Twitter::Error, sleep: 0)...
Use yield instead of block.call
diff --git a/lib/aqbanking.rb b/lib/aqbanking.rb index abc1234..def5678 100644 --- a/lib/aqbanking.rb +++ b/lib/aqbanking.rb @@ -2,11 +2,11 @@ require "aqbanking/account" module AqBanking - def config=(path) + def self.config=(path) @config = path end - def config + def self.config @config ||= '.'...
Use global AqBanking.config var to reference conf
diff --git a/spec/features/budget_polls/polls_spec.rb b/spec/features/budget_polls/polls_spec.rb index abc1234..def5678 100644 --- a/spec/features/budget_polls/polls_spec.rb +++ b/spec/features/budget_polls/polls_spec.rb @@ -3,7 +3,8 @@ feature "Polls" do context "Public index" do - it "Budget polls should not ...
Use `scenario` instead of `it` in feature specs
diff --git a/spec/shared/request_failure_behaviour.rb b/spec/shared/request_failure_behaviour.rb index abc1234..def5678 100644 --- a/spec/shared/request_failure_behaviour.rb +++ b/spec/shared/request_failure_behaviour.rb @@ -0,0 +1,16 @@+# encoding: utf-8 + +shared_examples_for 'request failure' do + + context "resour...
Add common request failure behaviour.
diff --git a/test/mathematical/fixtures_test.rb b/test/mathematical/fixtures_test.rb index abc1234..def5678 100644 --- a/test/mathematical/fixtures_test.rb +++ b/test/mathematical/fixtures_test.rb @@ -8,9 +8,13 @@ define_method "test_#{name}" do source = File.read(before) + actual = Mathematical::Rend...
Add debug option to tests
diff --git a/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb b/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb index abc1234..def5678 100644 --- a/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb +++ b/lib/active_merchant/billing/gateways/payflow...
Support 'street2' field for PayflowExpress UK
diff --git a/lib/algorithmia/errors.rb b/lib/algorithmia/errors.rb index abc1234..def5678 100644 --- a/lib/algorithmia/errors.rb +++ b/lib/algorithmia/errors.rb @@ -10,6 +10,8 @@ case @error[:message] when 'authorization required' raise AlgorithmiaApiKeyInvalid, "The API key you sent is invalid! P...
Add json parse error handling
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index abc1234..def5678 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -1,10 +1,6 @@ class CommentsController < ApplicationController before_action :set_submission befor...
Remove index method from comments controller
diff --git a/SanFranciscoFontFeatures.podspec b/SanFranciscoFontFeatures.podspec index abc1234..def5678 100644 --- a/SanFranciscoFontFeatures.podspec +++ b/SanFranciscoFontFeatures.podspec @@ -0,0 +1,16 @@+Pod::Spec.new do |s| + s.name = 'SanFranciscoFontFeatures' + s.version = '1.0.0' + s.platform = :ios, "8.2...
Create a podspec file for Cocoapods support.
diff --git a/app/models/configuration.rb b/app/models/configuration.rb index abc1234..def5678 100644 --- a/app/models/configuration.rb +++ b/app/models/configuration.rb @@ -15,9 +15,11 @@ # This returns a shortened about for displaying on the settings screen, if the about is multiple lines def about_summary s...
Put in nil check before gsubbing the about text
diff --git a/actioncable/lib/action_cable/connection/authorization.rb b/actioncable/lib/action_cable/connection/authorization.rb index abc1234..def5678 100644 --- a/actioncable/lib/action_cable/connection/authorization.rb +++ b/actioncable/lib/action_cable/connection/authorization.rb @@ -5,7 +5,7 @@ module Authoriz...
Correct the description for reject_unauthorized_connection
diff --git a/spec/coffeescript_spec.rb b/spec/coffeescript_spec.rb index abc1234..def5678 100644 --- a/spec/coffeescript_spec.rb +++ b/spec/coffeescript_spec.rb @@ -56,7 +56,7 @@ end context "converting CoffeeScript" do - it "produces CSS" do + it "produces JS" do expect(converter.convert(coffeescri...
Change CSS to JS in spec Looks like it was a holdover from the jekyll/jekyll-sass-converter spec.
diff --git a/app/models/letter_opener_web/letter.rb b/app/models/letter_opener_web/letter.rb index abc1234..def5678 100644 --- a/app/models/letter_opener_web/letter.rb +++ b/app/models/letter_opener_web/letter.rb @@ -43,6 +43,10 @@ def read_file(style) contents = File.read("#{letters_location}/#{id}/#{style}...
Add comment to explain why we cant feed the whole email file contents to an XML parser
diff --git a/lib/spatula/rake/tasks.rb b/lib/spatula/rake/tasks.rb index abc1234..def5678 100644 --- a/lib/spatula/rake/tasks.rb +++ b/lib/spatula/rake/tasks.rb @@ -2,12 +2,12 @@ desc 'Create database' task :crebas do - Spatula::create '.kitchen.yml' + Spatula::create '.kitchen.yml', 'attributes/default.rb' end ...
Change to reflect how the gem works now
diff --git a/lib/udongo/object_path.rb b/lib/udongo/object_path.rb index abc1234..def5678 100644 --- a/lib/udongo/object_path.rb +++ b/lib/udongo/object_path.rb @@ -1,11 +1,11 @@ class Udongo::ObjectPath def self.find(object) unless object.is_a?(Array) - return "#{object.class.name.underscore}_path".gsub('...
Refactor the object path class.
diff --git a/Library/Formula/soprano.rb b/Library/Formula/soprano.rb index abc1234..def5678 100644 --- a/Library/Formula/soprano.rb +++ b/Library/Formula/soprano.rb @@ -5,6 +5,7 @@ @homepage='http://soprano.sourceforge.net/' @md5='c9a2c008b80cd5d76599e9d48139dfe9' + depends_on 'cmake' depends_on 'qt' depe...
Add cmake as a build dependency for Soprano
diff --git a/app/models/land_and_property_information_record.rb b/app/models/land_and_property_information_record.rb index abc1234..def5678 100644 --- a/app/models/land_and_property_information_record.rb +++ b/app/models/land_and_property_information_record.rb @@ -1,5 +1,4 @@ class LandAndPropertyInformationRecord < Ac...
Remove has_paper_trail from LPIRecord class
diff --git a/app/models/metasploit/cache/module/architecture.rb b/app/models/metasploit/cache/module/architecture.rb index abc1234..def5678 100644 --- a/app/models/metasploit/cache/module/architecture.rb +++ b/app/models/metasploit/cache/module/architecture.rb @@ -34,21 +34,5 @@ validates :module_instance, ...
Remove unneed docs for association writers MSP-12217 Replaced by use of yard-activerecord.
diff --git a/app/controllers/feedback_form_responses_controller.rb b/app/controllers/feedback_form_responses_controller.rb index abc1234..def5678 100644 --- a/app/controllers/feedback_form_responses_controller.rb +++ b/app/controllers/feedback_form_responses_controller.rb @@ -7,7 +7,7 @@ def index check_user_a...
Hide empty FeedbackFormResponse records, show more
diff --git a/app/controllers/ok_computer/ok_computer_controller.rb b/app/controllers/ok_computer/ok_computer_controller.rb index abc1234..def5678 100644 --- a/app/controllers/ok_computer/ok_computer_controller.rb +++ b/app/controllers/ok_computer/ok_computer_controller.rb @@ -42,7 +42,7 @@ end def status_cod...
Update status code handling for compatibility with Rack 2.1 This commit in [Rack 2.1](https://github.com/rack/rack/commit/e6bdee4c16310e078093c0282f2f5449fdd130cd) has it validating status code symbols instead of defaulting to a 500 error on any unknown status.
diff --git a/db/migrate/20090514202305_drop_events_source_event_id.rb b/db/migrate/20090514202305_drop_events_source_event_id.rb index abc1234..def5678 100644 --- a/db/migrate/20090514202305_drop_events_source_event_id.rb +++ b/db/migrate/20090514202305_drop_events_source_event_id.rb @@ -0,0 +1,11 @@+class DropEventsSo...
Drop source_event_id. Rationalize Competition to Event associations. Pull duplicate overall competition code into Overall.
diff --git a/db/migrate/20160413202128_sti_configuration_script.rb b/db/migrate/20160413202128_sti_configuration_script.rb index abc1234..def5678 100644 --- a/db/migrate/20160413202128_sti_configuration_script.rb +++ b/db/migrate/20160413202128_sti_configuration_script.rb @@ -1,5 +1,5 @@ class StiConfigurationScript < ...
Remove dependency on class ApplicationRecord from app folder
diff --git a/db/migrate/20190221200640_change_user_id_to_bigint.rb b/db/migrate/20190221200640_change_user_id_to_bigint.rb index abc1234..def5678 100644 --- a/db/migrate/20190221200640_change_user_id_to_bigint.rb +++ b/db/migrate/20190221200640_change_user_id_to_bigint.rb @@ -0,0 +1,35 @@+class ChangeUserIdToBigint < A...
Update user_id primary and foreign keys to bigint
diff --git a/app/models/instrument_version.rb b/app/models/instrument_version.rb index abc1234..def5678 100644 --- a/app/models/instrument_version.rb +++ b/app/models/instrument_version.rb @@ -27,7 +27,7 @@ def questions return @instrument.questions unless @version questions = [] - @version.reify.questio...
Include deleted questions and options for instrument version
diff --git a/config/initializers/delayed_job_config.rb b/config/initializers/delayed_job_config.rb index abc1234..def5678 100644 --- a/config/initializers/delayed_job_config.rb +++ b/config/initializers/delayed_job_config.rb @@ -10,4 +10,29 @@ Delayed::Worker.read_ahead = 10 Delayed::Worker.default_queue_name = 'defau...
Add delayed_job start on boot script
diff --git a/app/helpers/time_helper.rb b/app/helpers/time_helper.rb index abc1234..def5678 100644 --- a/app/helpers/time_helper.rb +++ b/app/helpers/time_helper.rb @@ -2,7 +2,7 @@ module TimeHelper def time_ago_in_words(time) - content_tag(:time, datetime: time.to_s(:db), title: time) do + content_tag(:time...
Use a better date format for humans
diff --git a/app/substitution_helper.rb b/app/substitution_helper.rb index abc1234..def5678 100644 --- a/app/substitution_helper.rb +++ b/app/substitution_helper.rb @@ -39,7 +39,7 @@ private def substitute?(document_type) - %w(coming_soon gone redirect unpublishing).include?(document_type) + %w(comin...
Allow special_routes to be substitutable.
diff --git a/spec/controllers/data/gqueries_controller_spec.rb b/spec/controllers/data/gqueries_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/data/gqueries_controller_spec.rb +++ b/spec/controllers/data/gqueries_controller_spec.rb @@ -1,10 +1,10 @@ require 'spec_helper' -describe Data::Gquer...
Use ETSource fixture in the GQL controller spec
diff --git a/core/spec/requests/admin/configuration/states_spec.rb b/core/spec/requests/admin/configuration/states_spec.rb index abc1234..def5678 100644 --- a/core/spec/requests/admin/configuration/states_spec.rb +++ b/core/spec/requests/admin/configuration/states_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -descri...
Revert "All tests inside states.js need to be JavaScript and click the 'More' link first" This reverts commit 2eb1a091eee2804cf217e2e88c07d8f785f718c0.
diff --git a/search-engine/lib/condition/condition_color_count_expr.rb b/search-engine/lib/condition/condition_color_count_expr.rb index abc1234..def5678 100644 --- a/search-engine/lib/condition/condition_color_count_expr.rb +++ b/search-engine/lib/condition/condition_color_count_expr.rb @@ -10,6 +10,7 @@ a = car...
Fix crash in color indicator count condition
diff --git a/db/migrate/20081110000150_add_user_time_zones.rb b/db/migrate/20081110000150_add_user_time_zones.rb index abc1234..def5678 100644 --- a/db/migrate/20081110000150_add_user_time_zones.rb +++ b/db/migrate/20081110000150_add_user_time_zones.rb @@ -1,6 +1,6 @@ class AddUserTimeZones < ActiveRecord::Migration ...
Fix migration (add default time zone)
diff --git a/spec/controllers/miq_report_controller/dashboards_spec.rb b/spec/controllers/miq_report_controller/dashboards_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/miq_report_controller/dashboards_spec.rb +++ b/spec/controllers/miq_report_controller/dashboards_spec.rb @@ -1,13 +1,14 @@ describe Repo...
Generalize before block outside be able to reuse it in dashboard spec
diff --git a/spec/models/airbrake_expection_errors_unit_tests_spec.rb b/spec/models/airbrake_expection_errors_unit_tests_spec.rb index abc1234..def5678 100644 --- a/spec/models/airbrake_expection_errors_unit_tests_spec.rb +++ b/spec/models/airbrake_expection_errors_unit_tests_spec.rb @@ -0,0 +1,12 @@+require 'rails_hel...
Add unit test for airbrake-1781551925379466692
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index abc1234..def5678 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -16,7 +16,7 @@ open_dropdown...
Fix specs - delete comment is now a button instead of simple link
diff --git a/db/migrate/20100506172553_add_fields_to_localities.rb b/db/migrate/20100506172553_add_fields_to_localities.rb index abc1234..def5678 100644 --- a/db/migrate/20100506172553_add_fields_to_localities.rb +++ b/db/migrate/20100506172553_add_fields_to_localities.rb @@ -25,7 +25,6 @@ remove_column :localities...
Fix down migration - removing column removes index
diff --git a/db/migrate/20181109131337_align_schema_and_live_db.rb b/db/migrate/20181109131337_align_schema_and_live_db.rb index abc1234..def5678 100644 --- a/db/migrate/20181109131337_align_schema_and_live_db.rb +++ b/db/migrate/20181109131337_align_schema_and_live_db.rb @@ -4,6 +4,6 @@ change_column_null :sashes,...
Check for index before creation in merit points score
diff --git a/rticles.gemspec b/rticles.gemspec index abc1234..def5678 100644 --- a/rticles.gemspec +++ b/rticles.gemspec @@ -17,7 +17,8 @@ s.files = `git ls-files`.split($\) s.add_dependency "rails", ">=3.2.8", '<4.0' - s.add_dependency "acts_as_list", ">=0.1.8" + # acts_as_list 0.6.0 has a bug that caus...
Exclude acts_as_list 0.6.0 because of a bug.
diff --git a/example/changes_monitor.rb b/example/changes_monitor.rb index abc1234..def5678 100644 --- a/example/changes_monitor.rb +++ b/example/changes_monitor.rb @@ -1,8 +1,11 @@ require_relative '../lib/wdm' monitor = WDM::Monitor.new -monitor.watch('C:\Users\Maher\Desktop\test') { puts "change 1!" } -monitor.wa...
Update the example with the new features of WDM
diff --git a/app/helpers/copy_move_helper.rb b/app/helpers/copy_move_helper.rb index abc1234..def5678 100644 --- a/app/helpers/copy_move_helper.rb +++ b/app/helpers/copy_move_helper.rb @@ -1,7 +1,9 @@ module CopyMoveHelper def page_parent_select_tag - home = Page.find_by_parent_id nil - list = build_tree ho...
Allow copy/move to copy between sites when multi_site is installed.
diff --git a/app/lib/where_you_heard.rb b/app/lib/where_you_heard.rb index abc1234..def5678 100644 --- a/app/lib/where_you_heard.rb +++ b/app/lib/where_you_heard.rb @@ -1,5 +1,9 @@ class WhereYouHeard OPTIONS = { + '19' => 'Media - Pensions Awareness Day', + '20' => 'Media - Leaving planning retirement finance...
Add Pension Awareness Week WDYH options
diff --git a/db/migrate/20160127002624_create_administrators.rb b/db/migrate/20160127002624_create_administrators.rb index abc1234..def5678 100644 --- a/db/migrate/20160127002624_create_administrators.rb +++ b/db/migrate/20160127002624_create_administrators.rb @@ -1,8 +1,13 @@ class CreateAdministrators < ActiveRecord:...
Set migrate file in administrators table
diff --git a/spec/controllers/coursewareable/sessions/user_spec.rb b/spec/controllers/coursewareable/sessions/user_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/coursewareable/sessions/user_spec.rb +++ b/spec/controllers/coursewareable/sessions/user_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper' -descri...
Remove focus from sessions controller.
diff --git a/wordpress_client.gemspec b/wordpress_client.gemspec index abc1234..def5678 100644 --- a/wordpress_client.gemspec +++ b/wordpress_client.gemspec @@ -23,6 +23,6 @@ spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rs...
Update webmock version in gemspec
diff --git a/spec/puppet-lint/plugins/world_writable_files_spec.rb b/spec/puppet-lint/plugins/world_writable_files_spec.rb index abc1234..def5678 100644 --- a/spec/puppet-lint/plugins/world_writable_files_spec.rb +++ b/spec/puppet-lint/plugins/world_writable_files_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' descri...
Tidy the context wording to make the specs read better
diff --git a/lib/be_gateway/client.rb b/lib/be_gateway/client.rb index abc1234..def5678 100644 --- a/lib/be_gateway/client.rb +++ b/lib/be_gateway/client.rb @@ -4,7 +4,7 @@ TRANSACTIONS = %w(authorize capture void payment credit chargeback fraud_advice refund checkup) TRANSACTIONS.each do |tr_type| - de...
Change type of name for define_method to symbol.
diff --git a/test/acceptance/client_requests_info_from_server_test.rb b/test/acceptance/client_requests_info_from_server_test.rb index abc1234..def5678 100644 --- a/test/acceptance/client_requests_info_from_server_test.rb +++ b/test/acceptance/client_requests_info_from_server_test.rb @@ -20,4 +20,23 @@ end end ...
Add test that client -> server requests are handled in order
diff --git a/lib/mobility/active_record/uniqueness_validator.rb b/lib/mobility/active_record/uniqueness_validator.rb index abc1234..def5678 100644 --- a/lib/mobility/active_record/uniqueness_validator.rb +++ b/lib/mobility/active_record/uniqueness_validator.rb @@ -4,7 +4,7 @@ def validate_each(record, attribute, ...
Use present? to handle empty array
diff --git a/claide.gemspec b/claide.gemspec index abc1234..def5678 100644 --- a/claide.gemspec +++ b/claide.gemspec @@ -12,7 +12,7 @@ s.summary = "A small command-line interface framework." - s.files = %w{ lib/claide.rb README.markdown LICENSE } + s.files = Dir["lib/**/*.rb"] + %w{ README.markdown LICENSE } ...
[Gemspec] Include all files in lib
diff --git a/spec/orderable_spec.rb b/spec/orderable_spec.rb index abc1234..def5678 100644 --- a/spec/orderable_spec.rb +++ b/spec/orderable_spec.rb @@ -7,9 +7,9 @@ it 'adds a product to the order when one is found' do product = Omniorder::Product.new(:code => 'CODE1') - expect(Omniorder::Product).to ...
Revert "Attempt to fix specs with Rubinius" This reverts commit f1e6798ad6c24fa3185141f6918be0169da2dc09.
diff --git a/lib/alephant/broker/models/response/batch_response.rb b/lib/alephant/broker/models/response/batch_response.rb index abc1234..def5678 100644 --- a/lib/alephant/broker/models/response/batch_response.rb +++ b/lib/alephant/broker/models/response/batch_response.rb @@ -23,13 +23,17 @@ def json get...
Fix bug with fetching option hash key
diff --git a/lib/erforscher/runner.rb b/lib/erforscher/runner.rb index abc1234..def5678 100644 --- a/lib/erforscher/runner.rb +++ b/lib/erforscher/runner.rb @@ -12,8 +12,8 @@ def run explored = explorer.discover(@config['tags']) - entries = explored.sort.map { |ex| formatter.format(ex) } - hostsf...
Sort (new) entries before writing them Make that hostsfile look pretty.
diff --git a/capistrano-alchemy.gemspec b/capistrano-alchemy.gemspec index abc1234..def5678 100644 --- a/capistrano-alchemy.gemspec +++ b/capistrano-alchemy.gemspec @@ -6,8 +6,8 @@ Gem::Specification.new do |spec| spec.name = "capistrano-alchemy" spec.version = Capistrano::Alchemy::VERSION - spec....
Add Thomas von Deyen to authors
diff --git a/recipes/mod_dav_fs.rb b/recipes/mod_dav_fs.rb index abc1234..def5678 100644 --- a/recipes/mod_dav_fs.rb +++ b/recipes/mod_dav_fs.rb @@ -0,0 +1,20 @@+# +# Cookbook Name:: apache2 +# Recipe:: dav_fs +# +# Copyright 2011, Atriso +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may ...
Support for dav_fs apache module.
diff --git a/pages/spec/support/refinery/pages/caching_helpers.rb b/pages/spec/support/refinery/pages/caching_helpers.rb index abc1234..def5678 100644 --- a/pages/spec/support/refinery/pages/caching_helpers.rb +++ b/pages/spec/support/refinery/pages/caching_helpers.rb @@ -13,10 +13,10 @@ Refinery::PagesController.an...
Fix warning regarding putting a space before parentheses.
diff --git a/config/deploy/production.rb b/config/deploy/production.rb index abc1234..def5678 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -3,4 +3,4 @@ role :db, %w(deploy@localhost) server 'localhost', user: 'deploy', roles: %w(web app) set :rails_env, 'production' -set :linked_file...
Add support for secrets deployment
diff --git a/lib/qbwc_workers/requests/sales_tax_item_import.rb b/lib/qbwc_workers/requests/sales_tax_item_import.rb index abc1234..def5678 100644 --- a/lib/qbwc_workers/requests/sales_tax_item_import.rb +++ b/lib/qbwc_workers/requests/sales_tax_item_import.rb @@ -1,6 +1,6 @@ class QbwcWorkers::Requests::SalesTaxItemIm...
Fix to pulling in sales tax items
diff --git a/Casks/lingo.rb b/Casks/lingo.rb index abc1234..def5678 100644 --- a/Casks/lingo.rb +++ b/Casks/lingo.rb @@ -2,7 +2,7 @@ version :latest sha256 :no_check - # nounproject.s3.amazonaws.com/lingo was verified as official when first introduced to the cask. + # nounproject.s3.amazonaws.com/lingo was ver...
Fix `url` stanza comment for Lingo.
diff --git a/lib/rails_admin/config/fields/types/active_storage.rb b/lib/rails_admin/config/fields/types/active_storage.rb index abc1234..def5678 100644 --- a/lib/rails_admin/config/fields/types/active_storage.rb +++ b/lib/rails_admin/config/fields/types/active_storage.rb @@ -0,0 +1,43 @@+module RailsAdmin + module Co...
Add Active Storage field type
diff --git a/lib/souschef/template.rb b/lib/souschef/template.rb index abc1234..def5678 100644 --- a/lib/souschef/template.rb +++ b/lib/souschef/template.rb @@ -5,6 +5,7 @@ require 'souschef/template/rubocop' require 'souschef/template/spec_helper' require 'souschef/template/serverspec' +require 'souschef/template/ra...
Add Rakefile creation to the list
diff --git a/lib/tasks/coveralls.rake b/lib/tasks/coveralls.rake index abc1234..def5678 100644 --- a/lib/tasks/coveralls.rake +++ b/lib/tasks/coveralls.rake @@ -1,5 +1,5 @@ if Rails.env.development? or Rails.env.test? require 'coveralls/rake/task' Coveralls::RakeTask.new - task :test_with_coveralls => ['spec', :...
Add 'db:setup' to Travis CI task
diff --git a/test/integration/default/serverspec/repositories_spec.rb b/test/integration/default/serverspec/repositories_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/repositories_spec.rb +++ b/test/integration/default/serverspec/repositories_spec.rb @@ -0,0 +1,19 @@+require 'serverspe...
Add integration tests for repositories
diff --git a/lib/visa_net_uy/xmler.rb b/lib/visa_net_uy/xmler.rb index abc1234..def5678 100644 --- a/lib/visa_net_uy/xmler.rb +++ b/lib/visa_net_uy/xmler.rb @@ -62,7 +62,7 @@ return fields unless root.name == ROOT_NAME root.elements.each do |child| - fields[child.name] = child.get_text + fields[chi...
Fix response hash text class
diff --git a/app/serializers/api/v1/historical_emissions/record_serializer.rb b/app/serializers/api/v1/historical_emissions/record_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/api/v1/historical_emissions/record_serializer.rb +++ b/app/serializers/api/v1/historical_emissions/record_serializer.rb @@ ...
Include iso_code3 in emissions request