diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cookbooks/cicd_infrastructure/recipes/gerrit.rb b/cookbooks/cicd_infrastructure/recipes/gerrit.rb
index abc1234..def5678 100644
--- a/cookbooks/cicd_infrastructure/recipes/gerrit.rb
+++ b/cookbooks/cicd_infrastructure/recipes/gerrit.rb
@@ -9,3 +9,4 @@ #
include_recipe 'gerrit::default'
+include_recipe '... | [DMG-406] Install Gitweb as part of Gerrit installation
|
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/application_controller_spec.rb
+++ b/spec/controllers/application_controller_spec.rb
@@ -3,7 +3,7 @@ RSpec.describe ApplicationController do
controller d... | Fix deprecation warning in test
|
diff --git a/lib/do_by.rb b/lib/do_by.rb
index abc1234..def5678 100644
--- a/lib/do_by.rb
+++ b/lib/do_by.rb
@@ -19,5 +19,6 @@ end
def TODO(*args)
+ return if ENV['DISABLE_DO_BY']
DoBy::Note.new(*args)
end
| Disable in production with DISABLE_DO_BY |
diff --git a/app/controllers/root_controller.rb b/app/controllers/root_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/root_controller.rb
+++ b/app/controllers/root_controller.rb
@@ -1,4 +1,7 @@ class RootController < ApplicationController
+
+ caches_page :wrapper, :print, :related, :homepage, :admin... | Enable page caching for all templates.
This will enable apache/nginx to serve all but the first request for
each one, which will improve performance somewhat, and save having to
keep workers running for static.
|
diff --git a/binding_of_caller.gemspec b/binding_of_caller.gemspec
index abc1234..def5678 100644
--- a/binding_of_caller.gemspec
+++ b/binding_of_caller.gemspec
@@ -12,10 +12,14 @@ spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.0.0")
+ spec.metadata = {
+ "changelog_uri" ... | Add changelog, remove extraneous files from built gem
|
diff --git a/features/step_definitions/license-generator_steps.rb b/features/step_definitions/license-generator_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/license-generator_steps.rb
+++ b/features/step_definitions/license-generator_steps.rb
@@ -1,17 +1,15 @@ Then /^the output should say the ... | Use aruba helpers instead of nested steps.
Fixes some pending step issues for steps that should not have been
pending.
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -8,4 +8,6 @@ #
package "bash"
+package "curl"
package "git"
+package "tar"
| Add some packages to run heroku-buildpack-ruby
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -6,15 +6,21 @@
include_recipe 'iis::default'
-service 'W3SVC' do
- action :nothing
-end
-
windows_package 'Microsoft ASP.NET Core Module' do
source node['asp_net_core']['insta... | Reset IIS using net stop to reload registry
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -7,7 +7,7 @@ keyserver "keyserver.ubuntu.com"
key "C3173AA6"
action :add
- notifies :run, "execute[apt-get update]", :immediately
+ notifies :run, "... | Fix missing execution block for apt > 2.4.0, where it was changed to apt-get-update. |
diff --git a/recipes/mod_cgi.rb b/recipes/mod_cgi.rb
index abc1234..def5678 100644
--- a/recipes/mod_cgi.rb
+++ b/recipes/mod_cgi.rb
@@ -0,0 +1,26 @@+#
+# Author:: Richard Downer (<richard.downer@cloudsoftcorp.com>)
+# Cookbook Name:: iis
+# Recipe:: mod_cgi
+#
+# Copyright 2013, Cloudsoft Corporation
+#
+# Licensed un... | [COOK-3675] Add a recipe for CGI feature
Signed-off-by: Seth Vargo <81550dbf04dfd8537ff7b3c014c6fbf86e0889dc@gmail.com>
|
diff --git a/lib/audiothority/cli.rb b/lib/audiothority/cli.rb
index abc1234..def5678 100644
--- a/lib/audiothority/cli.rb
+++ b/lib/audiothority/cli.rb
@@ -5,9 +5,9 @@
module Audiothority
class Cli < Thor
- desc 'check PATHS', 'Check given paths for inconsistencies'
+ desc 'scan PATHS', 'Scan given paths fo... | Rename `check` command to `scan` |
diff --git a/lib/core_ext/integer.rb b/lib/core_ext/integer.rb
index abc1234..def5678 100644
--- a/lib/core_ext/integer.rb
+++ b/lib/core_ext/integer.rb
@@ -2,6 +2,6 @@
class Integer
def to_time
- Time.at(self / 1000)
+ Time.zone.at(self / 1000)
end
end
| Use `Time.zone.at` instead of `Time.at`
|
diff --git a/sli/admin-tools/admin-rails/test/functional/eulas_controller_test.rb b/sli/admin-tools/admin-rails/test/functional/eulas_controller_test.rb
index abc1234..def5678 100644
--- a/sli/admin-tools/admin-rails/test/functional/eulas_controller_test.rb
+++ b/sli/admin-tools/admin-rails/test/functional/eulas_contro... | Fix broken user registration test
|
diff --git a/script/update_created_and_updated_by.rb b/script/update_created_and_updated_by.rb
index abc1234..def5678 100644
--- a/script/update_created_and_updated_by.rb
+++ b/script/update_created_and_updated_by.rb
@@ -15,40 +15,38 @@ ])
end
-VestalVersions::Version.transaction do
+puts
+puts "Copy versio... | Remove transaction from version cleanup to preserve liveliness
|
diff --git a/spec/features/linking_spec.rb b/spec/features/linking_spec.rb
index abc1234..def5678 100644
--- a/spec/features/linking_spec.rb
+++ b/spec/features/linking_spec.rb
@@ -37,4 +37,14 @@
expect(page.ui.class).to eq(FooPage)
end
+
+ scenario "UI is reloaded when the session is reset" do
+ page.rese... | Add a test to make sure the UI is reloaded between tests
|
diff --git a/qa/qa/scenario/test/integration/mattermost.rb b/qa/qa/scenario/test/integration/mattermost.rb
index abc1234..def5678 100644
--- a/qa/qa/scenario/test/integration/mattermost.rb
+++ b/qa/qa/scenario/test/integration/mattermost.rb
@@ -7,11 +7,11 @@ # including staging and on-premises installation.
... | Fix test selection in Test::Integration::Mattermost
In ce3b81b953f we changed Test::Integration::Mattermost#perform to
consume a required positional parameter and pass on the rest of the
arguments to the superclass. There was an error in implementation here
and instead of splatting the files array to produce no additi... |
diff --git a/app/helpers/form_helper.rb b/app/helpers/form_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/form_helper.rb
+++ b/app/helpers/form_helper.rb
@@ -1,8 +1,8 @@ module FormHelper
- def possible_read_only_ops(submission=nil)
+ def possible_read_only_ops
ops = {}
- if admin_in_read_only_mo... | Revert "[QAE1019] Fixed disabled submission conditions"
This reverts commit a280f05838e24d569215bb85f8ef9d5f6cf2e393.
Conflicts:
app/helpers/form_helper.rb
app/views/qae_form/_form_footer.html.slim
|
diff --git a/sketchup-api-stubs.gemspec b/sketchup-api-stubs.gemspec
index abc1234..def5678 100644
--- a/sketchup-api-stubs.gemspec
+++ b/sketchup-api-stubs.gemspec
@@ -0,0 +1,16 @@+# coding: utf-8
+Gem::Specification.new do |spec|
+ spec.name = 'sketchup-api-stubs'
+ spec.version = '0.1.0.a'
+ spec.a... | Add base for creating a gem.
|
diff --git a/lib/manual_publication_log_filter.rb b/lib/manual_publication_log_filter.rb
index abc1234..def5678 100644
--- a/lib/manual_publication_log_filter.rb
+++ b/lib/manual_publication_log_filter.rb
@@ -8,8 +8,8 @@ slug: edition.slug,
version_number: edition.version_number,
change_note: ... | Set publication log timestamp to edition updated time
While running a task to rebuild publication logs for major updates it
was assumed that all non-draft editions had an exported_at time set. But
some were found to have exported_at as nil. By using the updated_at attribute as
a fallback we use the "best guess" for th... |
diff --git a/funkbot.rb b/funkbot.rb
index abc1234..def5678 100644
--- a/funkbot.rb
+++ b/funkbot.rb
@@ -17,7 +17,7 @@ c.nick = $config.bot.nick
c.channels = $config.bot.channels
c.verbose = $config.bot.verbose
- c.plugins.plugins = [Greeting,Botsnack,Google,Tell,Factoid,I... | Disable google plugin since google unhappy with me
|
diff --git a/lib/tasks/delete-cancelled-runs.rake b/lib/tasks/delete-cancelled-runs.rake
index abc1234..def5678 100644
--- a/lib/tasks/delete-cancelled-runs.rake
+++ b/lib/tasks/delete-cancelled-runs.rake
@@ -17,7 +17,7 @@ gone = 0
TavernaPlayer::Run.all.each do |run|
if run.cancelled?
- gone += ... | Delete cancelled runs rake task not working.
Oops. The meat of the task was commented out...
|
diff --git a/lib/heroku/deploy/ui.rb b/lib/heroku/deploy/ui.rb
index abc1234..def5678 100644
--- a/lib/heroku/deploy/ui.rb
+++ b/lib/heroku/deploy/ui.rb
@@ -14,7 +14,14 @@ print "... "
spinner = Heroku::Deploy::UI::Spinner.new
spinner.start
- yield
+
+ begin
+ yield
+ ... | Make sure to stop the spinner if an error is raised.
|
diff --git a/lib/install/template.rb b/lib/install/template.rb
index abc1234..def5678 100644
--- a/lib/install/template.rb
+++ b/lib/install/template.rb
@@ -18,14 +18,12 @@
say "Adding configurations"
environment <<CONFIG, env: :development
-# Verifies that versions and hashed value of the package contents in the pr... | Fix indent and remove extra blank line in configurations |
diff --git a/lib/puppet-catalog-test/puppet_adapter/puppet_4x_adapter.rb b/lib/puppet-catalog-test/puppet_adapter/puppet_4x_adapter.rb
index abc1234..def5678 100644
--- a/lib/puppet-catalog-test/puppet_adapter/puppet_4x_adapter.rb
+++ b/lib/puppet-catalog-test/puppet_adapter/puppet_4x_adapter.rb
@@ -28,6 +28,8 @@ e... | Move Puppet 4.x to the same scheme as Puppet 3.x
|
diff --git a/spec/integration/axiom/adapter/memory_spec.rb b/spec/integration/axiom/adapter/memory_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/axiom/adapter/memory_spec.rb
+++ b/spec/integration/axiom/adapter/memory_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-describe Axiom::Adapter::Memory do
+... | Update describe name to be consistent with other spec
|
diff --git a/cb.gemspec b/cb.gemspec
index abc1234..def5678 100644
--- a/cb.gemspec
+++ b/cb.gemspec
@@ -21,5 +21,6 @@ spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 3.0"
- spec.add_development_dependency "pry"
+ spec.add... | Add timecop and pessmize version specs in gemspec |
diff --git a/spec/presenters/fact_with_context/new_spec.rb b/spec/presenters/fact_with_context/new_spec.rb
index abc1234..def5678 100644
--- a/spec/presenters/fact_with_context/new_spec.rb
+++ b/spec/presenters/fact_with_context/new_spec.rb
@@ -17,5 +17,15 @@ it '#context_summary should be based on visibility and c... | Add arg tests for FactWithContext.new
|
diff --git a/httparty-icebox.gemspec b/httparty-icebox.gemspec
index abc1234..def5678 100644
--- a/httparty-icebox.gemspec
+++ b/httparty-icebox.gemspec
@@ -14,7 +14,7 @@
s.rubyforge_project = "httparty-icebox"
- s.add_dependency("httparty", "~> 0.7.4")
+ s.add_dependency("httparty", "~> 0.8.1")
s.files ... | Update dependency to HTTParty 0.8.X
|
diff --git a/ext/extconf.rb b/ext/extconf.rb
index abc1234..def5678 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -18,7 +18,7 @@ when /mswin32|mingw|solaris/
$CFLAGS += " -march=native"
when 'i686-linux'
- $CFLAGS += " -march-i686"
+ $CFLAGS += " -march=i686"
end
try_run(<<CODE,$CFLAGS) && ($defs ... | Fix -march-i686 not supported in Ubuntu 12.04 LTS
```
root@eric:/usr/local/rvm/gems/ruby-1.9.3-p392/gems/atomic-1.1.11/ext# cat mkmf.log
"gcc -o conftest -I/usr/local/rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/i686-linux -I/usr/local/rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/usr/local/rvm/ru... |
diff --git a/doneyo.gemspec b/doneyo.gemspec
index abc1234..def5678 100644
--- a/doneyo.gemspec
+++ b/doneyo.gemspec
@@ -13,7 +13,7 @@ spec.homepage = "https://github.com/codeout/doneyo"
spec.license = "MIT"
- spec.files = `git ls-files -z`.split("\x0")
+ spec.files = `git ls-files -... | Exclude go directory when build a gem. It was merged for a management reason.
|
diff --git a/lib/capybara/poltergeist/network_traffic/response.rb b/lib/capybara/poltergeist/network_traffic/response.rb
index abc1234..def5678 100644
--- a/lib/capybara/poltergeist/network_traffic/response.rb
+++ b/lib/capybara/poltergeist/network_traffic/response.rb
@@ -21,7 +21,7 @@ end
def redirect_url
-... | Fix typo redirectUrl -> redirectURL
Is named redirectURL in web_page.coffee |
diff --git a/lib/carto/export/connector_configuration_exporter.rb b/lib/carto/export/connector_configuration_exporter.rb
index abc1234..def5678 100644
--- a/lib/carto/export/connector_configuration_exporter.rb
+++ b/lib/carto/export/connector_configuration_exporter.rb
@@ -1,4 +1,5 @@ module Carto
+ # Note: Connector p... | Comment about connector provider export by name
|
diff --git a/app/helpers/nivo_helper.rb b/app/helpers/nivo_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/nivo_helper.rb
+++ b/app/helpers/nivo_helper.rb
@@ -1,12 +1,12 @@ module NivoHelper
def nivo_slider(hash = {}, &block)
- options = { :theme => :default, :id => "slider" }
+ options = { :theme =>... | Fix html code generation to be prettier
|
diff --git a/spec/json_streamer_spec.rb b/spec/json_streamer_spec.rb
index abc1234..def5678 100644
--- a/spec/json_streamer_spec.rb
+++ b/spec/json_streamer_spec.rb
@@ -6,12 +6,12 @@ describe "with a provided header and footer" do
before do
@model_class = Product
- Product.create(:id => 1, :title => ... | Fix test for JsonStreamer header and footer handling.
|
diff --git a/lib/bitmap.rb b/lib/bitmap.rb
index abc1234..def5678 100644
--- a/lib/bitmap.rb
+++ b/lib/bitmap.rb
@@ -38,15 +38,14 @@ @data, @height = stretched, @height*factor
end
- def write_to_file(filename)
+ def to_image(imagename)
img = Magick::Image.new(@width, @height)
-
@data.each_with_inde... | Rename write to file to to_image.
|
diff --git a/spec/integration/crumbs_routing_spec.rb b/spec/integration/crumbs_routing_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/crumbs_routing_spec.rb
+++ b/spec/integration/crumbs_routing_spec.rb
@@ -1,54 +1,46 @@+# encoding: utf-8
+
require 'spec_helper'
-describe "crumbs routing" do
+RSpec.des... | Change specs to reflect dummy app changes.
|
diff --git a/spec/support/email_spec.rb b/spec/support/email_spec.rb
index abc1234..def5678 100644
--- a/spec/support/email_spec.rb
+++ b/spec/support/email_spec.rb
@@ -24,3 +24,4 @@ # https://github.com/bmabey/email-spec#rspec
# https://github.com/bmabey/email-spec#rspec-matchers
# http://www.rubydoc.info/gems/email... | Update docs for email spec API
|
diff --git a/spec/to_html/table_spec.rb b/spec/to_html/table_spec.rb
index abc1234..def5678 100644
--- a/spec/to_html/table_spec.rb
+++ b/spec/to_html/table_spec.rb
@@ -0,0 +1,66 @@+# encoding=utf-8
+require 'spec_helper'
+
+describe 'Polytexnic::Core::Pipeline#to_html' do
+
+ let(:processed_text) { Polytexnic::Core::... | Add failing test for basic table
[#50579251]
|
diff --git a/app/models/session_type.rb b/app/models/session_type.rb
index abc1234..def5678 100644
--- a/app/models/session_type.rb
+++ b/app/models/session_type.rb
@@ -22,6 +22,7 @@ :title,
:description,
:event_id
+ validates_numericality_of :duration, :if => :duration
def <=>(against)
self.ti... | Improve SessionType to require a number for the duration.
|
diff --git a/app/models/tandem/image.rb b/app/models/tandem/image.rb
index abc1234..def5678 100644
--- a/app/models/tandem/image.rb
+++ b/app/models/tandem/image.rb
@@ -7,7 +7,7 @@ has_attached_file :resource, Tandem::Configuration.paperclip_options
validates_attachment_presence :resource
- validates_atta... | Increase file upload size limit to 1.megabyte. |
diff --git a/github-pages.gemspec b/github-pages.gemspec
index abc1234..def5678 100644
--- a/github-pages.gemspec
+++ b/github-pages.gemspec
@@ -11,7 +11,8 @@ s.homepage = "https://github.com/github/pages-gem"
s.license = "MIT"
- # Note to future Hubbers: Update the help docs if you b... | Remove "please update help docs" notice from Gemspec
Help docs updated to point directly to the gemspec and more
strongly encourage use of the GitHub Pages Gem directly.
This eliminates the need to maintain the Gem versions twice. :metal:
|
diff --git a/app/controllers/blacklight_cornell_requests/application_controller.rb b/app/controllers/blacklight_cornell_requests/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/blacklight_cornell_requests/application_controller.rb
+++ b/app/controllers/blacklight_cornell_requests/applicati... | Fix circular reference error brought on by Rails 4.x.
|
diff --git a/lib/sneakers/spawner.rb b/lib/sneakers/spawner.rb
index abc1234..def5678 100644
--- a/lib/sneakers/spawner.rb
+++ b/lib/sneakers/spawner.rb
@@ -0,0 +1,27 @@+require 'yaml'
+
+module Sneakers
+ class Spawner
+
+ def self.spawn
+ worker_group_config_file = ENV['WORKER_GROUP_CONFIG'] || "./config/sne... | Add simple spawer to manage creating different process for different worker groups
|
diff --git a/lib/twentyfour_seven_office/services/company.rb b/lib/twentyfour_seven_office/services/company.rb
index abc1234..def5678 100644
--- a/lib/twentyfour_seven_office/services/company.rb
+++ b/lib/twentyfour_seven_office/services/company.rb
@@ -9,7 +9,7 @@ def where(query = {})
return_params = ::... | Use correct name for input parameter |
diff --git a/ext/extconf.rb b/ext/extconf.rb
index abc1234..def5678 100644
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -18,7 +18,7 @@ if enable_config("debug")
$CFLAGS << " -DDEBUG -O0 -g"
else
- $CFLAGS << " -DNDEBUG -O4 -g --param inline-unit-growth=100000 --param large-function-growth=100000 --param max-inline... | Comment out the inlining stuff as it makes gcc 4.5.2 take forever to compile environment.cpp, and it's probably premature optimization anyway
|
diff --git a/prius.gemspec b/prius.gemspec
index abc1234..def5678 100644
--- a/prius.gemspec
+++ b/prius.gemspec
@@ -21,6 +21,6 @@ spec.required_ruby_version = ">= 2.2"
spec.add_development_dependency "rspec", "~> 3.1"
- spec.add_development_dependency "rubocop", "~> 0.58.1"
+ spec.add_development_dependency "... | Update rubocop requirement from ~> 0.58.1 to ~> 0.64.0
Updates the requirements on [rubocop](https://github.com/rubocop-hq/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](h... |
diff --git a/lib/tty/path_helpers.rb b/lib/tty/path_helpers.rb
index abc1234..def5678 100644
--- a/lib/tty/path_helpers.rb
+++ b/lib/tty/path_helpers.rb
@@ -25,5 +25,14 @@ def name_from_path(path)
Pathname(path).basename.to_s
end
+
+ # Extract a relative path for the app
+ #
+ # @api private
+ ... | Add path helper for extracting relative path
|
diff --git a/geofsh.gemspec b/geofsh.gemspec
index abc1234..def5678 100644
--- a/geofsh.gemspec
+++ b/geofsh.gemspec
@@ -10,7 +10,7 @@ gem.email = ["jonathanpagano@gmail.com"]
gem.description = %q{Simple geolocation generator}
gem.summary = %q{Provides latitude and longitude from HTML5 API}
- g... | Change gem homepage to reflect github repo name change
|
diff --git a/RSBarcodes_Swift.podspec b/RSBarcodes_Swift.podspec
index abc1234..def5678 100644
--- a/RSBarcodes_Swift.podspec
+++ b/RSBarcodes_Swift.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "RSBarcodes_Swift"
- s.version = "0.0.3"
+ s.version = "0.0.4"
s.summary = "1D and 2D ... | Test whether cocoapods is working for Swift now
|
diff --git a/frecon.gemspec b/frecon.gemspec
index abc1234..def5678 100644
--- a/frecon.gemspec
+++ b/frecon.gemspec
@@ -8,7 +8,10 @@
s.authors = ["Sam Craig",
"Kristofer Rye",
- "Christopher Cooper"]
+ "Christopher Cooper",
+ "Sam Mercier",
+ "Tige... | Add others who should have been authors
Still, I don't know if this is a good order. I hope I didn't
accidentally insult anyone.
|
diff --git a/test/dummy/config/initializers/session_store.rb b/test/dummy/config/initializers/session_store.rb
index abc1234..def5678 100644
--- a/test/dummy/config/initializers/session_store.rb
+++ b/test/dummy/config/initializers/session_store.rb
@@ -1,6 +1,6 @@ # Be sure to restart your server when you modify this f... | Expire cookies after 15 days ...
|
diff --git a/effective_orders.gemspec b/effective_orders.gemspec
index abc1234..def5678 100644
--- a/effective_orders.gemspec
+++ b/effective_orders.gemspec
@@ -19,5 +19,5 @@ s.add_dependency 'coffee-rails'
s.add_dependency 'devise'
s.add_dependency 'sass-rails'
- s.add_dependency 'effective_datatables', '~> 4... | Use >= instead of ~>
|
diff --git a/test/cookbooks/test/recipes/centos-6-helper.rb b/test/cookbooks/test/recipes/centos-6-helper.rb
index abc1234..def5678 100644
--- a/test/cookbooks/test/recipes/centos-6-helper.rb
+++ b/test/cookbooks/test/recipes/centos-6-helper.rb
@@ -3,11 +3,8 @@ %w(ip_tables iptable_filter iptable_mangle iptable_nat).ea... | Change failed module load rescue
Signed-off-by: Ben Hughes <9aa707886c4be7fb94846527110e24d2d51625ce@bmhughes.co.uk>
|
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index abc1234..def5678 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -13,7 +13,9 @@ require 'test/unit'
MiniTest::Unit.class_variable_se... | Set AS::TestCase::Assertion to the underlying test exception for either miniunit or test/unit
|
diff --git a/test/tech404/index/user_mention_filter_test.rb b/test/tech404/index/user_mention_filter_test.rb
index abc1234..def5678 100644
--- a/test/tech404/index/user_mention_filter_test.rb
+++ b/test/tech404/index/user_mention_filter_test.rb
@@ -0,0 +1,26 @@+require 'test_helper'
+
+describe UserMentionFilter do
+ ... | Add test for user mention filter
|
diff --git a/lp_server.rb b/lp_server.rb
index abc1234..def5678 100644
--- a/lp_server.rb
+++ b/lp_server.rb
@@ -3,6 +3,8 @@
require 'sinatra'
+EM.threadpool_size = 300
+
get "/" do
sleep params[:wait].to_i
"wait #{params[:wait]}"
| Increase EM threadpool_size to 300
|
diff --git a/app/controllers/prayer_requests_controller.rb b/app/controllers/prayer_requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/prayer_requests_controller.rb
+++ b/app/controllers/prayer_requests_controller.rb
@@ -19,6 +19,7 @@ end
def new
+ @prayer_request.person = @logged_in
... | Set default person on prayer request to user.
|
diff --git a/lib/compiler/init.rb b/lib/compiler/init.rb
index abc1234..def5678 100644
--- a/lib/compiler/init.rb
+++ b/lib/compiler/init.rb
@@ -19,5 +19,5 @@
# Mask that we just loaded a compiler by removing the constant
# and removing it's files from the feature list.
-$".delete_if { |n| n.prefix? "compiler/" }
-O... | Comment out hiding the compiler for now.
|
diff --git a/lib/hydrant-batch.rb b/lib/hydrant-batch.rb
index abc1234..def5678 100644
--- a/lib/hydrant-batch.rb
+++ b/lib/hydrant-batch.rb
@@ -13,8 +13,8 @@ result = []
statuses.in_groups_of(4) do |group|
file_status = Hash[group.compact.collect { |s| [s[0].to_sym,s[1..-1]] }]
- if fi... | Fix typo in last commit |
diff --git a/lib/mactag/config.rb b/lib/mactag/config.rb
index abc1234..def5678 100644
--- a/lib/mactag/config.rb
+++ b/lib/mactag/config.rb
@@ -7,13 +7,13 @@ #
# ==== Gem Home
# The folder where the gems are stored.
- # Mactag::Config.gem_home = "/usr/lib/ruby/gems/1.9/gems"
+ # Mactag::Config.gem_home =... | Make standard gem home the one on MacOS.
|
diff --git a/lib/nyaplot/glyph.rb b/lib/nyaplot/glyph.rb
index abc1234..def5678 100644
--- a/lib/nyaplot/glyph.rb
+++ b/lib/nyaplot/glyph.rb
@@ -1,7 +1,5 @@ module Nyaplot
module Glyph
- include Nyaplot::Base
- type :glyph
class << self
#@example
# Nyaplot::Glyph.instantiate(:scatter)
@@ -15... | Remove Nyaplot::Base from Glyph and add it to Glyph2D
|
diff --git a/lib/sub_diff/gsub.rb b/lib/sub_diff/gsub.rb
index abc1234..def5678 100644
--- a/lib/sub_diff/gsub.rb
+++ b/lib/sub_diff/gsub.rb
@@ -20,8 +20,7 @@ end
def suffix_matcher
- case args.first
- when Regexp
+ if args.first.is_a?(Regexp)
:match
else
:include?
| Replace a case statement with a simple if
|
diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake
index abc1234..def5678 100644
--- a/lib/tasks/rspec.rake
+++ b/lib/tasks/rspec.rake
@@ -14,7 +14,7 @@ 'spec/features/refresh_feed_spec.rb',
'spec/features/start_page_spec.rb',
... | Fix parallel running of tests in Travis CI.
All acceptance tests were being executed by the build in which TEST_SUITE=acceptance_2
Now the acceptance tests that are part of the TEST_SUITE=acceptance_1 build should not be executed as part of the TEST_SUITE=acceptance_2 build.
|
diff --git a/lib/usesthis/site.rb b/lib/usesthis/site.rb
index abc1234..def5678 100644
--- a/lib/usesthis/site.rb
+++ b/lib/usesthis/site.rb
@@ -36,16 +36,16 @@ end
end
- def generate
- super
-
+ def publish_files
Api::InterviewsGenerator.generate(self)
Api::CategoriesGenerator.gen... | Rename generate and generate_posts to publish_files and publish_posts
|
diff --git a/spec/overcommit/hook/post_checkout/submodule_status_spec.rb b/spec/overcommit/hook/post_checkout/submodule_status_spec.rb
index abc1234..def5678 100644
--- a/spec/overcommit/hook/post_checkout/submodule_status_spec.rb
+++ b/spec/overcommit/hook/post_checkout/submodule_status_spec.rb
@@ -0,0 +1,38 @@+requir... | Add specs for SubmoduleStatus post-checkout hook
|
diff --git a/simple_sqs.gemspec b/simple_sqs.gemspec
index abc1234..def5678 100644
--- a/simple_sqs.gemspec
+++ b/simple_sqs.gemspec
@@ -18,10 +18,6 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- if spec.respond_to?(:metadata)
- spec.metadata['allow... | Allow us to release to rubygems
|
diff --git a/lib/oauth2.rb b/lib/oauth2.rb
index abc1234..def5678 100644
--- a/lib/oauth2.rb
+++ b/lib/oauth2.rb
@@ -14,3 +14,7 @@ require 'oauth2/access_token'
require 'oauth2/mac_token'
require 'oauth2/response'
+
+# The namespace of this library
+module OAuth2
+end
| Document the namespace of the library
|
diff --git a/imap_monitor.gemspec b/imap_monitor.gemspec
index abc1234..def5678 100644
--- a/imap_monitor.gemspec
+++ b/imap_monitor.gemspec
@@ -14,7 +14,7 @@
gm.add_runtime_dependency 'mail','~> 2.6'
gm.add_runtime_dependency 'celluloid','~> 0.17'
- gm.add_development_dependency 'rspec', '~> 3.3.0'
+ gm.add_d... | Update rspec dependency to be less restrictive
|
diff --git a/app/uploaders/hyrax/uploaded_file_uploader.rb b/app/uploaders/hyrax/uploaded_file_uploader.rb
index abc1234..def5678 100644
--- a/app/uploaders/hyrax/uploaded_file_uploader.rb
+++ b/app/uploaders/hyrax/uploaded_file_uploader.rb
@@ -3,20 +3,20 @@ # Override the directory where uploaded files will be sto... | Rename private method that conflicts with CarrierWave
And rename sibling method similarly for consistency
|
diff --git a/konfa.gemspec b/konfa.gemspec
index abc1234..def5678 100644
--- a/konfa.gemspec
+++ b/konfa.gemspec
@@ -11,7 +11,7 @@ s.homepage = 'http://github.com/promoteinternational/konfa'
s.license = 'MIT'
- s.add_dependency "method_source", "~> 0.8"
+ s.add_dependency "method_source", ">= 0.8", "<= ... | Make dependencies compatible with railties 6
|
diff --git a/dsvedit.rb b/dsvedit.rb
index abc1234..def5678 100644
--- a/dsvedit.rb
+++ b/dsvedit.rb
@@ -26,9 +26,6 @@ begin
$qApp.exec
rescue StandardError => e
- logger = Logger.new("crashlog.txt")
- logger.error e
-
window.save_settings()
if window.game && window.game.fs && window... | Crashlogger: Fix crashes that occur during initial boot up not being logged
|
diff --git a/lib/adhearsion/menu_dsl/match_calculator.rb b/lib/adhearsion/menu_dsl/match_calculator.rb
index abc1234..def5678 100644
--- a/lib/adhearsion/menu_dsl/match_calculator.rb
+++ b/lib/adhearsion/menu_dsl/match_calculator.rb
@@ -5,24 +5,14 @@ class << self
def build_with_pattern(pattern, match_... | [CS] Simplify MatchCalculator child loading, and avoid dodgy interaction with autoloading |
diff --git a/lib/sequent/test/command_handler_helpers.rb b/lib/sequent/test/command_handler_helpers.rb
index abc1234..def5678 100644
--- a/lib/sequent/test/command_handler_helpers.rb
+++ b/lib/sequent/test/command_handler_helpers.rb
@@ -0,0 +1,101 @@+module Sequent
+ module Test
+ ##
+ # Use in tests
+ #
+ ... | Add support for event based testing
|
diff --git a/lib/spree_refinery_authentication/engine.rb b/lib/spree_refinery_authentication/engine.rb
index abc1234..def5678 100644
--- a/lib/spree_refinery_authentication/engine.rb
+++ b/lib/spree_refinery_authentication/engine.rb
@@ -19,6 +19,7 @@ config.to_prepare do
WillPaginate::ActiveRecord::RelationM... | Add alias to total_count (mandatory to add taxon in product)
|
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -17,7 +17,7 @@ end.compact.flatten
# get the unqiue controller names
- controllers = routes.map { |route| route.gsub(/^\/admin\/([^(\/... | Update the helper that generates the admin navigation to ignore cases where admin.root has been setup
|
diff --git a/app/jobs/fhir_upload_job.rb b/app/jobs/fhir_upload_job.rb
index abc1234..def5678 100644
--- a/app/jobs/fhir_upload_job.rb
+++ b/app/jobs/fhir_upload_job.rb
@@ -15,10 +15,10 @@ upload_executable = "bin/upload-mac"
end
- if ENV["IE_PORT_3001_TCP_ADDR"].nil?
+ if ENV["FHIR_URL"].nil?
... | Use FHIR_URL environment variable to support new docker-compose v2 file
|
diff --git a/PFIncrementalStore.podspec b/PFIncrementalStore.podspec
index abc1234..def5678 100644
--- a/PFIncrementalStore.podspec
+++ b/PFIncrementalStore.podspec
@@ -0,0 +1,20 @@+Pod::Spec.new do |s|
+ s.name = "PFIncrementalStore"
+ s.version = "0.0.1"
+ s.summary = "Core Data Persistence with ... | Add Podspec for Cocoapods Support
|
diff --git a/lib/zendesk_apps_tools/locale_identifier.rb b/lib/zendesk_apps_tools/locale_identifier.rb
index abc1234..def5678 100644
--- a/lib/zendesk_apps_tools/locale_identifier.rb
+++ b/lib/zendesk_apps_tools/locale_identifier.rb
@@ -4,7 +4,7 @@
# Convert :"en-US-x-12" to 'en'
def initialize(code)
- ... | Add support for full locale
|
diff --git a/app/mailers/alert_mailer.rb b/app/mailers/alert_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/alert_mailer.rb
+++ b/app/mailers/alert_mailer.rb
@@ -7,7 +7,17 @@ count = broken_runs.count
@user, @successful_count = user, successful_count
# The ones that are broken for the longest t... | Make scrapers that have never run successfully appear at the top of the list
|
diff --git a/app/models/deleted_tweet.rb b/app/models/deleted_tweet.rb
index abc1234..def5678 100644
--- a/app/models/deleted_tweet.rb
+++ b/app/models/deleted_tweet.rb
@@ -1,24 +1,3 @@-class DeletedTweet < ActiveRecord::Base
- belongs_to :politician
-
- default_scope :order => 'modified DESC'
-
- cattr_reader :pe... | Use a different table for deleted tweets, but the same model.
|
diff --git a/app/policies/band_policy.rb b/app/policies/band_policy.rb
index abc1234..def5678 100644
--- a/app/policies/band_policy.rb
+++ b/app/policies/band_policy.rb
@@ -0,0 +1,20 @@+class BandPolicy < ApplicationPolicy
+ attr_reader :user, :band
+
+ def initialize(user, band)
+ @user = user || User.new
+ @b... | Add missing band policy file
|
diff --git a/config/initializers/carrierwave.rb b/config/initializers/carrierwave.rb
index abc1234..def5678 100644
--- a/config/initializers/carrierwave.rb
+++ b/config/initializers/carrierwave.rb
@@ -15,5 +15,7 @@ config.fog_directory = AWS_CONFIG['bucket'] # required
config.fog_public ... | Expire fog links after 34 years
|
diff --git a/config/initializers/load_resque.rb b/config/initializers/load_resque.rb
index abc1234..def5678 100644
--- a/config/initializers/load_resque.rb
+++ b/config/initializers/load_resque.rb
@@ -7,3 +7,4 @@ Dir[Rails.root.join("lib/resque/*.rb")].each {|f| require f}
Resque.redis = "#{Cartodb.config[:redis]['h... | Add resque fork metrics too
|
diff --git a/lib/automatic/client.rb b/lib/automatic/client.rb
index abc1234..def5678 100644
--- a/lib/automatic/client.rb
+++ b/lib/automatic/client.rb
@@ -1,6 +1,11 @@ require 'multi_json'
+require 'dotenv'
+Dotenv.load
+
require "automatic/client/version"
+require "automatic/client/request"
+require "automatic/cl... | Load the environment and add Error and Request libs |
diff --git a/lib/i_ching.rb b/lib/i_ching.rb
index abc1234..def5678 100644
--- a/lib/i_ching.rb
+++ b/lib/i_ching.rb
@@ -1,9 +1,13 @@ class Caster
def cast
- cast_line
+ cast_six_lines
end
private
+
+ def cast_six_lines
+ [cast_line, cast_line, cast_line, cast_line, cast_line, cast_line]
+ e... | Put some stuff in but wrong and repetitive. Also move method up.
|
diff --git a/lib/nehm/ui.rb b/lib/nehm/ui.rb
index abc1234..def5678 100644
--- a/lib/nehm/ui.rb
+++ b/lib/nehm/ui.rb
@@ -16,7 +16,7 @@ puts message.green
end
- def self.term(message)
+ def self.term(message = nil)
if message
abort message.red
else
| Add default message for UI.term
|
diff --git a/bitvector.gemspec b/bitvector.gemspec
index abc1234..def5678 100644
--- a/bitvector.gemspec
+++ b/bitvector.gemspec
@@ -9,7 +9,7 @@ spec.authors = ["Juan Azambuja"]
spec.email = ["juan@wyeworks.com"]
spec.summary = %q{Bit Vector representation and managing of integer fields.}
- ... | Add homepage url to gemspec
|
diff --git a/lib/jarvis/exec.rb b/lib/jarvis/exec.rb
index abc1234..def5678 100644
--- a/lib/jarvis/exec.rb
+++ b/lib/jarvis/exec.rb
@@ -16,6 +16,7 @@ "-",
"PATH=#{ENV["PATH"]}",
... | Include SSH_AUTH_SOCK env also for git ssh access
Fixes #58
|
diff --git a/ff.gemspec b/ff.gemspec
index abc1234..def5678 100644
--- a/ff.gemspec
+++ b/ff.gemspec
@@ -1,15 +1,14 @@ # Ensure we require the local version and not one we might have installed already
require File.join([File.dirname(__FILE__),'lib','ff','version.rb'])
-spec = Gem::Specification.new do |s|
- s.name =... | Update gemspec with project informations
|
diff --git a/lib/multi_spork.rb b/lib/multi_spork.rb
index abc1234..def5678 100644
--- a/lib/multi_spork.rb
+++ b/lib/multi_spork.rb
@@ -32,7 +32,7 @@ end
def config
- @config || Configuration.new
+ @config ||= Configuration.new
end
def configure
| [m] Correct MultiSpork.config is not keeping assigned configuration |
diff --git a/lib/rspec/nodes.rb b/lib/rspec/nodes.rb
index abc1234..def5678 100644
--- a/lib/rspec/nodes.rb
+++ b/lib/rspec/nodes.rb
@@ -48,19 +48,24 @@ end
end
- subject { node.transproc.call(immutable_input) }
+ subject(:transproc) { node.transproc }
- it do
- is_expected.to eql(output), <<-REPORT.gs... | [FEATURE] Extend `:mapping_immutable_input` shared examples to check transproc type
Now the examples include the check of whether `Node#transproc` returns
an instance of composable `Transproc::Function`, not just `Proc`.
|
diff --git a/lib/interactor/error.rb b/lib/interactor/error.rb
index abc1234..def5678 100644
--- a/lib/interactor/error.rb
+++ b/lib/interactor/error.rb
@@ -1,7 +1,28 @@ module Interactor
+ # Internal: Error raised during Interactor::Context failure. The error stores
+ # a copy of the failed context for debugging pur... | Add TomDoc documentation to the Interactor::Failure class
[ci skip]
|
diff --git a/lib/middleman-disqus.rb b/lib/middleman-disqus.rb
index abc1234..def5678 100644
--- a/lib/middleman-disqus.rb
+++ b/lib/middleman-disqus.rb
@@ -11,25 +11,25 @@
helpers do
def disqus
- if disqus_shortname
- %Q{
- <div id="disqus_thread"></div>
- <script type="text/ja... | Remove one level of indentation
|
diff --git a/lib/plezi/activation.rb b/lib/plezi/activation.rb
index abc1234..def5678 100644
--- a/lib/plezi/activation.rb
+++ b/lib/plezi/activation.rb
@@ -19,6 +19,8 @@ if ENV['PL_REDIS_URL'.freeze] && !defined?(::Redis)
puts "WARNNING: auto-scaling with redis is set using ENV['PL_REDIS_URL'.freeze... | Make sure there's a redis url before leveraging iodine workers
|
diff --git a/lib/provider/pivotal.rb b/lib/provider/pivotal.rb
index abc1234..def5678 100644
--- a/lib/provider/pivotal.rb
+++ b/lib/provider/pivotal.rb
@@ -4,12 +4,12 @@ include TaskMapper::Provider::Base
TICKET_API = PivotalAPI::Story
PROJECT_API = PivotalAPI::Project
-
+
# This is for cases wh... | Add proper exception handling for authentication verification
|
diff --git a/lib/tasks/test_lib.rake b/lib/tasks/test_lib.rake
index abc1234..def5678 100644
--- a/lib/tasks/test_lib.rake
+++ b/lib/tasks/test_lib.rake
@@ -0,0 +1,5 @@+Rails::TestTask.new('test:lib' => 'test:prepare') do |t|
+ t.pattern = 'test/lib/*_test.rb'
+end
+
+Rake::Task['test:run'].enhance ['test:lib']
| Add task to run lib tests
|
diff --git a/app/models/councillor.rb b/app/models/councillor.rb
index abc1234..def5678 100644
--- a/app/models/councillor.rb
+++ b/app/models/councillor.rb
@@ -1,3 +1,4 @@ class Councillor < ActiveRecord::Base
has_and_belongs_to_many :committees
+ has_many :motions
end
| Update Councillor Model To Use Motions
Update the councillor model to use the motions because a councillor can
create motions to be voted one.
|
diff --git a/app/models/repository.rb b/app/models/repository.rb
index abc1234..def5678 100644
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -0,0 +1,41 @@+class Repository
+ attr_accessor :raw_repository
+
+ def initialize(path_with_namespace, default_branch)
+ @raw_repository = Gitlab::Git::Rep... | Add Repository model to proxy request to Gitlab::Git::Repositoty and decorate commits with Commit model
|
diff --git a/maruku.gemspec b/maruku.gemspec
index abc1234..def5678 100644
--- a/maruku.gemspec
+++ b/maruku.gemspec
@@ -1,6 +1,9 @@+($LOAD_PATH << File.expand_path("../lib", __FILE__)).uniq!
+require "maruku/version"
+
Gem::Specification.new do |s|
s.name = 'maruku'
- s.version = '0.6.0'
+ s.version = MaRuKu::Ve... | Load gemspec version from MaRuKu::Version again
|
diff --git a/lib/dap/cli.rb b/lib/dap/cli.rb
index abc1234..def5678 100644
--- a/lib/dap/cli.rb
+++ b/lib/dap/cli.rb
@@ -9,10 +9,10 @@ puts "1. creating new threat assessment run for #{section_ids} profiles with period #{start_time} - #{end_time}"
response = connection.post do |req|
- req.url '/ap... | Update api paths to reflect change experiment->threat assessment run.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.