diff
stringlengths
65
26.7k
message
stringlengths
7
9.92k
diff --git a/lib/validates_with_block.rb b/lib/validates_with_block.rb index abc1234..def5678 100644 --- a/lib/validates_with_block.rb +++ b/lib/validates_with_block.rb @@ -17,8 +17,8 @@ def valid_attribute_name?(name) column_names.include?(name) || ( - instance_methods(false).include?("#{name}=...
Include all instance methods when checking attribute name This change will allow more names to be used but given that the current code at least requires validates_ it is very unlikely to cause confusion.
diff --git a/lib/will_paginate_search.rb b/lib/will_paginate_search.rb index abc1234..def5678 100644 --- a/lib/will_paginate_search.rb +++ b/lib/will_paginate_search.rb @@ -2,7 +2,7 @@ # Copyright (c) 2007 - 2010 Douglas F Shearer. # http://douglasfshearer.com -module Foo::Acts::Indexed +module ActsAsIndexed m...
Fix to WillPaginate module structure due to poor merge.
diff --git a/lib/hyperloop/application.rb b/lib/hyperloop/application.rb index abc1234..def5678 100644 --- a/lib/hyperloop/application.rb +++ b/lib/hyperloop/application.rb @@ -4,9 +4,9 @@ class Application include Rack::Utils - def initialize(root='') + def initialize(root=nil) @root = root...
Handle Application.new with no root
diff --git a/lib/metrica/rails/railtie.rb b/lib/metrica/rails/railtie.rb index abc1234..def5678 100644 --- a/lib/metrica/rails/railtie.rb +++ b/lib/metrica/rails/railtie.rb @@ -10,7 +10,7 @@ config.after_initialize do # Insert ActiveRecord instrumentation if defined?(::ActiveRecord::ConnectionAd...
Fix ActiveRecord instrumentation require path.
diff --git a/lib/private_address_check.rb b/lib/private_address_check.rb index abc1234..def5678 100644 --- a/lib/private_address_check.rb +++ b/lib/private_address_check.rb @@ -1,5 +1,5 @@ require "ipaddr" -require "resolv" +require "socket" require "private_address_check/version" @@ -30,7 +30,7 @@ end def ...
Use Socket instead of Resolv for DNS The Socket library is tied closer to the libc Ruby is using and is probably going to have less issues in the long run.
diff --git a/lib/caprese/routing/caprese_resources.rb b/lib/caprese/routing/caprese_resources.rb index abc1234..def5678 100644 --- a/lib/caprese/routing/caprese_resources.rb +++ b/lib/caprese/routing/caprese_resources.rb @@ -1,49 +1,26 @@ require 'action_dispatch/routing/mapper' -module Caprese - module Routing - ...
Refactor routing helper to use built in Rails functionality
diff --git a/lib/psd/util.rb b/lib/psd/util.rb index abc1234..def5678 100644 --- a/lib/psd/util.rb +++ b/lib/psd/util.rb @@ -1,16 +1,18 @@ class PSD - class Util + module Util + extend self + # Ensures value is a multiple of 2 - def self.pad2(i) + def pad2(i) ((i + 1) / 2) * 2 end # E...
Change Util to a module
diff --git a/lib/tasks/asset_manager.rake b/lib/tasks/asset_manager.rake index abc1234..def5678 100644 --- a/lib/tasks/asset_manager.rake +++ b/lib/tasks/asset_manager.rake @@ -1,6 +1,16 @@ namespace :asset_manager do desc "Migrates Assets to Asset Manager." - task migrate_assets: :environment do - MigrateAssets...
Make target_dir parameter of migrate_assets rake task
diff --git a/test/integration/default/serverspec/mailcatcher_spec.rb b/test/integration/default/serverspec/mailcatcher_spec.rb index abc1234..def5678 100644 --- a/test/integration/default/serverspec/mailcatcher_spec.rb +++ b/test/integration/default/serverspec/mailcatcher_spec.rb @@ -0,0 +1,23 @@+require "spec_helper" ...
Add integration test for MailCatcher
diff --git a/lib/contentr/string_extensions.rb b/lib/contentr/string_extensions.rb index abc1234..def5678 100644 --- a/lib/contentr/string_extensions.rb +++ b/lib/contentr/string_extensions.rb @@ -9,6 +9,7 @@ s.gsub!('_', '-') # s.gsub!(/[^a-z0-9\s-]/, '') # Remove non-word characters s.gsub!(/\s+/, '-') ...
Remove slashes in the to_slug method.
diff --git a/lib/finite_machine/subscribers.rb b/lib/finite_machine/subscribers.rb index abc1234..def5678 100644 --- a/lib/finite_machine/subscribers.rb +++ b/lib/finite_machine/subscribers.rb @@ -60,8 +60,10 @@ # @return [undefined] # # @api public - def visit(hook_event) - each { |subscriber| sy...
Change subscirbers to be notified with data.
diff --git a/lib/game.rb b/lib/game.rb index abc1234..def5678 100644 --- a/lib/game.rb +++ b/lib/game.rb @@ -22,7 +22,7 @@ if @gametype.valid_slots.include?(index_position) @gametype = gametype.move(index_position) comp_move - ui.show_board(gametype.board) + ui.show_board(gametype.board_arr)...
Change variabe name to board_arr
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb index abc1234..def5678 100644 --- a/app/workers/post_receive.rb +++ b/app/workers/post_receive.rb @@ -4,8 +4,7 @@ sidekiq_options queue: :post_receive - def perform(repo_path, oldrev, newrev, ref, identifier) - + def perform(repo_path, ident...
Update post-receive worker for new format Signed-off-by: Dmitriy Zaporozhets <be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com>
diff --git a/lib/viera_play/time_stamp.rb b/lib/viera_play/time_stamp.rb index abc1234..def5678 100644 --- a/lib/viera_play/time_stamp.rb +++ b/lib/viera_play/time_stamp.rb @@ -1,6 +1,6 @@ class TimeStamp def self.parse(string) - if /\A(-?)([0-9]{2}):([0-9]{2}):([0-9]{2})\Z/.match(string) + if /\A(-?)([0-9]{1,...
Work with timestamps that have only one hour digit.
diff --git a/lib/http/request_stream.rb b/lib/http/request_stream.rb index abc1234..def5678 100644 --- a/lib/http/request_stream.rb +++ b/lib/http/request_stream.rb @@ -15,12 +15,11 @@ end def add_body_type_headers - case @body - when String - @request_header << "Content-Length: #{@body.leng...
Swap case with conditionals, also remove some predicates there were places where the predicates could be folded into the conditional statements hovering above them once this was turned into an if Signed-off-by: Sam Phippen <e5a09176608998a68778e11d5021c871e8fae93c@googlemail.com>
diff --git a/lib/rexml-expansion-fix.rb b/lib/rexml-expansion-fix.rb index abc1234..def5678 100644 --- a/lib/rexml-expansion-fix.rb +++ b/lib/rexml-expansion-fix.rb @@ -1,15 +1,29 @@+# Copyright (c) 2008 Michael Koziarski <michael@koziarski.com> +# +# Permission to use, copy, modify, and/or distribute this software fo...
Add the ISC license to the source file too
diff --git a/templates/run_specs.rb b/templates/run_specs.rb index abc1234..def5678 100644 --- a/templates/run_specs.rb +++ b/templates/run_specs.rb @@ -1,9 +1,9 @@-run('rspec spec -cfdoc') -run('rake --trace spec') -run('rake --trace spec:requests') -run('rake --trace spec:models') -run('rake --trace spec:views') -run...
Abort with non-zero exit status if any command fails
diff --git a/spec/ext/nobrainer_spec.rb b/spec/ext/nobrainer_spec.rb index abc1234..def5678 100644 --- a/spec/ext/nobrainer_spec.rb +++ b/spec/ext/nobrainer_spec.rb @@ -4,7 +4,10 @@ if ExtVerifier.has_nobrainer? before :all do - NoBrainer.configure { |c| c.app_name = "ap_test" } + NoBrainer.configure...
Configure NoBrainer to use the test environment This is to prevent it from trying to connect to localhost during tests which causes errors shown here: https://github.com/michaeldv/awesome_print/pull/228#issuecomment-217092622
diff --git a/spec/how_is/builds_spec.rb b/spec/how_is/builds_spec.rb index abc1234..def5678 100644 --- a/spec/how_is/builds_spec.rb +++ b/spec/how_is/builds_spec.rb @@ -13,10 +13,23 @@ end describe "#builds" do + around(:example) do |example| + token = ENV["HOWIS_GITHUB_TOKEN"] + username = ENV["HOW...
Spec: Allow test to run on forked repos also
diff --git a/spec/tests/landing_spec.rb b/spec/tests/landing_spec.rb index abc1234..def5678 100644 --- a/spec/tests/landing_spec.rb +++ b/spec/tests/landing_spec.rb @@ -0,0 +1,39 @@+require 'spec_helper' + +describe 'Hi5 web site' do + + describe 'on Footer Navigation Bar ' do + context 'without page object' do + ...
Add the tests for landing page This file is going to test some features in the landing page
diff --git a/tasks/gwt_javadoc_fix.rake b/tasks/gwt_javadoc_fix.rake index abc1234..def5678 100644 --- a/tasks/gwt_javadoc_fix.rake +++ b/tasks/gwt_javadoc_fix.rake @@ -0,0 +1,12 @@+# Ugly hack required as the gwt jars cause the javadoc tool heart ache +module Buildr + module DocFix #:nodoc: + include Extension + ...
Add work around for javadocs not playing friendly with gwt jar
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -7,7 +7,7 @@ depends 'build-essential' depends 'xml' -depends 'mysql', '>= 6.0.0' +depends 'mysql' depends 'yum-epel' depends 'windows' depends 'iis'
Remove mysql cookbook version constraint
diff --git a/Formula/clay.rb b/Formula/clay.rb index abc1234..def5678 100644 --- a/Formula/clay.rb +++ b/Formula/clay.rb @@ -1,8 +1,8 @@ require 'formula' class Clay < Formula - url 'http://tachyon.in/clay/binaries/clay-macosx-2011.04.18.zip' - homepage 'http://claylanguage.org' + url 'http://claylabs.com/clay/bi...
Clay: Use current binary and homepage URLs The Clay homepage has moved to http://claylabs.com/clay/. The claylanguage.org hostname still redirects to the old site, so that should be changed as well. Closes Homebrew/homebrew#8935. Signed-off-by: Charlie Sharpsteen <828d338a9b04221c9cbe286f50cd389f68de4ecf@sharpsteen....
diff --git a/lib/services.rb b/lib/services.rb index abc1234..def5678 100644 --- a/lib/services.rb +++ b/lib/services.rb @@ -3,7 +3,10 @@ module Services def self.publishing_api - @publishing_api ||= GdsApi::PublishingApiV2.new(Plek.new.find('publishing-api')) + @publishing_api ||= GdsApi::PublishingApiV2.ne...
Add bearer_token for publishing_api authentication
diff --git a/lib/tockspit.rb b/lib/tockspit.rb index abc1234..def5678 100644 --- a/lib/tockspit.rb +++ b/lib/tockspit.rb @@ -5,11 +5,13 @@ require "json" module Tockspit + USER_AGENT = "Tockspit v#{VERSION} (daniel+open-source@floppy.co)" + def self.roles(email, password) http = Net::HTTP.new('www.tickspot....
Set user agent as required by Tick API
diff --git a/lib/miq_automation_engine/service_models/miq_ae_service_ext_management_system.rb b/lib/miq_automation_engine/service_models/miq_ae_service_ext_management_system.rb index abc1234..def5678 100644 --- a/lib/miq_automation_engine/service_models/miq_ae_service_ext_management_system.rb +++ b/lib/miq_automation_e...
Add method Available_Images to populate image dropdown box (transferred from ManageIQ/manageiq@c6c4f0b7439796deb5a83f1a59ea7edf9a855259)
diff --git a/app/views/spree/products/google_merchant.rss.builder b/app/views/spree/products/google_merchant.rss.builder index abc1234..def5678 100644 --- a/app/views/spree/products/google_merchant.rss.builder +++ b/app/views/spree/products/google_merchant.rss.builder @@ -7,7 +7,8 @@ production_domain = Spree...
Add shipping to RSS feed.
diff --git a/test/refinance_test.rb b/test/refinance_test.rb index abc1234..def5678 100644 --- a/test/refinance_test.rb +++ b/test/refinance_test.rb @@ -2,11 +2,11 @@ class RefinanceTest < Minitest::Test def test_refinance_is_a_module - assert_kind_of Module, ::Refinance + assert_kind_of ::Module, ::Refinanc...
Make constant references more precise
diff --git a/stdlib/opal-platform.rb b/stdlib/opal-platform.rb index abc1234..def5678 100644 --- a/stdlib/opal-platform.rb +++ b/stdlib/opal-platform.rb @@ -5,7 +5,7 @@ nashorn = `typeof(Java) !== "undefined" && Java.type` headless_chrome = `typeof(navigator) !== "undefined" && /\bHeadlessChrome\//.test(naviga...
Fix opalminiracer variable name problem
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -13,3 +13,6 @@ supports 'windows' depends 'windows', '~> 1.0' + +source_url 'https://github.com/dhoer/chef-chromedriver' if respond_to?(:source_url) +issues_url 'https://github.com/dhoer/chef-chromedriver/issu...
Add source and issues url
diff --git a/metadata.rb b/metadata.rb index abc1234..def5678 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,7 +1,7 @@ name 'chef-analytics' maintainer 'Chef Software, Inc.' maintainer_email 'cookbooks@chef.io' -license 'Apache 2.0' +license 'Apache-2.0' description 'Installs/Configures chef-analytics' long_descr...
Use a SPDX standard license string 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 @@ -1,11 +1,11 @@-name 'kibana' +name 'opsworks_kibana' maintainer 'Andrew Jo' maintainer_email 'andrew@verdigris.co' license 'Simplified BSD' description 'Installs an...
Switch down to kibana 1.4
diff --git a/server/src/main/webapp/WEB-INF/rails/config/environment.rb b/server/src/main/webapp/WEB-INF/rails/config/environment.rb index abc1234..def5678 100644 --- a/server/src/main/webapp/WEB-INF/rails/config/environment.rb +++ b/server/src/main/webapp/WEB-INF/rails/config/environment.rb @@ -14,9 +14,6 @@ # limitat...
Remove old dead env vars
diff --git a/test/integration/ubuntu12_04_test.rb b/test/integration/ubuntu12_04_test.rb index abc1234..def5678 100644 --- a/test/integration/ubuntu12_04_test.rb +++ b/test/integration/ubuntu12_04_test.rb @@ -9,10 +9,6 @@ "ami-9a873ff3" end - def prepare_command - "prepare" - end - include EmptyCook ...
Remove unnecessary integration test override
diff --git a/test/peakium/submission_form_test.rb b/test/peakium/submission_form_test.rb index abc1234..def5678 100644 --- a/test/peakium/submission_form_test.rb +++ b/test/peakium/submission_form_test.rb @@ -5,7 +5,7 @@ class SubmissionFormTest < Test::Unit::TestCase should "create should return a new submissio...
Update test for submission form
diff --git a/lib/generators/reso/templates/create_import_results.rb b/lib/generators/reso/templates/create_import_results.rb index abc1234..def5678 100644 --- a/lib/generators/reso/templates/create_import_results.rb +++ b/lib/generators/reso/templates/create_import_results.rb @@ -5,9 +5,9 @@ t.datetime :source...
Update found_listing_keys, removed_listing_keys and snapshots to longtext.
diff --git a/app/controllers/admin/poll/questions/answers/images_controller.rb b/app/controllers/admin/poll/questions/answers/images_controller.rb index abc1234..def5678 100644 --- a/app/controllers/admin/poll/questions/answers/images_controller.rb +++ b/app/controllers/admin/poll/questions/answers/images_controller.rb...
Remove unnecessary code in poll images controller We're already loading the answer with a `before_action`.
diff --git a/zipping.gemspec b/zipping.gemspec index abc1234..def5678 100644 --- a/zipping.gemspec +++ b/zipping.gemspec @@ -10,7 +10,7 @@ spec.email = ["info@nekojarashi.com.com"] spec.description = "This gem is for compressing files as a zip and outputting to a stream (or a stream-like interface object...
Update Homepage address to github
diff --git a/spec/models/category_spec.rb b/spec/models/category_spec.rb index abc1234..def5678 100644 --- a/spec/models/category_spec.rb +++ b/spec/models/category_spec.rb @@ -17,9 +17,9 @@ it 'subtracts its subtotal from budget when deleted' do FactoryGirl.create(:expense, category: @category) - ...
Add test regarding dependent relationship Test that expense is deleted after category is destroyed
diff --git a/spec/readme_examples_spec.rb b/spec/readme_examples_spec.rb index abc1234..def5678 100644 --- a/spec/readme_examples_spec.rb +++ b/spec/readme_examples_spec.rb @@ -14,32 +14,22 @@ RSpec.describe "README examples" do include_context "sequel persistence setup" - include_context "seed data setup" r...
Tidy up example spec runner
diff --git a/spec/recipes/default_spec.rb b/spec/recipes/default_spec.rb index abc1234..def5678 100644 --- a/spec/recipes/default_spec.rb +++ b/spec/recipes/default_spec.rb @@ -0,0 +1,24 @@+require 'spec_helper.rb' + +describe 'pci::default' do + let(:attributes) { ::Chef::Node::VividMash.new } + let(:chef_run) do + ...
Add basic specs for the default recipe
diff --git a/traco.gemspec b/traco.gemspec index abc1234..def5678 100644 --- a/traco.gemspec +++ b/traco.gemspec @@ -19,6 +19,7 @@ s.add_development_dependency "sqlite3" + s.add_development_dependency "rake" s.add_development_dependency "rspec" s.add_development_dependency "guard" s.add_development_depe...
Add rake to gemspec for Travis.
diff --git a/envirorobots.gemspec b/envirorobots.gemspec index abc1234..def5678 100644 --- a/envirorobots.gemspec +++ b/envirorobots.gemspec @@ -18,8 +18,8 @@ s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md'] - s.add_dependency 'rack', '~> 2.0.6' - s.add_dependency 'rails', '~> 5...
Allow newer versions of rails and rack
diff --git a/spec/helper.rb b/spec/helper.rb index abc1234..def5678 100644 --- a/spec/helper.rb +++ b/spec/helper.rb @@ -17,7 +17,7 @@ LogBuddy.init :logger => Log -port = ENV.fetch "GH_MONGODB_PORT", 27017 +port = ENV.fetch "BOXEN_MONGODB_PORT", 27017 connection = Mongo::MongoClient.new('127.0.0.1', port.to_i, :l...
Use boxen port over gh port.
diff --git a/cookbooks/wt_devicedataupdater/attributes/default.rb b/cookbooks/wt_devicedataupdater/attributes/default.rb index abc1234..def5678 100644 --- a/cookbooks/wt_devicedataupdater/attributes/default.rb +++ b/cookbooks/wt_devicedataupdater/attributes/default.rb @@ -6,7 +6,7 @@ # Copyright 2012, Webtrends Inc. #...
Update attributes for device data updater
diff --git a/tasks/metrics/reek.rake b/tasks/metrics/reek.rake index abc1234..def5678 100644 --- a/tasks/metrics/reek.rake +++ b/tasks/metrics/reek.rake @@ -4,6 +4,6 @@ Reek::Rake::Task.new rescue LoadError task :reek do - abort "Reek is not available. In order to run reek, you must: gem install reek" + abo...
Change single quotes to double quotes in string not using variable interpolation
diff --git a/app/controllers/letsencrypt_plugin/application_controller.rb b/app/controllers/letsencrypt_plugin/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/letsencrypt_plugin/application_controller.rb +++ b/app/controllers/letsencrypt_plugin/application_controller.rb @@ -17,7 +17,7 @@ ...
Return the challenge file contents.
diff --git a/plugins/system/check-ntp.rb b/plugins/system/check-ntp.rb index abc1234..def5678 100644 --- a/plugins/system/check-ntp.rb +++ b/plugins/system/check-ntp.rb @@ -0,0 +1,56 @@+#! /usr/bin/env ruby +# +# Check NTP Offset +# === +# +# DESCRIPTION: +# This plugin provides a method for checking the NTP offset. ...
Add check for ntp offset
diff --git a/Typhoon.podspec b/Typhoon.podspec index abc1234..def5678 100644 --- a/Typhoon.podspec +++ b/Typhoon.podspec @@ -1,11 +1,11 @@ Pod::Spec.new do |spec| spec.name = 'Typhoon' - spec.version = '1.6.6' + spec.version = '2.0.0-beta' spec.license = 'Apache2.0' spec.summ...
Make the local podspec point to 'HEAD'
diff --git a/ruby/sieve.rb b/ruby/sieve.rb index abc1234..def5678 100644 --- a/ruby/sieve.rb +++ b/ruby/sieve.rb @@ -4,78 +4,64 @@ end def next - return @x += 1 + @x += 1 end end class Filter + attr_reader :number, :filter + def initialize(number, filter) @number = number @filter = fil...
Make the Ruby benchmark more idiomatic
diff --git a/db/migrate/20131008165405_add_synchronization_id_to_data_import.rb b/db/migrate/20131008165405_add_synchronization_id_to_data_import.rb index abc1234..def5678 100644 --- a/db/migrate/20131008165405_add_synchronization_id_to_data_import.rb +++ b/db/migrate/20131008165405_add_synchronization_id_to_data_impor...
Fix type of synchronization_id in data_imports table
diff --git a/test/google_map_test.rb b/test/google_map_test.rb index abc1234..def5678 100644 --- a/test/google_map_test.rb +++ b/test/google_map_test.rb @@ -1,4 +1,6 @@ require File.dirname(__FILE__) + '/test_helper' + +GOOGLE_APPLICATION_ID = "ABQIAAAA3HdfrnxFAPWyY-aiJUxmqRTJQa0g3IQ9GZqIMmInSLzwtGDKaBQ0KYLwBEKSM7F9gCe...
Test generated HTML includes marker references
diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb index abc1234..def5678 100644 --- a/test/minitest_helper.rb +++ b/test/minitest_helper.rb @@ -1,7 +1,6 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'tomlrb' -require 'minitest/spec' require 'minitest/autorun' require "minitest/...
Remove circular dependency requirement in tests
diff --git a/lib/officer.rb b/lib/officer.rb index abc1234..def5678 100644 --- a/lib/officer.rb +++ b/lib/officer.rb @@ -7,7 +7,6 @@ require 'active_support' require 'eventmachine' require 'json' -require 'ruby-debug' # Application. require 'officer/log'
Remove dependency on ruby debug
diff --git a/config/initializers/monkeypatch_more_specific_params_cleaning.rb b/config/initializers/monkeypatch_more_specific_params_cleaning.rb index abc1234..def5678 100644 --- a/config/initializers/monkeypatch_more_specific_params_cleaning.rb +++ b/config/initializers/monkeypatch_more_specific_params_cleaning.rb @@ ...
Patch over an overly-broad security fix in Rails. See monkeypatch comments for more information.
diff --git a/cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb b/cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb index abc1234..def5678 100644 --- a/cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb +++ b/cookbooks/cumulus/test/cookbooks/cumulus-test/recipes/default.rb @@ ...
Split the license & ports provider invocations to seperate recipes
diff --git a/ratatool.rb b/ratatool.rb index abc1234..def5678 100644 --- a/ratatool.rb +++ b/ratatool.rb @@ -1,8 +1,8 @@ class Ratatool < Formula desc "Tool for random data sampling and generation" homepage "https://github.com/spotify/ratatool" - url "https://github.com/spotify/ratatool/releases/download/v0.3.10...
Update to latest Ratatool 0.3.11
diff --git a/lib/gems/pending/spec/util/mount/miq_generic_mount_session_spec.rb b/lib/gems/pending/spec/util/mount/miq_generic_mount_session_spec.rb index abc1234..def5678 100644 --- a/lib/gems/pending/spec/util/mount/miq_generic_mount_session_spec.rb +++ b/lib/gems/pending/spec/util/mount/miq_generic_mount_session_spe...
Update spec, passing in a temp dir rather than stubbing. Verify that the mount points are actually different, don't rely on an exception in the code
diff --git a/spec/active_record_spec.rb b/spec/active_record_spec.rb index abc1234..def5678 100644 --- a/spec/active_record_spec.rb +++ b/spec/active_record_spec.rb @@ -0,0 +1,16 @@+require 'spec_helper' + +describe ActiveRecord::Base do + + let(:notification_status) { FactoryGirl.build(:notification_status) } + let(...
Add active record spec to test bulk insert sql
diff --git a/lib/banzai/pipeline/single_line_pipeline.rb b/lib/banzai/pipeline/single_line_pipeline.rb index abc1234..def5678 100644 --- a/lib/banzai/pipeline/single_line_pipeline.rb +++ b/lib/banzai/pipeline/single_line_pipeline.rb @@ -3,7 +3,23 @@ module Banzai module Pipeline class SingleLinePipeline < GfmPi...
Define a limited set of filters for SingleLinePipeline Removes the following filters from its parent GfmPipeline: - SyntaxHighlightFilter - UploadLinkFilter - TableOfContentsFilter - LabelReferenceFilter - TaskListFilter Closes #1697
diff --git a/lib/eventbrite/rest/response/raise_error.rb b/lib/eventbrite/rest/response/raise_error.rb index abc1234..def5678 100644 --- a/lib/eventbrite/rest/response/raise_error.rb +++ b/lib/eventbrite/rest/response/raise_error.rb @@ -6,8 +6,10 @@ module Response class RaiseError < Faraday::Response::Middl...
Raise errors based on status code
diff --git a/spec/models/cohort_spec.rb b/spec/models/cohort_spec.rb index abc1234..def5678 100644 --- a/spec/models/cohort_spec.rb +++ b/spec/models/cohort_spec.rb @@ -14,7 +14,7 @@ describe Cohort do describe '.initialize_cohorts' do - it 'should create cohorts from application.yml' do + it 'create cohorts...
Add spec to exercise Cohort.default_cohort
diff --git a/spec/rb/models/map_spec.rb b/spec/rb/models/map_spec.rb index abc1234..def5678 100644 --- a/spec/rb/models/map_spec.rb +++ b/spec/rb/models/map_spec.rb @@ -1,6 +1,15 @@ require './spec/rb/spec_helper.rb' describe Map do + it 'has many lines' do + type = Map.association_reflections[:lines][:type] + ...
Test associations and allowed columns for map model
diff --git a/lib/queueing_rabbit/extensions/retryable.rb b/lib/queueing_rabbit/extensions/retryable.rb index abc1234..def5678 100644 --- a/lib/queueing_rabbit/extensions/retryable.rb +++ b/lib/queueing_rabbit/extensions/retryable.rb @@ -5,12 +5,12 @@ module Retryable def retries - headers[:qr_retrie...
Use strings for header names.
diff --git a/spec/world_command_spec.rb b/spec/world_command_spec.rb index abc1234..def5678 100644 --- a/spec/world_command_spec.rb +++ b/spec/world_command_spec.rb @@ -0,0 +1,67 @@+require_relative '../lib/world_command.rb' +require_relative '../lib/util.rb' +require_relative '../lib/Map/Map/map.rb' +require_relative ...
Add some tests for interpret_command
diff --git a/lionel.gemspec b/lionel.gemspec index abc1234..def5678 100644 --- a/lionel.gemspec +++ b/lionel.gemspec @@ -8,8 +8,10 @@ gem.version = Lionel::VERSION gem.authors = ["Gabe Kopley"] gem.email = ["gabe@coshx.com"] - gem.description = %q{TODO: Write a gem description} - gem.sum...
Add description and summary to gemspec
diff --git a/api/app/serializers/spree/v2/storefront/taxon_serializer.rb b/api/app/serializers/spree/v2/storefront/taxon_serializer.rb index abc1234..def5678 100644 --- a/api/app/serializers/spree/v2/storefront/taxon_serializer.rb +++ b/api/app/serializers/spree/v2/storefront/taxon_serializer.rb @@ -4,7 +4,7 @@ c...
Add missing attribute for taxon
diff --git a/airplay.gemspec b/airplay.gemspec index abc1234..def5678 100644 --- a/airplay.gemspec +++ b/airplay.gemspec @@ -7,7 +7,7 @@ s.email = ["yo@brunoaguirre.com"] s.homepage = "http://github.com/elcuervo/airplay" s.files = `git ls-files`.split("\n") - s.test_files ...
Fix test folder in gemspec
diff --git a/webapp/db/migrate/20120322122642_remove_disease_specific_flag_from_race_codes.rb b/webapp/db/migrate/20120322122642_remove_disease_specific_flag_from_race_codes.rb index abc1234..def5678 100644 --- a/webapp/db/migrate/20120322122642_remove_disease_specific_flag_from_race_codes.rb +++ b/webapp/db/migrate/20...
Fix typo in db migration
diff --git a/spec/lib/chamber/commands/secure_spec.rb b/spec/lib/chamber/commands/secure_spec.rb index abc1234..def5678 100644 --- a/spec/lib/chamber/commands/secure_spec.rb +++ b/spec/lib/chamber/commands/secure_spec.rb @@ -1,5 +1,6 @@ require 'rspectacular' require 'chamber/commands/secure' +require 'fileutils' m...
Fix failing spec when directory didn't exist before spec was run
diff --git a/app/controllers/swagger_ui_engine/application_controller.rb b/app/controllers/swagger_ui_engine/application_controller.rb index abc1234..def5678 100644 --- a/app/controllers/swagger_ui_engine/application_controller.rb +++ b/app/controllers/swagger_ui_engine/application_controller.rb @@ -5,13 +5,13 @@ p...
Use before_action for authenticating admin
diff --git a/app/models/availability.rb b/app/models/availability.rb index abc1234..def5678 100644 --- a/app/models/availability.rb +++ b/app/models/availability.rb @@ -1,7 +1,16 @@ class Availability < ActiveRecord::Base + # Constants + LOW_PREFERENCE = 1 + MED_PREFERENCE = 2 + HIGH_PREFERENCE = 3 + + # Relations...
Add preference_level AR validator to Availability Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
diff --git a/app/models/plant_sample.rb b/app/models/plant_sample.rb index abc1234..def5678 100644 --- a/app/models/plant_sample.rb +++ b/app/models/plant_sample.rb @@ -11,19 +11,18 @@ validates_numericality_of :percent_cover, only_integer: true, greater_than: 0, less_than_or_equal_to: 100 # source - https://www...
PlantSample: Expand parameter names for clarity.
diff --git a/timecop-console.gemspec b/timecop-console.gemspec index abc1234..def5678 100644 --- a/timecop-console.gemspec +++ b/timecop-console.gemspec @@ -2,8 +2,8 @@ require File.expand_path('../lib/timecop_console/version', __FILE__) Gem::Specification.new do |spec| - spec.add_dependency 'rails', '~> 3.1' - sp...
Update dependencies to allow Rails4 apps to use it
diff --git a/lib/tent-validator/validators/post_endpoint_validator.rb b/lib/tent-validator/validators/post_endpoint_validator.rb index abc1234..def5678 100644 --- a/lib/tent-validator/validators/post_endpoint_validator.rb +++ b/lib/tent-validator/validators/post_endpoint_validator.rb @@ -0,0 +1,92 @@+module TentValidat...
Add validations for creating post versions
diff --git a/cookbooks/wt_streamingmanagementservice/recipes/undeploy.rb b/cookbooks/wt_streamingmanagementservice/recipes/undeploy.rb index abc1234..def5678 100644 --- a/cookbooks/wt_streamingmanagementservice/recipes/undeploy.rb +++ b/cookbooks/wt_streamingmanagementservice/recipes/undeploy.rb @@ -9,6 +9,8 @@ log_d...
Stabilize sms deployment. Eliminates service start returning (1) error. Former-commit-id: b8bb2ad41e65f970d60480355998ba7080b87712 [formerly 2ba817cc6f8bc426fc75f3fed72d3e1c3d49ba5f] [formerly 5a9f228817c40c0c69c7d65f5f458bd34b624275 [formerly f44ae839af7b47e245dbaf79f369544b03778f4f]] Former-commit-id: bb02e7b9a5ac9...
diff --git a/tools/chrome_tracing.rb b/tools/chrome_tracing.rb index abc1234..def5678 100644 --- a/tools/chrome_tracing.rb +++ b/tools/chrome_tracing.rb @@ -33,10 +33,8 @@ File.open('trace.json', 'w') do |of| a = [] record.each do |name, st, ed, pc| - ts = ((st - start) * 1000000).to_i - dur = ((ed - st) * ...
Fix the scale of chrome://tracing time
diff --git a/transam_funding.gemspec b/transam_funding.gemspec index abc1234..def5678 100644 --- a/transam_funding.gemspec +++ b/transam_funding.gemspec @@ -18,7 +18,7 @@ s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] - s.add_dependency 'rails', '>=4.1.9' + s.add_dependency ...
Make the rails version in the gemspec more restrictive
diff --git a/lib/puppet/parser/functions/validate_ip_address_array.rb b/lib/puppet/parser/functions/validate_ip_address_array.rb index abc1234..def5678 100644 --- a/lib/puppet/parser/functions/validate_ip_address_array.rb +++ b/lib/puppet/parser/functions/validate_ip_address_array.rb @@ -0,0 +1,91 @@+# == Function: val...
Add new function to validate array of IP addresses
diff --git a/solidus_sale_pricing.gemspec b/solidus_sale_pricing.gemspec index abc1234..def5678 100644 --- a/solidus_sale_pricing.gemspec +++ b/solidus_sale_pricing.gemspec @@ -15,7 +15,7 @@ s.require_path = 'lib' s.requirements << 'none' - s.add_dependency 'solidus', '~> 1.0' + s.add_dependency 'solidus', ['>...
Add support for solidus 2
diff --git a/lib/github_api_v3/client/feeds.rb b/lib/github_api_v3/client/feeds.rb index abc1234..def5678 100644 --- a/lib/github_api_v3/client/feeds.rb +++ b/lib/github_api_v3/client/feeds.rb @@ -3,7 +3,7 @@ # Methods for the Feeds API, which looks pretty much useless. # - # http://developer.github.com/v...
Add missing @see tag for yardoc.
diff --git a/lib/json_test_data/json_schema.rb b/lib/json_test_data/json_schema.rb index abc1234..def5678 100644 --- a/lib/json_test_data/json_schema.rb +++ b/lib/json_test_data/json_schema.rb @@ -7,7 +7,7 @@ end def generate_example - @schema.fetch(:type) == "object" ? generate_object(schema).to_json :...
Delete conditional and replace with recursive method call
diff --git a/sparql/remove_organization_data_retrievable_from_ares.ru b/sparql/remove_organization_data_retrievable_from_ares.ru index abc1234..def5678 100644 --- a/sparql/remove_organization_data_retrievable_from_ares.ru +++ b/sparql/remove_organization_data_retrievable_from_ares.ru @@ -0,0 +1,29 @@+PREFIX rov: <ht...
Remove organization data retrievable from ARES
diff --git a/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb b/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb index abc1234..def5678 100644 --- a/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb +++ b/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb @@ -35,5 +35,9 @@ ...
Disable test/unit autorun on modern test/unit versions Closes #404.
diff --git a/spec/chrome_manifest_spec.rb b/spec/chrome_manifest_spec.rb index abc1234..def5678 100644 --- a/spec/chrome_manifest_spec.rb +++ b/spec/chrome_manifest_spec.rb @@ -7,7 +7,7 @@ end it "has a path that is relative to the user" do - expect(manifest[:path]).to end_with "newlinehw_stream_shim" + ex...
Correct test to expect new name for shim file.
diff --git a/recipes/_god.rb b/recipes/_god.rb index abc1234..def5678 100644 --- a/recipes/_god.rb +++ b/recipes/_god.rb @@ -41,6 +41,5 @@ # Start god service "god" do provider Chef::Provider::Service::Upstart - supports :status => true, :restart => true action [:enable, :start] end
Remove supports() call from chef recipe, because it is identical to defaults
diff --git a/spec/jobs/job_logger_spec.rb b/spec/jobs/job_logger_spec.rb index abc1234..def5678 100644 --- a/spec/jobs/job_logger_spec.rb +++ b/spec/jobs/job_logger_spec.rb @@ -2,17 +2,12 @@ describe JobLogger do describe '.logger' do - it 'passes the message to the Logger instance' do - job_logger = insta...
Make JobLogger spec more reliable This will hopefully fix our bild. I believe that the underlying issue is that the logger's test double gets leaked into other examples, as RSpec tells when running `spec/jobs/` specs. ``` 5) SubscriptionPlacementJob performing the job when unplaced proxy_orders exist processes placea...
diff --git a/spec/jobs/sentry_job_spec.rb b/spec/jobs/sentry_job_spec.rb index abc1234..def5678 100644 --- a/spec/jobs/sentry_job_spec.rb +++ b/spec/jobs/sentry_job_spec.rb @@ -4,6 +4,12 @@ require "json" describe SentryJob do + before do + Raven.configure do |config| + config.dsn = "https://fake@fake.inges...
11106: Fix sentry spec now that it's disabled for specs
diff --git a/spec/resque_matchers_spec.rb b/spec/resque_matchers_spec.rb index abc1234..def5678 100644 --- a/spec/resque_matchers_spec.rb +++ b/spec/resque_matchers_spec.rb @@ -0,0 +1,35 @@+require 'spec_helper' +require 'rspec/version' + +describe "Resque RSpec custom matchers" do + include Resqutils::Spec::ResqueHel...
Add Resque RSpec custom matchers specs - Add spec for have_job_queued custom matcher - Assert a job has been queued - Require and use RSpec version constant to test multiple versions of RSpec against have_job_queued
diff --git a/scientificprotocols.gemspec b/scientificprotocols.gemspec index abc1234..def5678 100644 --- a/scientificprotocols.gemspec +++ b/scientificprotocols.gemspec @@ -8,7 +8,7 @@ spec.version = ScientificProtocols::VERSION spec.authors = ['David Iorns'] spec.email = ['david.iorns@gmail...
Add Ruby dependency to gemspec
diff --git a/app/controllers/optional_modules/searches_controller.rb b/app/controllers/optional_modules/searches_controller.rb index abc1234..def5678 100644 --- a/app/controllers/optional_modules/searches_controller.rb +++ b/app/controllers/optional_modules/searches_controller.rb @@ -12,13 +12,8 @@ else @sea...
Use single line for condition
diff --git a/fauxhai.gemspec b/fauxhai.gemspec index abc1234..def5678 100644 --- a/fauxhai.gemspec +++ b/fauxhai.gemspec @@ -9,7 +9,7 @@ spec.description = %q{Easily mock out ohai data} spec.summary = %q{Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!} spec.homepage ...
Use correct block variable for license in gemspec
diff --git a/app/models/ems_refresh/save_inventory_physical_infra.rb b/app/models/ems_refresh/save_inventory_physical_infra.rb index abc1234..def5678 100644 --- a/app/models/ems_refresh/save_inventory_physical_infra.rb +++ b/app/models/ems_refresh/save_inventory_physical_infra.rb @@ -46,7 +46,7 @@ [] ...
Add symbol in save physical server method add a :asset_details child key in save_physical_server_inventory
diff --git a/ripcord.gemspec b/ripcord.gemspec index abc1234..def5678 100644 --- a/ripcord.gemspec +++ b/ripcord.gemspec @@ -18,7 +18,7 @@ spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.12" - spec.add_development_dependency "rake", "~> 12.3" + spec.add_development_dependency "rak...
Update rake to version 13.0.0
diff --git a/rmodbus.gemspec b/rmodbus.gemspec index abc1234..def5678 100644 --- a/rmodbus.gemspec +++ b/rmodbus.gemspec @@ -5,7 +5,7 @@ s.author = 'A.Timin, J. Sanders' s.platform = Gem::Platform::RUBY s.summary = "RModBus - free implementation of protocol ModBus" - s.files = Dir['lib/**/*.rb','examples/*.rb'...
Add doc dir in gem
diff --git a/lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb b/lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb index abc1234..def5678 100644 --- a/lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb +++ b/lib/data_mapper/finalizer/base_relation_mappers_finalizer.rb @@ -15,17 +15,7 @@ ...
Split BaseRelationMappersFinalizer into smaller methods
diff --git a/HNDAppUpdateManager.podspec b/HNDAppUpdateManager.podspec index abc1234..def5678 100644 --- a/HNDAppUpdateManager.podspec +++ b/HNDAppUpdateManager.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "HNDAppUpdateManager" - s.version = "0.0.1" + s.version = "0.0.2" s...
Update to have explicit afnetworking dependency
diff --git a/roles/unizar.rb b/roles/unizar.rb index abc1234..def5678 100644 --- a/roles/unizar.rb +++ b/roles/unizar.rb @@ -12,9 +12,6 @@ ) override_attributes( - :networking => { - :nameservers => ["155.210.12.9", "155.210.3.12"] - }, :ntp => { :servers => ["0.es.pool.ntp.org", "1.es.pool.ntp.org", "e...
Switch culebre to use cloudflare DNS
diff --git a/recipes/haxm.rb b/recipes/haxm.rb index abc1234..def5678 100644 --- a/recipes/haxm.rb +++ b/recipes/haxm.rb @@ -9,14 +9,20 @@ user node['sprout']['user'] end -sdk_path_prefix_command = Mixlib::ShellOut.new('brew --prefix android-sdk') -sdk_path_prefix_command.run_command -sdk_path_prefix = sdk_path_pr...
Move DMG linking into ruby_block - resolves #5
diff --git a/rb/lib/selenium/webdriver/chrome/profile.rb b/rb/lib/selenium/webdriver/chrome/profile.rb index abc1234..def5678 100644 --- a/rb/lib/selenium/webdriver/chrome/profile.rb +++ b/rb/lib/selenium/webdriver/chrome/profile.rb @@ -13,14 +13,11 @@ @model = verify_model(model) end - def ...
JariBakken: Add some docs to Chrome::Profile git-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@13146 07704840-8298-11de-bf8c-fd130f914ac9