diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -2,9 +2,9 @@ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). groups = [ - ["Plus63 Design Co", "#FF5500"], - ["Inksurge", "#B3BD8E"], - ["Acid...
Add group initials to seed data.
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -11,7 +11,6 @@ (0..9).each do |count| url = "http://developer.echonest.com/api/v4/artist/search?api_key=#{Rails.application.secrets.echonest_api_key}&format=json&start=#{count * 100}&results=100&sort=familia...
Fix the stupid test, at least locally. We'll see what travis says
diff --git a/lib/geb.rb b/lib/geb.rb index abc1234..def5678 100644 --- a/lib/geb.rb +++ b/lib/geb.rb @@ -13,7 +13,7 @@ class << self attr_writer :logger - def logger(level = ::Logger::WARN) + def logger(level = ::Logger::INFO) @logger ||= ::Logger.new(STDOUT).tap {|l| l.level = level } end ...
Change default status for Logger
diff --git a/app/controllers/questions_controller.rb b/app/controllers/questions_controller.rb index abc1234..def5678 100644 --- a/app/controllers/questions_controller.rb +++ b/app/controllers/questions_controller.rb @@ -27,7 +27,9 @@ get '/questions/:id/edit' do # edit form - if #user is the right user + @quest...
Add code to controller for editing the question
diff --git a/lib/jan.rb b/lib/jan.rb index abc1234..def5678 100644 --- a/lib/jan.rb +++ b/lib/jan.rb @@ -1,36 +1,33 @@+require "jan/check_digit_calculator" +require "jan/parser" +require "jan/random" +require "jan/validator" require "jan/version" -require "jan/parser" -require "jan/check_digit_calculator" -require "ja...
Remove instance variable @code form Jan.
diff --git a/spec/ruby/1.8/core/file/grpowned_spec.rb b/spec/ruby/1.8/core/file/grpowned_spec.rb index abc1234..def5678 100644 --- a/spec/ruby/1.8/core/file/grpowned_spec.rb +++ b/spec/ruby/1.8/core/file/grpowned_spec.rb @@ -4,7 +4,7 @@ describe "File.grpowned?" do it_behaves_like :file_grpowned, :grpowned?, File ...
Fix typo in File.grpowned? spec
diff --git a/bin/remove_duplicates_from_two_files.rb b/bin/remove_duplicates_from_two_files.rb index abc1234..def5678 100644 --- a/bin/remove_duplicates_from_two_files.rb +++ b/bin/remove_duplicates_from_two_files.rb @@ -0,0 +1,43 @@+#!/usr/bin/env ruby-local-exec + + # Author: Matti + # Version: 0.1 + # Usage: ./remov...
[Script] Remove repeated elements from two files
diff --git a/spec/features/stashes_features_spec.rb b/spec/features/stashes_features_spec.rb index abc1234..def5678 100644 --- a/spec/features/stashes_features_spec.rb +++ b/spec/features/stashes_features_spec.rb @@ -0,0 +1,39 @@+require 'spec_helper' + +describe "Stashes" do + before :all do + load "#{Rails.root}/...
Update stash feature specs to run agains sensu api v0.10.2
diff --git a/spec/support/post_content_generator.rb b/spec/support/post_content_generator.rb index abc1234..def5678 100644 --- a/spec/support/post_content_generator.rb +++ b/spec/support/post_content_generator.rb @@ -12,7 +12,6 @@ :name => "Example App Name", :description => "Example App Description", :ur...
Update spec: remove icon content member from app json
diff --git a/cookbooks/wt_heatmap/recipes/import.rb b/cookbooks/wt_heatmap/recipes/import.rb index abc1234..def5678 100644 --- a/cookbooks/wt_heatmap/recipes/import.rb +++ b/cookbooks/wt_heatmap/recipes/import.rb @@ -3,7 +3,7 @@ directory "/home/hadoop/log-drop" do owner "hadoop" group "hadoop" - mode "0744" + ...
Modify the permissions on the data-drop directory from 744 to 755 so Nagios can monitor this dir Former-commit-id: 910ccd58f438cbe44b0810274147c3af6ca14931 [formerly a2686546cf21493051a82822218c4d7fe26098c8] [formerly 88b8bab7c78ce1e88dc6be6d0c2ae558c5868618 [formerly 2199c9d11a22393fd3d74673da247587a412e655 [formerl...
diff --git a/core/app/models/billing_integration.rb b/core/app/models/billing_integration.rb index abc1234..def5678 100644 --- a/core/app/models/billing_integration.rb +++ b/core/app/models/billing_integration.rb @@ -7,7 +7,7 @@ def provider integration_options = options - ActiveMerchant::Billing::Base.inte...
Update BillingIntegration to use symbol for integration_mode
diff --git a/lib/environment_light.rb b/lib/environment_light.rb index abc1234..def5678 100644 --- a/lib/environment_light.rb +++ b/lib/environment_light.rb @@ -12,12 +12,7 @@ # Load application settings require Rails.root.join('config/initializers/rails_config.rb') -Settings = RailsConfig.load_files([ - 'setting...
Read from rails_config which files to load.
diff --git a/lib/font_awesome/sass.rb b/lib/font_awesome/sass.rb index abc1234..def5678 100644 --- a/lib/font_awesome/sass.rb +++ b/lib/font_awesome/sass.rb @@ -12,7 +12,7 @@ end def gem_path - @gem_path ||= File.expand_path('..', File.dirname(__FILE__)) + @gem_path ||= File.expand_path('.....
Fix gem_path, now the compass extension actually works.
diff --git a/lib/human_error/error.rb b/lib/human_error/error.rb index abc1234..def5678 100644 --- a/lib/human_error/error.rb +++ b/lib/human_error/error.rb @@ -37,7 +37,7 @@ "#{knowledgebase_url}/#{knowledgebase_article_id}" end - def to_json + def to_json(options = {}) JSON.dump(as_json) end
Add options as an argument to to_json since that's the standard implementation
diff --git a/spec/system/live_system_spec.rb b/spec/system/live_system_spec.rb index abc1234..def5678 100644 --- a/spec/system/live_system_spec.rb +++ b/spec/system/live_system_spec.rb @@ -1,50 +1,30 @@ require 'rails_helper' -RSpec.describe 'Live', type: :system do - describe 'list' do - before do - create_...
Improve system spec for live pages
diff --git a/spec/tachikoma/settings_spec.rb b/spec/tachikoma/settings_spec.rb index abc1234..def5678 100644 --- a/spec/tachikoma/settings_spec.rb +++ b/spec/tachikoma/settings_spec.rb @@ -2,8 +2,8 @@ describe Tachikoma do describe '.root_path' do let(:somewhere) { '/path/to/somewhere' } - let(:datapath) { s...
Add space before closing brace
diff --git a/examples/purge-empty-vocabularies.rb b/examples/purge-empty-vocabularies.rb index abc1234..def5678 100644 --- a/examples/purge-empty-vocabularies.rb +++ b/examples/purge-empty-vocabularies.rb @@ -0,0 +1,16 @@+$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) +require 'awesome_print' +require 'coll...
Add purge empty vocabularies example
diff --git a/spec/redis_rpc_spec.rb b/spec/redis_rpc_spec.rb index abc1234..def5678 100644 --- a/spec/redis_rpc_spec.rb +++ b/spec/redis_rpc_spec.rb @@ -6,4 +6,28 @@ RedisRpc.logger.wont_equal nil end + describe RedisRpc::Packed do + + class TestObject + include RedisRpc::Packed + + attr_accessor...
Add a spec for RedisRpc::Packed Should simply pack unpack ivars.
diff --git a/lib/net/ldap/password.rb b/lib/net/ldap/password.rb index abc1234..def5678 100644 --- a/lib/net/ldap/password.rb +++ b/lib/net/ldap/password.rb @@ -27,7 +27,7 @@ when :sha attribute_value = '{SHA}' + Base64.encode64(Digest::SHA1.digest(str)).chomp! when :ssha - srand; salt =...
Use SecureRandam to generate salt
diff --git a/commands/help_default.rb b/commands/help_default.rb index abc1234..def5678 100644 --- a/commands/help_default.rb +++ b/commands/help_default.rb @@ -1,34 +1,34 @@-module SlackRubyBot - module Commands - class HelpCommand < Base - help do - title 'help' - desc 'Shows help information.'...
Remove Monkey Patch for help
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -5,3 +5,24 @@ # # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }]) # Mayor.create(name: 'Emanuel', city: cities.first) + +Topology.create(graph: [{ + 'name' => 'HV Network', + 'childre...
Create a dummy topology in the seed task
diff --git a/field_types/core/boolean/boolean_field_type.rb b/field_types/core/boolean/boolean_field_type.rb index abc1234..def5678 100644 --- a/field_types/core/boolean/boolean_field_type.rb +++ b/field_types/core/boolean/boolean_field_type.rb @@ -1,23 +1,72 @@ class BooleanFieldType < FieldType + VALIDATION_TYPES = ...
Fix boolean to work as the other field types do
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb index abc1234..def5678 100644 --- a/config/deploy/staging.rb +++ b/config/deploy/staging.rb @@ -3,14 +3,14 @@ # This is used in the Nginx VirtualHost to specify which domains # the app should appear on. If you don't yet have DNS setup, you'll # need to ...
Use IP instead of domain name
diff --git a/mustermann/mustermann.gemspec b/mustermann/mustermann.gemspec index abc1234..def5678 100644 --- a/mustermann/mustermann.gemspec +++ b/mustermann/mustermann.gemspec @@ -14,4 +14,6 @@ s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`....
Add runtime dependency to ruby2_keywords
diff --git a/lib/slacken/node_type.rb b/lib/slacken/node_type.rb index abc1234..def5678 100644 --- a/lib/slacken/node_type.rb +++ b/lib/slacken/node_type.rb @@ -43,7 +43,7 @@ end def allowed_in_table? - member_of?(%i(code b strong i em wrapper span).concat(text_types)) + member_of?(%i(code b strong...
Allow table parts tags in table
diff --git a/adash.gemspec b/adash.gemspec index abc1234..def5678 100644 --- a/adash.gemspec +++ b/adash.gemspec @@ -22,5 +22,5 @@ spec.add_development_dependency "bundler", "~> 1.13" spec.add_development_dependency "rake", "~> 12.0" spec.add_dependency "amazon-drs" - spec.add_dependency "launchy", "~> 2.5" + ...
Remove dependency version spec for launchy
diff --git a/config/application.rb b/config/application.rb index abc1234..def5678 100644 --- a/config/application.rb +++ b/config/application.rb @@ -19,5 +19,9 @@ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # config.i18n.load_path += Dir[Rails.root.join('my', ...
Define RSpec as our default test framework.
diff --git a/server/test/test_case.rb b/server/test/test_case.rb index abc1234..def5678 100644 --- a/server/test/test_case.rb +++ b/server/test/test_case.rb @@ -12,6 +12,7 @@ def run(*args, &block) result = nil + $cache = Cache.new Sequel::Model.db.transaction(:rollback => :always){ result = super } result...
Create new cache on each test case.
diff --git a/config/deploy.example.rb b/config/deploy.example.rb index abc1234..def5678 100644 --- a/config/deploy.example.rb +++ b/config/deploy.example.rb @@ -16,8 +16,12 @@ %w{public/images public/javascripts public/stylesheets} set :rvm_type, :user set :rvm_ruby_version, 'jruby-9.0.5.0' +set :rollbar_token, p...
Add rollbar deploy notice ID:512
diff --git a/config/environment.rb b/config/environment.rb index abc1234..def5678 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -24,18 +24,4 @@ # Load Mongoid's configuration for this specific environment. require "mongoid" - -# FIXME: Disable MongoDB logging for performance. Currently a simple m...
Remove mongoid logger monkeypatch, since this can now be configured in database.yml.
diff --git a/spec/factories/course_lesson_plan_items.rb b/spec/factories/course_lesson_plan_items.rb index abc1234..def5678 100644 --- a/spec/factories/course_lesson_plan_items.rb +++ b/spec/factories/course_lesson_plan_items.rb @@ -0,0 +1,12 @@+FactoryGirl.define do + factory :course_lesson_plan_item, class: 'Course:...
Add lesson plan item model factory
diff --git a/spec/public/controller/controllers/base.rb b/spec/public/controller/controllers/base.rb index abc1234..def5678 100644 --- a/spec/public/controller/controllers/base.rb +++ b/spec/public/controller/controllers/base.rb @@ -1,15 +1,10 @@- - module Merb::Test::Fixtures - module Controllers - class ...
Clean up empty lines in fixture controller.
diff --git a/spec/functions/split_spec.rb b/spec/functions/split_spec.rb index abc1234..def5678 100644 --- a/spec/functions/split_spec.rb +++ b/spec/functions/split_spec.rb @@ -21,4 +21,6 @@ it { should run.with_params('foo').and_raise_error(expected_error, expected_error_message) } it { should run.with_params('...
Verify and_raise_error behaviour in case of mismatch This closes #240.
diff --git a/spec/limit_detectors_spec.rb b/spec/limit_detectors_spec.rb index abc1234..def5678 100644 --- a/spec/limit_detectors_spec.rb +++ b/spec/limit_detectors_spec.rb @@ -1,28 +1,42 @@ require 'spec_helper' -Array.send :include, LimitDetectors +describe 'With an Array as the enumerable' do -describe '#at_most...
Add describe blocks for different Enumerable objects, add 1st check for Hash objects
diff --git a/lib/llvm.rb b/lib/llvm.rb index abc1234..def5678 100644 --- a/lib/llvm.rb +++ b/lib/llvm.rb @@ -5,11 +5,7 @@ extend ::FFI::Library # load required libraries - begin - ffi_lib ['LLVM-2.8', 'libLLVM-2.8'] - rescue LoadError - ffi_lib ['LLVM-2.7', 'libLLVM-2.7'] - end + ffi_li...
Remove support for LLVM 2.7
diff --git a/lib/maps.rb b/lib/maps.rb index abc1234..def5678 100644 --- a/lib/maps.rb +++ b/lib/maps.rb @@ -12,12 +12,14 @@ def info_window(log) station = log.station - content = station.callsign + '<br /><hr>Last received on ' + log.created_at.to_s + '<br />' + content = '' + content += link_to station.callsign,...
Add rabbitears.info lookup to info window
diff --git a/examples.rb b/examples.rb index abc1234..def5678 100644 --- a/examples.rb +++ b/examples.rb @@ -20,6 +20,6 @@ time = Tickle.parse(s)[:next] print s, " --> server date: ", time puts - print s, " --> utc date: ", time - Time.now.utc_offset + print s, " --> utc date: ", time.utc puts }
Add timezone notes to example.rb
diff --git a/test/controllers/main_controller_test.rb b/test/controllers/main_controller_test.rb index abc1234..def5678 100644 --- a/test/controllers/main_controller_test.rb +++ b/test/controllers/main_controller_test.rb @@ -11,7 +11,7 @@ test 'should return the home page' do get :index assert_response :suc...
Fix test of site title Changed the title in the previous commit
diff --git a/railties/lib/rails/test_help.rb b/railties/lib/rails/test_help.rb index abc1234..def5678 100644 --- a/railties/lib/rails/test_help.rb +++ b/railties/lib/rails/test_help.rb @@ -32,13 +32,15 @@ end class ActionController::TestCase - setup do + def setup @routes = Rails.application.routes + super...
Use `def setup` instead of `setup do` `setup do` creates unnecessary allocations of proc objects in callbacks. This prevents that from happening and results in faster code.
diff --git a/cross_validation.gemspec b/cross_validation.gemspec index abc1234..def5678 100644 --- a/cross_validation.gemspec +++ b/cross_validation.gemspec @@ -9,9 +9,10 @@ gem.version = CrossValidation::VERSION gem.authors = ["Jon-Michael Deldin"] gem.email = ["dev@jmdeldin.com"] - gem.de...
Add a summary to the gemspec
diff --git a/spec/support/slash_commands_helpers.rb b/spec/support/slash_commands_helpers.rb index abc1234..def5678 100644 --- a/spec/support/slash_commands_helpers.rb +++ b/spec/support/slash_commands_helpers.rb @@ -3,7 +3,7 @@ Sidekiq::Testing.fake! do page.within('.js-main-target-form') do fill_i...
Fix comment button test for slash commands
diff --git a/app/controllers/base_media_controller.rb b/app/controllers/base_media_controller.rb index abc1234..def5678 100644 --- a/app/controllers/base_media_controller.rb +++ b/app/controllers/base_media_controller.rb @@ -8,17 +8,7 @@ headers['Last-Modified'] = asset.last_modified.httpdate headers['Content-...
Use Rails method to check for freshness of request I found it useful to test-drive my own implementation to give me confidence that this was working as I expected. Now that I have that confidence I'm happy to switch to the Rails implementation.
diff --git a/app/controllers/api/v1/api_controller.rb b/app/controllers/api/v1/api_controller.rb index abc1234..def5678 100644 --- a/app/controllers/api/v1/api_controller.rb +++ b/app/controllers/api/v1/api_controller.rb @@ -28,7 +28,7 @@ def restrict_access_by_params return true if @api_key - @...
Undo small change, moving from string to symbol (but it's indifferent access).
diff --git a/app/representers/api/base_representer.rb b/app/representers/api/base_representer.rb index abc1234..def5678 100644 --- a/app/representers/api/base_representer.rb +++ b/app/representers/api/base_representer.rb @@ -1,25 +1,20 @@ # encoding: utf-8 +require 'hal_api/representer' -class Api::BaseRepresenter < ...
Use HAR base, remove includes, add in url methods
diff --git a/app/models/spree/adjustment_decorator.rb b/app/models/spree/adjustment_decorator.rb index abc1234..def5678 100644 --- a/app/models/spree/adjustment_decorator.rb +++ b/app/models/spree/adjustment_decorator.rb @@ -7,7 +7,7 @@ in: ['closed'], message: "Tax adjustments must always be closed fo...
Update adjustment validation to check source_type, not source
diff --git a/app/workers/gtfs_feed_artifact_worker.rb b/app/workers/gtfs_feed_artifact_worker.rb index abc1234..def5678 100644 --- a/app/workers/gtfs_feed_artifact_worker.rb +++ b/app/workers/gtfs_feed_artifact_worker.rb @@ -0,0 +1,32 @@+class GtfsFeedArtifactWorker < FeedEaterWorker + + MAX_ATTEMPTS = 5 + WAIT_TIME ...
Move artifact creation to separate job Try 5 attempts
diff --git a/db/seeders/correspondence_type_seeder.rb b/db/seeders/correspondence_type_seeder.rb index abc1234..def5678 100644 --- a/db/seeders/correspondence_type_seeder.rb +++ b/db/seeders/correspondence_type_seeder.rb @@ -3,7 +3,7 @@ def seed! puts "----Seeding Correspondence Types----" - rec = Correspon...
Change to find record by abbreviation
diff --git a/digm_alpha.gemspec b/digm_alpha.gemspec index abc1234..def5678 100644 --- a/digm_alpha.gemspec +++ b/digm_alpha.gemspec @@ -8,8 +8,8 @@ gem.version = DigmAlpha::VERSION gem.authors = ["Anthony Cook"] gem.email = ["anthonymichaelcook@gmail.com"] - gem.description = %q{TODO: Wr...
Add gem description and summary.
diff --git a/capybara-angular.gemspec b/capybara-angular.gemspec index abc1234..def5678 100644 --- a/capybara-angular.gemspec +++ b/capybara-angular.gemspec @@ -24,4 +24,5 @@ spec.add_development_dependency "rake" spec.add_development_dependency "rspec" spec.add_development_dependency "poltergeist" + spec.add_...
Add puma as a dev dependency
diff --git a/dm-session.gemspec b/dm-session.gemspec index abc1234..def5678 100644 --- a/dm-session.gemspec +++ b/dm-session.gemspec @@ -19,5 +19,5 @@ s.add_dependency('adamantium', '~> 0.0.7') s.add_dependency('equalizer', '~> 0.0.5') s.add_dependency('abstract_type', '~> 0.0.5') - s.add_dependency(...
Update concord to ~> 0.1.0
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -23,7 +23,7 @@ suggests 'pkgutil' # Solaris 2 attribute 'build-essential/compile_time', - :display_name => 'Build Essential Compile Time Execution', - :description => 'Execute resources at compile time.', - ...
Use ruby 1.9 syntax for compile_time attribute.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,6 +4,14 @@ maintainer_email 'rjones@inviqa.com' license 'Apache 2.0' description 'Install and configure tideways daemon and PHP extension' +issues_url 'https://github.com/inviqa/tideways-cookbook/issues' +so...
Add issues/source urls and supported platform info
diff --git a/lib/env.rb b/lib/env.rb index abc1234..def5678 100644 --- a/lib/env.rb +++ b/lib/env.rb @@ -3,7 +3,7 @@ require 'alephant/util/string' -config_file = File.join("config", "aws.yml") +config_file = File.join('config', 'aws.yaml') if File.exists? config_file config = YAML.load(File.read(config_file)...
Correct file extension so it's consistent with other components we're building
diff --git a/recipes/_common.rb b/recipes/_common.rb index abc1234..def5678 100644 --- a/recipes/_common.rb +++ b/recipes/_common.rb @@ -24,6 +24,11 @@ recursive true end +# Some systems (cough BSD) don't create /etc/profile.d +directory '/etc/profile.d' do + recursive true +end + # Create the omnibus directorie...
Create /etc/profile.d if it does not exist
diff --git a/recipes/default.rb b/recipes/default.rb index abc1234..def5678 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -1,3 +1,22 @@+# +# Cookbook Name:: ps2dev +# Recipe:: default +# +# Copyright (C) 2012 Mathias Lafeldt <mathias.lafeldt@gmail.com> +# +# Licensed under the Apache License, Version 2.0 ...
Add copyright header to recipe
diff --git a/recipes/gnu-tar.rb b/recipes/gnu-tar.rb index abc1234..def5678 100644 --- a/recipes/gnu-tar.rb +++ b/recipes/gnu-tar.rb @@ -6,7 +6,7 @@ action [:install, :upgrade] end - link "/usr/bin/tar" do + link "/usr/local/bin/tar" do to "/usr/local/bin/gtar" e...
Fix for rootless in 10.11
diff --git a/spec/support/capybara_driver_resolver.rb b/spec/support/capybara_driver_resolver.rb index abc1234..def5678 100644 --- a/spec/support/capybara_driver_resolver.rb +++ b/spec/support/capybara_driver_resolver.rb @@ -4,13 +4,12 @@ # with descriptive names related to the underlying browser's HTML5 support. modu...
Clarify browsers driven by Capybara drivers
diff --git a/config/environments/development.rb b/config/environments/development.rb index abc1234..def5678 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,6 @@ config.cache_classes = ENV["CACHE_CLASSES"] || false config.con...
Remove Rack::LiveReload from dev env config
diff --git a/test/integration_test.rb b/test/integration_test.rb index abc1234..def5678 100644 --- a/test/integration_test.rb +++ b/test/integration_test.rb @@ -0,0 +1,9 @@+require_relative 'test_helper' +require_relative '../lib/yahtzee_game' + +class IntegrationTest < Minitest::Test + def test_integration_between_ya...
Add test for integration between YahtzeeGame and DiceRoller.
diff --git a/test/integration/generated_gst_test.rb b/test/integration/generated_gst_test.rb index abc1234..def5678 100644 --- a/test/integration/generated_gst_test.rb +++ b/test/integration/generated_gst_test.rb @@ -20,6 +20,10 @@ it "correctly fetches the name" do _(instance.name).must_equal "sink" en...
Add integration test demonstrating reading of unknown properties
diff --git a/week-4/concatenate-arrays/my_solution.rb b/week-4/concatenate-arrays/my_solution.rb index abc1234..def5678 100644 --- a/week-4/concatenate-arrays/my_solution.rb +++ b/week-4/concatenate-arrays/my_solution.rb @@ -1,18 +1,37 @@ # Concatenate Two Arrays =begin -INPUT: Obtain two collections of words +INPUT...
Create method to concatenate arrays
diff --git a/lib/redmine_recurring_tasks/issue_presenter.rb b/lib/redmine_recurring_tasks/issue_presenter.rb index abc1234..def5678 100644 --- a/lib/redmine_recurring_tasks/issue_presenter.rb +++ b/lib/redmine_recurring_tasks/issue_presenter.rb @@ -10,7 +10,7 @@ return "#{recurring_task_root.month_days_parsed.j...
Fix error on issue page
diff --git a/spec/controllers/get_controller_spec.rb b/spec/controllers/get_controller_spec.rb index abc1234..def5678 100644 --- a/spec/controllers/get_controller_spec.rb +++ b/spec/controllers/get_controller_spec.rb @@ -0,0 +1,36 @@+require 'spec_helper' + +describe GetController do + + let(:service) { double('doc...
Add some controller specs, including pending tasks to be done.
diff --git a/spec/features/admin/admin_games_spec.rb b/spec/features/admin/admin_games_spec.rb index abc1234..def5678 100644 --- a/spec/features/admin/admin_games_spec.rb +++ b/spec/features/admin/admin_games_spec.rb @@ -0,0 +1,59 @@+# frozen_string_literal: true + +require 'rails_helper' + +RSpec.feature 'Admin::Games...
Add game admin page test
diff --git a/spec/integration/jobs/print_line_job.rb b/spec/integration/jobs/print_line_job.rb index abc1234..def5678 100644 --- a/spec/integration/jobs/print_line_job.rb +++ b/spec/integration/jobs/print_line_job.rb @@ -2,7 +2,7 @@ extend QueueingRabbit::Job class << self - attr_accessor :io + attr_writer...
Update test PrintLineJob with the default value for io.
diff --git a/google-ads-common.gemspec b/google-ads-common.gemspec index abc1234..def5678 100644 --- a/google-ads-common.gemspec +++ b/google-ads-common.gemspec @@ -5,7 +5,7 @@ Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY - s.name = GEM_NAME + s.name = 'google-ads-common' s.version = AdsComm...
Fix the gem name in the gem spec
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -0,0 +1,30 @@+# -*- coding: utf-8 -*- +# Copyright 2014 TIS Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You ma...
Add seed data to create system record
diff --git a/db/seeds.rb b/db/seeds.rb index abc1234..def5678 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -6,10 +6,10 @@ # Create quotes quotes = [ - { name: "Albert Einstein", source: "", content: "Insanity: doing the same thing over and over again and expecting different results." }, - { name: "ゾロ", source: "ワ...
Fix attributes name on db/seed
diff --git a/safe_shell.gemspec b/safe_shell.gemspec index abc1234..def5678 100644 --- a/safe_shell.gemspec +++ b/safe_shell.gemspec @@ -18,7 +18,7 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s....
Fix gemspec to refer to the renamed README
diff --git a/features/step_definitions/admin_steps.rb b/features/step_definitions/admin_steps.rb index abc1234..def5678 100644 --- a/features/step_definitions/admin_steps.rb +++ b/features/step_definitions/admin_steps.rb @@ -13,6 +13,15 @@ expect(page).to_not have_link(link) end -Then(/^there should be (\d+) activ...
Add checking action for pending activity checkboxes; use hit instead of press to get around weird text encoding for buttons
diff --git a/test/unit/page_test.rb b/test/unit/page_test.rb index abc1234..def5678 100644 --- a/test/unit/page_test.rb +++ b/test/unit/page_test.rb @@ -1,38 +1,17 @@ require 'test_helper' class PageTest < ActiveSupport::TestCase - context "Page:" do - setup do - @theme = Theme.create(:name => "theme") - ...
Rewrite Page tests. * Require body * Require template name * Validate default template name
diff --git a/core/spec/screenshots/admin_page_spec.rb b/core/spec/screenshots/admin_page_spec.rb index abc1234..def5678 100644 --- a/core/spec/screenshots/admin_page_spec.rb +++ b/core/spec/screenshots/admin_page_spec.rb @@ -1,6 +1,6 @@ require 'screenshot_helper' -describe "factlink", type: :request do +describe "fa...
Update als the admin test :)_
diff --git a/test/fitbit_client/util_test.rb b/test/fitbit_client/util_test.rb index abc1234..def5678 100644 --- a/test/fitbit_client/util_test.rb +++ b/test/fitbit_client/util_test.rb @@ -0,0 +1,17 @@+require 'test_helper' + +module FitbitClient + class UtilTest < Minitest::Test + def test_iso_date + assert_e...
Add tests for Util module
diff --git a/spec/graph_spec.rb b/spec/graph_spec.rb index abc1234..def5678 100644 --- a/spec/graph_spec.rb +++ b/spec/graph_spec.rb @@ -16,4 +16,19 @@ end + describe 'Node' do + + describe 'new' do + + it "should create a new node with the given value and no incoming or outgoing nodes" do + node1...
Add a spec for initializing the node class as well.
diff --git a/app/controllers/spree/user_registrations_controller_decorator.rb b/app/controllers/spree/user_registrations_controller_decorator.rb index abc1234..def5678 100644 --- a/app/controllers/spree/user_registrations_controller_decorator.rb +++ b/app/controllers/spree/user_registrations_controller_decorator.rb @@ ...
Fix for @spree_user being nil
diff --git a/black_list.rb b/black_list.rb index abc1234..def5678 100644 --- a/black_list.rb +++ b/black_list.rb @@ -7,5 +7,6 @@ ["coq-compcert.3.2.0", "Error: Corrupted compiled interface"], # flaky Makefile ["coq-compcert.3.3.0", "Error: Corrupted compiled interface"], # flaky Makefile ["coq-compcert.3.6", "E...
Add coq-metacoq-erasure to the black list
diff --git a/blimp.gemspec b/blimp.gemspec index abc1234..def5678 100644 --- a/blimp.gemspec +++ b/blimp.gemspec @@ -4,18 +4,18 @@ require 'blimp/version' Gem::Specification.new do |gem| - gem.name = "blimp" + gem.name = 'jonahoffline-blimp' gem.version = Blimp::VERSION - gem.authors ...
Update gemspec authors, email and gem name for this fork
diff --git a/lib/alpha_taxonomy/bulk_import_report.rb b/lib/alpha_taxonomy/bulk_import_report.rb index abc1234..def5678 100644 --- a/lib/alpha_taxonomy/bulk_import_report.rb +++ b/lib/alpha_taxonomy/bulk_import_report.rb @@ -0,0 +1,83 @@+module AlphaTaxonomy + class BulkImportReport + include AlphaTaxonomy::Helpers...
Add some basic reporting on the state of the alpha taxonomy import This reads the current import file and writes a summary to the logger.
diff --git a/lib/dpla.rb b/lib/dpla.rb index abc1234..def5678 100644 --- a/lib/dpla.rb +++ b/lib/dpla.rb @@ -1,5 +1,7 @@ require 'active_triples' require 'linked_vocabs' + +Dir["rdf/*.rb"].each {|file| require file } module DPLA LinkedVocabs.add_vocabulary(:aat, 'http://vocab.getty.edu/aat/')
Add requires for generated RDF vocabularies
diff --git a/cube-ruby-gem.gemspec b/cube-ruby-gem.gemspec index abc1234..def5678 100644 --- a/cube-ruby-gem.gemspec +++ b/cube-ruby-gem.gemspec @@ -0,0 +1,27 @@+# -*- encoding: utf-8 -*- +require File.expand_path('../lib/cube/version', __FILE__) + +Gem::Specification.new do |gem| + gem.authors = ["Ticean Bennet...
Add rubocop dependency for style checking
diff --git a/lib/effective_resources/effective_gem.rb b/lib/effective_resources/effective_gem.rb index abc1234..def5678 100644 --- a/lib/effective_resources/effective_gem.rb +++ b/lib/effective_resources/effective_gem.rb @@ -8,6 +8,7 @@ config_keys.each do |key| self.singleton_class.define_method(key) { co...
Add the config setter methods as well
diff --git a/lib/braid/commands/add.rb b/lib/braid/commands/add.rb index abc1234..def5678 100644 --- a/lib/braid/commands/add.rb +++ b/lib/braid/commands/add.rb @@ -9,7 +9,7 @@ branch_message = (mirror.branch == "master") ? "" : " branch '#{mirror.branch}'" revision_message = options["revision"...
Stop emitting the type in notification
diff --git a/lib/milkman/authorizer.rb b/lib/milkman/authorizer.rb index abc1234..def5678 100644 --- a/lib/milkman/authorizer.rb +++ b/lib/milkman/authorizer.rb @@ -15,14 +15,18 @@ def authorize puts I18n.t("milkman.authorization.frob_message", url: frob_message_url) - - signed_options = sign options[...
Split up the authorize method into multiple methods.
diff --git a/lib/redimap/redis_conn.rb b/lib/redimap/redis_conn.rb index abc1234..def5678 100644 --- a/lib/redimap/redis_conn.rb +++ b/lib/redimap/redis_conn.rb @@ -5,8 +5,8 @@ module Redimap class RedisConn - QUEUE_QUEUE = 'redimap' - QUEUE_CLASS = 'RedimapJob' + @@RESCUE_QUEUE = 'redimap' + @@RES...
Reduce visibility of RedisConn constants, renaming. Nothing outside of RedisConn needs to know the precise implementation of the Redis key names.
diff --git a/lib/tasks/early_bird.rake b/lib/tasks/early_bird.rake index abc1234..def5678 100644 --- a/lib/tasks/early_bird.rake +++ b/lib/tasks/early_bird.rake @@ -3,7 +3,7 @@ task :early_bird, [] => :environment do begin if PqaImportRun.ready_for_early_bird - if (Time.zone.today < Date.new(2019, ...
Extend early bird email suppression until 19.12.2019
diff --git a/lib/vagrant-vbguest/installers/oracle.rb b/lib/vagrant-vbguest/installers/oracle.rb index abc1234..def5678 100644 --- a/lib/vagrant-vbguest/installers/oracle.rb +++ b/lib/vagrant-vbguest/installers/oracle.rb @@ -10,7 +10,13 @@ protected def dependencies - ['kernel-uek-devel-`uname -r`...
Support Oracle with non UEK kernel [#357]
diff --git a/lib/cocoapods-downloader/subversion.rb b/lib/cocoapods-downloader/subversion.rb index abc1234..def5678 100644 --- a/lib/cocoapods-downloader/subversion.rb +++ b/lib/cocoapods-downloader/subversion.rb @@ -3,7 +3,7 @@ class Subversion < Base def self.options - [:revision, :tag, :folder] +...
Add :checkout option to allow checkinable pod when using --no-clean The svn downloader uses export instead of checkout by default since https://github.com/CocoaPods/CocoaPods/pull/473. But having a "checkin-able" pod is still usefull for the Pods developpers even if it has been aggreed to be a minority-use case. (fro...
diff --git a/modules/shell/spec/classes/shell_spec.rb b/modules/shell/spec/classes/shell_spec.rb index abc1234..def5678 100644 --- a/modules/shell/spec/classes/shell_spec.rb +++ b/modules/shell/spec/classes/shell_spec.rb @@ -0,0 +1,10 @@+require_relative '../../../../spec_helper' + +describe 'shell', :type => :class do...
Add stub rspec test to shell module
diff --git a/lib/byebug/interfaces/local_interface.rb b/lib/byebug/interfaces/local_interface.rb index abc1234..def5678 100644 --- a/lib/byebug/interfaces/local_interface.rb +++ b/lib/byebug/interfaces/local_interface.rb @@ -21,7 +21,7 @@ # def readline(prompt) with_repl_like_sigint do - Readline...
Remove method arg that's false implicitly This is more concise and equally readable.
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -8,7 +8,7 @@ version '6.1.2' source_url 'https://github.com/sous-chefs/postgresql' issues_url 'https://github.com/sous-chefs/postgresql/issues' -chef_version '>= 12.16' if respond_t...
Update minimum chef to 13.8+
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,9 +1,9 @@-maintainer "Peter Donald" -maintainer_email "peter@realityforge.org" -license "Apache 2.0" -description "Installs/Configures logstash in agent mode" +maintainer 'Peter Donal...
Use string literals where possible
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,9 +1,12 @@ name 'sbp_cloudmonkey' maintainer 'Sander van Harmelen' maintainer_email 'svanharmelen@schubergphilis.com' +chef_version '>= 12.14' license 'Apache 2.0' descriptio...
Add chef_version, issues_url & source_url
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,7 +1,7 @@ name 'mysql2_chef_gem' maintainer 'Nicolas Blanc' maintainer_email 'sinfomicien@gmail.com' -license 'Apache 2.0' +license 'Apache-2.0' description 'Provides the mysql2_chef_gem resource' long_des...
Use a SPDX compliant license string to resolve Foodcritic warnings Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -12,7 +12,7 @@ supports os end -depends 'compat_resource', '>= 12.14' +depends 'compat_resource', '>= 12.14.6' source_url 'https://github.com/chef-cookbooks/chef-apt-docker' issues_url 'https://github.co...
Make sure we have a working compat_resource Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -16,7 +16,7 @@ depends 'chef-vault' depends 'chocolatey' -depends 'golang', '~> 1.4' +depends 'golang' depends 'firewall', '~> 1.6' depends 'libartifact', '~> 1.3' depends 'poise', '~> 2.2'
Remove opinionated lock on golang Hi @johnbellone, The lock on `golang` is too opinionated, folks should be able to lock themselves (or default to unlocked) in my opinion. Thanks in advance
diff --git a/lib/postgres-fulltext-search-helper.rb b/lib/postgres-fulltext-search-helper.rb index abc1234..def5678 100644 --- a/lib/postgres-fulltext-search-helper.rb +++ b/lib/postgres-fulltext-search-helper.rb @@ -3,7 +3,7 @@ module PostgresFulltextSearchHelper extend self - POSTGRES_TSQUERY_SENSITIVE_CHARACTE...
Make compatible with pg 11.4 FOLLOWED BY operator
diff --git a/lib/puppet/provider/package/docker_el.rb b/lib/puppet/provider/package/docker_el.rb index abc1234..def5678 100644 --- a/lib/puppet/provider/package/docker_el.rb +++ b/lib/puppet/provider/package/docker_el.rb @@ -6,7 +6,7 @@ def dockerfile_line(context) version = @resource[:ensure] - script = "C...
Add the -y flag to the yum command
diff --git a/lib/turnip_formatter/ext/turnip/rspec.rb b/lib/turnip_formatter/ext/turnip/rspec.rb index abc1234..def5678 100644 --- a/lib/turnip_formatter/ext/turnip/rspec.rb +++ b/lib/turnip_formatter/ext/turnip/rspec.rb @@ -29,7 +29,15 @@ steps = background_steps + scenario.steps tags = (feat...
Add parameters for new scenario resource class.
diff --git a/Library/Homebrew/cask/lib/hbc/auditor.rb b/Library/Homebrew/cask/lib/hbc/auditor.rb index abc1234..def5678 100644 --- a/Library/Homebrew/cask/lib/hbc/auditor.rb +++ b/Library/Homebrew/cask/lib/hbc/auditor.rb @@ -4,10 +4,9 @@ saved_languages = MacOS.instance_variable_get(:@languages) if langu...
Refactor audit for changed DSL.
diff --git a/lib/active_record/base_without_table.rb b/lib/active_record/base_without_table.rb index abc1234..def5678 100644 --- a/lib/active_record/base_without_table.rb +++ b/lib/active_record/base_without_table.rb @@ -3,7 +3,7 @@ self.abstract_class = true def create_or_update_without_callbacks - ...
Fix problem where before/after create/update callbacks not being called properly.