diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/week-6/nested_data_solution.rb b/week-6/nested_data_solution.rb
index abc1234..def5678 100644
--- a/week-6/nested_data_solution.rb
+++ b/week-6/nested_data_solution.rb
@@ -0,0 +1,83 @@+# RELEASE 2: NESTED STRUCTURE GOLF
+# Hole 1
+# Target element: "FORE"
+
+array = [[1,2], ["inner", ["eagle", "par", ["FOR... | Add completed nested data challenge with reflection.
|
diff --git a/lib/neat.rb b/lib/neat.rb
index abc1234..def5678 100644
--- a/lib/neat.rb
+++ b/lib/neat.rb
@@ -1,7 +1,4 @@+require "sass"
require "neat/generator"
-neat_path = File.expand_path("../../core", __FILE__)
-ENV["SASS_PATH"] = [
- ENV["SASS_PATH"],
- neat_path,
-].compact.join(File::PATH_SEPARATOR)
+Sass.l... | Use Sass.load_paths instead of SASS_PATH env
The SASS_PATH environment variable is not intended to be set by another
library but rather by consumers of Sass. Since the environment variable
is only read in once at the first time `load_paths` is called.
This was causing an error where, if a user had another gem such as... |
diff --git a/gemdiff.gemspec b/gemdiff.gemspec
index abc1234..def5678 100644
--- a/gemdiff.gemspec
+++ b/gemdiff.gemspec
@@ -23,7 +23,6 @@ spec.add_dependency "octokit", "~> 4.0"
spec.add_dependency "thor", "~> 0.19"
- spec.add_development_dependency "bundler", ">= 1.7"
spec.add_development_dependency "minit... | Remove bundler dependency from gemspec
|
diff --git a/log.gemspec b/log.gemspec
index abc1234..def5678 100644
--- a/log.gemspec
+++ b/log.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'log'
- s.version = '0.4.2.0'
+ s.version = '0.4.2.1'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
s... | Package version is increased from 0.4.2.0 to 0.4.2.1
|
diff --git a/app/controllers/solidus_subscriptions/api/v1/line_items_controller.rb b/app/controllers/solidus_subscriptions/api/v1/line_items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/solidus_subscriptions/api/v1/line_items_controller.rb
+++ b/app/controllers/solidus_subscriptions/api/v1/line_ite... | Update order on subscription line item removal
This could affect promotions if they are targeting line items with
associated subscription line items
|
diff --git a/core/lib/spree/core/testing_support/factories/tax_category_factory.rb b/core/lib/spree/core/testing_support/factories/tax_category_factory.rb
index abc1234..def5678 100644
--- a/core/lib/spree/core/testing_support/factories/tax_category_factory.rb
+++ b/core/lib/spree/core/testing_support/factories/tax_cat... | Fix TaxRate.zone mass-assignment in TaxCategory factory
Fixes #1817
|
diff --git a/lib/generators/wepay_rails/install/templates/wepay_checkout_record.rb b/lib/generators/wepay_rails/install/templates/wepay_checkout_record.rb
index abc1234..def5678 100644
--- a/lib/generators/wepay_rails/install/templates/wepay_checkout_record.rb
+++ b/lib/generators/wepay_rails/install/templates/wepay_ch... | Remove relationships in WepayCheckoutRecord model, as it's up to the user to customize.
|
diff --git a/spec/diffusul/version_spec.rb b/spec/diffusul/version_spec.rb
index abc1234..def5678 100644
--- a/spec/diffusul/version_spec.rb
+++ b/spec/diffusul/version_spec.rb
@@ -0,0 +1,18 @@+require 'diffusul/version'
+
+ver2next = {
+ '1' => '2',
+ 'v1' => 'v2',
+ 'v0.3.1' => 'v0.3.2',
+ 'p208-1' => 'p208-2',
+... | Write test for auto versioning
|
diff --git a/spec/lita/ext/handler_spec.rb b/spec/lita/ext/handler_spec.rb
index abc1234..def5678 100644
--- a/spec/lita/ext/handler_spec.rb
+++ b/spec/lita/ext/handler_spec.rb
@@ -0,0 +1,74 @@+require 'spec_helper'
+
+describe Lita::Handler, lita: true do
+ let(:robot) { instance_double("Lita::Robot", name: "Lita") }... | Add tests for the Lita::Handler extensions.
|
diff --git a/lib/debox_server/recipes.rb b/lib/debox_server/recipes.rb
index abc1234..def5678 100644
--- a/lib/debox_server/recipes.rb
+++ b/lib/debox_server/recipes.rb
@@ -47,7 +47,7 @@ end
def recipe_template_content
- name = File.join Config.debox_root, 'assets', RECIPE_TEMPLATE
+ name = File.jo... | Use the new dir for templates
|
diff --git a/spree_unified_payment.gemspec b/spree_unified_payment.gemspec
index abc1234..def5678 100644
--- a/spree_unified_payment.gemspec
+++ b/spree_unified_payment.gemspec
@@ -2,7 +2,7 @@ s.platform = Gem::Platform::RUBY
s.name = "spree_unified_payment"
s.version = "1.0.0"
- s.author = ["Manish... | Add missing ] in gemspec file.
|
diff --git a/lib/frecon/models/record.rb b/lib/frecon/models/record.rb
index abc1234..def5678 100644
--- a/lib/frecon/models/record.rb
+++ b/lib/frecon/models/record.rb
@@ -9,8 +9,8 @@ field :position, type: Position
belongs_to :match
- belongs_to :participation
+ belongs_to :team
- validates :position, :ma... | Revert "Record: Use participation, not team"
This reverts commit dc5d1b6f723fb129c25e7fbb201fce0052d9b85a.
No need for participations.
|
diff --git a/test/browser/features/support/env.rb b/test/browser/features/support/env.rb
index abc1234..def5678 100644
--- a/test/browser/features/support/env.rb
+++ b/test/browser/features/support/env.rb
@@ -21,15 +21,18 @@ end
Process.detach(pid)
-bs_local_start
-$driver = driver_start
-
def get_test_url path
... | Tests: Move initialization into AfterConfiguration to avoid appium overwrite
|
diff --git a/calfresh_application_writer.rb b/calfresh_application_writer.rb
index abc1234..def5678 100644
--- a/calfresh_application_writer.rb
+++ b/calfresh_application_writer.rb
@@ -1,15 +1,24 @@ require 'pdf_forms'
-class CalfreshApplicationWriter
- def initialize
- @pdftk = PdfForms.new('/usr/bin/pdftk')
- ... | Make Calfresh module and add FORM_FIELDS mapping constant
|
diff --git a/test/integration/ubuntu12_04_test.rb b/test/integration/ubuntu12_04_test.rb
index abc1234..def5678 100644
--- a/test/integration/ubuntu12_04_test.rb
+++ b/test/integration/ubuntu12_04_test.rb
@@ -0,0 +1,14 @@+require 'integration_helper'
+
+class Ubuntu12_04Test < IntegrationTest
+ def user
+ "ubuntu"
... | Add ubuntu 12.04 integration test.
|
diff --git a/lib/qb_integration/stock.rb b/lib/qb_integration/stock.rb
index abc1234..def5678 100644
--- a/lib/qb_integration/stock.rb
+++ b/lib/qb_integration/stock.rb
@@ -15,7 +15,7 @@ end
def inventories
- items.each do |inventory|
+ items.map do |inventory|
{
id: "qbs-#{inve... | Return a valid timestamp for inventory polling
|
diff --git a/lib/refinery_initializer.rb b/lib/refinery_initializer.rb
index abc1234..def5678 100644
--- a/lib/refinery_initializer.rb
+++ b/lib/refinery_initializer.rb
@@ -1,4 +1,7 @@-REFINERY_ROOT = File.join File.dirname(__FILE__), '..'
+# Get library path without '..' directories.
+dir_parts = (File.join File.dirna... | Remove any dir/.. in REFINERY_ROOT which are ugly and useless.
|
diff --git a/lib/sidekiq/grouping/web.rb b/lib/sidekiq/grouping/web.rb
index abc1234..def5678 100644
--- a/lib/sidekiq/grouping/web.rb
+++ b/lib/sidekiq/grouping/web.rb
@@ -11,11 +11,11 @@ erb File.read(File.join(VIEWS, 'index.erb')), locals: {view_path: VIEWS}
end
- app.post "/grouping/*/de... | Fix grouping delete from Sidekiq Web
|
diff --git a/lib/jmespath/nodes/subexpression.rb b/lib/jmespath/nodes/subexpression.rb
index abc1234..def5678 100644
--- a/lib/jmespath/nodes/subexpression.rb
+++ b/lib/jmespath/nodes/subexpression.rb
@@ -46,7 +46,7 @@ end
def optimize
- children = @children.dup
+ children = @children.map(&... | Optimize an extra time in Chain
Right now the children of a Chain are guaranteed to be optimized, but if it were used from somewhere else that would not hold. |
diff --git a/lib/asteroids/states/play_state.rb b/lib/asteroids/states/play_state.rb
index abc1234..def5678 100644
--- a/lib/asteroids/states/play_state.rb
+++ b/lib/asteroids/states/play_state.rb
@@ -6,6 +6,7 @@ Utils.get_image_path('background.png'), false)
@object_pool = ObjectPool.new
@ship = ... | Implement the asteroid spawning method.
|
diff --git a/db/migrate/20170225002251_create_waypoints.rb b/db/migrate/20170225002251_create_waypoints.rb
index abc1234..def5678 100644
--- a/db/migrate/20170225002251_create_waypoints.rb
+++ b/db/migrate/20170225002251_create_waypoints.rb
@@ -2,7 +2,7 @@ def change
create_table :waypoints do |t|
# t.stri... | Rename Waypoint migration column to location
|
diff --git a/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb b/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/veritas/adapter/arango/visitor/for/unary/local_name_spec.rb
+++ b/spec/unit/veritas/adapter/arango/visitor/for/unary/lo... | Kill mutation in unary FOR visitor
|
diff --git a/lib/middleman-s3_sync/extension.rb b/lib/middleman-s3_sync/extension.rb
index abc1234..def5678 100644
--- a/lib/middleman-s3_sync/extension.rb
+++ b/lib/middleman-s3_sync/extension.rb
@@ -21,7 +21,7 @@ # Define the after_build step after during configuration so
# that it's pushed to th... | Fix a typo in the @options variable.
Fixes #64.
|
diff --git a/features/support/local_env.rb b/features/support/local_env.rb
index abc1234..def5678 100644
--- a/features/support/local_env.rb
+++ b/features/support/local_env.rb
@@ -0,0 +1,54 @@+require 'coveralls'
+require 'selenium-webdriver'
+Coveralls.wear_merged!('rails')
+
+require 'pry'
+
+# Require support class... | Set up settings for cucumber
|
diff --git a/spec/features/user_creates_species_variation_observation_spec.rb b/spec/features/user_creates_species_variation_observation_spec.rb
index abc1234..def5678 100644
--- a/spec/features/user_creates_species_variation_observation_spec.rb
+++ b/spec/features/user_creates_species_variation_observation_spec.rb
@@ ... | Update test to match UI
|
diff --git a/spec/download_helper.rb b/spec/download_helper.rb
index abc1234..def5678 100644
--- a/spec/download_helper.rb
+++ b/spec/download_helper.rb
@@ -5,9 +5,11 @@ end
def wait_for_download
- sleep 1
Timeout.timeout(Capybara.default_max_wait_time) do
- sleep 1 until downloaded?
+ loop do
... | Use do...while instead of while in wait_for_download
This gives browser the time to have started a new download. Also,
FileUtils.rm can take time to have effect. Even though this time
is in millisecond level, it can sometime happen that downloaded?
returns true simply because the old file hasn't been deleted yet.
Sig... |
diff --git a/spec/helpers/servers.rb b/spec/helpers/servers.rb
index abc1234..def5678 100644
--- a/spec/helpers/servers.rb
+++ b/spec/helpers/servers.rb
@@ -3,7 +3,6 @@ ### This helper is required because servers.get(id) does not work
def get_server(connection = nil, id)
connection ||= compute_connection
- ... | Fix the helper method to get server based on id.
|
diff --git a/lib/envm/env_var.rb b/lib/envm/env_var.rb
index abc1234..def5678 100644
--- a/lib/envm/env_var.rb
+++ b/lib/envm/env_var.rb
@@ -2,24 +2,23 @@
module Envm
class EnvVar
- attr_accessor :name, :description, :default_value, :required
+ attr_accessor :name, :description, :default_value, :required_env... | Rename ivar on env var for clarity
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -14,4 +14,6 @@
recommends 'java', '~> 1.17'
-supports 'centos'
+%w(centos debian).each do |os|
+ supports os
+end
| Add debian to supported OSes
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -2,7 +2,7 @@ maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache 2.0'
-description 'Provides experimental interface to partial search API in Chef Softwa... | Clarify where this is needed in the description
|
diff --git a/spec/service_methods/miq_ae_service_classification_spec.rb b/spec/service_methods/miq_ae_service_classification_spec.rb
index abc1234..def5678 100644
--- a/spec/service_methods/miq_ae_service_classification_spec.rb
+++ b/spec/service_methods/miq_ae_service_classification_spec.rb
@@ -2,22 +2,22 @@
describ... | Automate methods can access categories and entries
https://bugzilla.redhat.com/show_bug.cgi?id=1254953
PR feedback
(transferred from ManageIQ/manageiq@06d79ecb7c45c39ae1009925199461b7f6c95b94)
|
diff --git a/que.gemspec b/que.gemspec
index abc1234..def5678 100644
--- a/que.gemspec
+++ b/que.gemspec
@@ -19,4 +19,6 @@ spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.3'
+
+ spec.add_runtime_dependency 'activesupport'
end
| Declare the gem's dependency on ActiveSupport
We now [use][1] ActiveSupport in `Que::Job`. This dependency isn't
declared in the gemspec, so it can cause projects using Que to
blow up (e.g. [que-failure][2].
This declares the dependency on `activesupport`. I haven't
specified a specific version because the method cal... |
diff --git a/app/presenters/home_page_presenter.rb b/app/presenters/home_page_presenter.rb
index abc1234..def5678 100644
--- a/app/presenters/home_page_presenter.rb
+++ b/app/presenters/home_page_presenter.rb
@@ -1,3 +1,4 @@+#= Presenter for main page / cohort view
class HomePagePresenter
attr_reader :current_user,... | Fix logic for loading a user's active courses on the home page
|
diff --git a/spec/controllers/ontology_search_controller_spec.rb b/spec/controllers/ontology_search_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/ontology_search_controller_spec.rb
+++ b/spec/controllers/ontology_search_controller_spec.rb
@@ -0,0 +1,25 @@+require 'spec_helper'
+
+describe Onto... | Add ontology search controller spec
|
diff --git a/spec/mailers/timeslot_mailer_spec.rb b/spec/mailers/timeslot_mailer_spec.rb
index abc1234..def5678 100644
--- a/spec/mailers/timeslot_mailer_spec.rb
+++ b/spec/mailers/timeslot_mailer_spec.rb
@@ -25,4 +25,28 @@
end
+ describe "tutor_cancel" do
+ let!(:timeslot) { FactoryGirl.create(:booked_timesl... | Add spec for timeslot mailer cancellation methods
Add specs to verify the proper issuance of email notifications to
student and tutor that a session has been canceled.
|
diff --git a/data-aggregation-index.gemspec b/data-aggregation-index.gemspec
index abc1234..def5678 100644
--- a/data-aggregation-index.gemspec
+++ b/data-aggregation-index.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'data_aggregation-index'
- s.version = '0.0.0.1'
+ s... | Package version is increased from 0.0.0.1 to 0.1.0.0
|
diff --git a/absinthe.gemspec b/absinthe.gemspec
index abc1234..def5678 100644
--- a/absinthe.gemspec
+++ b/absinthe.gemspec
@@ -1,12 +1,13 @@ Gem::Specification.new do |s|
- s.name = 'absinthe'
- s.version = '0.0.1'
- s.platform = Gem::Platform::RUBY
- s.license = 'bsd'
- s.summary = "Absint... | Correct file listing in gemspec.
|
diff --git a/lib/stripe_event.rb b/lib/stripe_event.rb
index abc1234..def5678 100644
--- a/lib/stripe_event.rb
+++ b/lib/stripe_event.rb
@@ -50,7 +50,8 @@ end
end
- class UnauthorizedError < StandardError; end
+ class StripeEvent::Error < StandardError; end
+ class StripeEvent::UnauthorizedError < StripeEve... | Add base error class for all specific error classes to inherit from
|
diff --git a/hermann.gemspec b/hermann.gemspec
index abc1234..def5678 100644
--- a/hermann.gemspec
+++ b/hermann.gemspec
@@ -16,6 +16,7 @@ s.require_paths = ["lib", "ext"]
s.rubygems_version = %q{2.2.2}
s.summary = %q{The Kafka consumer is based on the librdkafka C library.}
+ s.licenses = ['MIT']
s.platf... | Add MIT license to Gemspec.
|
diff --git a/tepco_usage_api.gemspec b/tepco_usage_api.gemspec
index abc1234..def5678 100644
--- a/tepco_usage_api.gemspec
+++ b/tepco_usage_api.gemspec
@@ -18,5 +18,7 @@ lib/**/*.rb
spec/**/*
]]
+ spec.add_dependency('nokogiri', '>= 1.4.0')
+ spec.add_development_dependency('rspec')
end
| Define depencencies of this gem.
|
diff --git a/NSDateComponents-HNExtensions.podspec b/NSDateComponents-HNExtensions.podspec
index abc1234..def5678 100644
--- a/NSDateComponents-HNExtensions.podspec
+++ b/NSDateComponents-HNExtensions.podspec
@@ -12,4 +12,6 @@
s.source_files = 'NSDateComponents+HNExtensions.{h,m}'
s.resources = 'Localizations/*... | Make sure requires_arc is set to true |
diff --git a/jobs/summary.rb b/jobs/summary.rb
index abc1234..def5678 100644
--- a/jobs/summary.rb
+++ b/jobs/summary.rb
@@ -5,6 +5,6 @@
send_event('total-donated', { current: summary["total_donated"] })
send_event('procedures', { current: summary["procedures"] })
- send_event('checkouts', { current: summary["c... | Fix check out data feed
|
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -21,7 +21,8 @@ .select_append(:projects__name)
page = params[:page] ? params[:page].to_i : 1
... | Increase total results per page
|
diff --git a/app/helpers/admin/injection_helper.rb b/app/helpers/admin/injection_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin/injection_helper.rb
+++ b/app/helpers/admin/injection_helper.rb
@@ -6,6 +6,10 @@
def admin_inject_payment_methods
admin_inject_json_ams_array "admin.payment_metho... | Add shipping method injection helper using id name serializer
|
diff --git a/app/models/ontology_version/states.rb b/app/models/ontology_version/states.rb
index abc1234..def5678 100644
--- a/app/models/ontology_version/states.rb
+++ b/app/models/ontology_version/states.rb
@@ -38,13 +38,8 @@ protected
def after_update_state
- ontology.state = state
-
- # unset logic_i... | Revert "unset ontology_id on setting state to failed"
This reverts commit 57eba7322d74ad38e54791f9a5aea29562bf2684.
|
diff --git a/templates/project/manifest.rb b/templates/project/manifest.rb
index abc1234..def5678 100644
--- a/templates/project/manifest.rb
+++ b/templates/project/manifest.rb
@@ -13,6 +13,6 @@ end
# Javascripts
-%w(alert button carousel collapse dropdown modal popover scrollspy tab tooltip transition typeahead).ea... | Add `affix` to the list of Javascripts
|
diff --git a/features/step_definitions/base.rb b/features/step_definitions/base.rb
index abc1234..def5678 100644
--- a/features/step_definitions/base.rb
+++ b/features/step_definitions/base.rb
@@ -17,6 +17,6 @@ Given /^(?:a )?local docker image (.*)$/ do |img_name|
steps %Q{
Given I successfully run `docker pul... | tests: Fix compatibility with Docker > 1.9.1
switch -f of docker tag was dropped in newer versions.
Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
|
diff --git a/jquery-colorbox-rails.gemspec b/jquery-colorbox-rails.gemspec
index abc1234..def5678 100644
--- a/jquery-colorbox-rails.gemspec
+++ b/jquery-colorbox-rails.gemspec
@@ -15,5 +15,5 @@ s.files = Dir["{vendor,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "Gemfile", "README.md"]
s.require_paths = ["lib"]
- ... | Fix rails dependency in gemspec
|
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
@@ -15,6 +15,7 @@ # If you'd prefer to use XPath, just uncomment this line and adjust any
# selectors in your step definitions to use the XPath syntax.
# Capybara.de... | Increase Capybara default wait time
|
diff --git a/Formula/sshfs.rb b/Formula/sshfs.rb
index abc1234..def5678 100644
--- a/Formula/sshfs.rb
+++ b/Formula/sshfs.rb
@@ -12,7 +12,9 @@
def install
ENV['ACLOCAL'] = "/usr/bin/aclocal -I/usr/share/aclocal -I#{HOMEBREW_PREFIX}/share/aclocal"
- system "autoreconf", "--force", "--install"
+ ENV['AUTOC... | SSHFS: Use paths to OS X supplied autotools
|
diff --git a/jently.rb b/jently.rb
index abc1234..def5678 100644
--- a/jently.rb
+++ b/jently.rb
@@ -1,17 +1,23 @@-require './lib/git.rb'
-require './lib/core.rb'
-require './lib/github.rb'
-require './lib/jenkins.rb'
-require './lib/helpers/logger.rb'
-require './lib/helpers/repository.rb'
-require './lib/helpers/conf... | Modify the load path to include lib/ to simplify requires
|
diff --git a/lib/specinfra/command/debian/base/service.rb b/lib/specinfra/command/debian/base/service.rb
index abc1234..def5678 100644
--- a/lib/specinfra/command/debian/base/service.rb
+++ b/lib/specinfra/command/debian/base/service.rb
@@ -2,7 +2,7 @@ class << self
def check_is_enabled(service, level=3)
... | Modify regex to skip commented 'start on' statements
Chef comments the 'start on' line when disabling upstart services
|
diff --git a/bench/publish.rb b/bench/publish.rb
index abc1234..def5678 100644
--- a/bench/publish.rb
+++ b/bench/publish.rb
@@ -0,0 +1,90 @@+# /usr/bin/env ruby
+
+require ::File.expand_path('../../config/environment', __FILE__)
+require 'benchmark'
+require 'securerandom'
+
+require 'faker'
+require 'stackprof'
+
+ab... | Add benchmark for Publish command
Creates 100 different draft content items, publishes them, then
supersedes them with new drafts.
|
diff --git a/contao.gemspec b/contao.gemspec
index abc1234..def5678 100644
--- a/contao.gemspec
+++ b/contao.gemspec
@@ -16,8 +16,10 @@ gem.version = Contao::VERSION
# Runtime dependencies
- gem.add_dependency "compass"
+ gem.add_dependency 'compass'
+ gem.add_dependency 'oily_png'
+ gem.add_dependency... | Add more dependencies that will be used in the first part of this project
|
diff --git a/files/private-chef-ctl-commands/chef12_upgrade_download.rb b/files/private-chef-ctl-commands/chef12_upgrade_download.rb
index abc1234..def5678 100644
--- a/files/private-chef-ctl-commands/chef12_upgrade_download.rb
+++ b/files/private-chef-ctl-commands/chef12_upgrade_download.rb
@@ -0,0 +1,61 @@+#
+# Copyr... | Add a ctl command for just the chef12 upgrade download step.
This will download the data from a Chef 11 OSC server and save it
to disk so it can be manipulated if needed.
|
diff --git a/lib/common_event_formatter.rb b/lib/common_event_formatter.rb
index abc1234..def5678 100644
--- a/lib/common_event_formatter.rb
+++ b/lib/common_event_formatter.rb
@@ -2,14 +2,14 @@ require "json"
class CommonEventFormatter < Logger::Formatter
- VERSION = "0.1.3"
+ VERSION = "0.1.4"
def call(seve... | Make the message boundary be \r\n, 0.1.4
Seems to follow with popular json streaming(ie, twitter) uses
|
diff --git a/geos-extensions.gemspec b/geos-extensions.gemspec
index abc1234..def5678 100644
--- a/geos-extensions.gemspec
+++ b/geos-extensions.gemspec
@@ -20,7 +20,7 @@ s.homepage = "http://github.com/zoocasa/geos-extensions"
s.require_paths = ["lib"]
- s.add_dependency("ffi-geos", ["~> 0.0.4"])
+ s.add_depe... | Bump the ffi-geos version requirement to "~> 0.1".
|
diff --git a/lib/power.rb b/lib/power.rb
index abc1234..def5678 100644
--- a/lib/power.rb
+++ b/lib/power.rb
@@ -5,7 +5,7 @@
class Power
- @attempts = 1..7
+ MaxAttempts = 7
def self.find(n)
find_all(n).first
@@ -13,7 +13,7 @@
def self.find_all(n)
power_sets = [[1]]
- @attempts.each do
+ ... | Replace range @attempts with integer MaxAttempts
|
diff --git a/app/models/manageiq/providers/inventory/persister/builder/physical_infra_manager.rb b/app/models/manageiq/providers/inventory/persister/builder/physical_infra_manager.rb
index abc1234..def5678 100644
--- a/app/models/manageiq/providers/inventory/persister/builder/physical_infra_manager.rb
+++ b/app/models/... | Add physical chassis details builder
|
diff --git a/lib/generators/flexi/auth/templates/sessions_controller.rb b/lib/generators/flexi/auth/templates/sessions_controller.rb
index abc1234..def5678 100644
--- a/lib/generators/flexi/auth/templates/sessions_controller.rb
+++ b/lib/generators/flexi/auth/templates/sessions_controller.rb
@@ -20,7 +20,7 @@ end
... | Fix undefined method 'destroy' for user session
|
diff --git a/business.gemspec b/business.gemspec
index abc1234..def5678 100644
--- a/business.gemspec
+++ b/business.gemspec
@@ -23,5 +23,5 @@ spec.add_development_dependency "gc_ruboconfig", "~> 2.19.0"
spec.add_development_dependency "rspec", "~> 3.1"
spec.add_development_dependency "rspec_junit_formatter", "... | Update rubocop requirement from ~> 0.90.0 to ~> 0.91.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/sweep.rb b/lib/sweep.rb
index abc1234..def5678 100644
--- a/lib/sweep.rb
+++ b/lib/sweep.rb
@@ -3,16 +3,6 @@ APP_NAME = 'sweep'
VERSION = '0.0.0'
COPYRIGHT = "(C) Andrew Benson and contributors 2013"
- Config = {
- :HostInterval => 10,
- :PortInterval => 5,
- :AliveScanners => 10,
- :TCPScan... | Remove old Config variable. Superceded by Config class.
|
diff --git a/chefspec.gemspec b/chefspec.gemspec
index abc1234..def5678 100644
--- a/chefspec.gemspec
+++ b/chefspec.gemspec
@@ -25,6 +25,6 @@
s.add_dependency 'chef', '>= 14'
s.add_dependency 'chef-cli'
- s.add_dependency 'fauxhai', '>= 6.11'
+ s.add_dependency 'fauxhai-ng', '>= 6.11'
s.add_dependency '... | Switch from fauxhai to fauxhai-ng
We've lost access to the fauxhai gem even though the source is
controlled by the chefspec org. The gem has been renamed to fauxhai-ng
so we can continue to release updates for use in chefspec.
Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>
|
diff --git a/lib/action_mailer_config/rails.rb b/lib/action_mailer_config/rails.rb
index abc1234..def5678 100644
--- a/lib/action_mailer_config/rails.rb
+++ b/lib/action_mailer_config/rails.rb
@@ -2,7 +2,19 @@ require "yaml"
path = "#{Rails.root}/config/mail.yml"
-raise "Could not found ActionMailer config file: #{p... | Fix typo / Ignore config missing
|
diff --git a/lib/active_fulfillment/service.rb b/lib/active_fulfillment/service.rb
index abc1234..def5678 100644
--- a/lib/active_fulfillment/service.rb
+++ b/lib/active_fulfillment/service.rb
@@ -4,7 +4,7 @@ include ActiveUtils::RequiresParameters
include ActiveUtils::PostsData
- cattr_accessor :logger
+... | Use class_attribute instead of cattr_accessor
|
diff --git a/test/bmff/box/test_free_space.rb b/test/bmff/box/test_free_space.rb
index abc1234..def5678 100644
--- a/test/bmff/box/test_free_space.rb
+++ b/test/bmff/box/test_free_space.rb
@@ -0,0 +1,42 @@+# coding: utf-8
+# vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
+
+require_relative '../../... | Add a test file for BMFF::Box::FreeSpace.
|
diff --git a/test/formatter_heuristic_test.rb b/test/formatter_heuristic_test.rb
index abc1234..def5678 100644
--- a/test/formatter_heuristic_test.rb
+++ b/test/formatter_heuristic_test.rb
@@ -0,0 +1,71 @@+require 'test/unit'
+require 'rcov-cobertura'
+require 'tmpdir'
+
+class FormatterHeuristicTest < Test::Unit::Test... | Add another test for special cases.
|
diff --git a/mail.gemspec b/mail.gemspec
index abc1234..def5678 100644
--- a/mail.gemspec
+++ b/mail.gemspec
@@ -11,7 +11,7 @@
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
- s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "TODO.rdoc"]
+ s.extra_rdoc_files = ["README.mkd", "CHANGELOG.rdoc", "TODO.r... | Add another missing reference to the gemspec
|
diff --git a/closed_issues.rb b/closed_issues.rb
index abc1234..def5678 100644
--- a/closed_issues.rb
+++ b/closed_issues.rb
@@ -1,9 +1,13 @@-MILESTONE = 47
-# subtract 6 from actual Sprint milestone number for the ManageIQ/manageiq repo
ACCESS_TOKEN = "your github access token"
+MILESTONE = "Sprint 58 Ending Apr 1... | Use title for Milestone lookup
|
diff --git a/Casks/dropletsmanager.rb b/Casks/dropletsmanager.rb
index abc1234..def5678 100644
--- a/Casks/dropletsmanager.rb
+++ b/Casks/dropletsmanager.rb
@@ -0,0 +1,7 @@+class Dropletsmanager < Cask
+ url 'https://dl.dropboxusercontent.com/u/115750/files/DropletsManager0.1.zip'
+ homepage 'https://github.com/deivu... | Add DigitalOcean Droplets Manager 0.1
|
diff --git a/lib/pry/default_commands/input.rb b/lib/pry/default_commands/input.rb
index abc1234..def5678 100644
--- a/lib/pry/default_commands/input.rb
+++ b/lib/pry/default_commands/input.rb
@@ -9,28 +9,29 @@ end
command "hist", "Show and replay Readline history. Type `hist --help` for more info." do |... | Clean up the "hist" command.
|
diff --git a/app/controllers/teachers/progress_reports/standards/classroom_students_controller.rb b/app/controllers/teachers/progress_reports/standards/classroom_students_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/teachers/progress_reports/standards/classroom_students_controller.rb
+++ b/app/cont... | Return 401 unless this teacher has access to this classroom
|
diff --git a/config/deploy.rb b/config/deploy.rb
index abc1234..def5678 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,5 +1,5 @@ # config valid only for current version of Capistrano
-lock "3.10.1"
+lock "3.10.2"
set :application, "gallery"
@@ -21,4 +21,4 @@ set :sidekiq_pid, File.join(shared_path, 'tm... | Increase Capistrano version in config file
|
diff --git a/library/net/http/http/get_spec.rb b/library/net/http/http/get_spec.rb
index abc1234..def5678 100644
--- a/library/net/http/http/get_spec.rb
+++ b/library/net/http/http/get_spec.rb
@@ -2,7 +2,7 @@ require 'net/http'
require_relative 'fixtures/http_server'
-describe "Net::HTTP.get when passed URI" do
+des... | Fix spec description for Net::HTTP.get
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -13,9 +13,9 @@ resource :user
# Authentication
- get 'login' => 'sessions#new'
- post 'login' => 'sessions#create'
- post 'logout' => 'sessions#destroy'
+ get 'login', to: 'sessions... | Use new route definition style
|
diff --git a/lib/arel/engines/sql/engine.rb b/lib/arel/engines/sql/engine.rb
index abc1234..def5678 100644
--- a/lib/arel/engines/sql/engine.rb
+++ b/lib/arel/engines/sql/engine.rb
@@ -26,12 +26,13 @@
module CRUD
def create(relation)
- attribute = [*relation.record].map do |attr, value|
- ... | Refactor thethe wayy to obtain primary key value.
|
diff --git a/lib/comptroller/claim_error.rb b/lib/comptroller/claim_error.rb
index abc1234..def5678 100644
--- a/lib/comptroller/claim_error.rb
+++ b/lib/comptroller/claim_error.rb
@@ -3,6 +3,7 @@ include Her::Model
use_api BILLING_API
collection_path '/duxware_errors'
+ include_root_in_json true
... | Include root in json for claim errors |
diff --git a/business.gemspec b/business.gemspec
index abc1234..def5678 100644
--- a/business.gemspec
+++ b/business.gemspec
@@ -20,7 +20,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency "gc_ruboconfig", "~> 2.18.0"
+ spec.add_... | Update gc_ruboconfig requirement from ~> 2.18.0 to ~> 2.19.0
Updates the requirements on [gc_ruboconfig](https://github.com/gocardless/ruboconfig) to permit the latest version.
- [Release notes](https://github.com/gocardless/ruboconfig/releases)
- [Changelog](https://github.com/gocardless/gc_ruboconfig/blob/master/CHA... |
diff --git a/lib/generators/spina_projects/templates/create_spina_projects_table.rb b/lib/generators/spina_projects/templates/create_spina_projects_table.rb
index abc1234..def5678 100644
--- a/lib/generators/spina_projects/templates/create_spina_projects_table.rb
+++ b/lib/generators/spina_projects/templates/create_spi... | Change association type to integer
|
diff --git a/spec/models/event_registration_spec.rb b/spec/models/event_registration_spec.rb
index abc1234..def5678 100644
--- a/spec/models/event_registration_spec.rb
+++ b/spec/models/event_registration_spec.rb
@@ -5,15 +5,19 @@ let(:event) { create(:event) }
let(:reg) { create(:event_registration, event: event,... | Rewrite EventRegistration model spec because of bug in shoulda_matchers
|
diff --git a/spec/models/idp_sso_descriptor_spec.rb b/spec/models/idp_sso_descriptor_spec.rb
index abc1234..def5678 100644
--- a/spec/models/idp_sso_descriptor_spec.rb
+++ b/spec/models/idp_sso_descriptor_spec.rb
@@ -4,6 +4,11 @@ context 'extends sso_descriptor' do
it { is_expected.to validate_presence :want_aut... | Increase coverage of IDPSSODescriptor to 100%
|
diff --git a/ALCameraViewController.podspec b/ALCameraViewController.podspec
index abc1234..def5678 100644
--- a/ALCameraViewController.podspec
+++ b/ALCameraViewController.podspec
@@ -10,4 +10,5 @@ spec.resources = ["ALCameraViewController/ViewController/ConfirmViewController.xib", "ALCameraViewController/C... | Add swift 4 config to podspec
|
diff --git a/the_bullet-generator.gemspec b/the_bullet-generator.gemspec
index abc1234..def5678 100644
--- a/the_bullet-generator.gemspec
+++ b/the_bullet-generator.gemspec
@@ -21,6 +21,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
+ spec.add_runtime_... | Add railties as runtime dependency
|
diff --git a/methane.gemspec b/methane.gemspec
index abc1234..def5678 100644
--- a/methane.gemspec
+++ b/methane.gemspec
@@ -17,6 +17,9 @@
gem.add_dependency('slop')
gem.add_dependency('qtbindings')
+ gem.add_dependency('tinder')
+ gem.add_dependency('faye')
+ gem.add_dependency('thin')
gem.add_developme... | Add tinder and faye with thin. |
diff --git a/dir_manager.rb b/dir_manager.rb
index abc1234..def5678 100644
--- a/dir_manager.rb
+++ b/dir_manager.rb
@@ -0,0 +1,49 @@+class Middleman::Extensions::DirManager < Middleman::Extension
+ register :dir_manager
+ option :remap_resources, [
+ {
+ new_dir: "/spec/fixtures/blog",
+ old_dir: "blog"... | Add start of extension to remap a source directory to a test directory
|
diff --git a/tasks/rspec.rake b/tasks/rspec.rake
index abc1234..def5678 100644
--- a/tasks/rspec.rake
+++ b/tasks/rspec.rake
@@ -11,8 +11,8 @@ desc "Spec ROXML under the #{parser} parser"
Spec::Rake::SpecTask.new(parser) do |spec|
spec.libs << 'lib' << 'spec' << 'examples'
- spec.spec_opts = ['--op... | Fix up specs so they actually run on a parser-specific basis |
diff --git a/lib/metacrunch/mab2/builder.rb b/lib/metacrunch/mab2/builder.rb
index abc1234..def5678 100644
--- a/lib/metacrunch/mab2/builder.rb
+++ b/lib/metacrunch/mab2/builder.rb
@@ -8,7 +8,8 @@
def self.build(&block)
builder = new
- builder.instance_eval(&block)
+ document = builder.in... | Make sure to return a MAB document.
|
diff --git a/db/data_migration/20171102132014_remove_and_redirect_cts_group.rb b/db/data_migration/20171102132014_remove_and_redirect_cts_group.rb
index abc1234..def5678 100644
--- a/db/data_migration/20171102132014_remove_and_redirect_cts_group.rb
+++ b/db/data_migration/20171102132014_remove_and_redirect_cts_group.rb... | Delete CTS group and redirect to new location
|
diff --git a/db/migrate/20110805014415_remove_improperly_embedded_yaml_data.rb b/db/migrate/20110805014415_remove_improperly_embedded_yaml_data.rb
index abc1234..def5678 100644
--- a/db/migrate/20110805014415_remove_improperly_embedded_yaml_data.rb
+++ b/db/migrate/20110805014415_remove_improperly_embedded_yaml_data.rb... | Add migration to clean up malformed requirements fields from yaml/syck issues.
|
diff --git a/lib/lita/commands/ack_mine.rb b/lib/lita/commands/ack_mine.rb
index abc1234..def5678 100644
--- a/lib/lita/commands/ack_mine.rb
+++ b/lib/lita/commands/ack_mine.rb
@@ -18,7 +18,7 @@
def query_params
{
- 'statuses' => %w[triggered acknowledged],
+ statuses: %w[triggered acknowledg... | Use symbols for hash keys
Co-Authored-By: biggless <ae34a294a903d5c7066aa7b722e7c82ef3b40e56@gmail.com> |
diff --git a/lib/quotes/gateways/backend.rb b/lib/quotes/gateways/backend.rb
index abc1234..def5678 100644
--- a/lib/quotes/gateways/backend.rb
+++ b/lib/quotes/gateways/backend.rb
@@ -14,9 +14,9 @@
def retrieve_database
if ENV['test']
- database = Sequel.connect('sqlite://quotes-test.db')
+ ... | Use absolute path for development db
|
diff --git a/ncsa-parser.gemspec b/ncsa-parser.gemspec
index abc1234..def5678 100644
--- a/ncsa-parser.gemspec
+++ b/ncsa-parser.gemspec
@@ -11,6 +11,7 @@ s.description = "A simple NCSA-style log file parser."
s.summary = s.description
s.email = "dark.panda@gmail.com"
+ s.license = "MIT"
s.extra_rdoc_files ... | Add license details to gemspec.
|
diff --git a/lib/ravelin/pre_transaction.rb b/lib/ravelin/pre_transaction.rb
index abc1234..def5678 100644
--- a/lib/ravelin/pre_transaction.rb
+++ b/lib/ravelin/pre_transaction.rb
@@ -6,6 +6,8 @@ :debit,
:credit,
:gateway,
+ :type,
+ :time,
:custom
attr_required :transaction... | Add missing fields to Pretransaction Object
type and time are valid pretransition attributes
as can be seen on Ravelin API docs
https://developer.ravelin.com/#post-/v2/pretransaction
|
diff --git a/lib/pakyow/commands/server.rb b/lib/pakyow/commands/server.rb
index abc1234..def5678 100644
--- a/lib/pakyow/commands/server.rb
+++ b/lib/pakyow/commands/server.rb
@@ -3,7 +3,7 @@ class Server
attr_reader :environment, :port
- def initialize(environment: :development, port:)
+ def in... | Fix sneaky ruby 2.0 incompatibility
* Ruby 2.0 doesn't support required kwargs. This wasn't caught
previously because the file was not being loaded. This reinforces the
need for #130.
|
diff --git a/app/services/accountancy/condition_builder/journal_condition_builder.rb b/app/services/accountancy/condition_builder/journal_condition_builder.rb
index abc1234..def5678 100644
--- a/app/services/accountancy/condition_builder/journal_condition_builder.rb
+++ b/app/services/accountancy/condition_builder/jour... | Fix missing colon un journal condition builder
|
diff --git a/lib/sync_issues/comparison.rb b/lib/sync_issues/comparison.rb
index abc1234..def5678 100644
--- a/lib/sync_issues/comparison.rb
+++ b/lib/sync_issues/comparison.rb
@@ -11,7 +11,7 @@ @content = github_issue.body
@sync_assignee = sync_assignee
@title = github_issue.title
- compare(is... | Resolve rubocop warnings in comparision.rb.
|
diff --git a/lib/tasks/gitlab/uploads.rake b/lib/tasks/gitlab/uploads.rake
index abc1234..def5678 100644
--- a/lib/tasks/gitlab/uploads.rake
+++ b/lib/tasks/gitlab/uploads.rake
@@ -0,0 +1,44 @@+namespace :gitlab do
+ namespace :uploads do
+ desc 'GitLab | Uploads | Check integrity of uploaded files'
+ task check... | Add rake task to check integrity of uploaded files
|
diff --git a/lib/tasks/keyword_search.rake b/lib/tasks/keyword_search.rake
index abc1234..def5678 100644
--- a/lib/tasks/keyword_search.rake
+++ b/lib/tasks/keyword_search.rake
@@ -10,7 +10,7 @@ KeywordSearchIndex.delete_all
Rails.application.config.transam_keyword_searchable_classes.each do |klass|
... | Use batches when processing keyword index
|
diff --git a/app/reports/integrity_check.rb b/app/reports/integrity_check.rb
index abc1234..def5678 100644
--- a/app/reports/integrity_check.rb
+++ b/app/reports/integrity_check.rb
@@ -26,6 +26,7 @@ StudentAssessment.find_each(&:save!)
Educator.find_each(&:save!)
Student.find_each(&:save!)
+ StudentSch... | Add StudentSchoolYears to data integrity check
+ #264
|
diff --git a/app/services/list_bookmarks.rb b/app/services/list_bookmarks.rb
index abc1234..def5678 100644
--- a/app/services/list_bookmarks.rb
+++ b/app/services/list_bookmarks.rb
@@ -1,4 +1,12 @@+##
+# This class allows users to list all of their bookmarks. It consists of a
+# single method that retrieves an array of... | Add docs for ListBookmarks service.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.