diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -14,5 +14,5 @@ end
RSpec.configure do |config|
- # some (optional) config here
+ config.extend VCR::RSpec::Macros
end
| Use the vcr helper for rspec, to make testing easier.
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,7 @@ require 'pathname'
require 'rubygems'
-gem 'rspec', '~>1.1.12'
+gem 'rspec', '>=1.1.12'
require 'spec'
require Pathname(__FILE__).dirname.expand_path.parent + '... | Use RSpec >= 1.1.12 so 1.2 can be used as well
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,7 +1,7 @@ require 'pathname'
require 'rubygems'
-gem 'rspec', '~>1.1.12'
+gem 'rspec', '>=1.1.12'
require 'spec'
ROOT = Pathname(__FILE__).dirname.parent.expand_path
| Use RSpec >= 1.1.12 so 1.2 can be used as well
|
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,4 +3,5 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
+require 'tempfile'
require 'port_map'
| Add tempfile require - need for older ruby versions
|
diff --git a/trans_forms.gemspec b/trans_forms.gemspec
index abc1234..def5678 100644
--- a/trans_forms.gemspec
+++ b/trans_forms.gemspec
@@ -16,9 +16,9 @@ s.test_files = Dir['{spec}/**/*']
s.require_paths = ['lib']
- s.required_ruby_version = '>= 2.3.6'
+ s.required_ruby_version = '>= 2.3'
- s.add_depend... | Allow any ruby 2.3 version
|
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
index abc1234..def5678 100644
--- a/config/initializers/secret_token.rb
+++ b/config/initializers/secret_token.rb
@@ -5,3 +5,5 @@ # Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be expos... | Add secret_key_base since not adding it causes depreciation errors in rails 4.
|
diff --git a/app/mailers/spree/user_mailer.rb b/app/mailers/spree/user_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/spree/user_mailer.rb
+++ b/app/mailers/spree/user_mailer.rb
@@ -0,0 +1,12 @@+module Spree
+ class UserMailer < BaseMailer
+ def reset_password_instructions(user)
+ recipient = user.r... | Add user mailer from spree_auth_devise
|
diff --git a/scaffolds/project/siba-c6y-demo.gemspec b/scaffolds/project/siba-c6y-demo.gemspec
index abc1234..def5678 100644
--- a/scaffolds/project/siba-c6y-demo.gemspec
+++ b/scaffolds/project/siba-c6y-demo.gemspec
@@ -16,10 +16,10 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.execu... | Update minitest version in scaffold dependancies
|
diff --git a/spec/features/sms_notifications_spec.rb b/spec/features/sms_notifications_spec.rb
index abc1234..def5678 100644
--- a/spec/features/sms_notifications_spec.rb
+++ b/spec/features/sms_notifications_spec.rb
@@ -19,7 +19,7 @@ end
context 'signed in admin user' do
- it 'can send sms notifications for ... | Use VCR for Twilio Service Integration Test
|
diff --git a/spec/mailers/user_mailer_spec.rb b/spec/mailers/user_mailer_spec.rb
index abc1234..def5678 100644
--- a/spec/mailers/user_mailer_spec.rb
+++ b/spec/mailers/user_mailer_spec.rb
@@ -1,5 +1,5 @@ require "rails_helper"
-RSpec.describe UserMailerMailer, type: :mailer do
+RSpec.describe UserMailer, type: :mail... | Correct Typo in User Mailer Spec.
|
diff --git a/lib/harfbuzz.rb b/lib/harfbuzz.rb
index abc1234..def5678 100644
--- a/lib/harfbuzz.rb
+++ b/lib/harfbuzz.rb
@@ -1,46 +1,7 @@-require 'ffi'
+require 'harfbuzz.bundle'
-require 'harfbuzz/ffi_additions'
-
-module Harfbuzz
-
- extend FFI::Library
-
- ffi_lib 'harfbuzz'
-
- typedef :pointer, :hb_destroy_fu... | Move version checking into extension.
|
diff --git a/adjustable_image.gemspec b/adjustable_image.gemspec
index abc1234..def5678 100644
--- a/adjustable_image.gemspec
+++ b/adjustable_image.gemspec
@@ -8,8 +8,8 @@ specification.version = AdjustableImage::VERSION
specification.authors = ["Rebecca Krathwohl"]
specification.email = ["... | Update summary/description in gemspec; more to follow
|
diff --git a/app/models/link.rb b/app/models/link.rb
index abc1234..def5678 100644
--- a/app/models/link.rb
+++ b/app/models/link.rb
@@ -24,7 +24,12 @@ end
end
- doc = Oga.parse_html(body)
+ begin
+ doc = Oga.parse_html(body)
+ rescue => e
+ return @url
+ end
+
title = doc.at_css... | Handle Oga edge cases where parsing throws an error
|
diff --git a/agile_serializer.gemspec b/agile_serializer.gemspec
index abc1234..def5678 100644
--- a/agile_serializer.gemspec
+++ b/agile_serializer.gemspec
@@ -21,6 +21,7 @@ s.add_dependency("railties", ">= 3.0", "< 5")
s.add_development_dependency 'activerecord', ">= 3.0", "< 4.1"
+ s.add_development_dependen... | Include test-unit as development dependency
Tests were failing with ruby 2.3.3.
test-unit was removed from ruby in 2.2.
|
diff --git a/cookbooks/ssh/recipes/default.rb b/cookbooks/ssh/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/ssh/recipes/default.rb
+++ b/cookbooks/ssh/recipes/default.rb
@@ -16,3 +16,10 @@ group "root"
mode 0644
end
+
+directory '/var/run/sshd' do
+ owner 'root'
+ group 'td-agent'
+ mode '07... | Fix ssh recipe: mkdir_p /var/run/sshd
|
diff --git a/core/file/fixtures/file_types.rb b/core/file/fixtures/file_types.rb
index abc1234..def5678 100644
--- a/core/file/fixtures/file_types.rb
+++ b/core/file/fixtures/file_types.rb
@@ -8,8 +8,8 @@ @link = tmp("test_link")
platform_is_not :windows do
- @block = `find /dev /devices -type b 2> /... | Raise early if no block or character device could be found
|
diff --git a/arm-none-eabi-gcc.rb b/arm-none-eabi-gcc.rb
index abc1234..def5678 100644
--- a/arm-none-eabi-gcc.rb
+++ b/arm-none-eabi-gcc.rb
@@ -2,11 +2,11 @@
class ArmNoneEabiGcc < Formula
- homepage 'https://launchpad.net/gcc-arm-embedded'
- version '5-2016-q3-update'
+ homepage 'https://developer.arm.com/open... | Update ARM gcc to `6-2016-q6-update`
The precompiled download is now hosted on developer.arm.com. |
diff --git a/PSAutolayout.podspec b/PSAutolayout.podspec
index abc1234..def5678 100644
--- a/PSAutolayout.podspec
+++ b/PSAutolayout.podspec
@@ -1,12 +1,12 @@ Pod::Spec.new do |s|
s.name = 'PSAutolayout'
s.version = '1.0'
- s.license = { :type => 'Apache', :file => 'LICENSE' }
+ s.license ... | Clean up podspec and add platform info.
|
diff --git a/spec/features/users/active_admin_spec.rb b/spec/features/users/active_admin_spec.rb
index abc1234..def5678 100644
--- a/spec/features/users/active_admin_spec.rb
+++ b/spec/features/users/active_admin_spec.rb
@@ -13,7 +13,7 @@ expect(page).to have_content "Dashboard"
end
- it "does not authorize a... | Update wording in ActiveAdmin specs.
|
diff --git a/config/initializers/01-mini_profiler.rb b/config/initializers/01-mini_profiler.rb
index abc1234..def5678 100644
--- a/config/initializers/01-mini_profiler.rb
+++ b/config/initializers/01-mini_profiler.rb
@@ -4,4 +4,5 @@ # initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rail... | Change miniprofiler shortcut to Shift+P
|
diff --git a/grit_adapter.gemspec b/grit_adapter.gemspec
index abc1234..def5678 100644
--- a/grit_adapter.gemspec
+++ b/grit_adapter.gemspec
@@ -13,7 +13,7 @@ s.description = %q{Adapter for Gollum to use Grit at the backend.}
s.license = "MIT"
- s.add_runtime_dependency 'gitlab-grit', '~> 2.6.5'
+ s.add_runtim... | Update gitlab-grit dependency to 2.7.1
Changes to gitlab-grit since 2.6.5 included below.
== 2.7.1
* Suppress 'unkown header' warnings
* Add process.out to CommandFailed error
== 2.7.0
* Remove the `chdir:` option for thread-safety
* Automatically set the `--work-tree=` Git option
== 2.6.9
* Fix commit di... |
diff --git a/cookbooks/package/attributes/default.rb b/cookbooks/package/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/package/attributes/default.rb
+++ b/cookbooks/package/attributes/default.rb
@@ -4,7 +4,7 @@
# Mac options
default[:package][:mac][:install_location] = "/Applications/Vagrant"
-... | Use the correct certificate name to sign Mac installer
|
diff --git a/features/support/error_reporting.rb b/features/support/error_reporting.rb
index abc1234..def5678 100644
--- a/features/support/error_reporting.rb
+++ b/features/support/error_reporting.rb
@@ -5,11 +5,11 @@ include Filesystem
def check_error_messages(n = 1)
- @stderr.must_match /Failures \(1... | Use the parameter in error reporting for checking the amount
|
diff --git a/pandata.gemspec b/pandata.gemspec
index abc1234..def5678 100644
--- a/pandata.gemspec
+++ b/pandata.gemspec
@@ -9,6 +9,7 @@ s.email = 'brianustas@gmail.com'
s.files = ['bin/pandata', 'lib/pandata.rb', 'lib/pandata/scraper.rb',
'lib/pandata/downloader.rb', 'l... | Add data_formatter.rb to gemspec file
|
diff --git a/app/services/http.rb b/app/services/http.rb
index abc1234..def5678 100644
--- a/app/services/http.rb
+++ b/app/services/http.rb
@@ -4,6 +4,6 @@ class HTTP
include HTTParty
- # Don't verify SSL certificates. Probably a bad idea in the long run.
- default_options.update(verify: false)
+ # Verify TLS ... | Revert bad idea (originating from @hmans)
|
diff --git a/hurley-excon.gemspec b/hurley-excon.gemspec
index abc1234..def5678 100644
--- a/hurley-excon.gemspec
+++ b/hurley-excon.gemspec
@@ -13,7 +13,7 @@ spec.homepage = "https://github.com/lostisland/hurley-excon"
dev_null = File.exist?("/dev/null") ? "/dev/null" : "NUL"
git_files = `git ls-files -z ... | Include the files in the spec list
Fix #2
Fix #1 |
diff --git a/examples/implicit_method_option_test.rb b/examples/implicit_method_option_test.rb
index abc1234..def5678 100644
--- a/examples/implicit_method_option_test.rb
+++ b/examples/implicit_method_option_test.rb
@@ -0,0 +1,31 @@+class A
+ def test
+ puts 'test'
+ end
+end
+
+##############################
+
+... | Support applying advice to implicit method/methods option
|
diff --git a/week-02/mini_record/test_blog.rb b/week-02/mini_record/test_blog.rb
index abc1234..def5678 100644
--- a/week-02/mini_record/test_blog.rb
+++ b/week-02/mini_record/test_blog.rb
@@ -1,8 +1,19 @@ require './mini_record'
+
+if File.exist?('blog.db')
+ MiniRecord::Database.database = 'blog.db'
+else
+ puts "E... | Make sure we connect to the database before loading models
|
diff --git a/lib/digest/crc16_qt.rb b/lib/digest/crc16_qt.rb
index abc1234..def5678 100644
--- a/lib/digest/crc16_qt.rb
+++ b/lib/digest/crc16_qt.rb
@@ -10,10 +10,6 @@
FINAL_XOR = 0xffff
- REVERSE_CRC_RESULT = true
-
- REVERSE_DATA = true
-
#
# Updates the CRC16 checksum.
#
@@ -22,7 +18,7 @... | Remove checks on constants that are true.
|
diff --git a/lib/abid/state_manager/state_service.rb b/lib/abid/state_manager/state_service.rb
index abc1234..def5678 100644
--- a/lib/abid/state_manager/state_service.rb
+++ b/lib/abid/state_manager/state_service.rb
@@ -42,7 +42,11 @@ end
def transaction(&block)
- @model.db.transaction(isolation:... | Set serialization level to sequential
|
diff --git a/lib/facter/yumrepos.rb b/lib/facter/yumrepos.rb
index abc1234..def5678 100644
--- a/lib/facter/yumrepos.rb
+++ b/lib/facter/yumrepos.rb
@@ -1,14 +1,4 @@ require 'puppet'
-
-# Possible values for an enabled repo are 'yes', '1', and 'true'.
-# Everything else is considered disabled. However, there is a
-# sp... | Remove to_boolean method. Improve the Ruby code a bit.
* Use .each instead of .find_all
* Remove useless intermediary variable in the iterator.
|
diff --git a/lib/insecure_random.rb b/lib/insecure_random.rb
index abc1234..def5678 100644
--- a/lib/insecure_random.rb
+++ b/lib/insecure_random.rb
@@ -1,8 +1,13 @@ require "securerandom"
module SecureRandom
- def self.random_bytes(n = nil)
- n = n ? n.to_int : 16
- Array.new(n) { Kernel.rand(256) }.pack("C*... | Change where we hook into SecureRandom to the gen_random function
|
diff --git a/lib/kuniri/parser/xml_builder_engine.rb b/lib/kuniri/parser/xml_builder_engine.rb
index abc1234..def5678 100644
--- a/lib/kuniri/parser/xml_builder_engine.rb
+++ b/lib/kuniri/parser/xml_builder_engine.rb
@@ -0,0 +1,83 @@+module Parser
+
+ class XMLBuilderEngine
+
+ attr_reader :tag
+ attr_reader :be... | Add DSL for handling XML
|
diff --git a/lib/mongoid/version.rb b/lib/mongoid/version.rb
index abc1234..def5678 100644
--- a/lib/mongoid/version.rb
+++ b/lib/mongoid/version.rb
@@ -1,4 +1,4 @@ # encoding: utf-8
module Mongoid #:nodoc
- VERSION = "2.4.4"
+ VERSION = "2.4.5"
end
| Mark start of 2.4.5 dev
|
diff --git a/lib/swagger_docs_generator/generator.rb b/lib/swagger_docs_generator/generator.rb
index abc1234..def5678 100644
--- a/lib/swagger_docs_generator/generator.rb
+++ b/lib/swagger_docs_generator/generator.rb
@@ -14,13 +14,14 @@
def initialize
@file = 'swagger.json'
- @path = '/public'
- ... | Create folder for version api docs
|
diff --git a/lib/tasks/check-links/link_checker.rake b/lib/tasks/check-links/link_checker.rake
index abc1234..def5678 100644
--- a/lib/tasks/check-links/link_checker.rake
+++ b/lib/tasks/check-links/link_checker.rake
@@ -8,6 +8,7 @@ LocalLinksManager::DistributedLock.new('check-links').lock(
lock_obtained: ->() ... | Add Icinga status for start of link checker
We want to be a bit more clear about which server is running the link checker
task. We were a bit confused this morning because the "freshold" had been
exceeded and we weren't sure what was happening.
|
diff --git a/lib/resubject/rspec.rb b/lib/resubject/rspec.rb
index abc1234..def5678 100644
--- a/lib/resubject/rspec.rb
+++ b/lib/resubject/rspec.rb
@@ -1,7 +1,32 @@ require 'resubject'
module Resubject
- module RspecHelpers
+ # RSpec configuration and helpers
+ #
+ # This helper automatically creates `subject` ... | Add docs for RSpec extension
|
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,10 +1,27 @@ # Concatenate Two Arrays
-# I worked on this challenge [by myself, with: ].
+# ... | Include code for concatenate array
|
diff --git a/test/block_test.rb b/test/block_test.rb
index abc1234..def5678 100644
--- a/test/block_test.rb
+++ b/test/block_test.rb
@@ -0,0 +1,15 @@+require 'test_helper'
+
+module RubyDiff
+ class HeaderBlockTest < Test::Unit::TestCase
+ def test_header_block_should_identify_left_and_right_file
+ header = Bl... | Add some tests for behavior of a header block. |
diff --git a/test/error_test.rb b/test/error_test.rb
index abc1234..def5678 100644
--- a/test/error_test.rb
+++ b/test/error_test.rb
@@ -20,6 +20,7 @@ assert_equal(404, result.status_code)
assert_equal("error", result.status)
assert_equal("invalid_request", result.error)
+ assert_equal("Api end... | Add error_description test for 404
|
diff --git a/has_breadcrumb.gemspec b/has_breadcrumb.gemspec
index abc1234..def5678 100644
--- a/has_breadcrumb.gemspec
+++ b/has_breadcrumb.gemspec
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
gem.name = "has_breadcrumb"
gem.version = HasBreadcrumb::VERSION
- gem.authors = ["Squaremouth ... | Update gemspec author and added ActiveSupport and ActiveRecord as dependencies.
|
diff --git a/Text/reverse_string/lib/reverse_string.rb b/Text/reverse_string/lib/reverse_string.rb
index abc1234..def5678 100644
--- a/Text/reverse_string/lib/reverse_string.rb
+++ b/Text/reverse_string/lib/reverse_string.rb
@@ -2,10 +2,12 @@
module ReverseString
+ # basic string reversal, nothing fancy
def sel... | Add some extra comments to explaining everything happening in the code.
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -11,7 +11,7 @@ helpers Sprockets::Helpers
enable :sessions
- set :session_secret, "s... | Update handling of session secret
|
diff --git a/app/controllers/productions_controller.rb b/app/controllers/productions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/productions_controller.rb
+++ b/app/controllers/productions_controller.rb
@@ -36,15 +36,6 @@ def destroy
end
- def new
- @production = Production.new(params)
- ... | Remove redundant production 'def new'
|
diff --git a/examples/all-spinners.rb b/examples/all-spinners.rb
index abc1234..def5678 100644
--- a/examples/all-spinners.rb
+++ b/examples/all-spinners.rb
@@ -0,0 +1,8 @@+require_relative "../lib/whirly"
+require "paint"
+
+Whirly::SPINNERS.keys.sort.each{ |spinner_name|
+ Whirly.start(spinner: spinner_name, status:... | Add example demonstrating all spinners
|
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -27,4 +27,9 @@ describe "devise_mapping" do
it { devise_mapping.should == Devise.mappings[:us... | Add Spec for Trimming Content in View
Add spec tests for trimming content to a specific length in the views.
|
diff --git a/Formula/automake.rb b/Formula/automake.rb
index abc1234..def5678 100644
--- a/Formula/automake.rb
+++ b/Formula/automake.rb
@@ -16,7 +16,7 @@ "--prefix=#{prefix}"
system "make install"
- (share/"aclocal-#{version}/dirlist").write <<-EOS.undent
+ (share/"aclocal/dirlis... | Put dirlist in the right place
I fixed this last night, and then somehow committed the wrong version. Don't watch the Oscars while doing Homebrew. |
diff --git a/lib/shipit/webhooks.rb b/lib/shipit/webhooks.rb
index abc1234..def5678 100644
--- a/lib/shipit/webhooks.rb
+++ b/lib/shipit/webhooks.rb
@@ -2,31 +2,33 @@
module Shipit
module Webhooks
- def self.default_handlers
- {
- 'push' => [Handlers::PushHandler],
- 'status' => [Handlers::St... | Define webhook class methods by opening the singleton class
|
diff --git a/lib/travis/cli/init.rb b/lib/travis/cli/init.rb
index abc1234..def5678 100644
--- a/lib/travis/cli/init.rb
+++ b/lib/travis/cli/init.rb
@@ -12,8 +12,7 @@
def check_already_exists
if File.exist?('.travis.yml')
- answer = ask(".travis.yml already exists, do you want to overwrite?")
... | Fix to use agree command
|
diff --git a/lib/vagrant-butcher.rb b/lib/vagrant-butcher.rb
index abc1234..def5678 100644
--- a/lib/vagrant-butcher.rb
+++ b/lib/vagrant-butcher.rb
@@ -5,6 +5,23 @@ end
require 'vagrant-butcher/version'
require 'vagrant-butcher/errors'
+
+# Work around logger spam from hashie
+# https://github.com/intridea/hashie/is... | Fix logger spam caused by Hashie used in Ridley
See Hashie [issue](https://github.com/intridea/hashie/issues/394)
Solution based on the Hashie recommendation to disable warnings:
https://github.com/intridea/hashie#how-does-mash-handle-conflicts-with-pre-existing-methods
Alternatively, completely silence the logger as... |
diff --git a/lib/zebra/print_job.rb b/lib/zebra/print_job.rb
index abc1234..def5678 100644
--- a/lib/zebra/print_job.rb
+++ b/lib/zebra/print_job.rb
@@ -24,7 +24,8 @@
def check_existent_printers(printer)
existent_printers = Cups.show_destinations
- puts "EXISTENT PRINTERS: \n" + existent_printers
+ ... | Print all existing printers in array for debugging
|
diff --git a/guard-foodcritic.gemspec b/guard-foodcritic.gemspec
index abc1234..def5678 100644
--- a/guard-foodcritic.gemspec
+++ b/guard-foodcritic.gemspec
@@ -16,7 +16,7 @@ gem.version = Guard::FOODCRITIC_VERSION
gem.add_runtime_dependency "guard", "~> 1.0"
- gem.add_runtime_dependency "foodcritic", "~>... | Upgrade foodcritic dependency to allow also v2.x
|
diff --git a/lib/dynamic_paperclip/attachment.rb b/lib/dynamic_paperclip/attachment.rb
index abc1234..def5678 100644
--- a/lib/dynamic_paperclip/attachment.rb
+++ b/lib/dynamic_paperclip/attachment.rb
@@ -13,7 +13,11 @@ style_position = path_with_wildcard.index('dynamic_*')
Dir.glob(path_with_wildcar... | Fix extraction of existing dynamic styles from FS when style name is used as the file name
If we have a dynamic style, dynamic_42x42, and the style name
is used as the file name, the file name may be dynamic_42x42.jpg,
so when looking at the FS and pulling out our existing dynamic styles,
we want the style name (the k... |
diff --git a/lib/html-proofer/check/opengraph.rb b/lib/html-proofer/check/opengraph.rb
index abc1234..def5678 100644
--- a/lib/html-proofer/check/opengraph.rb
+++ b/lib/html-proofer/check/opengraph.rb
@@ -27,7 +27,7 @@ elsif !@opengraph.valid?
add_issue("#{@opengraph.src} is an invalid URL", line: m.line... | Correct the number of args |
diff --git a/lib/neography/property_container.rb b/lib/neography/property_container.rb
index abc1234..def5678 100644
--- a/lib/neography/property_container.rb
+++ b/lib/neography/property_container.rb
@@ -13,22 +13,5 @@ end
end
- # the arguments are either a Rest instance, or something else
- def sel... | Remove helper method used by deprecated code.
|
diff --git a/lib/vcloud/cli/utils/create_disk.rb b/lib/vcloud/cli/utils/create_disk.rb
index abc1234..def5678 100644
--- a/lib/vcloud/cli/utils/create_disk.rb
+++ b/lib/vcloud/cli/utils/create_disk.rb
@@ -22,12 +22,15 @@ Fog.mock! if ENV['FOG_MOCK']
puts "Creating disk in #{vdc.id}: #{disk_name... | Add debugging and task management to CreateDisk
|
diff --git a/db/migrate/20161219105620_change_course_user_invitations.rb b/db/migrate/20161219105620_change_course_user_invitations.rb
index abc1234..def5678 100644
--- a/db/migrate/20161219105620_change_course_user_invitations.rb
+++ b/db/migrate/20161219105620_change_course_user_invitations.rb
@@ -6,12 +6,13 @@ a... | Fix invitation migration script
* The migration failed due to association removed
|
diff --git a/lib/asciidoctor-mathematical/version.rb b/lib/asciidoctor-mathematical/version.rb
index abc1234..def5678 100644
--- a/lib/asciidoctor-mathematical/version.rb
+++ b/lib/asciidoctor-mathematical/version.rb
@@ -1,5 +1,5 @@ module Asciidoctor
module Mathematical
- VERSION = "0.1.0"
+ VERSION = "0.2.0.... | Prepare for next development cycle
|
diff --git a/lib/bootstrap-sass/compass_functions.rb b/lib/bootstrap-sass/compass_functions.rb
index abc1234..def5678 100644
--- a/lib/bootstrap-sass/compass_functions.rb
+++ b/lib/bootstrap-sass/compass_functions.rb
@@ -18,7 +18,7 @@ options[:sprockets][:context]
else
# Compatibility with sprockets p... | Use correct reference to context through the importer
Fixes #366 in the correct way, hopefully.
I can't cite my sources well, since Sprockets is very difficult to follow... but suffice to say the global options hash sent to the Tilt SASS template engine always has a reference to the Sprockets importer, and the import... |
diff --git a/lib/mgit/registry.rb b/lib/mgit/registry.rb
index abc1234..def5678 100644
--- a/lib/mgit/registry.rb
+++ b/lib/mgit/registry.rb
@@ -1,15 +1,19 @@ module MGit
module Registry
def self.all
- self.load.map { |name, path| Repository.new(name, path) }.sort_by(&:path).select(&:available?)
+ sel... | Handle broken repositories even better.
|
diff --git a/CDEvents.podspec b/CDEvents.podspec
index abc1234..def5678 100644
--- a/CDEvents.podspec
+++ b/CDEvents.podspec
@@ -9,5 +9,4 @@ s.platform = :osx, '10.5'
s.source_files = '*.{h,m}'
s.framework = 'CoreServices'
- s.requires_arc = true
end | Fix ARC setting in podspec.
|
diff --git a/lib/generators/que/templates/add_que.rb b/lib/generators/que/templates/add_que.rb
index abc1234..def5678 100644
--- a/lib/generators/que/templates/add_que.rb
+++ b/lib/generators/que/templates/add_que.rb
@@ -3,7 +3,7 @@ class AddQue < ActiveRecord::Migration
def self.up
# The current version as of ... | Update default migration version to include retryable column
|
diff --git a/Formula/unfs3.rb b/Formula/unfs3.rb
index abc1234..def5678 100644
--- a/Formula/unfs3.rb
+++ b/Formula/unfs3.rb
@@ -1,6 +1,6 @@ class Unfs3 < Formula
desc "User-space NFSv3 server"
- homepage "http://unfs3.sourceforge.net"
+ homepage "https://unfs3.sourceforge.io"
url "https://downloads.sourceforge... | Fix brew audit: sourceforge.io url preferred
|
diff --git a/spec/exporters/manual_publishing_api_links_exporter_spec.rb b/spec/exporters/manual_publishing_api_links_exporter_spec.rb
index abc1234..def5678 100644
--- a/spec/exporters/manual_publishing_api_links_exporter_spec.rb
+++ b/spec/exporters/manual_publishing_api_links_exporter_spec.rb
@@ -0,0 +1,61 @@+requir... | Test for manual links exporter
|
diff --git a/test/lib/eye/patch/value_parser_test.rb b/test/lib/eye/patch/value_parser_test.rb
index abc1234..def5678 100644
--- a/test/lib/eye/patch/value_parser_test.rb
+++ b/test/lib/eye/patch/value_parser_test.rb
@@ -13,6 +13,7 @@ assert_equal 3.2.gigabytes, Eye::Patch::ValueParser.parse("3.2 gigabytes")
a... | Add test to allow trailing whitespace
|
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
@@ -6,10 +6,4 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__) , '..', 'lib'))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__) , 'utilities'))
require 'amazon-associates'
... | Remove the AWS_ACCESS_KEY_ID stuff, which should be set up in ENV anyway
|
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
@@ -13,6 +13,10 @@ require 'flexmock/test_unit'
Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true)
+
+class MiniTest::Spec
+ include FlexMock::TestCase... | Add flexmock assertion heleprs to minitest specs
|
diff --git a/site-cookbooks/jenkins/recipes/rpm.rb b/site-cookbooks/jenkins/recipes/rpm.rb
index abc1234..def5678 100644
--- a/site-cookbooks/jenkins/recipes/rpm.rb
+++ b/site-cookbooks/jenkins/recipes/rpm.rb
@@ -0,0 +1,19 @@+package "java-1.8.0-openjdk" do
+ action :install
+end
+
+remote_file "#{Chef::Config[:file_c... | Add Jenkins ver. 1.658 recipe.
|
diff --git a/spec/flexible_config/overview_spec.rb b/spec/flexible_config/overview_spec.rb
index abc1234..def5678 100644
--- a/spec/flexible_config/overview_spec.rb
+++ b/spec/flexible_config/overview_spec.rb
@@ -9,14 +9,20 @@ subject { instance.call }
let :expected_output do
- "subcategory.wrapped_yaml... | Fix spec & and specs
|
diff --git a/spec/helpers/divisions_helper_spec.rb b/spec/helpers/divisions_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/divisions_helper_spec.rb
+++ b/spec/helpers/divisions_helper_spec.rb
@@ -12,20 +12,24 @@ end
describe "#majority_strength_in_words" do
+ before :each do
+ allow(help... | Update helper tests to include tooltip added in dfc91ad
|
diff --git a/spec/unit/rip/utilities/scope_spec.rb b/spec/unit/rip/utilities/scope_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/rip/utilities/scope_spec.rb
+++ b/spec/unit/rip/utilities/scope_spec.rb
@@ -8,6 +8,10 @@
specify { expect(scope_foo[:foo]).to be(111) }
specify { expect(scope_foo[:zebra]).to b... | Add test for when scope key already set |
diff --git a/lib/autobots/settings.rb b/lib/autobots/settings.rb
index abc1234..def5678 100644
--- a/lib/autobots/settings.rb
+++ b/lib/autobots/settings.rb
@@ -24,7 +24,7 @@ end
def connector
- hsh.fetch(:connector, :ghost).to_s
+ hsh.fetch(:connector, :firefox).to_s
end
def env
| [PH][000000] Change default connector to firefox instead of ghost since everyone uses it during development
|
diff --git a/test/bane/behaviors/servers/timeout_in_listen_queue_test.rb b/test/bane/behaviors/servers/timeout_in_listen_queue_test.rb
index abc1234..def5678 100644
--- a/test/bane/behaviors/servers/timeout_in_listen_queue_test.rb
+++ b/test/bane/behaviors/servers/timeout_in_listen_queue_test.rb
@@ -13,9 +13,8 @@ end... | Revert to previous observed failure of TimeoutInListenQueue behavior
|
diff --git a/lib/dimples/frontable.rb b/lib/dimples/frontable.rb
index abc1234..def5678 100644
--- a/lib/dimples/frontable.rb
+++ b/lib/dimples/frontable.rb
@@ -8,7 +8,7 @@ def read_with_front_matter
@contents = File.read(@path)
- matches = contents.match(/^(-{3}\n.*?\n?)^(-{3}*$\n?)/m)
+ matches... | Update read_with_front_matter to use @contents.
|
diff --git a/lib/juici/build_logic.rb b/lib/juici/build_logic.rb
index abc1234..def5678 100644
--- a/lib/juici/build_logic.rb
+++ b/lib/juici/build_logic.rb
@@ -13,7 +13,11 @@ def kill!
warn! "Killed!"
if pid = self[:pid]
- Process.kill(15, pid)
+ if pgid = Process.getpgid(pid)
+ ... | Put children in their own process groups.
Nuke entire process groups
|
diff --git a/lib/kanji/application.rb b/lib/kanji/application.rb
index abc1234..def5678 100644
--- a/lib/kanji/application.rb
+++ b/lib/kanji/application.rb
@@ -1,7 +1,6 @@ require "roda"
require "roda/plugins/flow"
require "dry-configurable"
-require "dry-monitor"
module Kanji
class Application < ::Roda
| Remove unneeded require of dry-monitor
|
diff --git a/err_merchant.gemspec b/err_merchant.gemspec
index abc1234..def5678 100644
--- a/err_merchant.gemspec
+++ b/err_merchant.gemspec
@@ -21,7 +21,7 @@ spec.require_paths = ["lib"]
spec.add_dependency 'rails', '>= 5.0', '< 6.1'
- spec.add_development_dependency 'rake', '~> 10.0'
+ spec.add_development_d... | Remove explicit version requirement for rake
|
diff --git a/lib/pg_drive/uploader.rb b/lib/pg_drive/uploader.rb
index abc1234..def5678 100644
--- a/lib/pg_drive/uploader.rb
+++ b/lib/pg_drive/uploader.rb
@@ -8,8 +8,9 @@ def call(content)
drive = Drive::DriveService.new
drive.authorization = credentials
+ app_name = Rails.application.c... | Add app name to backup file name
|
diff --git a/spec/git_tracker/commit_message_spec.rb b/spec/git_tracker/commit_message_spec.rb
index abc1234..def5678 100644
--- a/spec/git_tracker/commit_message_spec.rb
+++ b/spec/git_tracker/commit_message_spec.rb
@@ -11,23 +11,28 @@ describe "#mentions_story?" do
subject { described_class.new(file) }
le... | Refactor specs for clarity and runway
There are several more examples coming and I want it to be easy to add
them, and clear to read. Thanks @myronmarston for the suggestion:
https://gist.github.com/2142563
[#26437519]
|
diff --git a/spec/lita/handlers/wolframalpha_spec.rb b/spec/lita/handlers/wolframalpha_spec.rb
index abc1234..def5678 100644
--- a/spec/lita/handlers/wolframalpha_spec.rb
+++ b/spec/lita/handlers/wolframalpha_spec.rb
@@ -1,4 +1,7 @@ require "spec_helper"
describe Lita::Handlers::Wolframalpha, lita_handler: true do
+... | Add a first simple spec
|
diff --git a/spec/models/arbitration_setting_spec.rb b/spec/models/arbitration_setting_spec.rb
index abc1234..def5678 100644
--- a/spec/models/arbitration_setting_spec.rb
+++ b/spec/models/arbitration_setting_spec.rb
@@ -9,7 +9,7 @@
context 'seeding again' do
it 'should not create new records' do
- ... | Fix minor typo in spec
It renders this specific test ineffective.
|
diff --git a/twingly-url.gemspec b/twingly-url.gemspec
index abc1234..def5678 100644
--- a/twingly-url.gemspec
+++ b/twingly-url.gemspec
@@ -19,7 +19,7 @@
s.add_development_dependency "rake", "~> 12"
s.add_development_dependency "rspec", "~> 3"
- s.add_development_dependency "pry"
+ s.add_development_dependenc... | Add version constraint for Pry
Takes care of the following warning when building the gem:
```
WARNING: open-ended dependency on pry (>= 0, development) is not recommended
use a bounded requirement, such as '~> x.y'
```
|
diff --git a/app/adapters/beeminder_adapter.rb b/app/adapters/beeminder_adapter.rb
index abc1234..def5678 100644
--- a/app/adapters/beeminder_adapter.rb
+++ b/app/adapters/beeminder_adapter.rb
@@ -11,7 +11,7 @@ end
def website_link
- "https:/www.beeminder.com"
+ "https://www.beeminder.com"
end... | Fix beeminder link in main page
|
diff --git a/lib/shhhhh/middleware.rb b/lib/shhhhh/middleware.rb
index abc1234..def5678 100644
--- a/lib/shhhhh/middleware.rb
+++ b/lib/shhhhh/middleware.rb
@@ -4,11 +4,10 @@
def call_app(request, env)
# if the path looks like /assets/some/script.js, don't bother logging
- # just move on
- if env... | Remove a comment and modify the super call
* Passing the arguments here doesn't
have to be explicit.
|
diff --git a/lib/logstasher/delayed/plugin.rb b/lib/logstasher/delayed/plugin.rb
index abc1234..def5678 100644
--- a/lib/logstasher/delayed/plugin.rb
+++ b/lib/logstasher/delayed/plugin.rb
@@ -0,0 +1,14 @@+require 'delayed_job'
+module LogStasher
+ module Delayed
+ class Plugin < ::Delayed::Plugin
+ callbacks ... | Support for being called as delayed job and having a proper request_context.
|
diff --git a/lib/tasks/data_loader.rb b/lib/tasks/data_loader.rb
index abc1234..def5678 100644
--- a/lib/tasks/data_loader.rb
+++ b/lib/tasks/data_loader.rb
@@ -22,7 +22,7 @@ def run_in_shell(command, index)
shell = Session::Shell.new
shell.outproc = lambda{ |out| puts "process-#{index}: #{ out }" }
- sh... | Raise an error for an error occurring in a sub shell
|
diff --git a/lib/piggybak_braintree/engine.rb b/lib/piggybak_braintree/engine.rb
index abc1234..def5678 100644
--- a/lib/piggybak_braintree/engine.rb
+++ b/lib/piggybak_braintree/engine.rb
@@ -12,19 +12,21 @@ Piggybak::Order.send(:include, ::PiggybakBraintree::OrderDecorator)
Piggybak::OrdersController.sen... | Add wrapper for tails admin model change
|
diff --git a/lib/rambo/raml_models/headers.rb b/lib/rambo/raml_models/headers.rb
index abc1234..def5678 100644
--- a/lib/rambo/raml_models/headers.rb
+++ b/lib/rambo/raml_models/headers.rb
@@ -23,7 +23,7 @@ if headers.to_a.index(pair) == headers.length - 1
"\t\"#{pair.first}\" => \"#{pair.last}\"... | Delete comma because an extra one was ending up in generated tests
|
diff --git a/lib/rspec/core/shared_context.rb b/lib/rspec/core/shared_context.rb
index abc1234..def5678 100644
--- a/lib/rspec/core/shared_context.rb
+++ b/lib/rspec/core/shared_context.rb
@@ -17,31 +17,33 @@ # # ...
# end
module SharedContext
- include Hooks
- include MemoizedHelpers:... | Rewrite SharedContext to use a simple record/playback mechanism.
|
diff --git a/app/mailers/application_mailer.rb b/app/mailers/application_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/application_mailer.rb
+++ b/app/mailers/application_mailer.rb
@@ -1,4 +1,4 @@ class ApplicationMailer < ActionMailer::Base
- default from: "\"CQ Manager Admin\" <admin@lunchiatto.com>"
+ ... | Change default from address for emails
|
diff --git a/example/dummy_app.rb b/example/dummy_app.rb
index abc1234..def5678 100644
--- a/example/dummy_app.rb
+++ b/example/dummy_app.rb
@@ -3,6 +3,6 @@
class DummyApp < Sinatra::Base
get '/' do
- Nark.total_requests.inspect
+ Nark.available_plugins.inspect
end
end
| Change example response to return all include plugins
|
diff --git a/lib/stradivari/xlsx/generator.rb b/lib/stradivari/xlsx/generator.rb
index abc1234..def5678 100644
--- a/lib/stradivari/xlsx/generator.rb
+++ b/lib/stradivari/xlsx/generator.rb
@@ -13,7 +13,6 @@ end
protected
-
def xlsx
Axlsx::Package.new do |package|
package.... | Add ability to specify XLSX column types
|
diff --git a/uspec/uspec_spec.rb b/uspec/uspec_spec.rb
index abc1234..def5678 100644
--- a/uspec/uspec_spec.rb
+++ b/uspec/uspec_spec.rb
@@ -49,7 +49,7 @@ !(Array.respond_to? :spec)
end
-spec 'returns the number of failures' do
+spec 'exit code is the number of failures' do
capture do
50.times do
sp... | Verify that the exit status won't overflow.
|
diff --git a/views/opensearch.xml.builder b/views/opensearch.xml.builder
index abc1234..def5678 100644
--- a/views/opensearch.xml.builder
+++ b/views/opensearch.xml.builder
@@ -3,18 +3,22 @@ xml.instruct!
xml.OpenSearchDescription 'xmlns' => 'http://a9.com/-/spec/opensearch/1.1/',
'xmlns:moz... | Revert "Disable RSS search results"
Fix case in Url tags
This reverts commit e8258ac9baeb1e1d3ee2216c6fc42901469c574f.
|
diff --git a/examples/auth_pub.rb b/examples/auth_pub.rb
index abc1234..def5678 100644
--- a/examples/auth_pub.rb
+++ b/examples/auth_pub.rb
@@ -16,8 +16,7 @@ NATS.on_error { |err| puts "Server Error: #{err}"; exit! }
NATS.start(:uri => uri) do
- NATS.publish(subject, msg)
- NATS.stop
+ NATS.publish(subject, msg)... | Make sure publish is flushed
|
diff --git a/rspec-sleeping_king_studios.gemspec b/rspec-sleeping_king_studios.gemspec
index abc1234..def5678 100644
--- a/rspec-sleeping_king_studios.gemspec
+++ b/rspec-sleeping_king_studios.gemspec
@@ -20,10 +20,9 @@ gem.require_path = 'lib'
gem.files = Dir["lib/**/*.rb", "LICENSE", "*.md"]
- gem.ad... | Update RSpec dependency to 3.0.beta.2
Current spec status: 358 examples, 167 failures in 0.1169 seconds; 145
deprecations found.
|
diff --git a/lib/generators/templates/devise_security_extension.rb b/lib/generators/templates/devise_security_extension.rb
index abc1234..def5678 100644
--- a/lib/generators/templates/devise_security_extension.rb
+++ b/lib/generators/templates/devise_security_extension.rb
@@ -6,7 +6,7 @@ # config.expire_password_afte... | Fix mistake in default Regex of initializer
|
diff --git a/lib/neighborly/balanced/engine.rb b/lib/neighborly/balanced/engine.rb
index abc1234..def5678 100644
--- a/lib/neighborly/balanced/engine.rb
+++ b/lib/neighborly/balanced/engine.rb
@@ -2,6 +2,8 @@ module Balanced
class Engine < ::Rails::Engine
isolate_namespace Neighborly::Balanced
+
+ co... | Add observers path to autoload
|
diff --git a/lib/spork/run_strategy/forking.rb b/lib/spork/run_strategy/forking.rb
index abc1234..def5678 100644
--- a/lib/spork/run_strategy/forking.rb
+++ b/lib/spork/run_strategy/forking.rb
@@ -20,7 +20,6 @@ end
def preload
- require test_framework.entry_point
test_framework.preload
end
| Revert "fixes regression where entry point was not being loaded"
This reverts commit 28f6da0e4e89d35411b19d5a5977a9d9f305f5f9.
|
diff --git a/command_line/dash_upper_c_spec.rb b/command_line/dash_upper_c_spec.rb
index abc1234..def5678 100644
--- a/command_line/dash_upper_c_spec.rb
+++ b/command_line/dash_upper_c_spec.rb
@@ -11,6 +11,11 @@ output.should == @tempdir
end
+ it 'does not need a space after -C for the argument' do
+ outpu... | Add spec for ruby -Cdir -e code
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.