diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/redmine_menus.rb b/lib/redmine_menus.rb index abc1234..def5678 100644 --- a/lib/redmine_menus.rb +++ b/lib/redmine_menus.rb @@ -1,5 +1,5 @@ Redmine::MenuManager.map :admin_menu do |menu| - menu.push :redmine_git_hosting, { controller: 'settings', action: 'plugin', id: 'redmine_git_hosting' }, caption:...
Fix plugin icon with Redmine 3.4.x
diff --git a/app/models/candidate.rb b/app/models/candidate.rb index abc1234..def5678 100644 --- a/app/models/candidate.rb +++ b/app/models/candidate.rb @@ -9,7 +9,7 @@ def self.remove_appointed_politicians(zip) APPOINTED_OFFICES.each do |office| - Candidate.where(zip: zip). where('office LIKE ?', "%#{of...
Fix database query by removing a space that somehow got inserted in the query
diff --git a/app/models/situation.rb b/app/models/situation.rb index abc1234..def5678 100644 --- a/app/models/situation.rb +++ b/app/models/situation.rb @@ -1,15 +1,6 @@-# class ChoicesSetUnlessEnding < ActiveModel::Validator -#   def validate(record) -#     unless record.name.starts_with? 'X' -#       record.errors[:n...
Remove comments of failed attempt to custom validate.
diff --git a/jeet.gemspec b/jeet.gemspec index abc1234..def5678 100644 --- a/jeet.gemspec +++ b/jeet.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |spec| spec.name = 'jeet' - spec.version = Jeet::Rails::VERSION + spec.version = Jeet::VERSION spec.authors = ['Cory Simmons', 'Jona...
Remove old Rails namespace from version
diff --git a/spec/connection_spec.rb b/spec/connection_spec.rb index abc1234..def5678 100644 --- a/spec/connection_spec.rb +++ b/spec/connection_spec.rb @@ -10,9 +10,10 @@ describe ActiveRecord::ConnectionHandling do it 'raises NoDatabaseError correctly' do + error_class = defined?(ActiveRecord::NoDatabaseError...
Fix NoDatabaseError test for AR < 4.1
diff --git a/gem/lib/commands/push.rb b/gem/lib/commands/push.rb index abc1234..def5678 100644 --- a/gem/lib/commands/push.rb +++ b/gem/lib/commands/push.rb @@ -27,7 +27,7 @@ name = get_one_gem_name response = make_request(:post, "gems") do |request| - request.body = File.open(name).read + request....
Fix wrong Content-Length on Ruby 1.9, leading to Timeout in some cases
diff --git a/spec/controllers/portfolios_controller_spec.rb b/spec/controllers/portfolios_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/portfolios_controller_spec.rb +++ b/spec/controllers/portfolios_controller_spec.rb @@ -11,7 +11,9 @@ end it "shows the user's name if the data is avail...
Initialize cache state in the PortfoliosController spec
diff --git a/spec/routing/duckrails/dynamic_routing_spec.rb b/spec/routing/duckrails/dynamic_routing_spec.rb index abc1234..def5678 100644 --- a/spec/routing/duckrails/dynamic_routing_spec.rb +++ b/spec/routing/duckrails/dynamic_routing_spec.rb @@ -10,12 +10,12 @@ Duckrails::Application.routes_reloader.reload! e...
Fix routing expectation declaration for ruby 2.1.x
diff --git a/build_job.rb b/build_job.rb index abc1234..def5678 100644 --- a/build_job.rb +++ b/build_job.rb @@ -7,9 +7,8 @@ clone_repo(repo, token, tmpdir) Dir.chdir "#{tmpdir}/#{repo}" do setup_git - # fetch gh-pages then hop back to master - puts `git checkout --track origin/gh-pages` - ...
Use ruby-git to fetch gh-pages
diff --git a/app/workers/discourse_synchronization_worker.rb b/app/workers/discourse_synchronization_worker.rb index abc1234..def5678 100644 --- a/app/workers/discourse_synchronization_worker.rb +++ b/app/workers/discourse_synchronization_worker.rb @@ -5,10 +5,10 @@ for_each_tenant(user_id) do |u,t| client(t)...
Fix typo in hash of sync worker
diff --git a/rodf.gemspec b/rodf.gemspec index abc1234..def5678 100644 --- a/rodf.gemspec +++ b/rodf.gemspec @@ -10,7 +10,8 @@ s.homepage = 'https://github.com/thiagoarrais/rodf' s.authors = ['Weston Ganger', 'Thiago Arrais'] s.email = ["weston@westonganger.com", "thiago.arrais@gmail.com"] - + s.license = "MIT...
Add license to gemspec for easier automatic discovery The LICENSE file already defines this gem as MIT, but this adds that info to the gemspec as well
diff --git a/attributes/default.rb b/attributes/default.rb index abc1234..def5678 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -1,8 +1,8 @@ default['kafka']['user'] = 'kafka' default['kafka']['group'] = 'kafka' default['kafka']['version'] = '0.8.1' -default['kafka']['scala_version'] = '2.10' -de...
Change scala version to make most commonly used one
diff --git a/db/migrate/20110801215540_rename_error_state_to_errored.rb b/db/migrate/20110801215540_rename_error_state_to_errored.rb index abc1234..def5678 100644 --- a/db/migrate/20110801215540_rename_error_state_to_errored.rb +++ b/db/migrate/20110801215540_rename_error_state_to_errored.rb @@ -1,14 +1,11 @@-require '...
Fix update_all syntax for Rails 4.1 In this case, just switch to pure SQL for infinite compatibility
diff --git a/db/migrate/20190924072449_remove_travel_advice_editions.rb b/db/migrate/20190924072449_remove_travel_advice_editions.rb index abc1234..def5678 100644 --- a/db/migrate/20190924072449_remove_travel_advice_editions.rb +++ b/db/migrate/20190924072449_remove_travel_advice_editions.rb @@ -0,0 +1,10 @@+class Remo...
Add a migration to remove travel advice editions Publisher is no longer responsible for these documents so we can remove them.
diff --git a/lib/disco.rb b/lib/disco.rb index abc1234..def5678 100644 --- a/lib/disco.rb +++ b/lib/disco.rb @@ -4,3 +4,5 @@ Bundler.require(:default) require 'disco/markdown_helper' + +ActionView::Base.send(:include, Disco::MarkdownHelper)
Include the markdown helper into ActionView
diff --git a/lib/active_replicas/railtie.rb b/lib/active_replicas/railtie.rb index abc1234..def5678 100644 --- a/lib/active_replicas/railtie.rb +++ b/lib/active_replicas/railtie.rb @@ -4,10 +4,13 @@ attr_reader :connection_handler def hijack_active_record(proxy_configuration, overrides: []) + Prox...
Make Railtie properly set up delegations
diff --git a/lib/botr/api/authentication.rb b/lib/botr/api/authentication.rb index abc1234..def5678 100644 --- a/lib/botr/api/authentication.rb +++ b/lib/botr/api/authentication.rb @@ -16,7 +16,7 @@ # URL encode params str_params = URI.encode_www_form(sorted_params) - Digest::SHA1.hexdigest str_para...
Change expected secret key method.
diff --git a/lib/capybara_webkit_builder.rb b/lib/capybara_webkit_builder.rb index abc1234..def5678 100644 --- a/lib/capybara_webkit_builder.rb +++ b/lib/capybara_webkit_builder.rb @@ -30,20 +30,11 @@ end def makefile - system("#{make_env_variables} #{qmake_bin} -spec #{spec}") + system("#{qmake_bin} -spec...
Clean makefile after building so rubygems won't crash.
diff --git a/lib/jibby.rb b/lib/jibby.rb index abc1234..def5678 100644 --- a/lib/jibby.rb +++ b/lib/jibby.rb @@ -2,9 +2,11 @@ # Jibby is a console client that connects to JIRA module Jibby + class << self + attr_reader :gateway + end + module_function - - attr_reader :gateway def interface @interf...
Make gateway an attr_reader for a class variable
diff --git a/rubinius-toolset.gemspec b/rubinius-toolset.gemspec index abc1234..def5678 100644 --- a/rubinius-toolset.gemspec +++ b/rubinius-toolset.gemspec @@ -1,5 +1,5 @@ # coding: utf-8 -require 'rubinius/toolset/version' +require './lib/rubinius/toolset/version' Gem::Specification.new do |spec| spec.name ...
Load the version from source.
diff --git a/lib/might/filter_predicates.rb b/lib/might/filter_predicates.rb index abc1234..def5678 100644 --- a/lib/might/filter_predicates.rb +++ b/lib/might/filter_predicates.rb @@ -2,24 +2,51 @@ # Contains contains with all supported predicates # module FilterPredicates - ON_VALUE = %w( - not_eq eq ...
Move all predicates to constants
diff --git a/lib/mios/device/power_meter.rb b/lib/mios/device/power_meter.rb index abc1234..def5678 100644 --- a/lib/mios/device/power_meter.rb +++ b/lib/mios/device/power_meter.rb @@ -0,0 +1,20 @@+# NOTE: Currently untested with a real power meter +class MiOS::Device::PowerMeter < MiOS::Device::Generic + ServiceId = ...
Add support (untested) for a power meter
diff --git a/lib/tasks/stagehand_tasks.rake b/lib/tasks/stagehand_tasks.rake index abc1234..def5678 100644 --- a/lib/tasks/stagehand_tasks.rake +++ b/lib/tasks/stagehand_tasks.rake @@ -17,8 +17,8 @@ desc "Migrate both databases used by stagehand" task :migrate => :environment do - [Rails.configuration.x.stage...
Use Stagehand.configuration instead of Rails.configuration This avoids a nil exception in with_connection if the configuration settings are not present.
diff --git a/lib/theme_park/rails/server.rb b/lib/theme_park/rails/server.rb index abc1234..def5678 100644 --- a/lib/theme_park/rails/server.rb +++ b/lib/theme_park/rails/server.rb @@ -7,11 +7,32 @@ # Only for Rails application. def call(env) - theme_name = env['action_dispatch.request.path_parame...
Fix ThreadError - deadlock; recursive locking
diff --git a/lib/thinking_sphinx/railtie.rb b/lib/thinking_sphinx/railtie.rb index abc1234..def5678 100644 --- a/lib/thinking_sphinx/railtie.rb +++ b/lib/thinking_sphinx/railtie.rb @@ -3,7 +3,7 @@ module ThinkingSphinx class Railtie < Rails::Railtie - + initializer 'thinking_sphinx.sphinx' do Think...
Load order doesn't seem to matter for translations now, so no need to force the reload of I18n setup.
diff --git a/test/models/track_test.rb b/test/models/track_test.rb index abc1234..def5678 100644 --- a/test/models/track_test.rb +++ b/test/models/track_test.rb @@ -1,6 +1,7 @@ # Encoding: utf-8 require 'test_helper' +# Test track model class TrackTest < ActiveSupport::TestCase # test "the truth" do # asser...
Add header to track model test
diff --git a/puppet-lint-yumrepo_gpgcheck_enabled-check.gemspec b/puppet-lint-yumrepo_gpgcheck_enabled-check.gemspec index abc1234..def5678 100644 --- a/puppet-lint-yumrepo_gpgcheck_enabled-check.gemspec +++ b/puppet-lint-yumrepo_gpgcheck_enabled-check.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.na...
Allow puppet-lint 2.0 as a dependency and bump check version
diff --git a/test/acceptance/server_requests_info_from_client_test.rb b/test/acceptance/server_requests_info_from_client_test.rb index abc1234..def5678 100644 --- a/test/acceptance/server_requests_info_from_client_test.rb +++ b/test/acceptance/server_requests_info_from_client_test.rb @@ -0,0 +1,27 @@+require 'acceptanc...
Add test that server can send request and wait for client response
diff --git a/test/data_structures/association_column_test.rb b/test/data_structures/association_column_test.rb index abc1234..def5678 100644 --- a/test/data_structures/association_column_test.rb +++ b/test/data_structures/association_column_test.rb @@ -18,8 +18,9 @@ end def test_searching - # right now, there...
Fix testing default search for association columns
diff --git a/test/unit/calculators/arrested_abroad_calculator_test.rb b/test/unit/calculators/arrested_abroad_calculator_test.rb index abc1234..def5678 100644 --- a/test/unit/calculators/arrested_abroad_calculator_test.rb +++ b/test/unit/calculators/arrested_abroad_calculator_test.rb @@ -16,7 +16,7 @@ should ...
Update tests following link changes
diff --git a/AFIncrementalStore.podspec b/AFIncrementalStore.podspec index abc1234..def5678 100644 --- a/AFIncrementalStore.podspec +++ b/AFIncrementalStore.podspec @@ -17,5 +17,5 @@ s.requires_arc = true - s.dependency 'AFNetworking', '~> 0.9.0' + s.dependency 'AFNetworking', '>= 0.9.0' end
Change AFNetworking dependency to >= 0.9.0
diff --git a/mta-settings.gemspec b/mta-settings.gemspec index abc1234..def5678 100644 --- a/mta-settings.gemspec +++ b/mta-settings.gemspec @@ -27,5 +27,5 @@ spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "rake", "~> 10" spec.add_development_dependency "minitest", "~> 5" - ...
Allow use with Rails 7
diff --git a/Valet.podspec b/Valet.podspec index abc1234..def5678 100644 --- a/Valet.podspec +++ b/Valet.podspec @@ -14,18 +14,4 @@ s.macos.deployment_target = '10.11' s.tvos.exclude_files = 'Sources/SinglePromptSecureEnclaveValet.swift' - - s.test_spec 'Tests' do |test_spec| - test_spec.ios.requires_app_hos...
Remove 'test_spec' from podspec – it doesn't handle test environments that require keychain sharing
diff --git a/util/update_proposal_status_from_voting_spreadsheet.rb b/util/update_proposal_status_from_voting_spreadsheet.rb index abc1234..def5678 100644 --- a/util/update_proposal_status_from_voting_spreadsheet.rb +++ b/util/update_proposal_status_from_voting_spreadsheet.rb @@ -8,19 +8,19 @@ waitlist = %w( ).map(...
Update proposal status script with OpenConferenceWare namespace
diff --git a/lib/ajax-datatables-rails/datatable/datatable.rb b/lib/ajax-datatables-rails/datatable/datatable.rb index abc1234..def5678 100644 --- a/lib/ajax-datatables-rails/datatable/datatable.rb +++ b/lib/ajax-datatables-rails/datatable/datatable.rb @@ -18,7 +18,12 @@ end def orders - @orders |...
Fix deprecation warning and be compatible acrross Rails versions
diff --git a/Casks/boom.rb b/Casks/boom.rb index abc1234..def5678 100644 --- a/Casks/boom.rb +++ b/Casks/boom.rb @@ -1,6 +1,6 @@ cask :v1 => 'boom' do - version '1.0' - sha256 '446605e22d6c4c56e7451373a330c3c86e2a7aa9316ca9aaa2261d200f7e747d' + version '1.0.1' + sha256 '9ee325c8901bfeaae54ca10be5eac129f42c956a0daef...
Update Boom 2 to v1.0.1
diff --git a/Casks/josm.rb b/Casks/josm.rb index abc1234..def5678 100644 --- a/Casks/josm.rb +++ b/Casks/josm.rb @@ -1,6 +1,6 @@ cask 'josm' do - version '9963' - sha256 'd93ae916bc679d0ba1dd56b3262682a862badb7523cc57f099e65f8d056f659d' + version '9979' + sha256 'd25a69ccf06fb5edc86e9152cda4185b2f8f774bcbb45493f39b...
Update JOSM to version 9979
diff --git a/Casks/love.rb b/Casks/love.rb index abc1234..def5678 100644 --- a/Casks/love.rb +++ b/Casks/love.rb @@ -1,6 +1,6 @@ cask :v1 => 'love' do version '0.9.1' - sha256 '40dfeb1069f6c056b06d0e87c64f3950fd1b1523a9e19af2b03912a5d5c03b13' + sha256 '82bdd5c40440af8f26f622b8772a877c8aa201fd0115a0f57563790d17a96b...
Love: Fix the sha256 and link binary The shasum didn't match. Also link the binary
diff --git a/db/migrate/20110512082750_add_entity_type_names.rb b/db/migrate/20110512082750_add_entity_type_names.rb index abc1234..def5678 100644 --- a/db/migrate/20110512082750_add_entity_type_names.rb +++ b/db/migrate/20110512082750_add_entity_type_names.rb @@ -0,0 +1,22 @@+class AddEntityTypeNames < ActiveRecord::M...
Add entity type names like shown in document
diff --git a/lib/cortex/snippets/client.rb b/lib/cortex/snippets/client.rb index abc1234..def5678 100644 --- a/lib/cortex/snippets/client.rb +++ b/lib/cortex/snippets/client.rb @@ -4,7 +4,7 @@ module Cortex module Snippets class Client - include ActionView::Helpers::TranslationHelper + include ActionV...
Include TagHelper instead of TranslationHelper to get content_tag dependency
diff --git a/cloud_files.gemspec b/cloud_files.gemspec index abc1234..def5678 100644 --- a/cloud_files.gemspec +++ b/cloud_files.gemspec @@ -23,5 +23,5 @@ spec.add_development_dependency "bundler", "~> 1.10" spec.add_development_dependency "rake", "~> 10.0" - spec.add_development_dependency "rspec", "~> 3....
Downgrade RSpec for TM1 compatability
diff --git a/spec/integration/cli/key_pair/key_pair_aws_spec.rb b/spec/integration/cli/key_pair/key_pair_aws_spec.rb index abc1234..def5678 100644 --- a/spec/integration/cli/key_pair/key_pair_aws_spec.rb +++ b/spec/integration/cli/key_pair/key_pair_aws_spec.rb @@ -25,18 +25,6 @@ Confirm: Using key pair microbosh-test-b...
Remove test ideas that went into unit tests
diff --git a/agate.gemspec b/agate.gemspec index abc1234..def5678 100644 --- a/agate.gemspec +++ b/agate.gemspec @@ -8,8 +8,8 @@ spec.version = Agate::VERSION spec.authors = ["Jesse B. Hannah"] spec.email = ["jesse@jbhannah.net"] - spec.description = %q{Wrap ruby characters (e.g. furigana...
Update gemspec to reflect Japanese support only for now [ci skip]
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,19 +1,19 @@ cask :v1 => 'intellij-idea-eap' do - version '141.1531.2' - sha256 '66fe6dcc84508cac655cac251975e69075ed1b0a80e9bf2baaa02b2a0b33c98d' +...
Update IntelliJ EAP to 15; version 142.2491.4.
diff --git a/cookbooks/wt_streamcollection/recipes/default.rb b/cookbooks/wt_streamcollection/recipes/default.rb index abc1234..def5678 100644 --- a/cookbooks/wt_streamcollection/recipes/default.rb +++ b/cookbooks/wt_streamcollection/recipes/default.rb @@ -15,17 +15,6 @@ install_dir = node[:install_dir] download_url ...
Create the directories before we try to download the tar and CD into a directory that might not exist
diff --git a/app/serializers/admin/feedback_report_csv_writer.rb b/app/serializers/admin/feedback_report_csv_writer.rb index abc1234..def5678 100644 --- a/app/serializers/admin/feedback_report_csv_writer.rb +++ b/app/serializers/admin/feedback_report_csv_writer.rb @@ -1,7 +1,7 @@ module Admin class FeedbackReportCSV...
Add Date to the feedback report.
diff --git a/rb/lib/selenium/webdriver/firefox/bridge.rb b/rb/lib/selenium/webdriver/firefox/bridge.rb index abc1234..def5678 100644 --- a/rb/lib/selenium/webdriver/firefox/bridge.rb +++ b/rb/lib/selenium/webdriver/firefox/bridge.rb @@ -41,9 +41,9 @@ def quit super + nil + ensure ...
JariBakken: Make sure Firefox shutdown happens even if the RPC fails. git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@16693 07704840-8298-11de-bf8c-fd130f914ac9
diff --git a/nagira_active_resource.gemspec b/nagira_active_resource.gemspec index abc1234..def5678 100644 --- a/nagira_active_resource.gemspec +++ b/nagira_active_resource.gemspec @@ -11,7 +11,7 @@ s.email = ["dmytro.kovalov@gmail.com"] s.homepage = "http://dmytro.github.com" s.summary = "Rails si...
Add nagira dependency to Gemfile
diff --git a/spec/aspect_on_object_spec.rb b/spec/aspect_on_object_spec.rb index abc1234..def5678 100644 --- a/spec/aspect_on_object_spec.rb +++ b/spec/aspect_on_object_spec.rb @@ -0,0 +1,46 @@+require File.expand_path(File.dirname(__FILE__) + '/spec_helper') + +describe "Aspector for object" do + it "should work" do ...
Test aspect for instance objects
diff --git a/test/application/app/models/degenerate_user.rb b/test/application/app/models/degenerate_user.rb index abc1234..def5678 100644 --- a/test/application/app/models/degenerate_user.rb +++ b/test/application/app/models/degenerate_user.rb @@ -1,5 +1,5 @@ class ::DegenerateUser - include Authorize::Authorizations...
Remove cruft from DegenerateUser model
diff --git a/spec/support/action_mailer.rb b/spec/support/action_mailer.rb index abc1234..def5678 100644 --- a/spec/support/action_mailer.rb +++ b/spec/support/action_mailer.rb @@ -1,7 +1,8 @@+deliver_method = ActionMailer.respond_to?(:version) && ActionMailer.version.to_s.to_f >= 4.2 ? :deliver_now! : :deliver! share...
Remove deprecation warning in spec test
diff --git a/lib/blazer/adapters/mongodb_adapter.rb b/lib/blazer/adapters/mongodb_adapter.rb index abc1234..def5678 100644 --- a/lib/blazer/adapters/mongodb_adapter.rb +++ b/lib/blazer/adapters/mongodb_adapter.rb @@ -7,7 +7,7 @@ error = nil begin - documents = db.command({:$eval => "#{statem...
Use nolock: true for Mongo [skip ci]
diff --git a/pakyow-mailer/lib/mailer/helpers.rb b/pakyow-mailer/lib/mailer/helpers.rb index abc1234..def5678 100644 --- a/pakyow-mailer/lib/mailer/helpers.rb +++ b/pakyow-mailer/lib/mailer/helpers.rb @@ -1,5 +1,5 @@ module Pakyow - module AppHelpers + module Helpers def mailer(view_path) Mailer.from_stor...
Put mailer in Helpers instead of AppHelpers
diff --git a/lib/john_hancock/rails/form_builder.rb b/lib/john_hancock/rails/form_builder.rb index abc1234..def5678 100644 --- a/lib/john_hancock/rails/form_builder.rb +++ b/lib/john_hancock/rails/form_builder.rb @@ -3,12 +3,21 @@ module FormBuilder include ActionView::Helpers::TagHelper + def signatu...
Add separate methods for canvas and hidden field
diff --git a/lib/generators/thincloud/test/test_generator.rb b/lib/generators/thincloud/test/test_generator.rb index abc1234..def5678 100644 --- a/lib/generators/thincloud/test/test_generator.rb +++ b/lib/generators/thincloud/test/test_generator.rb @@ -27,6 +27,8 @@ empty_directory "spec/mailers" empty...
Add gitkeeps for spec dirs
diff --git a/lib/interactive_s3/commands/internal_command.rb b/lib/interactive_s3/commands/internal_command.rb index abc1234..def5678 100644 --- a/lib/interactive_s3/commands/internal_command.rb +++ b/lib/interactive_s3/commands/internal_command.rb @@ -40,7 +40,7 @@ class Pwd < Base def execute - pu...
Modify `pwd` command in the root dir.
diff --git a/lib/rubocop/cop/mixin/configurable_numbering.rb b/lib/rubocop/cop/mixin/configurable_numbering.rb index abc1234..def5678 100644 --- a/lib/rubocop/cop/mixin/configurable_numbering.rb +++ b/lib/rubocop/cop/mixin/configurable_numbering.rb @@ -7,9 +7,9 @@ module ConfigurableNumbering include Configu...
Change regexes to not capture
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -31,7 +31,7 @@ provider :developer unless Rails.env.production? provider :github, ENV['GITHUB_CLIENT_ID'], ENV['GITHUB_CLIENT_SECRET'], request_path: ...
Add repo scope to github
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -21,5 +21,9 @@ # config.i18n.default_locale = :de config.sass.preferred_syntax = :sass + + config.generators do |g| + g.test_framework :rspec + end ...
Configure Rspec as default test framework for Rails generators
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,5 +1,6 @@ require File.expand_path('../boot', __FILE__) +YAML::ENGINE.yamler = 'syck' # Pick the frameworks you want: # require "active_record/railtie" require "act...
Fix mongoid config loading after ruby 1.9.2 upgrade
diff --git a/test/tmp.rb b/test/tmp.rb index abc1234..def5678 100644 --- a/test/tmp.rb +++ b/test/tmp.rb @@ -20,11 +20,11 @@ assert_equal "multicast", queue.push_type - queue.update_queue(:push_type => 'pull') + p queue.update_queue(:push_type => 'pull') queue.reload - p queue.type + p queu...
Test for converting to back to pull type.
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -12,6 +12,8 @@ # How often should encountering a run trigger a background refresh-from-file job? config.run_refresh_chance = 0.1 + + config.assets.precompile ...
Add darkmode.css to precompilation list
diff --git a/config/environment.rb b/config/environment.rb index abc1234..def5678 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -6,9 +6,13 @@ Rails::Initializer.run do |config| config.action_controller.session = { :session_key => "_active_scaffold_demo", :secret => ("shhh." * 6) } <<<<<<< HEAD:c...
Revert "removing requirement for now" This reverts commit 1b66bdec303e2c5e515fccd609100118c5b86967. Conflicts: config/environment.rb
diff --git a/actionpack/lib/action_view/template/handlers/erb.rb b/actionpack/lib/action_view/template/handlers/erb.rb index abc1234..def5678 100644 --- a/actionpack/lib/action_view/template/handlers/erb.rb +++ b/actionpack/lib/action_view/template/handlers/erb.rb @@ -17,7 +17,7 @@ def compile(template) ...
Fix pattern to match various magic comment formats
diff --git a/Runes.podspec b/Runes.podspec index abc1234..def5678 100644 --- a/Runes.podspec +++ b/Runes.podspec @@ -12,6 +12,7 @@ spec.source = { :git => 'https://github.com/thoughtbot/runes.git', :tag => "v#{spec.version}" } spec.source_files = 'Source/**/*.{h,swift}' spec.requires_arc = true + spec.compiler...
Add whole module optimization to the podspec
diff --git a/Contentful.podspec b/Contentful.podspec index abc1234..def5678 100644 --- a/Contentful.podspec +++ b/Contentful.podspec @@ -19,9 +19,15 @@ :tag => spec.version.to_s } spec.requires_arc = true - spec.source_files = 'Sources/*.swift' + spec.source_files = '...
Update podspec with platform specific files
diff --git a/app/components/express_admin/flash_message_component.rb b/app/components/express_admin/flash_message_component.rb index abc1234..def5678 100644 --- a/app/components/express_admin/flash_message_component.rb +++ b/app/components/express_admin/flash_message_component.rb @@ -2,14 +2,15 @@ class FlashMessageC...
Add div wrapper for the flash message
diff --git a/app/models/ahoy/visit.rb b/app/models/ahoy/visit.rb index abc1234..def5678 100644 --- a/app/models/ahoy/visit.rb +++ b/app/models/ahoy/visit.rb @@ -3,4 +3,5 @@ has_many :events, class_name: "Ahoy::Event" belongs_to :user, optional: true + belongs_to :site, optional: true end
Add association of Ahoy::Visit model with Site
diff --git a/lib/electric_sheep/commands/database/mysql_dump.rb b/lib/electric_sheep/commands/database/mysql_dump.rb index abc1234..def5678 100644 --- a/lib/electric_sheep/commands/database/mysql_dump.rb +++ b/lib/electric_sheep/commands/database/mysql_dump.rb @@ -13,25 +13,25 @@ def perform! logger....
Use options instead of arguments
diff --git a/lib/generators/user_maintenance/views_generator.rb b/lib/generators/user_maintenance/views_generator.rb index abc1234..def5678 100644 --- a/lib/generators/user_maintenance/views_generator.rb +++ b/lib/generators/user_maintenance/views_generator.rb @@ -0,0 +1,9 @@+module UserMaintenance + class ViewsGenera...
Create view generator in the rule engine This generator will copy the user view files to the parent app for customization Signed-off-by: Joan Tiffany Siy <e0397393f2258e8c6ee68e35ceb46d86a4ac5382@teamcodeflux.com>
diff --git a/lib/gphoto2/camera_widgets/toggle_camera_widget.rb b/lib/gphoto2/camera_widgets/toggle_camera_widget.rb index abc1234..def5678 100644 --- a/lib/gphoto2/camera_widgets/toggle_camera_widget.rb +++ b/lib/gphoto2/camera_widgets/toggle_camera_widget.rb @@ -5,6 +5,7 @@ def get_value val = FFI::MemoryP...
Add missing return code check
diff --git a/base.rb b/base.rb index abc1234..def5678 100644 --- a/base.rb +++ b/base.rb @@ -11,28 +11,16 @@ end CODE -file '.gitignore', <<-CODE -# Ignore bundler config. -/.bundle - -# Ignore all logfiles and tempfiles. -/log/* -!/log/.keep +append_to_file '.gitignore', <<-CODE /.sass-cache -/tmp *.*~ *.bak...
Append to gitignore dot file instead of create a new one
diff --git a/blog.rb b/blog.rb index abc1234..def5678 100644 --- a/blog.rb +++ b/blog.rb @@ -1,5 +1,4 @@ require 'sinatra' -require 'sinatra/reloader' if development? require 'haml' require_relative 'lib/config'
Revert "Use sinatra/reloader in development mode" (doesn't seem to work easily. Just drop it for now) This reverts commit afaeb0eb5180d36c7464d04641582932d8ad0c91.
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index abc1234..def5678 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -18,7 +18,7 @@ let(:group) { FactoryGirl.create :group } it "should returns its name based on its attributes" do - expect(group.name).to eq(...
Add extra spacing for street_predirection in group name.
diff --git a/boot.rb b/boot.rb index abc1234..def5678 100644 --- a/boot.rb +++ b/boot.rb @@ -24,5 +24,6 @@ config.datamapper(:default, { :adapter => database['adapter'], :host => database['host'], - :database => database['name']}) + :database => database['name'], + :password => database['...
Put the password in the setup method
diff --git a/Framezilla.podspec b/Framezilla.podspec index abc1234..def5678 100644 --- a/Framezilla.podspec +++ b/Framezilla.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "Framezilla" - spec.version = "1.2.0" + spec.version = "1.2.1" spec.summary = "Comfortab...
Change podspec version -> 1.2.1
diff --git a/spec/models/post_spec.rb b/spec/models/post_spec.rb index abc1234..def5678 100644 --- a/spec/models/post_spec.rb +++ b/spec/models/post_spec.rb @@ -1,5 +1,12 @@ require 'rails_helper' RSpec.describe Post, :type => :model do - pending "add some examples to (or delete) #{__FILE__}" + describe '#sha' do ...
Add a first spec. We need to start somewhere, right?
diff --git a/features/support/env.rb b/features/support/env.rb index abc1234..def5678 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -4,6 +4,7 @@ module RepositoryHelper + # TODO: use 1.8.7's Dir.mktmpdir? REPO_PATH = File.join(Dir::tmpdir, "git-pair-test-repo") REPO_GIT_DIR = File.joi...
Add a note to self
diff --git a/spec/support/fixtures.rb b/spec/support/fixtures.rb index abc1234..def5678 100644 --- a/spec/support/fixtures.rb +++ b/spec/support/fixtures.rb @@ -6,9 +6,9 @@ # copy files to a temporary directory and use this directory as a # fixtures directory, so were are sure that the fixtures are 'reset'. def copy_...
Create the tmp/ directory when running tests. If there is no top-level tmp/ directory, the tests would fail when it tried to create tmp/fixtures.
diff --git a/app/serializers/api/v1/ndc_sdg/target_serializer.rb b/app/serializers/api/v1/ndc_sdg/target_serializer.rb index abc1234..def5678 100644 --- a/app/serializers/api/v1/ndc_sdg/target_serializer.rb +++ b/app/serializers/api/v1/ndc_sdg/target_serializer.rb @@ -4,6 +4,22 @@ class TargetSerializer < ActiveM...
Return target document_type and language from the API
diff --git a/app/solidus_decorators/spree/line_item_decorator.rb b/app/solidus_decorators/spree/line_item_decorator.rb index abc1234..def5678 100644 --- a/app/solidus_decorators/spree/line_item_decorator.rb +++ b/app/solidus_decorators/spree/line_item_decorator.rb @@ -2,7 +2,7 @@ after_commit :mailchimp_sync def...
Update order destroy check as order is not acts_as_paranoid
diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index abc1234..def5678 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -0,0 +1,23 @@+# Adds extra matchers for Capybara +module Capybara::TestGroupHelpers + module FeatureHelpers + # Finds the given form with the given selector...
Add a Capybara finder for forms.
diff --git a/spec/classes/ceph_rgw_keystone_auth_spec.rb b/spec/classes/ceph_rgw_keystone_auth_spec.rb index abc1234..def5678 100644 --- a/spec/classes/ceph_rgw_keystone_auth_spec.rb +++ b/spec/classes/ceph_rgw_keystone_auth_spec.rb @@ -0,0 +1,56 @@+require 'spec_helper' + +describe 'ceph::rgw::keystone::auth' do + + ...
Add unit tests of ceph::rgw::keystone::auth Change-Id: I9efcb0657fea134e423a5c95682f81ba9ffd78de
diff --git a/spec/features/collection_management_spec.rb b/spec/features/collection_management_spec.rb index abc1234..def5678 100644 --- a/spec/features/collection_management_spec.rb +++ b/spec/features/collection_management_spec.rb @@ -0,0 +1,61 @@+require 'rails_helper' + +feature 'Collection management' do + let!(:...
Add Capybara spec for collection Use Capybara to simulate user interaction with ELN application and do a testing automation. Create a collection_management_spec and add two scenarios, one is for creating a collection and the other is for deleting a collection.
diff --git a/site-cookbooks/backup_restore/spec/recipes/default_spec.rb b/site-cookbooks/backup_restore/spec/recipes/default_spec.rb index abc1234..def5678 100644 --- a/site-cookbooks/backup_restore/spec/recipes/default_spec.rb +++ b/site-cookbooks/backup_restore/spec/recipes/default_spec.rb @@ -1,6 +1,6 @@ require_rel...
Modify describe recipe, from setup to default
diff --git a/spree_contact_us.gemspec b/spree_contact_us.gemspec index abc1234..def5678 100644 --- a/spree_contact_us.gemspec +++ b/spree_contact_us.gemspec @@ -1,4 +1,10 @@ # encoding: UTF-8 + +if RUBY_VERSION =~ /1.9/ + Encoding.default_external = Encoding::UTF_8 + Encoding.default_internal = Encoding::UTF_8 +end +...
Fix encoding error in ruby 1.9.2
diff --git a/lib/capsule_crm/track.rb b/lib/capsule_crm/track.rb index abc1234..def5678 100644 --- a/lib/capsule_crm/track.rb +++ b/lib/capsule_crm/track.rb @@ -20,5 +20,13 @@ has_many :cases validates :id, numericality: { allow_blank: true } + + def self.find(id) + all.select { |item| item.id == id ...
Add find methods to Track class.
diff --git a/activesupport/lib/active_support/fork_tracker.rb b/activesupport/lib/active_support/fork_tracker.rb index abc1234..def5678 100644 --- a/activesupport/lib/active_support/fork_tracker.rb +++ b/activesupport/lib/active_support/fork_tracker.rb @@ -20,7 +20,11 @@ module CoreExtPrivate include CoreE...
Fix ForkTracker on ruby <= 2.5.3 Making the fork method private by calling `private :fork` raises a "no superclass method `fork'" error when calling super in a subclass on ruby <= 2.5.3. The error doesn't occur on ruby 2.5.4 and higher. Making the method private by redefining doesn't raise the error. The possible fix...
diff --git a/UrbandManager.podspec b/UrbandManager.podspec index abc1234..def5678 100644 --- a/UrbandManager.podspec +++ b/UrbandManager.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| # 1 s.name = 'UrbandManager' - s.version = '0.0.2' + s.version = '0.0.3' s.ios.deployment_target = '10.0' s.summary = 'By far...
feat: Create new tag version to update the pod
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index abc1234..def5678 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -3,8 +3,6 @@ httpClient = HTTPClient.new appid = ENV["APPID"] afid = ENV["AFID"] - appid = '101...
Remove appid and afid literal
diff --git a/lib/tasks/temp/sync_effort_elapsed_times.rake b/lib/tasks/temp/sync_effort_elapsed_times.rake index abc1234..def5678 100644 --- a/lib/tasks/temp/sync_effort_elapsed_times.rake +++ b/lib/tasks/temp/sync_effort_elapsed_times.rake @@ -18,6 +18,7 @@ starting_split_times.find_each do |sst| progress_b...
Fix bug in rake task
diff --git a/app/importers/rows/attendance_row.rb b/app/importers/rows/attendance_row.rb index abc1234..def5678 100644 --- a/app/importers/rows/attendance_row.rb +++ b/app/importers/rows/attendance_row.rb @@ -8,11 +8,13 @@ class NullRelation class NullEvent def save!; end + def assign_attributes(_); ...
Fix up attendance row import code with help from spec + Improve handling of non-absence, non-tardy rows
diff --git a/lib/middleman-minify-html/vendor/htmlcompressor-0.0.6/lib/htmlcompressor/rack.rb b/lib/middleman-minify-html/vendor/htmlcompressor-0.0.6/lib/htmlcompressor/rack.rb index abc1234..def5678 100644 --- a/lib/middleman-minify-html/vendor/htmlcompressor-0.0.6/lib/htmlcompressor/rack.rb +++ b/lib/middleman-minify...
Fix Content-Length computation mode to be based on bytes number rather than on characters number (which is not the same, e.g. with accented characters)
diff --git a/app/controllers/api/v1/technicians_controller.rb b/app/controllers/api/v1/technicians_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/technicians_controller.rb +++ b/app/controllers/api/v1/technicians_controller.rb @@ -1,7 +1,48 @@ module Api module V1 - class TechniciansControl...
Add API version for TechniciansController
diff --git a/app/controllers/companies/contacts_controller.rb b/app/controllers/companies/contacts_controller.rb index abc1234..def5678 100644 --- a/app/controllers/companies/contacts_controller.rb +++ b/app/controllers/companies/contacts_controller.rb @@ -9,4 +9,9 @@ return redirect_to companies_contact_path ...
Add permitted_params to company contact
diff --git a/app/controllers/sapi_user/sessions_controller.rb b/app/controllers/sapi_user/sessions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/sapi_user/sessions_controller.rb +++ b/app/controllers/sapi_user/sessions_controller.rb @@ -1,7 +1,17 @@ class SapiUser::SessionsController < ::Devise::Ses...
Check authorisation for sapi user
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index abc1234..def5678 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -6,6 +6,7 @@ gon.default_issues_tracker = Project.new.default_issue_tracker.to_param gon.max_file_size = current_application_settings.max_...
Add shortcut_path to GonHelper module
diff --git a/spec/serializers/mission_result_serializer_spec.rb b/spec/serializers/mission_result_serializer_spec.rb index abc1234..def5678 100644 --- a/spec/serializers/mission_result_serializer_spec.rb +++ b/spec/serializers/mission_result_serializer_spec.rb @@ -1,9 +1,6 @@ require 'spec_helper' -describe MissionRe...
Clean mission result serializer spec
diff --git a/recipes/access_grants.rb b/recipes/access_grants.rb index abc1234..def5678 100644 --- a/recipes/access_grants.rb +++ b/recipes/access_grants.rb @@ -20,3 +20,11 @@ action :nothing subscribes :run, resources("template[/etc/mysql/grants.sql]"), :immediately end + +# This rewind can come out after https:...
Add a rewind to fix access grants on first chef run when root password is set.
diff --git a/lib/railgun_content/resources_controller/page.rb b/lib/railgun_content/resources_controller/page.rb index abc1234..def5678 100644 --- a/lib/railgun_content/resources_controller/page.rb +++ b/lib/railgun_content/resources_controller/page.rb @@ -5,8 +5,7 @@ def self.included(base) base.instance_...
Remove positionable from here for now Doesn't work - update_position route isn't added in the Positionable included callback