diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/lib/pdftk-heroku.rb b/lib/pdftk-heroku.rb
index abc1234..def5678 100644
--- a/lib/pdftk-heroku.rb
+++ b/lib/pdftk-heroku.rb
@@ -5,12 +5,5 @@
PDFTK_PATH = File.expand_path "../../bin/pdftk", __FILE__
- begin
- require 'docsplit'
-
- Docsplit.config[:exe_path] = PDFTK_PATH
- rescue Lo... | Remove pre-config settings for gem
[#44932215] I don't know what this will actually be yet
|
diff --git a/lib/sinatra/main.rb b/lib/sinatra/main.rb
index abc1234..def5678 100644
--- a/lib/sinatra/main.rb
+++ b/lib/sinatra/main.rb
@@ -13,7 +13,7 @@ if run? && ARGV.any?
require 'optparse'
OptionParser.new { |op|
- op.on('-x') { set :mutex, true }
+ op.on('-x') ... | Fix -x command line option (it's :lock, not :mutex)
|
diff --git a/spec/keeper_spec.rb b/spec/keeper_spec.rb
index abc1234..def5678 100644
--- a/spec/keeper_spec.rb
+++ b/spec/keeper_spec.rb
@@ -6,30 +6,52 @@ ConditionVariable.stub(:new => @condvar = mock)
end
- describe "#wait_for" do
- context "new event" do
+ context "non-existing event" do
+ before ... | Refactor all specs, and finish them as well
|
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index abc1234..def5678 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -1,3 +1,4 @@ Mime::Type.register "application/vnd.geo+json", :geojson
Mime::Type.register "application/vnd.mapbox-vector-ti... | Add missing kmz mime type
|
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,4 +1,4 @@-require 'rspec-expectations'
+require 'rspec/expectations'
require 'chefspec'
require 'chefspec/berkshelf'
require 'chefspec/server'
| Fix deprecation warning in rspec
|
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
@@ -16,7 +16,7 @@
require 'fias'
-WebMock.disable_net_connect!
+WebMock.disable_net_connect!(allow: %w(codeclimate.com))
RSpec.configure do |config|
config.order = :random
| Allow spec test reporting to cc
|
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,29 +1,9 @@-require 'rubygems'
+require 'dm-core/spec/setup'
+require 'dm-core/spec/lib/adapter_helpers'
-# Use local dm-core if running from a typical dev checkout.
-lib = Fil... | Use dm-core/spec/setup in (non existent) specs |
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
@@ -6,6 +6,6 @@ #
class Mailer < ActionMailer::Base
def test_mail
- mail(from: 'from@test.com', to: 'to@test.com', subject: 'Test email')
+ mail(from: 'from@test.com', to: '... | Set body to test mailer
actionmailer 4 requires body otherwise it searches template for its body.
|
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,13 +1,9 @@-require 'rubygems'
-require 'bundler'
-Bundler.require :development, :default # Explicitly necessary here.
-
require 'reek/spec'
require 'reek/source/tree_dresser'
... | Remove superfluous spec setup code
|
diff --git a/fezzik.gemspec b/fezzik.gemspec
index abc1234..def5678 100644
--- a/fezzik.gemspec
+++ b/fezzik.gemspec
@@ -18,15 +18,9 @@ s.rubyforge_project = "fezzik"
s.executables = %w(fez fezify)
- s.files = %w(
- README.md
- TODO.md
- fezzik.gemspec
- lib/fezzik.rb
- bin/fez
- bin/fezify
- ... | Fix gemspec dependencies and file list
|
diff --git a/app/controllers/user/accounts_controller.rb b/app/controllers/user/accounts_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/user/accounts_controller.rb
+++ b/app/controllers/user/accounts_controller.rb
@@ -1,6 +1,6 @@ class User::AccountsController < ApplicationController
- skip_author... | Fix skip_authorization_check gone missing for switch_circle. |
diff --git a/test/test_suite.rb b/test/test_suite.rb
index abc1234..def5678 100644
--- a/test/test_suite.rb
+++ b/test/test_suite.rb
@@ -18,7 +18,6 @@ require 'tc_xml_parser_context'
require 'tc_xml_reader'
require 'tc_xml_sax_parser'
-require 'tc_xml_sax_parser2'
require 'tc_xml_schema'
require 'tc_xml_xinclude'
... | Change check function to verify instead of do_simple_test (don't want Unit::Test to think that is a test method).
|
diff --git a/foundation-center.gemspec b/foundation-center.gemspec
index abc1234..def5678 100644
--- a/foundation-center.gemspec
+++ b/foundation-center.gemspec
@@ -20,4 +20,5 @@
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
+ spec.add_development_dependency "rspec"
... | Add rspec as a development dependency
|
diff --git a/lib/ebay/responses/add_fixed_price_item.rb b/lib/ebay/responses/add_fixed_price_item.rb
index abc1234..def5678 100644
--- a/lib/ebay/responses/add_fixed_price_item.rb
+++ b/lib/ebay/responses/add_fixed_price_item.rb
@@ -9,7 +9,7 @@ # array_node :fees, 'Fees', 'Fee', :class => Fee, :default_value => []... | Fix Class definition for AddFixedPriceItem
|
diff --git a/lib/metrics-graphics-rails/view_helpers.rb b/lib/metrics-graphics-rails/view_helpers.rb
index abc1234..def5678 100644
--- a/lib/metrics-graphics-rails/view_helpers.rb
+++ b/lib/metrics-graphics-rails/view_helpers.rb
@@ -12,11 +12,12 @@ description = options.fetch(:description) { '' }
width ... | Add option for custom time format |
diff --git a/lib/baustelle/jenkins/job_template.rb b/lib/baustelle/jenkins/job_template.rb
index abc1234..def5678 100644
--- a/lib/baustelle/jenkins/job_template.rb
+++ b/lib/baustelle/jenkins/job_template.rb
@@ -35,6 +35,11 @@
private
+ def include(path)
+ template_dir = File.dirname(@template_pa... | Allow including scripts in jenkins job templates
|
diff --git a/lib/clever_tap/successful_response.rb b/lib/clever_tap/successful_response.rb
index abc1234..def5678 100644
--- a/lib/clever_tap/successful_response.rb
+++ b/lib/clever_tap/successful_response.rb
@@ -29,7 +29,7 @@ end
def success
- errors.empty?
+ unprocessed.empty?
end
end
en... | Fix String from Nil error thrown when failed records
|
diff --git a/examples/temperature.rb b/examples/temperature.rb
index abc1234..def5678 100644
--- a/examples/temperature.rb
+++ b/examples/temperature.rb
@@ -0,0 +1,15 @@+require "openweather2"
+
+Openweather2.configure do |config|
+ config.endpoint = 'http://api.openweathermap.org/data/2.5/weather'
+ config.apikey = ... | Add a minimal example application.
|
diff --git a/lib/hpcloud/commands/securitygroups.rb b/lib/hpcloud/commands/securitygroups.rb
index abc1234..def5678 100644
--- a/lib/hpcloud/commands/securitygroups.rb
+++ b/lib/hpcloud/commands/securitygroups.rb
@@ -23,7 +23,7 @@ if securitygroups.empty?
display "You currently have no security g... | Remove owner_id from security groups list.
|
diff --git a/spec/controllers/api/v4/runs/splits_controller_spec.rb b/spec/controllers/api/v4/runs/splits_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/api/v4/runs/splits_controller_spec.rb
+++ b/spec/controllers/api/v4/runs/splits_controller_spec.rb
@@ -0,0 +1,55 @@+require 'rails_helper'
+
+... | Add APIv4 splits controller tests
|
diff --git a/spec/controllers/auth/registrations_controller_spec.rb b/spec/controllers/auth/registrations_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/auth/registrations_controller_spec.rb
+++ b/spec/controllers/auth/registrations_controller_spec.rb
@@ -17,7 +17,7 @@ password: '123412... | Write the registrations spec with rspec
|
diff --git a/lib/quickbooks/model/bill_line_item.rb b/lib/quickbooks/model/bill_line_item.rb
index abc1234..def5678 100644
--- a/lib/quickbooks/model/bill_line_item.rb
+++ b/lib/quickbooks/model/bill_line_item.rb
@@ -24,6 +24,19 @@ detail_type.to_s == ITEM_BASED_EXPENSE_LINE_DETAIL
end
+ def accou... | Add line item helpers to bill line item model.
|
diff --git a/server/app/controllers/files_controller.rb b/server/app/controllers/files_controller.rb
index abc1234..def5678 100644
--- a/server/app/controllers/files_controller.rb
+++ b/server/app/controllers/files_controller.rb
@@ -13,8 +13,15 @@ # The client runs the filename through CGI.escape in case it conta... | Add support for requesting specific commands.
git-svn-id: 907a5e332d9df9b9d6ff346e9993373f8c03b4a0@128 59d7d9da-0ff4-4beb-9ab8-e480f87378b2
|
diff --git a/cookbooks/memcached/attributes/default.rb b/cookbooks/memcached/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/memcached/attributes/default.rb
+++ b/cookbooks/memcached/attributes/default.rb
@@ -8,7 +8,6 @@ default['memcached']['user'] = 'memcached'
when 'debian'
default['mem... | SCALRCORE-11162: Fix memcached attributes for ubuntu1804
|
diff --git a/test/command_some_test.rb b/test/command_some_test.rb
index abc1234..def5678 100644
--- a/test/command_some_test.rb
+++ b/test/command_some_test.rb
@@ -0,0 +1,16 @@+require 'minitest/autorun'
+require 'runoff/commandline/some'
+require 'colorize'
+require 'fileutils'
+
+class CommandSomeTest < MiniTest::Un... | Add a test file for some command
|
diff --git a/config/initializers/omniauth_shibboleth.rb b/config/initializers/omniauth_shibboleth.rb
index abc1234..def5678 100644
--- a/config/initializers/omniauth_shibboleth.rb
+++ b/config/initializers/omniauth_shibboleth.rb
@@ -1,5 +1,5 @@ Rails.application.config.middleware.use OmniAuth::Builder do
- if Rails.en... | Fix up for testing - had wrong dns name.
|
diff --git a/cookbooks/passenger-gem/recipes/default.rb b/cookbooks/passenger-gem/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/passenger-gem/recipes/default.rb
+++ b/cookbooks/passenger-gem/recipes/default.rb
@@ -22,16 +22,11 @@ version '3.0.9'
end
-#Fix the stupid path issues
-link "/usr/bin/p... | Remove the gem binary path workaround, now that it's more sensible in ubuntu rubygems.
|
diff --git a/lib/filter/checkbox_field_builder.rb b/lib/filter/checkbox_field_builder.rb
index abc1234..def5678 100644
--- a/lib/filter/checkbox_field_builder.rb
+++ b/lib/filter/checkbox_field_builder.rb
@@ -1,46 +1,34 @@ module Filter
- class CheckboxFieldBuilder < Filter::BaseFieldBuilder
+ class CheckboxFieldBuil... | Clean up the checkbox field builder
|
diff --git a/chef-berksfile-env.gemspec b/chef-berksfile-env.gemspec
index abc1234..def5678 100644
--- a/chef-berksfile-env.gemspec
+++ b/chef-berksfile-env.gemspec
@@ -15,8 +15,8 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_dependency "berkshelf", ... | Add bekshelf 6, 7 and chef 13, 14
|
diff --git a/RaaB.rb b/RaaB.rb
index abc1234..def5678 100644
--- a/RaaB.rb
+++ b/RaaB.rb
@@ -0,0 +1,18 @@+require "thor"
+require "./utils/authentication.rb"
+
+class RaaB < Thor
+ desc "encrypt TEXT", "Encrypt the given TEXT using aes-256-cbc."
+ def encrypt(text)
+ text = Encryption.encrypt(text)
+ puts [text... | Add authentication util and CLI
|
diff --git a/spec/classes/neutron_db_postgresql_spec.rb b/spec/classes/neutron_db_postgresql_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/neutron_db_postgresql_spec.rb
+++ b/spec/classes/neutron_db_postgresql_spec.rb
@@ -34,15 +34,13 @@ context "on #{os}" do
let (:facts) do
facts.merge(O... | Revert "CentOS 9: Disable unit tests dependent on puppet-postgresql"
This reverts commit 589205c8a5f22f1ddd9b5db94d4e09336c2b666b.
Reason for revert:
puppet-postgresql 8.1.0 was released and now the module supports RHEL 9
(and CentOS 9 effectively).
Note:
This change adds the service_provider fact in test fact data ... |
diff --git a/lib/solidus_volume_pricing/engine.rb b/lib/solidus_volume_pricing/engine.rb
index abc1234..def5678 100644
--- a/lib/solidus_volume_pricing/engine.rb
+++ b/lib/solidus_volume_pricing/engine.rb
@@ -19,6 +19,7 @@ def self.activate
Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator... | Configure autoloader to ignore decorators
This configures the autoloader to ignore decorators since they are
already explicitly required by the engine.
|
diff --git a/config/initializers/ahoy_email.rb b/config/initializers/ahoy_email.rb
index abc1234..def5678 100644
--- a/config/initializers/ahoy_email.rb
+++ b/config/initializers/ahoy_email.rb
@@ -5,6 +5,8 @@ AhoyEmail.track utm_params: false
class EmailSubscriber
+ POCKET_READ_URL = 'https://getpocket.com/a/read/'... | Use sub and constant string in EmailSubscriber
|
diff --git a/config/initializers/generators.rb b/config/initializers/generators.rb
index abc1234..def5678 100644
--- a/config/initializers/generators.rb
+++ b/config/initializers/generators.rb
@@ -0,0 +1,6 @@+Rails.application.config.generators do |g|
+ g.test_framework :mini_test, :spec => true, :fixture => true
+ g... | Change test generator to use minitest.
Disable helpers, assets and view specs generation
|
diff --git a/test/unit/active_model/serializer/associations_test.rb b/test/unit/active_model/serializer/associations_test.rb
index abc1234..def5678 100644
--- a/test/unit/active_model/serializer/associations_test.rb
+++ b/test/unit/active_model/serializer/associations_test.rb
@@ -0,0 +1,19 @@+require 'test_helper'
+
+m... | Test association inheritance in serializers
|
diff --git a/lib/dramaturg/command.rb b/lib/dramaturg/command.rb
index abc1234..def5678 100644
--- a/lib/dramaturg/command.rb
+++ b/lib/dramaturg/command.rb
@@ -27,6 +27,7 @@
def run
@script.execute(self)
+ self
end
def default(v)
| Return self after run for code like
c = script.cmd('echo foo').run
if !c.aborted
script.cmd('echo bar').run
end |
diff --git a/lib/rf/stylez/version.rb b/lib/rf/stylez/version.rb
index abc1234..def5678 100644
--- a/lib/rf/stylez/version.rb
+++ b/lib/rf/stylez/version.rb
@@ -2,6 +2,6 @@
module Rf
module Stylez
- VERSION = '0.3.0'
+ VERSION = '0.4.0'
end
end
| Update rubocop to support ruby 2.7.0
|
diff --git a/lib/specjour/db_scrub.rb b/lib/specjour/db_scrub.rb
index abc1234..def5678 100644
--- a/lib/specjour/db_scrub.rb
+++ b/lib/specjour/db_scrub.rb
@@ -32,6 +32,7 @@
def connect_to_database
ActiveRecord::Base.remove_connection
+ ActiveRecord::Base.establish_connection
connection
r... | Set up DB config before connecting to DB
|
diff --git a/spec/higher_level_api/integration/publisher_confirms_spec.rb b/spec/higher_level_api/integration/publisher_confirms_spec.rb
index abc1234..def5678 100644
--- a/spec/higher_level_api/integration/publisher_confirms_spec.rb
+++ b/spec/higher_level_api/integration/publisher_confirms_spec.rb
@@ -2,7 +2,7 @@
d... | Use higher continuation timeout here
|
diff --git a/view.rb b/view.rb
index abc1234..def5678 100644
--- a/view.rb
+++ b/view.rb
@@ -27,6 +27,7 @@ @players.push @player_name
end
display_current_players
+ @players
end
def display_current_players
@@ -38,8 +39,12 @@ puts "----------------------"
end
- def render_scores(playe... | Complete change to passing players array to controller
|
diff --git a/db/migrate/20160225163054_create_shifts.rb b/db/migrate/20160225163054_create_shifts.rb
index abc1234..def5678 100644
--- a/db/migrate/20160225163054_create_shifts.rb
+++ b/db/migrate/20160225163054_create_shifts.rb
@@ -5,7 +5,7 @@ t.datetime :starts_at
t.datetime :ends_at
t.integer :vo... | Set volunteer count field's default to 0
Quick! Before anyone migrates!
|
diff --git a/db/migrate/20120307163615_create_links.rb b/db/migrate/20120307163615_create_links.rb
index abc1234..def5678 100644
--- a/db/migrate/20120307163615_create_links.rb
+++ b/db/migrate/20120307163615_create_links.rb
@@ -1,7 +1,7 @@ class CreateLinks < ActiveRecord::Migration
def change
create_table :li... | Correct the symbol :iri in the migrations
|
diff --git a/features/support/env.rb b/features/support/env.rb
index abc1234..def5678 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -31,6 +31,10 @@ c.default_cassette_options = { :record => :once }
c.cassette_library_dir = 'fixtures/vcr_cassettes'
c.hook_into :webmock
+
+ if ENV... | Add option to output debug info to STDOUT
This can be toggled on using the environment variable `VCR_DEBUG`
|
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -2,6 +2,12 @@
RSpec.describe UsersController, type: :controller do
describe "GET #index... | Fix rspec test in the userscontroller to work with devise
|
diff --git a/spec/docker_service_test/sysvinit_spec.rb b/spec/docker_service_test/sysvinit_spec.rb
index abc1234..def5678 100644
--- a/spec/docker_service_test/sysvinit_spec.rb
+++ b/spec/docker_service_test/sysvinit_spec.rb
@@ -4,7 +4,8 @@ let(:chef_run) do
ChefSpec::SoloRunner.new(
platform: 'centos',
-... | Revert "Attempt to fix specs by removing step_into from chef_run"
This reverts commit 9cb470d4995a3c1e341f0f5a759d3e9230ab3903.
Removing step_into does not fix the bug
|
diff --git a/spec/performance/injection_helper_spec.rb b/spec/performance/injection_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/performance/injection_helper_spec.rb
+++ b/spec/performance/injection_helper_spec.rb
@@ -0,0 +1,29 @@+require 'spec_helper'
+
+describe InjectionHelper, type: :helper do
+ let(:oc... | Add benchmarking test for inject_enterprises
|
diff --git a/mote.gemspec b/mote.gemspec
index abc1234..def5678 100644
--- a/mote.gemspec
+++ b/mote.gemspec
@@ -16,5 +16,5 @@ "*.gemspec",
"test/**/*.rb"
]
- s.add_development_dependency "cutest", "~> 0.1"
+ s.add_development_dependency "cutest"
end
| Remove version from cutest dependency.
|
diff --git a/config.rb b/config.rb
index abc1234..def5678 100644
--- a/config.rb
+++ b/config.rb
@@ -1,5 +1,4 @@ # Require any additional compass plugins here.
-require 'modular-scale'
# Set this to the root of your project when deployed:
http_path = "/"
| Remove the require from modular-scales
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,5 @@-require "#{File.dirname(__FILE__)}/lib/dolphy"
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+require "lib/dolphy"
app = DolphyApplication.app do
get '/hello' do
@@ -6,7 +7,11 @@ end
get '/wat' do... | Set a page for the root.
|
diff --git a/db/seeds/demo/worryboard/seeds.rb b/db/seeds/demo/worryboard/seeds.rb
index abc1234..def5678 100644
--- a/db/seeds/demo/worryboard/seeds.rb
+++ b/db/seeds/demo/worryboard/seeds.rb
@@ -1,17 +1,20 @@ module Renalware
- # Set the current DB connection
- connection = ActiveRecord::Base.connection();
+ # a... | Add Rabbits plus every 10 patients to worryboard
|
diff --git a/mute.gemspec b/mute.gemspec
index abc1234..def5678 100644
--- a/mute.gemspec
+++ b/mute.gemspec
@@ -21,6 +21,7 @@ spec.add_development_dependency 'bundler', '~> 1.5'
spec.add_development_dependency 'cane', '~> 2.6.1'
spec.add_development_dependency 'cane-hashcheck', '~> 1.2.0'
+ s... | Add coveralls as development dependency
|
diff --git a/scripts/fix-birth_dates.rb b/scripts/fix-birth_dates.rb
index abc1234..def5678 100644
--- a/scripts/fix-birth_dates.rb
+++ b/scripts/fix-birth_dates.rb
@@ -0,0 +1,52 @@+require "mongo"
+require "date"
+
+client = Mongo::Client.new("mongodb://localhost/mongo")
+db = client.database
+collection = client[:cha... | Add script to fix birth dates
|
diff --git a/test/integration/default/default_spec.rb b/test/integration/default/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/default_spec.rb
+++ b/test/integration/default/default_spec.rb
@@ -1,10 +1,15 @@+if os[:family] == 'debian' && os[:release].to_i == 9
+ describe package('runit-s... | Add a test for runit-systemd and use the process inspec resource
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/active_enum/acts_as_enum.rb b/lib/active_enum/acts_as_enum.rb
index abc1234..def5678 100644
--- a/lib/active_enum/acts_as_enum.rb
+++ b/lib/active_enum/acts_as_enum.rb
@@ -45,7 +45,7 @@ end
def lookup_by_name(index)
- enum_values.where("#{active_enum_options[:name_column]} like ?"... | Use lower for enum name in sql looktup in ActAs
|
diff --git a/lib/bible_ref/languages/base.rb b/lib/bible_ref/languages/base.rb
index abc1234..def5678 100644
--- a/lib/bible_ref/languages/base.rb
+++ b/lib/bible_ref/languages/base.rb
@@ -12,7 +12,7 @@ details = books[book]
next if details.nil?
if (match = details[:match])
- ... | Fix bug with mixed case in book names
Oops, I broke this in the last release.
|
diff --git a/lib/capistrano/tasks/jetty.rake b/lib/capistrano/tasks/jetty.rake
index abc1234..def5678 100644
--- a/lib/capistrano/tasks/jetty.rake
+++ b/lib/capistrano/tasks/jetty.rake
@@ -13,7 +13,7 @@ execute :sudo, :service, 'jetty', 'restart'
end
end
+
+ before :published, :update_webapps
+ after :p... | Revert "Move task hooks outside namespace so they hook properly"
This reverts commit e2d8a6bc1e581abc220861a17aaed964563347a5.
|
diff --git a/lib/markovian/lambda/tweeter.rb b/lib/markovian/lambda/tweeter.rb
index abc1234..def5678 100644
--- a/lib/markovian/lambda/tweeter.rb
+++ b/lib/markovian/lambda/tweeter.rb
@@ -2,19 +2,19 @@
module Markovian
module Lambda
- # This class, given a Markovian corpus object and a Twitter OAuth token, wil... | Update to reflect Corpus => Chain
|
diff --git a/lib/method_found/interceptor.rb b/lib/method_found/interceptor.rb
index abc1234..def5678 100644
--- a/lib/method_found/interceptor.rb
+++ b/lib/method_found/interceptor.rb
@@ -1,18 +1,18 @@ module MethodFound
class Interceptor < Module
- attr_reader :regex
+ attr_reader :matcher
def initial... | Use abstract matcher rather than regex
|
diff --git a/lib/morph/docker_maintenance.rb b/lib/morph/docker_maintenance.rb
index abc1234..def5678 100644
--- a/lib/morph/docker_maintenance.rb
+++ b/lib/morph/docker_maintenance.rb
@@ -2,12 +2,12 @@ class DockerMaintenance
def self.delete_container_and_remove_image(container)
delete_container(containe... | Move logic around so that errors are caught in one place
Prevents a Docker::Error::NotFoundError being raised in what was the
container_image method.
|
diff --git a/db/migrate/20141121025443_create_schools.rb b/db/migrate/20141121025443_create_schools.rb
index abc1234..def5678 100644
--- a/db/migrate/20141121025443_create_schools.rb
+++ b/db/migrate/20141121025443_create_schools.rb
@@ -1,17 +1,6 @@ class CreateSchools < ActiveRecord::Migration
def change
creat... | Remove commented out fields, not using for schools table
|
diff --git a/ruby/clock/clock.rb b/ruby/clock/clock.rb
index abc1234..def5678 100644
--- a/ruby/clock/clock.rb
+++ b/ruby/clock/clock.rb
@@ -4,13 +4,13 @@ class Clock
attr_accessor :hour, :minute
- def initialize(hour:, minute: 0)
+ def initialize(hour: 0, minute: 0)
@hour = hour
@minute = minute
en... | Fix mistake and get things green before switching everything to minutes
|
diff --git a/lib/rom/support/class_macros.rb b/lib/rom/support/class_macros.rb
index abc1234..def5678 100644
--- a/lib/rom/support/class_macros.rb
+++ b/lib/rom/support/class_macros.rb
@@ -1,5 +1,31 @@ module ROM
+ # Internal support module for class-level settings
+ #
+ # @private
module ClassMacros
+ # Speci... | Add YARD for ClassMacros support module
|
diff --git a/write_now/db/migrate/20141013213821_create_projects.rb b/write_now/db/migrate/20141013213821_create_projects.rb
index abc1234..def5678 100644
--- a/write_now/db/migrate/20141013213821_create_projects.rb
+++ b/write_now/db/migrate/20141013213821_create_projects.rb
@@ -2,6 +2,8 @@ def change
create_ta... | Update project migration with title and wordcount_goal fields.
|
diff --git a/spec/controllers/blogs_controller_spec.rb b/spec/controllers/blogs_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/blogs_controller_spec.rb
+++ b/spec/controllers/blogs_controller_spec.rb
@@ -0,0 +1,61 @@+require 'spec_helper'
+
+describe BlogsController do
+ let(:user) { FactoryGi... | Add Spec for Blogs Controller edit and create
Add spec tests for the Blogs controller create and edit actions.
|
diff --git a/spec/controllers/posts_controller_spec.rb b/spec/controllers/posts_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/posts_controller_spec.rb
+++ b/spec/controllers/posts_controller_spec.rb
@@ -2,6 +2,9 @@ describe PostsController do
describe "GET #new" do
+ before :each do
+ ... | Edit Post Controller Test to account for logged in user
|
diff --git a/spec/lib/gitometer/github_helpers_spec.rb b/spec/lib/gitometer/github_helpers_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/gitometer/github_helpers_spec.rb
+++ b/spec/lib/gitometer/github_helpers_spec.rb
@@ -10,20 +10,44 @@ subject.endpoint.should == 'https://api.github.com'
end
- l... | Add missing spec for github helpers.
|
diff --git a/spec/unit/auom/inspection/inspect_spec.rb b/spec/unit/auom/inspection/inspect_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/auom/inspection/inspect_spec.rb
+++ b/spec/unit/auom/inspection/inspect_spec.rb
@@ -9,33 +9,33 @@ context 'when scalar is exact in decimal' do
let(:scalar) { 1 }
- ... | Use single quotes for non interpolated string literals
|
diff --git a/spec/controllers/sitemap_controller_spec.rb b/spec/controllers/sitemap_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/sitemap_controller_spec.rb
+++ b/spec/controllers/sitemap_controller_spec.rb
@@ -0,0 +1,31 @@+require 'spec_helper'
+
+describe SitemapController do
+
+ describe '... | Add unit tests for the sitemap controller
|
diff --git a/spec/dummy/app/helpers/styleguide_helper.rb b/spec/dummy/app/helpers/styleguide_helper.rb
index abc1234..def5678 100644
--- a/spec/dummy/app/helpers/styleguide_helper.rb
+++ b/spec/dummy/app/helpers/styleguide_helper.rb
@@ -4,7 +4,7 @@ formatted_attributes = JSON.pretty_generate(example[:attributes])... | Use :slim key for non-attribute examples
|
diff --git a/spec/unit/recipes/module_http_geoip_spec.rb b/spec/unit/recipes/module_http_geoip_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/recipes/module_http_geoip_spec.rb
+++ b/spec/unit/recipes/module_http_geoip_spec.rb
@@ -1,9 +1,9 @@ # encoding: utf-8
-describe 'et_nginx::http_geoip_module' do
+describ... | Fix module recipe name in geoip spec test
|
diff --git a/resqued.gemspec b/resqued.gemspec
index abc1234..def5678 100644
--- a/resqued.gemspec
+++ b/resqued.gemspec
@@ -3,7 +3,7 @@ s.name = 'resqued'
s.version = Resqued::VERSION
s.summary = s.description = 'Daemon of resque workers'
- s.homepage = 'https://github.com'
+ s.homepage = 'https://github.... | Set the project home page.
|
diff --git a/app/decorators/spree/orders/finalize_creates_subscriptions.rb b/app/decorators/spree/orders/finalize_creates_subscriptions.rb
index abc1234..def5678 100644
--- a/app/decorators/spree/orders/finalize_creates_subscriptions.rb
+++ b/app/decorators/spree/orders/finalize_creates_subscriptions.rb
@@ -6,7 +6,10 @... | Create a subscription per subscription_line_item group
A separate subscription should be created for each group of similar
subscription line items.
ex. subscription line items with different fulfillment intervals cannot
be fulfilled by the same subscription. But if the line items have all
the same subscription config... |
diff --git a/SSFadingScrollView.podspec b/SSFadingScrollView.podspec
index abc1234..def5678 100644
--- a/SSFadingScrollView.podspec
+++ b/SSFadingScrollView.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "SSFadingScrollView"
- s.version = "1.0"
+ s.version = "1.0.1"
s.summary = "A ... | Update podspec version to 1.0.1
|
diff --git a/app/controllers/email_alert_subscriptions_controller.rb b/app/controllers/email_alert_subscriptions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/email_alert_subscriptions_controller.rb
+++ b/app/controllers/email_alert_subscriptions_controller.rb
@@ -6,11 +6,8 @@ protect_from_forgery... | Refactor Finders to pull from content_store
This commit contains the work needed to pull Finders from the
content_store and removes the ability for Finders to be retrieved from
the content-api.
Finders and email-alert-subs now pull their content_item and the
relevant tests have been updated to stub the content_store.... |
diff --git a/db/migrate/20160418141210_add_read_only_to_miq_alert.rb b/db/migrate/20160418141210_add_read_only_to_miq_alert.rb
index abc1234..def5678 100644
--- a/db/migrate/20160418141210_add_read_only_to_miq_alert.rb
+++ b/db/migrate/20160418141210_add_read_only_to_miq_alert.rb
@@ -0,0 +1,13 @@+class AddReadOnlyToMiq... | Add read_only column to the miq_alerts table
Where the OOTB alerts will be all read_only
|
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -4,6 +4,7 @@ @repositories = %w{
git://github.com/datasets/population.git
... | Add US house prices example
|
diff --git a/test/test_mechanize_http_auth_challenge.rb b/test/test_mechanize_http_auth_challenge.rb
index abc1234..def5678 100644
--- a/test/test_mechanize_http_auth_challenge.rb
+++ b/test/test_mechanize_http_auth_challenge.rb
@@ -25,6 +25,14 @@ assert_equal expected, @challenge.realm(@uri + '/foo')
end
+ d... | Add tests for realm case sensitivity in AuthChallenge
As per RFC 1945 (section 11) and RFC 2617, the realm value is case sensitive.
This commit adds tests for realm case sensitivity in
Mechanize::HTTP::AuthChallenge.
|
diff --git a/ext/rake/mustache_task.rb b/ext/rake/mustache_task.rb
index abc1234..def5678 100644
--- a/ext/rake/mustache_task.rb
+++ b/ext/rake/mustache_task.rb
@@ -21,13 +21,13 @@ end
def template
- @template ||= "#{@target}.mustache"
+ @template || "#{@target}.mustache" unless @target.nil?
e... | Build system: FIX template accessor in MustacheTask
|
diff --git a/spec/controllers/browser_sessions_routing_spec.rb b/spec/controllers/browser_sessions_routing_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/browser_sessions_routing_spec.rb
+++ b/spec/controllers/browser_sessions_routing_spec.rb
@@ -20,7 +20,7 @@ end
it "should generate params... | Fix browser sessions routing spec |
diff --git a/spec/presenters/sufia/work_show_presenter_spec.rb b/spec/presenters/sufia/work_show_presenter_spec.rb
index abc1234..def5678 100644
--- a/spec/presenters/sufia/work_show_presenter_spec.rb
+++ b/spec/presenters/sufia/work_show_presenter_spec.rb
@@ -1,7 +1,6 @@ require 'spec_helper'
describe Sufia::WorkSh... | Remove empty lines around block body
|
diff --git a/pipeline/config/routes.rb b/pipeline/config/routes.rb
index abc1234..def5678 100644
--- a/pipeline/config/routes.rb
+++ b/pipeline/config/routes.rb
@@ -1,7 +1,7 @@ Rails.application.routes.draw do
root 'application#index'
# get '*path' => 'application#index'
- devise_for :users, defaults: { format: ... | Add controller to devise to accept extra fields
|
diff --git a/dotiw.gemspec b/dotiw.gemspec
index abc1234..def5678 100644
--- a/dotiw.gemspec
+++ b/dotiw.gemspec
@@ -9,7 +9,7 @@ s.version = DOTIW::VERSION
s.authors = ["Ryan Bigg"]
- s.date = %q{2010-12-23}
+ s.date = %q{2015-04-09}
s.description = "Better distance_of_time_in_words for Rails"
s.summary ... | Bump date in gemspec too. Because that's a thing.
|
diff --git a/lib/aws_agcod/authentication_credentials.rb b/lib/aws_agcod/authentication_credentials.rb
index abc1234..def5678 100644
--- a/lib/aws_agcod/authentication_credentials.rb
+++ b/lib/aws_agcod/authentication_credentials.rb
@@ -5,7 +5,7 @@
attr_reader :access_key, :secret_key, :region, :country, :partner... | Make the config file accessible
|
diff --git a/lib/chunky_png/canvas/data_url_exporting.rb b/lib/chunky_png/canvas/data_url_exporting.rb
index abc1234..def5678 100644
--- a/lib/chunky_png/canvas/data_url_exporting.rb
+++ b/lib/chunky_png/canvas/data_url_exporting.rb
@@ -6,7 +6,7 @@ # easily be used inline in CSS or HTML.
# @return [String]... | standard.rb: Use `delete` rather then unneeded `gsub` to delete newlines.
|
diff --git a/lib/smart_answer/question/country_select.rb b/lib/smart_answer/question/country_select.rb
index abc1234..def5678 100644
--- a/lib/smart_answer/question/country_select.rb
+++ b/lib/smart_answer/question/country_select.rb
@@ -14,10 +14,6 @@
def country_list
@country_list ||= load_countries
-... | Remove country_in method from CountrySelect
The method is unused, removing to simplify the codebase.
|
diff --git a/lib/swagger_docs_generator/parser/parser.rb b/lib/swagger_docs_generator/parser/parser.rb
index abc1234..def5678 100644
--- a/lib/swagger_docs_generator/parser/parser.rb
+++ b/lib/swagger_docs_generator/parser/parser.rb
@@ -32,8 +32,8 @@ end
def create_file
- puts "Create file : #{temporary... | Create file with base if necessary
|
diff --git a/batdc/app/controllers/events_controller.rb b/batdc/app/controllers/events_controller.rb
index abc1234..def5678 100644
--- a/batdc/app/controllers/events_controller.rb
+++ b/batdc/app/controllers/events_controller.rb
@@ -5,9 +5,8 @@ if params[:search]
filt = "event_name like ?"
srch = "%#{... | Clean up long code line in event controller
|
diff --git a/lib/acts_as_tenant/controller_extensions.rb b/lib/acts_as_tenant/controller_extensions.rb
index abc1234..def5678 100644
--- a/lib/acts_as_tenant/controller_extensions.rb
+++ b/lib/acts_as_tenant/controller_extensions.rb
@@ -12,7 +12,7 @@ end
self.tenant_class = tenant.to_s.capitalize.con... | Fix to set_tenant_by_subdomain to fix nil.to_sym error
|
diff --git a/lib/project/ruby_motion_query/rmq/events.rb b/lib/project/ruby_motion_query/rmq/events.rb
index abc1234..def5678 100644
--- a/lib/project/ruby_motion_query/rmq/events.rb
+++ b/lib/project/ruby_motion_query/rmq/events.rb
@@ -32,7 +32,7 @@ if view.respond_to? :setOnSeekBarChangeListener
view.onSee... | Fix for text changed event.
|
diff --git a/lib/pulse/resources/ministry_involvement.rb b/lib/pulse/resources/ministry_involvement.rb
index abc1234..def5678 100644
--- a/lib/pulse/resources/ministry_involvement.rb
+++ b/lib/pulse/resources/ministry_involvement.rb
@@ -4,8 +4,21 @@
class << self
def build_from(resp, request_params = {})
-... | Return some user meta data for convenience
|
diff --git a/lib/specinfra/command/base/routing_table.rb b/lib/specinfra/command/base/routing_table.rb
index abc1234..def5678 100644
--- a/lib/specinfra/command/base/routing_table.rb
+++ b/lib/specinfra/command/base/routing_table.rb
@@ -1,7 +1,7 @@ class Specinfra::Command::Base::RoutingTable < Specinfra::Command::Base... | Fix check_has_entry for routing table
- removed ^default from regex
|
diff --git a/spec/factories/application_drafts.rb b/spec/factories/application_drafts.rb
index abc1234..def5678 100644
--- a/spec/factories/application_drafts.rb
+++ b/spec/factories/application_drafts.rb
@@ -8,6 +8,8 @@ association :project1, :accepted, factory: :project
project_plan { FFaker::Lorem.parag... | Add values to the two new fields for a valid application draft
|
diff --git a/spec/fake_app/mongo_mapper/config.rb b/spec/fake_app/mongo_mapper/config.rb
index abc1234..def5678 100644
--- a/spec/fake_app/mongo_mapper/config.rb
+++ b/spec/fake_app/mongo_mapper/config.rb
@@ -1,2 +1,2 @@-MongoMapper.connection = Mongo::Connection.new 'localhost', 27017
+MongoMapper.connection = Mongo::... | Fix mongo mapper test suite
https://travis-ci.org/amatsuda/kaminari/jobs/41827391#L98
|
diff --git a/lib/chef_fs/file_system/base_fs_object.rb b/lib/chef_fs/file_system/base_fs_object.rb
index abc1234..def5678 100644
--- a/lib/chef_fs/file_system/base_fs_object.rb
+++ b/lib/chef_fs/file_system/base_fs_object.rb
@@ -9,6 +9,9 @@ @name = name
@path = ChefFS::PathUtils::join(parent.path, ... | Check assumption that name = '' for root
|
diff --git a/lib/embulk/guess/jsonl.rb b/lib/embulk/guess/jsonl.rb
index abc1234..def5678 100644
--- a/lib/embulk/guess/jsonl.rb
+++ b/lib/embulk/guess/jsonl.rb
@@ -18,7 +18,8 @@ rows << JSON.parse(line)
end
- return {} if rows.size <= 3
+ min_rows_for_guess = config.fetch("parser", {... | Make the fixed value 3 of threshold for guess configurable
|
diff --git a/lib/elasticsearch/modules/query_plugin.rb b/lib/elasticsearch/modules/query_plugin.rb
index abc1234..def5678 100644
--- a/lib/elasticsearch/modules/query_plugin.rb
+++ b/lib/elasticsearch/modules/query_plugin.rb
@@ -10,7 +10,7 @@ end
def call(*args)
- if query.respond_to?(:to_query_hash... | Allow QueryPlugin for Percolate request
|
diff --git a/lib/json-schema/attributes/formats/uri.rb b/lib/json-schema/attributes/formats/uri.rb
index abc1234..def5678 100644
--- a/lib/json-schema/attributes/formats/uri.rb
+++ b/lib/json-schema/attributes/formats/uri.rb
@@ -5,8 +5,12 @@ class UriFormat < FormatAttribute
def self.validate(current_schema,... | Use to_s to trigger URI validation
|
diff --git a/lib/tasks/temporary/factual_migration.rake b/lib/tasks/temporary/factual_migration.rake
index abc1234..def5678 100644
--- a/lib/tasks/temporary/factual_migration.rake
+++ b/lib/tasks/temporary/factual_migration.rake
@@ -9,12 +9,13 @@ raw_inputs.each do |raw_input|
data = raw_input.data
- ... | :lipstick: Refactor to do less db calls
|
diff --git a/lib/atlas/fever_details.rb b/lib/atlas/fever_details.rb
index abc1234..def5678 100644
--- a/lib/atlas/fever_details.rb
+++ b/lib/atlas/fever_details.rb
@@ -5,9 +5,10 @@ include ValueObject
values do
- attribute :type, Symbol
- attribute :group, Symbol
- attribute :curve, Symbol, ... | Add "defer_for" attribute to Fever details
Controls for how many hours load may be deferred by Fever before being
dropped.
|
diff --git a/Casks/nmap.rb b/Casks/nmap.rb
index abc1234..def5678 100644
--- a/Casks/nmap.rb
+++ b/Casks/nmap.rb
@@ -4,4 +4,5 @@ version '6.40-2'
sha256 '3908c038bde3c6c5775021a3808835ea6297057747ff609d41fa89528d904582'
install 'nmap-6.40-2.mpkg'
+ uninstall :pkgutil => 'org.insecure.nmap6402.*.pkg'
end
| Add uninstall stanza for NMap
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.