diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/cookbooks/yum/attributes/default.rb b/cookbooks/yum/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/yum/attributes/default.rb +++ b/cookbooks/yum/attributes/default.rb @@ -24,7 +24,7 @@ default['yum']['epel_release'] = case node['platform_version'].to_i ...
Make sure we get the latest epel release. If we don't do this and someone yum updates a box it breaks chef. Found out the hard way. Former-commit-id: 82e38889b207dee7b4fca02c7dcbacd96a552fc8 [formerly 1ad52aeae55bcf40fed1cc8a6179ebcc575c66f7] [formerly 87cb199e9559df1e75dc30b086fc4246b2da36ea [formerly 3bf375338094...
diff --git a/stateoscope.gemspec b/stateoscope.gemspec index abc1234..def5678 100644 --- a/stateoscope.gemspec +++ b/stateoscope.gemspec @@ -27,4 +27,5 @@ spec.add_development_dependency 'rspec' spec.add_development_dependency 'timecop' spec.add_development_dependency 'codeclimate-test-reporter' + spec.add_dev...
Add pry to dev dependencies
diff --git a/init.rb b/init.rb index abc1234..def5678 100644 --- a/init.rb +++ b/init.rb @@ -1,4 +1,3 @@-#WebDav plugin for REDMINE require 'redmine' Dir::foreach(File.join(File.dirname(__FILE__), 'lib')) do |file| next unless /\.rb$/ =~ file @@ -14,11 +13,28 @@ version '0.1.2' settings :default => {'bbb_se...
Add wiki macro for BBB link Usage: {{bbb}} - link to the current project meeting room {{bbb(project_id)}} - link to the meeting room for project_id
diff --git a/app/models/user.rb b/app/models/user.rb index abc1234..def5678 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -3,4 +3,6 @@ # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validat...
Make User Omniauthable via bnet
diff --git a/util/tarsnap-gui.rb b/util/tarsnap-gui.rb index abc1234..def5678 100644 --- a/util/tarsnap-gui.rb +++ b/util/tarsnap-gui.rb @@ -2,7 +2,7 @@ desc "Cross-platform GUI front-end for the Tarsnap command-line client." homepage "https://github.com/Tarsnap/tarsnap-gui/wiki/Tarsnap" url "https://github.com...
Update Homebrew recipe shasum for v1.0 tarball.
diff --git a/lib/rubocop/cop/style/nil_comparison.rb b/lib/rubocop/cop/style/nil_comparison.rb index abc1234..def5678 100644 --- a/lib/rubocop/cop/style/nil_comparison.rb +++ b/lib/rubocop/cop/style/nil_comparison.rb @@ -15,15 +15,12 @@ class NilComparison < Cop MSG = 'Prefer the use of the `nil?` predic...
Modify Style/NilComparison to use NodePattern
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -1,15 +1,45 @@-# This file should contain all the record creation needed to seed the database with its default values. -# The data can then be loaded with the rake db:seed (or created alongside the db with db:set...
Resolve merge conflict in seed file
diff --git a/Support/syntax/syntax_highlight_test_spec.rb b/Support/syntax/syntax_highlight_test_spec.rb index abc1234..def5678 100644 --- a/Support/syntax/syntax_highlight_test_spec.rb +++ b/Support/syntax/syntax_highlight_test_spec.rb @@ -0,0 +1,48 @@+# This spec file is for manually checking the syntax highlighting....
Add file for manually checking syntax highlighting Currently there is no good to automate tests for the syntax highglighting. But this is better than nothing.
diff --git a/task/bundler_2.rake b/task/bundler_2.rake index abc1234..def5678 100644 --- a/task/bundler_2.rake +++ b/task/bundler_2.rake @@ -0,0 +1,10 @@+# frozen_string_literal: true + +namespace :bundler_2 do + task :install do + ENV["BUNDLER_SPEC_SUB_VERSION"] = "2.0.0.dev" + Rake::Task["spec:travis:sub_versi...
Add a task to install a bundler 2 dev gem
diff --git a/plugins/titlecase.rb b/plugins/titlecase.rb index abc1234..def5678 100644 --- a/plugins/titlecase.rb +++ b/plugins/titlecase.rb @@ -11,8 +11,8 @@ # capitalize first and last words x.first.to_s.smart_capitalize! x.last.to_s.smart_capitalize! - # small words after colons are capitalized - ...
Allow capitalization after a period.
diff --git a/thumbor-versionable.gemspec b/thumbor-versionable.gemspec index abc1234..def5678 100644 --- a/thumbor-versionable.gemspec +++ b/thumbor-versionable.gemspec @@ -1,7 +1,6 @@ # encoding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'new_id...
Delete non used reference to the gem version.
diff --git a/library/rexml/attribute/inspect_spec.rb b/library/rexml/attribute/inspect_spec.rb index abc1234..def5678 100644 --- a/library/rexml/attribute/inspect_spec.rb +++ b/library/rexml/attribute/inspect_spec.rb @@ -13,7 +13,7 @@ end it "does not escape text" do - a = REXML::Attribute.new("&&", "<>") - ...
Stop to use invalid XML attribute name
diff --git a/spec/features/global_assets_spec.rb b/spec/features/global_assets_spec.rb index abc1234..def5678 100644 --- a/spec/features/global_assets_spec.rb +++ b/spec/features/global_assets_spec.rb @@ -20,12 +20,12 @@ end it "should have a form for employee search", js: true do - find('#nav-search-trigger ...
Update spec to match new masthead search
diff --git a/spec/godville_kit/pantheons_spec.rb b/spec/godville_kit/pantheons_spec.rb index abc1234..def5678 100644 --- a/spec/godville_kit/pantheons_spec.rb +++ b/spec/godville_kit/pantheons_spec.rb @@ -1,3 +1,4 @@+# encoding: utf-8 require 'spec_helper' describe 'Pantheons' do
Fix encoding issue on pantheons spec for ruby 1.9.3
diff --git a/lib/cucumber/salad/widgets/form.rb b/lib/cucumber/salad/widgets/form.rb index abc1234..def5678 100644 --- a/lib/cucumber/salad/widgets/form.rb +++ b/lib/cucumber/salad/widgets/form.rb @@ -4,7 +4,7 @@ class Form < Widget def self.check_box(name, label = nil) define_method "#{name}=...
Prepare to introduce locator resolver.
diff --git a/lib/log4jruby/support/bootstrap.rb b/lib/log4jruby/support/bootstrap.rb index abc1234..def5678 100644 --- a/lib/log4jruby/support/bootstrap.rb +++ b/lib/log4jruby/support/bootstrap.rb @@ -16,3 +16,10 @@ end end end + +# https://github.com/lenny/log4jruby/issues/14 +# https://github.com/jruby/jruby/...
Fix for JRuby 9K compatibility https://github.com/lenny/log4jruby/issues/14
diff --git a/application/admin/public/theme/default/config.rb b/application/admin/public/theme/default/config.rb index abc1234..def5678 100644 --- a/application/admin/public/theme/default/config.rb +++ b/application/admin/public/theme/default/config.rb @@ -1,3 +1,5 @@+Encoding.default_external = "utf-8" + # Require an...
Set default SASS encoding to UTF-8
diff --git a/simple_km.gemspec b/simple_km.gemspec index abc1234..def5678 100644 --- a/simple_km.gemspec +++ b/simple_km.gemspec @@ -22,4 +22,5 @@ gem.add_dependency 'addressable' gem.add_development_dependency 'rspec' gem.add_development_dependency 'pry' + gem.add_development_dependency 'rake' end
Add rake as a dependency for TravisCI.
diff --git a/lib/models/badges/nice_question.rb b/lib/models/badges/nice_question.rb index abc1234..def5678 100644 --- a/lib/models/badges/nice_question.rb +++ b/lib/models/badges/nice_question.rb @@ -17,7 +17,7 @@ }).to_a.first title = question['title'] - score = question['score'].to_i + score = quest...
Remove redundant use of to_i
diff --git a/lib/node_builder/system_command.rb b/lib/node_builder/system_command.rb index abc1234..def5678 100644 --- a/lib/node_builder/system_command.rb +++ b/lib/node_builder/system_command.rb @@ -15,7 +15,7 @@ def system_cmd(cmd, prompt='COMMAND:') log "%s %s" % [prompt_style(prompt), command_style(cmd)] ...
Use login shell to load envs to run commands.
diff --git a/lib/omniauth/strategies/adstage.rb b/lib/omniauth/strategies/adstage.rb index abc1234..def5678 100644 --- a/lib/omniauth/strategies/adstage.rb +++ b/lib/omniauth/strategies/adstage.rb @@ -14,7 +14,7 @@ uid { user_info['id'] } info do - info_hash = properties(user_info) + info_h...
Return full user and org info.
diff --git a/lib/pc_rails_code_quality/tests.rb b/lib/pc_rails_code_quality/tests.rb index abc1234..def5678 100644 --- a/lib/pc_rails_code_quality/tests.rb +++ b/lib/pc_rails_code_quality/tests.rb @@ -15,5 +15,13 @@ html_reporter = Minitest::Reporters::HtmlReporter.new html_option Minitest::Reporters.use! [Min...
Use html formatter for rspec
diff --git a/racym.gemspec b/racym.gemspec index abc1234..def5678 100644 --- a/racym.gemspec +++ b/racym.gemspec @@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "railties", ">= 3.2.13","< 6.0" + spec.add_dependency "railties"...
Allow up through Rails 6
diff --git a/tests/spec/features/editions_spec.rb b/tests/spec/features/editions_spec.rb index abc1234..def5678 100644 --- a/tests/spec/features/editions_spec.rb +++ b/tests/spec/features/editions_spec.rb @@ -7,7 +7,7 @@ before do visit '/' - editor.set(rust_2018_code) + editor.set(rust_edition_code) ...
Test that selecting Rust 2021 works
diff --git a/lib/vendorificator/hooks/chef_cookbook.rb b/lib/vendorificator/hooks/chef_cookbook.rb index abc1234..def5678 100644 --- a/lib/vendorificator/hooks/chef_cookbook.rb +++ b/lib/vendorificator/hooks/chef_cookbook.rb @@ -1,7 +1,10 @@-require 'chef/cookbook/metadata' - module Vendorificator::Hooks module Che...
Move Chef requirement to runtime.
diff --git a/app/controllers/data/scenarios_controller.rb b/app/controllers/data/scenarios_controller.rb index abc1234..def5678 100644 --- a/app/controllers/data/scenarios_controller.rb +++ b/app/controllers/data/scenarios_controller.rb @@ -4,8 +4,7 @@ before_filter :find_scenario, :only => [:show, :edit, :update] ...
Remove unnecessary (and broken) call to "scoped"
diff --git a/pronto-spell.gemspec b/pronto-spell.gemspec index abc1234..def5678 100644 --- a/pronto-spell.gemspec +++ b/pronto-spell.gemspec @@ -12,11 +12,23 @@ s.homepage = 'http://github.org/mmozuras/pronto-spell' s.summary = 'Pronto runner that uses Aspell for spell checking' - s.required_rubygems_version = ...
Reduce size of the gem by only including the necessary files via gemspec
diff --git a/watirspec_helper.rb b/watirspec_helper.rb index abc1234..def5678 100644 --- a/watirspec_helper.rb +++ b/watirspec_helper.rb @@ -8,7 +8,7 @@ require 'operawatir/helper' -OperaWatir.newandshinyplease! +OperaWatir.use_version 2 RSpec.configure do |config| config.mock_with :rr @@ -37,6 +37,10 @@ ...
Use version 2, and provide a window
diff --git a/app/models/create_organization_from_array.rb b/app/models/create_organization_from_array.rb index abc1234..def5678 100644 --- a/app/models/create_organization_from_array.rb +++ b/app/models/create_organization_from_array.rb @@ -10,7 +10,7 @@ return nil if @row[@mappings[:date_removed]] return nil ...
Add specs for CreateOrganizationFromArray service class
diff --git a/cucumber-puppet.gemspec b/cucumber-puppet.gemspec index abc1234..def5678 100644 --- a/cucumber-puppet.gemspec +++ b/cucumber-puppet.gemspec @@ -17,4 +17,5 @@ gem.add_dependency('cucumber') gem.add_development_dependency('rspec') + gem.add_development_dependency('rake') end
Add rake as a development dependency
diff --git a/test/views_tests.rb b/test/views_tests.rb index abc1234..def5678 100644 --- a/test/views_tests.rb +++ b/test/views_tests.rb @@ -0,0 +1,68 @@+ +$: << File.dirname(__FILE__) +require "test_helper" + +class ViewsTests < PostgreSQLExtensionsTestCase + def test_create_view + Mig.create_view("foos_view", "SE...
Add some tests for VIEWS.
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -5,9 +5,7 @@ Coveralls.wear! if ENV['CI'] != 'true' SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter - SimpleCov.start do - add_filter '/test/' - end + SimpleCov...
Revert "Reject "/test/" from the coverage metrics target" This reverts commit 0f4faf7fc995298cfd805ccef5913b0a040ae21b.
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -17,7 +17,7 @@ HasScope::Routes = ActionDispatch::Routing::RouteSet.new HasScope::Routes.draw do - get '/:controller(/:action(/:id))' + resources :trees, only: %i[index new ed...
Declare specific routes to get rid of deprecation warning Dynamic :controller/:action route segments are deprecated in Rails: DEPRECATION WARNING: Using a dynamic :controller segment in a route is deprecated and will be removed in Rails 6.1. DEPRECATION WARNING: Using a dynamic :action segment in a route...
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,6 +1,9 @@ require 'factory_girl' require 'faker' require 'telegram_bot' + +# Fix deprecation message +ActiveSupport.test_order = :random # Load support files Dir[File.expa...
Fix warning about an ActiveSupport's configuration deprecation.
diff --git a/test/test_helper.rb b/test/test_helper.rb index abc1234..def5678 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,9 +1,12 @@+require 'i18n' +I18n.available_locales = [:en, :pl] + require 'test/unit' require 'active_support' require 'active_support/test_case' -require 'active_record' req...
Change order of things here and there
diff --git a/ruby/command-t/scanner/file_scanner/git_file_scanner.rb b/ruby/command-t/scanner/file_scanner/git_file_scanner.rb index abc1234..def5678 100644 --- a/ruby/command-t/scanner/file_scanner/git_file_scanner.rb +++ b/ruby/command-t/scanner/file_scanner/git_file_scanner.rb @@ -26,12 +26,12 @@ take(...
Handle missing or unexecutable git binary We need to trap for `Errno::ENOENT` otherwise a missing or non-executable `git` binary will derails us. The `stderr` check is only good for times when we were able to actually launch the binary.
diff --git a/app/models/minute.rb b/app/models/minute.rb index abc1234..def5678 100644 --- a/app/models/minute.rb +++ b/app/models/minute.rb @@ -5,7 +5,7 @@ include Ofx::HtmlSanitizer before_validation :sanitize_textareas - validates :meeting, :presence => true, :inclusion => Rails.configuration.ofx[:meeting_...
Fix meeting type to validate against strings instead of symbols
diff --git a/app/models/person.rb b/app/models/person.rb index abc1234..def5678 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -1,11 +1,12 @@+# frozen_string_literal: true class Person < ActiveRecord::Base has_many :employments has_many :incomes belongs_to :grant - FULL_TIME_STUDENT = "Ful...
Add freeze to string constants.
diff --git a/edo.gemspec b/edo.gemspec index abc1234..def5678 100644 --- a/edo.gemspec +++ b/edo.gemspec @@ -26,6 +26,6 @@ spec.add_dependency "rubocop" spec.add_dependency "brakeman" - spec.add_development_dependency "bundler", "~> 1.10" - spec.add_development_dependency "rake", "~> 10.0" + spec.add_developm...
Remove Rake and Bundler versions from Gemspec
diff --git a/lib/anagram.rb b/lib/anagram.rb index abc1234..def5678 100644 --- a/lib/anagram.rb +++ b/lib/anagram.rb @@ -1,6 +1,6 @@ module Anagram - VERSION = "0.1.35".freeze + VERSION = "0.2.0".freeze end
Switch to version 0.2.0 due to major wlang change.
diff --git a/app/models/concerns/finances.rb b/app/models/concerns/finances.rb index abc1234..def5678 100644 --- a/app/models/concerns/finances.rb +++ b/app/models/concerns/finances.rb @@ -9,4 +9,10 @@ [types, percentages].transpose.to_h end + def total_percentages(data, income) + percentages = expenses.ma...
Add user expense percentage methods
diff --git a/settings.gemspec b/settings.gemspec index abc1234..def5678 100644 --- a/settings.gemspec +++ b/settings.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = 'settings' - s.version = '0.0.1.5' + s.version = '0.1.0.0' s.summary = 'Settings data access and assignme...
Package version is increased from 0.0.1.4 to 0.1.0.0 (Exception types are not backward compatible)
diff --git a/synvert-core.gemspec b/synvert-core.gemspec index abc1234..def5678 100644 --- a/synvert-core.gemspec +++ b/synvert-core.gemspec @@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_runtime_dependency "parser", "~> 2.4.0" + spec....
Bump parser dependency to ~> 2.5
diff --git a/split-api.gemspec b/split-api.gemspec index abc1234..def5678 100644 --- a/split-api.gemspec +++ b/split-api.gemspec @@ -20,7 +20,7 @@ gem.add_dependency 'multi_json' gem.add_development_dependency 'bundler' - gem.add_development_dependency 'rspec', '~> 3.10.0' + gem.add_development_dependenc...
Update rspec requirement from ~> 3.10.0 to ~> 3.11.0 Updates the requirements on [rspec](https://github.com/rspec/rspec-metagem) to permit the latest version. - [Release notes](https://github.com/rspec/rspec-metagem/releases) - [Commits](https://github.com/rspec/rspec-metagem/compare/v3.10.0...v3.11.0) --- updated-de...
diff --git a/custom_counter_cache.gemspec b/custom_counter_cache.gemspec index abc1234..def5678 100644 --- a/custom_counter_cache.gemspec +++ b/custom_counter_cache.gemspec @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) -require 'lib/custom...
Ruby19: Fix gemspec require, add dev dependencies
diff --git a/benchmarks/memory.rb b/benchmarks/memory.rb index abc1234..def5678 100644 --- a/benchmarks/memory.rb +++ b/benchmarks/memory.rb @@ -1,11 +1,11 @@ require 'bundler'; Bundler.setup -a = GC.stat(:total_allocated_object) +a = GC.stat(:total_allocated_objects) require 'readthis' -b = GC.stat(:total_allocated...
Update GC.stats options for Ruby 2.2
diff --git a/spec/core/run_once_spec.rb b/spec/core/run_once_spec.rb index abc1234..def5678 100644 --- a/spec/core/run_once_spec.rb +++ b/spec/core/run_once_spec.rb @@ -15,7 +15,8 @@ @model.should_receive(:limit).and_return 1 @model.should_receive(:create_job_instance).and_return job_instance - @...
Add future invoke to wait for execution.
diff --git a/spec/fuzz/producer_spec.rb b/spec/fuzz/producer_spec.rb index abc1234..def5678 100644 --- a/spec/fuzz/producer_spec.rb +++ b/spec/fuzz/producer_spec.rb @@ -1,7 +1,7 @@ describe "Producing a lot of messages with an unreliable cluster", fuzz: true do let(:logger) { Logger.new(LOG) } let(:kafka) { Kafka...
Allow the fuzz test even more retries
diff --git a/spec/receiver/pop3_spec.rb b/spec/receiver/pop3_spec.rb index abc1234..def5678 100644 --- a/spec/receiver/pop3_spec.rb +++ b/spec/receiver/pop3_spec.rb @@ -3,11 +3,9 @@ describe 'POP3 receiver' do before do - @connection = mock('POP3 Connection') - @connection.stub!(:start).and_return(true) ...
Change how POP3 spec mocks
diff --git a/spec/spec_helper_system.rb b/spec/spec_helper_system.rb index abc1234..def5678 100644 --- a/spec/spec_helper_system.rb +++ b/spec/spec_helper_system.rb @@ -36,7 +36,6 @@ # Import in our local helpers c.include ::LocalHelpers - c.include RSpecSystemPuppet::Helpers # This is where we 'setup' the...
Remove redundant `include` call in system spec helper. `rspec-system-puppet` helpers are already included few lines above the deleted line, which by the way would have no effect anyway.
diff --git a/Casks/sketch-beta.rb b/Casks/sketch-beta.rb index abc1234..def5678 100644 --- a/Casks/sketch-beta.rb +++ b/Casks/sketch-beta.rb @@ -1,8 +1,8 @@ cask :v1 => 'sketch-beta' do version '3.3' - sha256 '275633effb38fa6e2d963efaa8a2fa9e614638fff67db89ab34acc1e7a469a8e' + sha256 '24324aa78755812667041afb99f57...
Update checksum and url for Sketch 3.3 Beta
diff --git a/spec/features/survey_create_spec.rb b/spec/features/survey_create_spec.rb index abc1234..def5678 100644 --- a/spec/features/survey_create_spec.rb +++ b/spec/features/survey_create_spec.rb @@ -3,24 +3,24 @@ feature 'User signs in' do given!(:user) { User.create(email: "mrpants666@example.com", password: ...
SurveyCreateSpec: Refactor to use contexts in feature
diff --git a/spec/helpers/locales_helper_spec.rb b/spec/helpers/locales_helper_spec.rb index abc1234..def5678 100644 --- a/spec/helpers/locales_helper_spec.rb +++ b/spec/helpers/locales_helper_spec.rb @@ -13,6 +13,7 @@ after do I18n.backend.reload! I18n.enforce_available_locales = default_enforce + ...
Fix flaky spec for translations This spec was causing a side effect on another spec[2], making it fail 😌 I think it was because no translation had been called yet, in the failing spec, and so the the i18n backend translations had not been initialized, and was always returning empty translations for any locale. This ...
diff --git a/spec/unit/options_validator_spec.rb b/spec/unit/options_validator_spec.rb index abc1234..def5678 100644 --- a/spec/unit/options_validator_spec.rb +++ b/spec/unit/options_validator_spec.rb @@ -4,7 +4,7 @@ let(:klass) { Class.extend Loaf::OptionsValidator } it 'validates succesfully known option' do -...
Change test to include valid option
diff --git a/plugins/files/check-checksums.rb b/plugins/files/check-checksums.rb index abc1234..def5678 100644 --- a/plugins/files/check-checksums.rb +++ b/plugins/files/check-checksums.rb @@ -0,0 +1,58 @@+#!/usr/bin/env ruby +# +# Author: AJ Bourg <aj@ajbourg.com> +# +# Checks the checksums of files. + +require 'rubyg...
Add a checksum file check.
diff --git a/plugins/hosts/windows/cap/ssh.rb b/plugins/hosts/windows/cap/ssh.rb index abc1234..def5678 100644 --- a/plugins/hosts/windows/cap/ssh.rb +++ b/plugins/hosts/windows/cap/ssh.rb @@ -10,7 +10,7 @@ def self.set_ssh_key_permissions(env, key_path) script_path = Host.scripts_path.join("set_ssh_...
Include key path flag when calling script
diff --git a/db/migrate/20150715120003_alter_table_customer_partners.rb b/db/migrate/20150715120003_alter_table_customer_partners.rb index abc1234..def5678 100644 --- a/db/migrate/20150715120003_alter_table_customer_partners.rb +++ b/db/migrate/20150715120003_alter_table_customer_partners.rb @@ -1,8 +1,11 @@ class Alte...
Change default value for enabling partners on existing customers
diff --git a/lib/active_hash.rb b/lib/active_hash.rb index abc1234..def5678 100644 --- a/lib/active_hash.rb +++ b/lib/active_hash.rb @@ -1,4 +1,4 @@-require 'activesupport' +require 'active_support' require 'active_hash/base' require 'active_file/base' require 'active_yaml/base'
Fix 'activesupport' deprecation warning in require
diff --git a/jara.gemspec b/jara.gemspec index abc1234..def5678 100644 --- a/jara.gemspec +++ b/jara.gemspec @@ -15,7 +15,7 @@ s.summary = %q{Builds and publishes JAR artifacts} s.description = %q{Build self-contained JAR artifacts and publish them to S3} - s.files = Dir['lib/**/*.rb', 'README.m...
Add binfiles to the gem This is required to make the jara command work, obviously.
diff --git a/ebayapi.gemspec b/ebayapi.gemspec index abc1234..def5678 100644 --- a/ebayapi.gemspec +++ b/ebayapi.gemspec @@ -21,5 +21,5 @@ s.add_dependency("xml-simple", ["~> 1.0.11"]) s.add_dependency("xml-mapping", ["~> 0.8.1"]) s.add_dependency("libxml-ruby", ["~> 1.1.4"]) - s.add_dependency("money", ["~> 1...
Use a newer version of Money
diff --git a/tiny_tds.gemspec b/tiny_tds.gemspec index abc1234..def5678 100644 --- a/tiny_tds.gemspec +++ b/tiny_tds.gemspec @@ -3,8 +3,8 @@ s.require_paths = ['lib'] s.rubygems_version = '1.3.7' s.name = 'tiny_tds' - s.summary = 'TinyTds - A modern, simple and fast FreeTDS library for Ruby using DB-Library.' ...
Update spec file with our consistent marketing name - TinyTDS vs TinyTds.
diff --git a/PKAnimations.podspec b/PKAnimations.podspec index abc1234..def5678 100644 --- a/PKAnimations.podspec +++ b/PKAnimations.podspec @@ -11,4 +11,6 @@ s.source_files = 'PKAnimations/**/*.{h,m}' s.requires_arc = true s.dependency 'MGCommand', '0.1.1' + + s.ios.frameworks = 'QuartzCore' end
Add QuartzCore as dependency in Podspec
diff --git a/tools/merge_c.rb b/tools/merge_c.rb index abc1234..def5678 100644 --- a/tools/merge_c.rb +++ b/tools/merge_c.rb @@ -12,7 +12,9 @@ if used[fn] '' else - used[fn] = true + if name != 'keyword.h' + used[fn] = true + end nc = File.read(fn) merge(nc, used) ...
Allow including keyword.h multiple times
diff --git a/spec/acceptance/real_time_updates_spec.rb b/spec/acceptance/real_time_updates_spec.rb index abc1234..def5678 100644 --- a/spec/acceptance/real_time_updates_spec.rb +++ b/spec/acceptance/real_time_updates_spec.rb @@ -5,7 +5,7 @@ product = Product.create! :name => "Widget \u0000" expect(Product.se...
Disable null character check for PostgreSQL. Seems pg updates don't allow such strings in the database. Fine by me.
diff --git a/spec/project_spec.rb b/spec/project_spec.rb index abc1234..def5678 100644 --- a/spec/project_spec.rb +++ b/spec/project_spec.rb @@ -11,17 +11,14 @@ end end - describe 'source codes', broken: true do + describe 'source codes' do before { $stdout = StringIO.new } after { $stdout = STDOU...
Enable self-check of code style
diff --git a/config/software/cabal-update.rb b/config/software/cabal-update.rb index abc1234..def5678 100644 --- a/config/software/cabal-update.rb +++ b/config/software/cabal-update.rb @@ -1,8 +1,6 @@ name "cabal-update" build do - # clean out any previous installation details - command "rm -rf ~/.cabal ~/.ghc" ...
Remove cleanup commands; Use installed cabal path
diff --git a/lib/mock_inhalt.rb b/lib/mock_inhalt.rb index abc1234..def5678 100644 --- a/lib/mock_inhalt.rb +++ b/lib/mock_inhalt.rb @@ -1,11 +1,10 @@ require 'sinatra/base' class MockInhalt < Sinatra::Base + set :port, 8080 + get '/' do 'Hello MockInhalt!' end - - # start the server if ruby file execut...
Set 8080 as default listening port and removed the call to 'run'.
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 @@ -12,7 +12,7 @@ return false if published_exact_name_matches.any? - match = matched_protected_gem_names.select(:id, :name).first + match = matched_protecte...
Remove unused id select, not used in existing code
diff --git a/lib/mini_readline/raw_term/windows/win_32_api.rb b/lib/mini_readline/raw_term/windows/win_32_api.rb index abc1234..def5678 100644 --- a/lib/mini_readline/raw_term/windows/win_32_api.rb +++ b/lib/mini_readline/raw_term/windows/win_32_api.rb @@ -3,9 +3,9 @@ #* windows/win_32_api.rb - Support for selected low...
Replace fiddle with DL to avoid compatibility issues with older rubies.
diff --git a/app/graphql/livelog_schema.rb b/app/graphql/livelog_schema.rb index abc1234..def5678 100644 --- a/app/graphql/livelog_schema.rb +++ b/app/graphql/livelog_schema.rb @@ -1,5 +1,5 @@ class LiveLogSchema < GraphQL::Schema - mutation(Types::MutationType) + # mutation(Types::MutationType) query(Types::Query...
Remove MutationType from LiveLogSchema temporally
diff --git a/app/helpers/profile_helper.rb b/app/helpers/profile_helper.rb index abc1234..def5678 100644 --- a/app/helpers/profile_helper.rb +++ b/app/helpers/profile_helper.rb @@ -4,7 +4,7 @@ end def cancel_edit_profile_button - link_to t(:cancel), :user, class: 'btn btn-secondary' if current_user.profile_co...
Change cancel button style from secondary to complementary-outline
diff --git a/Casks/mamp.rb b/Casks/mamp.rb index abc1234..def5678 100644 --- a/Casks/mamp.rb +++ b/Casks/mamp.rb @@ -1,6 +1,6 @@ class Mamp < Cask - version '3.0.7.1' - sha256 'ec80adf7ed676de48c712d08918bcbf45e340bde6d9e0510b72c22565465b90b' + version '3.0.7.2' + sha256 'a6e72143efa73eb919efeb0e9dc0089e291204676da...
Upgrade Mamp Pro to 3.0.7.2
diff --git a/fluent-plugin-elasticsearch.gemspec b/fluent-plugin-elasticsearch.gemspec index abc1234..def5678 100644 --- a/fluent-plugin-elasticsearch.gemspec +++ b/fluent-plugin-elasticsearch.gemspec @@ -18,7 +18,7 @@ s.add_runtime_dependency 'fluentd', '~> 0' s.add_runtime_dependency 'patron', '~> 0' - s.add_...
Add support Elasticsearch 1.x version of gem
diff --git a/app/controllers/welcome_controller.rb b/app/controllers/welcome_controller.rb index abc1234..def5678 100644 --- a/app/controllers/welcome_controller.rb +++ b/app/controllers/welcome_controller.rb @@ -1,5 +1,6 @@ class WelcomeController < ApplicationController - etag { can? :manage, Entity } # Don't cache ...
Use etag instead of last-modified when checking fresh_when
diff --git a/spec/search_builder/sufia/my_shares_search_builder_spec.rb b/spec/search_builder/sufia/my_shares_search_builder_spec.rb index abc1234..def5678 100644 --- a/spec/search_builder/sufia/my_shares_search_builder_spec.rb +++ b/spec/search_builder/sufia/my_shares_search_builder_spec.rb @@ -23,7 +23,7 @@ it "f...
Update test to expect multiple concerns
diff --git a/app/helpers/blog/pagination_helper.rb b/app/helpers/blog/pagination_helper.rb index abc1234..def5678 100644 --- a/app/helpers/blog/pagination_helper.rb +++ b/app/helpers/blog/pagination_helper.rb @@ -13,7 +13,7 @@ protected def url(page) - path = current_path + path = @template.reque...
Revert "Fix pagination paths in Rails 4.2" This reverts commit a920fdb615171394f24a26d9be23eeda5cf421b1.
diff --git a/lib/boned.rb b/lib/boned.rb index abc1234..def5678 100644 --- a/lib/boned.rb +++ b/lib/boned.rb @@ -9,7 +9,7 @@ $:.unshift a } -class Boned +module Boned module VERSION def self.to_s load_config @@ -27,7 +27,7 @@ require 'bone' module Boned - Bone.source = 'redis://root@localhost:63...
Use Redis on port 8045
diff --git a/lib/chest.rb b/lib/chest.rb index abc1234..def5678 100644 --- a/lib/chest.rb +++ b/lib/chest.rb @@ -1,6 +1,6 @@ module Chest PLUGINS_FOLDER = File.expand_path('~/Library/Containers/com.bohemiancoding.sketch3/Data/Library/Application Support/com.bohemiancoding.sketch3/Plugins') - MANIFEST_PATH = File.jo...
Rename manifest file to .manifest.json
diff --git a/tasks/native.rake b/tasks/native.rake index abc1234..def5678 100644 --- a/tasks/native.rake +++ b/tasks/native.rake @@ -4,8 +4,8 @@ # NOTE: version used by cross compilation of Windows native extension # It do not affect compilation under other operating systems # The version indicated is the minimum DLL...
Update SQLite port to 3.7.13
diff --git a/hebruby.gemspec b/hebruby.gemspec index abc1234..def5678 100644 --- a/hebruby.gemspec +++ b/hebruby.gemspec @@ -1,11 +1,11 @@ Gem::Specification.new do |s| s.name = 'hebruby' - s.version = '2.1.0' - s.date = '2016-05-20' + s.version = '2.1.1' + s.date = '2018-04-01' s...
Update gemspec file for v2.1.1 release Signed-off-by: Ron Evans <b937b287f61b7a223d4aac55072db1a5381d3bb3@hybridgroup.com>
diff --git a/hubtime.gemspec b/hubtime.gemspec index abc1234..def5678 100644 --- a/hubtime.gemspec +++ b/hubtime.gemspec @@ -17,7 +17,7 @@ s.files = `git ls-files`.split("\n") s.require_paths = ["lib"] - s.add_dependency("active_support", "~> 3.0") + s.add_dependency("activesupport", "~> 3.0") s.add...
Use correct spelling of activesupport This allows updating to newer versions of activesupport than 3.0.0.
diff --git a/test/test_post.rb b/test/test_post.rb index abc1234..def5678 100644 --- a/test/test_post.rb +++ b/test/test_post.rb @@ -6,7 +6,7 @@ describe 'Post' do subject do - filename = Tilt.new(File.join(__dir__, 'templates', "#{filename}.erb")) + filename = '2015-01-01-a-post.markdown' path = File.j...
Undo the damage writing code at stupid o'clock will do.
diff --git a/lib/ripl.rb b/lib/ripl.rb index abc1234..def5678 100644 --- a/lib/ripl.rb +++ b/lib/ripl.rb @@ -4,6 +4,7 @@ end def self.start(*args); Runner.start(*args); end + def self.started?; instance_variable_defined? :@shell; end def self.plugins file = File.symlink?(__FILE__) ? File.readlink(__F...
Add Ripl.started?, idea from @janlelis
diff --git a/lib/tweet.rb b/lib/tweet.rb index abc1234..def5678 100644 --- a/lib/tweet.rb +++ b/lib/tweet.rb @@ -2,7 +2,7 @@ class Tweet def palindrome?(min_length) essence = to_essence - essence == essence.reverse && essence.length >= min_length + essence.length >= min_length && essence == esse...
Check for length first in palindrome?
diff --git a/cuba-template-generator.gemspec b/cuba-template-generator.gemspec index abc1234..def5678 100644 --- a/cuba-template-generator.gemspec +++ b/cuba-template-generator.gemspec @@ -22,5 +22,5 @@ spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.1.0' spec.ad...
Update gemspec dependency commander to ~> 4.4.0
diff --git a/spec/dummy/app/controllers/content_controller.rb b/spec/dummy/app/controllers/content_controller.rb index abc1234..def5678 100644 --- a/spec/dummy/app/controllers/content_controller.rb +++ b/spec/dummy/app/controllers/content_controller.rb @@ -1,10 +1,14 @@ class ContentController < ApplicationController ...
Add put and index actions
diff --git a/spec/features/delayed/cancel_delayed_job_spec.rb b/spec/features/delayed/cancel_delayed_job_spec.rb index abc1234..def5678 100644 --- a/spec/features/delayed/cancel_delayed_job_spec.rb +++ b/spec/features/delayed/cancel_delayed_job_spec.rb @@ -0,0 +1,36 @@+require 'rails_helper' + +feature 'cancelling a de...
Test for cancelling a delayed job from the search page
diff --git a/Formula/jiratools.rb b/Formula/jiratools.rb index abc1234..def5678 100644 --- a/Formula/jiratools.rb +++ b/Formula/jiratools.rb @@ -3,7 +3,7 @@ class Jiratools < Formula desc "Collection of command-line tool(s) for Jira." homepage "https://github.com/lottadot/jiratools" - url "https://github.com/lot...
Fix for Jiratools 0.3.3 filename/SHA
diff --git a/Formula/proctools.rb b/Formula/proctools.rb index abc1234..def5678 100644 --- a/Formula/proctools.rb +++ b/Formula/proctools.rb @@ -0,0 +1,29 @@+require 'brewkit' + +class Proctools <Formula + @version='0.4pre1' + @url='http://downloads.sourceforge.net/project/proctools/proctools/0.4pre1/proctools-0.4pre...
Add a formula for pgrep/pfind/pkill.
diff --git a/test/fixtures/cookbooks/test/recipes/instance.rb b/test/fixtures/cookbooks/test/recipes/instance.rb index abc1234..def5678 100644 --- a/test/fixtures/cookbooks/test/recipes/instance.rb +++ b/test/fixtures/cookbooks/test/recipes/instance.rb @@ -1,5 +1,6 @@ memcached_instance 'web_cache' do port 11_212 + ...
Set the ports in the test recipe
diff --git a/steam-condenser.gemspec b/steam-condenser.gemspec index abc1234..def5678 100644 --- a/steam-condenser.gemspec +++ b/steam-condenser.gemspec @@ -15,7 +15,7 @@ s.add_dependency 'multi_xml', '~> 0.5.2' s.add_development_dependency 'mocha', '~> 0.13.0' - s.add_development_dependency 'rake', '~> 10.0.1'...
Update rake dependency to 10.1.0
diff --git a/lib/dimples/configuration.rb b/lib/dimples/configuration.rb index abc1234..def5678 100644 --- a/lib/dimples/configuration.rb +++ b/lib/dimples/configuration.rb @@ -11,9 +11,9 @@ generation: default_generation, paths: default_paths, layouts: default_layouts, + pagination: de...
Rename post_feed to main_feed, and remove the json feed format
diff --git a/config/initializers/sentry.rb b/config/initializers/sentry.rb index abc1234..def5678 100644 --- a/config/initializers/sentry.rb +++ b/config/initializers/sentry.rb @@ -6,4 +6,6 @@ config.sanitize_fields = Rails.application.config.filter_parameters.map(&:to_s) + + config.processors -= [Raven::Proc...
Include POST data with Sentry reports No data POSTed to ETEngine contains user information, and is required to accurately reproduce errors which occur during scenario updates.
diff --git a/lib/activity.rb b/lib/activity.rb index abc1234..def5678 100644 --- a/lib/activity.rb +++ b/lib/activity.rb @@ -4,7 +4,7 @@ } named_scope :by_action, lambda { |action| - { :conditions => { :action => action }} + { :conditions => { :action => action.to_s }} } named_scope :by_item, lam...
Use simple strings instead of symbols for the action
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 @@ -49,5 +49,3 @@ World do FakeUserEnvironment.new end - -ENV['THOR_DEBUG'] = '1' # To raise an exception as is.
Revert THOR_DEBUG to the default for proper tests
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 @@ -13,7 +13,7 @@ if ENV['CI'] require 'knapsack' - Knapsack::Adapters::RSpecAdapter.bind + Knapsack::Adapters::SpinachAdapter.bind end %w(select2_helper te...
Fix Knapsack report generation for Spinach
diff --git a/lib/govuk_template/engine.rb b/lib/govuk_template/engine.rb index abc1234..def5678 100644 --- a/lib/govuk_template/engine.rb +++ b/lib/govuk_template/engine.rb @@ -2,11 +2,20 @@ class Engine < ::Rails::Engine initializer "govuk_template.assets.precompile" do |app| app.config.assets.precompile...
Add static files to `assets.precompile` This avoids errors in apps using sprockets-rails > 3
diff --git a/lib/mongoff/pretty_errors.rb b/lib/mongoff/pretty_errors.rb index abc1234..def5678 100644 --- a/lib/mongoff/pretty_errors.rb +++ b/lib/mongoff/pretty_errors.rb @@ -1,7 +1,8 @@ module Mongoff module PrettyErrors - def pretty_errors(record) + def pretty_errors(record, stack = Set.new) return ...
Fix | Recursive pretty errors
diff --git a/lib/photomosaic/color/rgb.rb b/lib/photomosaic/color/rgb.rb index abc1234..def5678 100644 --- a/lib/photomosaic/color/rgb.rb +++ b/lib/photomosaic/color/rgb.rb @@ -9,11 +9,11 @@ end def max - @max ||= [@red, @green, @blue].max.to_f + @max ||= [@red, @green, @blue].max end d...
Set maximun and minimum values of RGB by integer
diff --git a/test/i18n_test.rb b/test/i18n_test.rb index abc1234..def5678 100644 --- a/test/i18n_test.rb +++ b/test/i18n_test.rb @@ -0,0 +1,13 @@+# frozen_string_literal: true + +require 'i18n/tasks' + +class I18nTest < Minitest::Test + def test_does_not_have_unused_keys + unused_keys = I18n::Tasks::BaseTask.new.un...
Add a test to prevent unused i18n keys