diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/libraries/prometheus_spec.rb b/spec/libraries/prometheus_spec.rb
index abc1234..def5678 100644
--- a/spec/libraries/prometheus_spec.rb
+++ b/spec/libraries/prometheus_spec.rb
@@ -2,7 +2,7 @@
describe Prometheus do
it 'should return a list of known services' do
- expect(Prometheus.services).to ... | Fix array order handling in prometheus spec
|
diff --git a/app/controllers/requests_controller.rb b/app/controllers/requests_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/requests_controller.rb
+++ b/app/controllers/requests_controller.rb
@@ -1,6 +1,4 @@ class RequestsController < UserActionsController
- before_action :require_login
-
def i... | Remove logged_in requirements from the Requests Controller.
These requirements are now handled by the User Actions controller.
|
diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/services_controller.rb
+++ b/app/controllers/services_controller.rb
@@ -1,7 +1,6 @@ # frozen_string_literal: true
class ServicesController < ApplicationController
- skip_b... | Remove token validation skip in ServicesController
|
diff --git a/recipes/install_plugins.rb b/recipes/install_plugins.rb
index abc1234..def5678 100644
--- a/recipes/install_plugins.rb
+++ b/recipes/install_plugins.rb
@@ -21,6 +21,7 @@ vagrant_plugin plugin['name'] do
user node['vagrant']['user']
version plugin['version']
+ source plugin['source']... | Support installing plugin from custom source |
diff --git a/app/models/species/documents_export.rb b/app/models/species/documents_export.rb
index abc1234..def5678 100644
--- a/app/models/species/documents_export.rb
+++ b/app/models/species/documents_export.rb
@@ -31,9 +31,7 @@ :proposal_outcome,
:review_phase,
:taxon_names,
- :taxon_concept... | Remove obsolete taxon_concept and geo_entity ids from export
|
diff --git a/app/queries/user_last_answers_query.rb b/app/queries/user_last_answers_query.rb
index abc1234..def5678 100644
--- a/app/queries/user_last_answers_query.rb
+++ b/app/queries/user_last_answers_query.rb
@@ -8,6 +8,6 @@ def call
Answer.where(user: @user)
.order(created_at: :desc)
- .last(ANS... | Fix query of user recent answers
|
diff --git a/lib/versions.rb b/lib/versions.rb
index abc1234..def5678 100644
--- a/lib/versions.rb
+++ b/lib/versions.rb
@@ -9,7 +9,9 @@ module Helpers
def current_version
- @current_version = JSON.parse(open('https://raw.githubusercontent.com/emberjs/guides.emberjs.com/master/snapshots/versions.json').re... | Fix linking to incorrect version of quick start guide
|
diff --git a/test/test-remote.rb b/test/test-remote.rb
index abc1234..def5678 100644
--- a/test/test-remote.rb
+++ b/test/test-remote.rb
@@ -0,0 +1,14 @@+#!/usr/bin/env ruby
+require 'test/unit'
+require 'socket'
+
+# Test Debugger.start_remote, Debugger.cmd_port and Debugger.ctrl_port
+class TestRemote < Test::Unit::T... | Add unit tests for Debugger.ctrl_port/cmd_port.
|
diff --git a/rspec-power_assert.gemspec b/rspec-power_assert.gemspec
index abc1234..def5678 100644
--- a/rspec-power_assert.gemspec
+++ b/rspec-power_assert.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_runtime_dependency "powe... | Add version constraint for power_assert API changes
|
diff --git a/validates_email_format_of.gemspec b/validates_email_format_of.gemspec
index abc1234..def5678 100644
--- a/validates_email_format_of.gemspec
+++ b/validates_email_format_of.gemspec
@@ -1,13 +1,11 @@-require 'rake'
-
spec = Gem::Specification.new do |s|
s.name = 'validates_email_format_of'
s.version =... | Fix RVM/Bundler/Capistrano errors by not requiring rake from gemspec.
Use Dir[] instead of Rake FileList[].
Before I made this change, I got errors like
** [out :: example.com] There was a LoadError while evaluating
validates_email_format_of.gemspec:
** [out :: example.com] no such file to load -- rake ... |
diff --git a/spec/unit/veritas/relation/keys/class_methods/new_spec.rb b/spec/unit/veritas/relation/keys/class_methods/new_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/veritas/relation/keys/class_methods/new_spec.rb
+++ b/spec/unit/veritas/relation/keys/class_methods/new_spec.rb
@@ -23,6 +23,11 @@ it { sho... | Fix Keys.new spec to kill mutation
|
diff --git a/YapImageManager.podspec b/YapImageManager.podspec
index abc1234..def5678 100644
--- a/YapImageManager.podspec
+++ b/YapImageManager.podspec
@@ -8,6 +8,7 @@ s.source = { :git => 'git@github.com:yapstudios/YapImageManager.git' }
s.ios.deployment_target = '9.0'
+ s.tvos.deployment_target = '10.0... | Update podspec to include tvOS
|
diff --git a/db/migrate/20161018052944_create_shifts.rb b/db/migrate/20161018052944_create_shifts.rb
index abc1234..def5678 100644
--- a/db/migrate/20161018052944_create_shifts.rb
+++ b/db/migrate/20161018052944_create_shifts.rb
@@ -2,7 +2,7 @@ def change
create_table :shifts do |t|
t.integer :start_milea... | Change end mileage in shift model to integer
|
diff --git a/lib/miniphonic/response.rb b/lib/miniphonic/response.rb
index abc1234..def5678 100644
--- a/lib/miniphonic/response.rb
+++ b/lib/miniphonic/response.rb
@@ -4,20 +4,14 @@ module Miniphonic
class Response
extend Forwardable
- attr_reader :response
+ attr_reader :response, :body, :data
d... | Refactor Response to actually work
|
diff --git a/lib/browserify_pipeline/transformer/babel.rb b/lib/browserify_pipeline/transformer/babel.rb
index abc1234..def5678 100644
--- a/lib/browserify_pipeline/transformer/babel.rb
+++ b/lib/browserify_pipeline/transformer/babel.rb
@@ -5,7 +5,7 @@ class Babel < Base
def initialize(command_line_options... | Use correct command for Babel.
|
diff --git a/lib/tasks/application.rake b/lib/tasks/application.rake
index abc1234..def5678 100644
--- a/lib/tasks/application.rake
+++ b/lib/tasks/application.rake
@@ -10,8 +10,3 @@ CampaignFinisherWorker.perform_async(project.id)
end
end
-
-desc 'Move to deleted state all contributions that are in pending for... | Remove unnecessary rake task move_pending_contributions_to_trash
|
diff --git a/lib/withings-api/tokens.rb b/lib/withings-api/tokens.rb
index abc1234..def5678 100644
--- a/lib/withings-api/tokens.rb
+++ b/lib/withings-api/tokens.rb
@@ -18,6 +18,10 @@ end
end
+ def to_a
+ [key, secret]
+ end
+
end
class RequestToken < ConsumerToken
| Update create_request_token to take either [key,secret,url] or [token obj, url]
|
diff --git a/tasks/parallel_tests.rake b/tasks/parallel_tests.rake
index abc1234..def5678 100644
--- a/tasks/parallel_tests.rake
+++ b/tasks/parallel_tests.rake
@@ -2,14 +2,14 @@ require_relative "application_generator"
desc "Run the full suite using parallel_tests to run on multiple cores"
-task parallel_tests: ['p... | Move parallel setup out of the parallel namespace
For consistency with the regular test tasks.
|
diff --git a/spec/ruby/library/drb/stop_service_spec.rb b/spec/ruby/library/drb/stop_service_spec.rb
index abc1234..def5678 100644
--- a/spec/ruby/library/drb/stop_service_spec.rb
+++ b/spec/ruby/library/drb/stop_service_spec.rb
@@ -1,4 +1,6 @@ require File.expand_path('../../../spec_helper', __FILE__)
+require File.ex... | Add missing includes for DRb.stop_service spec
|
diff --git a/Casks/intellij-idea-bundled-jdk.rb b/Casks/intellij-idea-bundled-jdk.rb
index abc1234..def5678 100644
--- a/Casks/intellij-idea-bundled-jdk.rb
+++ b/Casks/intellij-idea-bundled-jdk.rb
@@ -1,8 +1,8 @@ cask :v1 => 'intellij-idea-bundled-jdk' do
- version '14.0.2'
- sha256 'a53d9cf8e998e2a9e0f3ff023356971d3... | Upgrade IntelliJ Idea with bundled JDK to 14.1
- Unify with other IntelliJ-based formulas (see #879)
|
diff --git a/core/app/models/spree/payment_method.rb b/core/app/models/spree/payment_method.rb
index abc1234..def5678 100644
--- a/core/app/models/spree/payment_method.rb
+++ b/core/app/models/spree/payment_method.rb
@@ -4,6 +4,8 @@ default_scope where(:deleted_at => nil)
scope :production, where(:environmen... | Make name, description, environment, display_on and active mass-assignable for payment method
|
diff --git a/misc/copy_boost_headers.rb b/misc/copy_boost_headers.rb
index abc1234..def5678 100644
--- a/misc/copy_boost_headers.rb
+++ b/misc/copy_boost_headers.rb
@@ -0,0 +1,48 @@+#!/usr/bin/env ruby
+PROGRAM_SOURCE = %q{
+ #include <boost/shared_ptr.hpp>
+ #include <boost/thread.hpp>
+ #include <boost/function.hpp>
... | Add a script for automatically vendoring required parts of Boost.
|
diff --git a/test/features/gob_digital_user_can_manage_schemas_test.rb b/test/features/gob_digital_user_can_manage_schemas_test.rb
index abc1234..def5678 100644
--- a/test/features/gob_digital_user_can_manage_schemas_test.rb
+++ b/test/features/gob_digital_user_can_manage_schemas_test.rb
@@ -1,9 +1,49 @@ require "test_... | Add functional test for GobDigital User
|
diff --git a/spec/unit/converters/convert_file_spec.rb b/spec/unit/converters/convert_file_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/converters/convert_file_spec.rb
+++ b/spec/unit/converters/convert_file_spec.rb
@@ -1,10 +1,11 @@ # encoding: utf-8
-
-require 'fileutils'
RSpec.describe TTY::Prompt::Quest... | Change to fix windows file deletion
|
diff --git a/app/models/retrieval.rb b/app/models/retrieval.rb
index abc1234..def5678 100644
--- a/app/models/retrieval.rb
+++ b/app/models/retrieval.rb
@@ -2,7 +2,7 @@ belongs_to :user
store :jsondata, coder: JSON
- after_save :update_access_configurations
+ #after_save :update_access_configurations
obfu... | EDSC-135: Remove after save hook to observe its impact on CI
|
diff --git a/test/models/image_test.rb b/test/models/image_test.rb
index abc1234..def5678 100644
--- a/test/models/image_test.rb
+++ b/test/models/image_test.rb
@@ -1,6 +1,7 @@ # Encoding: utf-8
require 'test_helper'
+# Test image model
class ImageTest < ActiveSupport::TestCase
# test "the truth" do
# asser... | Add class header to image model test
|
diff --git a/lib/ember/es6_template/sprockets2/es6module.rb b/lib/ember/es6_template/sprockets2/es6module.rb
index abc1234..def5678 100644
--- a/lib/ember/es6_template/sprockets2/es6module.rb
+++ b/lib/ember/es6_template/sprockets2/es6module.rb
@@ -14,7 +14,7 @@ 'modules' => 'amdStrict',
'moduleIds... | Fix sprockets2 and babel 5.8.10
This is the same fix as d23e0d54a.
|
diff --git a/app/controllers/api/v1/webhooks/optix_controller.rb b/app/controllers/api/v1/webhooks/optix_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/webhooks/optix_controller.rb
+++ b/app/controllers/api/v1/webhooks/optix_controller.rb
@@ -2,6 +2,7 @@ module V1
module Webhooks
... | Add a link to some docs
|
diff --git a/app/models/user/verification/census_verification.rb b/app/models/user/verification/census_verification.rb
index abc1234..def5678 100644
--- a/app/models/user/verification/census_verification.rb
+++ b/app/models/user/verification/census_verification.rb
@@ -1,8 +1,14 @@ class User::Verification::CensusVerifi... | Allow User::Verification::CensusVerification instanciate using custom census_repositories wit custom parameters
|
diff --git a/test/unit/cache/source.rb b/test/unit/cache/source.rb
index abc1234..def5678 100644
--- a/test/unit/cache/source.rb
+++ b/test/unit/cache/source.rb
@@ -9,8 +9,10 @@
def setup
PictureTag.stubs(:site).returns(build_site_stub)
+ end
- @tested = Cache::Source.new('img.jpg')
+ def tested(name = ... | Refactor cache tests, add subdirectory test
|
diff --git a/spec/normalization_spec.rb b/spec/normalization_spec.rb
index abc1234..def5678 100644
--- a/spec/normalization_spec.rb
+++ b/spec/normalization_spec.rb
@@ -16,6 +16,10 @@ ICU::Normalization.normalize("Å", :nfc).unpack("U*").should == [197]
end
+ it "should normalize accents" do
+ ... | Add failing spec for normalization
|
diff --git a/spec/requests/home_spec.rb b/spec/requests/home_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/home_spec.rb
+++ b/spec/requests/home_spec.rb
@@ -24,10 +24,10 @@
it "should be ordered by most recent activity first" do
visit home_path
- within("ul.threads li:first") do
+ wit... | Update css selector for new thread list css.
|
diff --git a/audited.gemspec b/audited.gemspec
index abc1234..def5678 100644
--- a/audited.gemspec
+++ b/audited.gemspec
@@ -10,6 +10,7 @@ gem.summary = gem.description
gem.homepage = 'https://github.com/collectiveidea/audited'
+ gem.add_development_dependency 'activerecord', '~> 3.0'
gem.add_developm... | Add activerecord as an explicit development dependency
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -4,7 +4,7 @@ require 'plugin_test_helper'
# Run the migrations
-ActiveRecord::Migrator.migrate("#{RAILS_ROOT}/db/migrate")
+ActiveRecord::Migrator.migrate("#{Rails.root}/db/migr... | Use Rails.root instead of RAILS_ROOT in preparation for the Rails 2.1 release
|
diff --git a/test/test_helper.rb b/test/test_helper.rb
index abc1234..def5678 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -8,7 +8,7 @@ require 'authlogic/test_case'
require 'pry'
-class User
+class User < ActiveRecord::Base
def nyuidn
user_attributes[:nyuidn]
end
| Update test User class to have the correct superclass
|
diff --git a/padlock.gemspec b/padlock.gemspec
index abc1234..def5678 100644
--- a/padlock.gemspec
+++ b/padlock.gemspec
@@ -21,7 +21,7 @@ spec.add_development_dependency "rspec", ">= 3.0"
spec.add_development_dependency "rspec-its"
spec.add_development_dependency "generator_spec"
- spec.add_development_depend... | Update Sqlite gem to 1.3.13
|
diff --git a/haproxy_log_parser.gemspec b/haproxy_log_parser.gemspec
index abc1234..def5678 100644
--- a/haproxy_log_parser.gemspec
+++ b/haproxy_log_parser.gemspec
@@ -7,7 +7,7 @@ s.description = s.summary
s.license = 'MIT'
- s.add_dependency 'treetop'
+ s.add_dependency 'treetop', '~> 1.6'
s.add_develop... | Use '~> 1.6' for treetop version constraint
|
diff --git a/config/initializers/auth.rb b/config/initializers/auth.rb
index abc1234..def5678 100644
--- a/config/initializers/auth.rb
+++ b/config/initializers/auth.rb
@@ -14,7 +14,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
Rails.application.config.auth.providers.each do |k, v|
opts = (v... | Correct path to ssl certificate
|
diff --git a/src/_plugins/atom_feeds.rb b/src/_plugins/atom_feeds.rb
index abc1234..def5678 100644
--- a/src/_plugins/atom_feeds.rb
+++ b/src/_plugins/atom_feeds.rb
@@ -4,11 +4,7 @@ module AtomFeedFilters
def strip_html_attrs(html)
doc = Nokogiri::HTML.fragment(html)
-
doc.xpath('@style|.//@style|@... | Tidy up a bit of code
|
diff --git a/core/db/migrate/20130802022321_migrate_tax_categories_to_line_items.rb b/core/db/migrate/20130802022321_migrate_tax_categories_to_line_items.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20130802022321_migrate_tax_categories_to_line_items.rb
+++ b/core/db/migrate/20130802022321_migrate_tax_categor... | Fix migration to run when no tax category set on product.
|
diff --git a/db/migrate/20150803151928_move_detailed_guides_slugs_under_guidance.rb b/db/migrate/20150803151928_move_detailed_guides_slugs_under_guidance.rb
index abc1234..def5678 100644
--- a/db/migrate/20150803151928_move_detailed_guides_slugs_under_guidance.rb
+++ b/db/migrate/20150803151928_move_detailed_guides_slu... | Move detailed guides slugs from root to /guidance
|
diff --git a/app/controllers/spree/admin/orders_controller_decorator.rb b/app/controllers/spree/admin/orders_controller_decorator.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/admin/orders_controller_decorator.rb
+++ b/app/controllers/spree/admin/orders_controller_decorator.rb
@@ -17,4 +17,13 @@ ... | Edit Order: resend button uses new pretty template.
|
diff --git a/test/arelastic/queries/geo_polygon_test.rb b/test/arelastic/queries/geo_polygon_test.rb
index abc1234..def5678 100644
--- a/test/arelastic/queries/geo_polygon_test.rb
+++ b/test/arelastic/queries/geo_polygon_test.rb
@@ -1,6 +1,6 @@ require 'helper'
-class Arelastic::Queries::GeoDistanceTest < Minitest::T... | Correct the test class name
|
diff --git a/test/controllers/recipe_controller_test.rb b/test/controllers/recipe_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/recipe_controller_test.rb
+++ b/test/controllers/recipe_controller_test.rb
@@ -7,6 +7,7 @@ get :pickup
assert_response :success
assert_not_nil assigns(:... | Add test for getting material
|
diff --git a/core/kernel/binding_spec.rb b/core/kernel/binding_spec.rb
index abc1234..def5678 100644
--- a/core/kernel/binding_spec.rb
+++ b/core/kernel/binding_spec.rb
@@ -34,4 +34,16 @@
describe "Kernel.binding" do
it "needs to be reviewed for spec completeness"
+
+ ruby_version_is ""..."1.9" do
+ it "uses... | Add spec for 'self' in Kernel.binding, which differs between 1.8 and 1.9.
|
diff --git a/childprocess.gemspec b/childprocess.gemspec
index abc1234..def5678 100644
--- a/childprocess.gemspec
+++ b/childprocess.gemspec
@@ -6,8 +6,8 @@ s.name = "childprocess"
s.version = ChildProcess::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = ["Jari Bakken", "Eric Kessler"]... | Add Shane da Silva as maintainer
|
diff --git a/test/integration_helper.rb b/test/integration_helper.rb
index abc1234..def5678 100644
--- a/test/integration_helper.rb
+++ b/test/integration_helper.rb
@@ -40,10 +40,10 @@ end
def setup
- VCR.insert_cassette(api_name)
+ ENV['LIVE'] ? VCR.turn_off! : VCR.insert_cassette(api_name)
end
de... | Add switch to run integration against live data
|
diff --git a/vagrant-parallels.gemspec b/vagrant-parallels.gemspec
index abc1234..def5678 100644
--- a/vagrant-parallels.gemspec
+++ b/vagrant-parallels.gemspec
@@ -16,7 +16,6 @@ spec.required_rubygems_version = '>= 1.3.6'
spec.rubyforge_project = 'vagrant-parallels'
- spec.add_development_dependency 'b... | gemspec: Remove "bundler" from dev dependencies
|
diff --git a/Casks/istat-menus.rb b/Casks/istat-menus.rb
index abc1234..def5678 100644
--- a/Casks/istat-menus.rb
+++ b/Casks/istat-menus.rb
@@ -1,7 +1,7 @@ class IstatMenus < Cask
- url 'http://s3.amazonaws.com/bjango/files/istatmenus4/istatmenus4.05.zip'
+ url 'http://s3.amazonaws.com/bjango/files/istatmenus4/istat... | Update iStat Menus to v. 4.06
|
diff --git a/tools/export_functions.rb b/tools/export_functions.rb
index abc1234..def5678 100644
--- a/tools/export_functions.rb
+++ b/tools/export_functions.rb
@@ -0,0 +1,31 @@+#!/bin/ruby
+
+require 'optparse'
+
+options = {}
+OptionParser.new do |option_parser|
+ #option_parser.banner = 'Usage: example.rb [options]'... | Add new export functions tools.
|
diff --git a/lib/generators/templates/promise_pay_initializer.rb b/lib/generators/templates/promise_pay_initializer.rb
index abc1234..def5678 100644
--- a/lib/generators/templates/promise_pay_initializer.rb
+++ b/lib/generators/templates/promise_pay_initializer.rb
@@ -3,3 +3,4 @@ PromisePay.api_user = "<%= email %>"
P... | Add fee_ids field to config generator
|
diff --git a/lib/vagrant-cachier/action/configure_bucket_root.rb b/lib/vagrant-cachier/action/configure_bucket_root.rb
index abc1234..def5678 100644
--- a/lib/vagrant-cachier/action/configure_bucket_root.rb
+++ b/lib/vagrant-cachier/action/configure_bucket_root.rb
@@ -33,13 +33,17 @@ def cache_root
@... | Make use of the Vagrantfile configured base box name instead of getting it from the Box object (which might be nil)
Closes GH-86
|
diff --git a/lib/mongoid_colored_logger/railtie.rb b/lib/mongoid_colored_logger/railtie.rb
index abc1234..def5678 100644
--- a/lib/mongoid_colored_logger/railtie.rb
+++ b/lib/mongoid_colored_logger/railtie.rb
@@ -4,7 +4,7 @@
class Railtie < Rails::Railtie
initializer 'logger_decorator', :after => :initialize_l... | Use it only in development
|
diff --git a/Library/Formula/gambit-scheme.rb b/Library/Formula/gambit-scheme.rb
index abc1234..def5678 100644
--- a/Library/Formula/gambit-scheme.rb
+++ b/Library/Formula/gambit-scheme.rb
@@ -0,0 +1,24 @@+require 'formula'
+
+class GambitScheme <Formula
+ url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.5/... | Add formulae for Gambit Scheme.
Gambit Scheme doesn't like llvm-gcc, and heavy optimizations. Until
safe settings can be figure out, build it with no optimizations.
|
diff --git a/vestal_versions.gemspec b/vestal_versions.gemspec
index abc1234..def5678 100644
--- a/vestal_versions.gemspec
+++ b/vestal_versions.gemspec
@@ -4,8 +4,8 @@ gem.name = 'vestal_versions'
gem.version = '1.2.3'
- gem.authors = ['Steve Richert', "James O'Kelly"]
- gem.email = ['steve.riche... | Add C. Jason Harrelson as gem author.
|
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -40,4 +40,20 @@ end
end
end
+
+ describe 'POST create' do
+ le... | Write spec for post create
|
diff --git a/lib/ey-core/cli/servers.rb b/lib/ey-core/cli/servers.rb
index abc1234..def5678 100644
--- a/lib/ey-core/cli/servers.rb
+++ b/lib/ey-core/cli/servers.rb
@@ -26,9 +26,15 @@ argument: 'role'
def handle
- puts TablePrint::Printer.
- new(servers, [{id: {width: 10}}, :rol... | Include public hostname in table output
For the purpose of ssh and other operations when using the CLI, the public hostname is a pretty common need.
|
diff --git a/lib/imap/backup/version.rb b/lib/imap/backup/version.rb
index abc1234..def5678 100644
--- a/lib/imap/backup/version.rb
+++ b/lib/imap/backup/version.rb
@@ -4,6 +4,6 @@ MAJOR = 2
MINOR = 0
REVISION = 0
- PRE = "rc1"
+ PRE = "rc2"
VERSION = [MAJOR, MINOR, REVISION, PRE].compact.... | Update RC for fix release
|
diff --git a/lib/islay/active_record.rb b/lib/islay/active_record.rb
index abc1234..def5678 100644
--- a/lib/islay/active_record.rb
+++ b/lib/islay/active_record.rb
@@ -1,26 +1,39 @@-class ActiveRecord::Base
- private
-
- # Provides access to the user model provided by Devise.
- def current_user
- Thread.current[... | Add migration helper for generating user edit columns.
|
diff --git a/lib/kul/hash_initialize.rb b/lib/kul/hash_initialize.rb
index abc1234..def5678 100644
--- a/lib/kul/hash_initialize.rb
+++ b/lib/kul/hash_initialize.rb
@@ -1,5 +1,5 @@ module HashInitialize
- def initialize(opts)
+ def initialize(opts = {})
opts.each do |k, v|
if respond_to? k.to_s
#... | Initialize default is empty hash
|
diff --git a/lib/awestruct/handlers/css_tilt_handler.rb b/lib/awestruct/handlers/css_tilt_handler.rb
index abc1234..def5678 100644
--- a/lib/awestruct/handlers/css_tilt_handler.rb
+++ b/lib/awestruct/handlers/css_tilt_handler.rb
@@ -29,6 +29,7 @@ ::Compass::Frameworks::ALL.each do |framework|
opts[:l... | Enable the Compass sprite importer, needed for magic sprites
|
diff --git a/lib/brightbox-cli/detailed_server_group.rb b/lib/brightbox-cli/detailed_server_group.rb
index abc1234..def5678 100644
--- a/lib/brightbox-cli/detailed_server_group.rb
+++ b/lib/brightbox-cli/detailed_server_group.rb
@@ -2,7 +2,7 @@ class DetailedServerGroup < ServerGroup
def to_row
row_attrib... | Check for firewall policy before getting its id
|
diff --git a/spec/controllers/cuppings_controller_spec.rb b/spec/controllers/cuppings_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/cuppings_controller_spec.rb
+++ b/spec/controllers/cuppings_controller_spec.rb
@@ -0,0 +1,75 @@+require 'rails_helper'
+
+RSpec.describe CuppingsController, type:... | Add cuppings controller tests. All but one test passing.
|
diff --git a/lib/cloudstrap/hdp/bootstrap_properties.rb b/lib/cloudstrap/hdp/bootstrap_properties.rb
index abc1234..def5678 100644
--- a/lib/cloudstrap/hdp/bootstrap_properties.rb
+++ b/lib/cloudstrap/hdp/bootstrap_properties.rb
@@ -42,6 +42,11 @@
private
+ Contract None => Bool
+ def exist?
+ ... | Add method to check if bootstrap.properties exists
|
diff --git a/lib/etl/transform/calculation_transform.rb b/lib/etl/transform/calculation_transform.rb
index abc1234..def5678 100644
--- a/lib/etl/transform/calculation_transform.rb
+++ b/lib/etl/transform/calculation_transform.rb
@@ -12,13 +12,18 @@
def transform(name, value, row)
return nil if ro... | Add a new calculation operation to the calculation step
|
diff --git a/Puree.podspec b/Puree.podspec
index abc1234..def5678 100644
--- a/Puree.podspec
+++ b/Puree.podspec
@@ -11,9 +11,6 @@ s.requires_arc = true
s.source_files = 'Pod/Classes'
- s.resource_bundles = {
- 'Puree' => ['Pod/Assets/*.png']
- }
s.dependency 'YapDatabase', '~> 2.9.2'
end
| Remove unnecessary pod spec settings
|
diff --git a/db/data_migration/20121213094644_index_fatality_notices.rb b/db/data_migration/20121213094644_index_fatality_notices.rb
index abc1234..def5678 100644
--- a/db/data_migration/20121213094644_index_fatality_notices.rb
+++ b/db/data_migration/20121213094644_index_fatality_notices.rb
@@ -0,0 +1,4 @@+fatality_no... | Index all fatality notices in search
|
diff --git a/db/migrate/20200520103945_create_gobierto_people_charge.rb b/db/migrate/20200520103945_create_gobierto_people_charge.rb
index abc1234..def5678 100644
--- a/db/migrate/20200520103945_create_gobierto_people_charge.rb
+++ b/db/migrate/20200520103945_create_gobierto_people_charge.rb
@@ -0,0 +1,15 @@+# frozen_s... | Add migration to create gp_charges table
|
diff --git a/lib/knapsack_pro/adapters/rspec_adapter.rb b/lib/knapsack_pro/adapters/rspec_adapter.rb
index abc1234..def5678 100644
--- a/lib/knapsack_pro/adapters/rspec_adapter.rb
+++ b/lib/knapsack_pro/adapters/rspec_adapter.rb
@@ -1,6 +1,6 @@ module KnapsackPro
module Adapters
- class RSpecAdapter
+ class RS... | Add missing parent class for RSpecAdapter
|
diff --git a/lib/puppet/type/java_ks.rb b/lib/puppet/type/java_ks.rb
index abc1234..def5678 100644
--- a/lib/puppet/type/java_ks.rb
+++ b/lib/puppet/type/java_ks.rb
@@ -71,6 +71,19 @@ desc ''
end
+ autorequire(:file) do
+ auto_requires = []
+ [:private_key, :certificate].each do |param|
+ ... | Add autorequires for file resources.
This patch sets up dependancies on file resources for private_key,
certificate, and target's directory. Before this you had to do it
yourself.
|
diff --git a/spec/line_coverage_spec.rb b/spec/line_coverage_spec.rb
index abc1234..def5678 100644
--- a/spec/line_coverage_spec.rb
+++ b/spec/line_coverage_spec.rb
@@ -22,7 +22,7 @@ end
RSpec.describe 'line coverage(not_higher_than_builtin: true)' do
- each_code_examples('./spec/branch_cover/*.rb') do |fn, lines, ... | Disable tests comparing builtin to deepcover
|
diff --git a/test/web_console/repl/irb_test.rb b/test/web_console/repl/irb_test.rb
index abc1234..def5678 100644
--- a/test/web_console/repl/irb_test.rb
+++ b/test/web_console/repl/irb_test.rb
@@ -16,11 +16,18 @@ assert_equal sprintf(return_prompt, "50\n"), irb.send_input('foo + 8')
end
- test 'session isolat... | Add test for IRB session preservation
|
diff --git a/lib/rubocop/cop/rspec/example_length.rb b/lib/rubocop/cop/rspec/example_length.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/rspec/example_length.rb
+++ b/lib/rubocop/cop/rspec/example_length.rb
@@ -41,7 +41,7 @@ private
def code_length(node)
- lines = node.source.lines... | Remove unnecessary `||` in code_length
If the block is short like `it { should be_valid }` then
the slice evaluates to an empty array so the left side here
is never falsey
|
diff --git a/core/app/controllers/feedback_controller.rb b/core/app/controllers/feedback_controller.rb
index abc1234..def5678 100644
--- a/core/app/controllers/feedback_controller.rb
+++ b/core/app/controllers/feedback_controller.rb
@@ -13,6 +13,7 @@ params = {}
render :json => { msg: "Thank you for your ... | Test for sending emails on exception
|
diff --git a/AutoLayoutBuilder.podspec b/AutoLayoutBuilder.podspec
index abc1234..def5678 100644
--- a/AutoLayoutBuilder.podspec
+++ b/AutoLayoutBuilder.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = "AutoLayoutBuilder"
- s.version = "0.0.2"
+ s.version = "0.0.3"
s.license = "MIT"
... | Update podspec version to v0.0.3
|
diff --git a/valid_attribute.gemspec b/valid_attribute.gemspec
index abc1234..def5678 100644
--- a/valid_attribute.gemspec
+++ b/valid_attribute.gemspec
@@ -16,7 +16,7 @@
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
- s.add_dependency "rails", "~> 4.2.0"
+ s.add_dependency "... | Make it compatible with Rails 5
|
diff --git a/Casks/flixster-desktop.rb b/Casks/flixster-desktop.rb
index abc1234..def5678 100644
--- a/Casks/flixster-desktop.rb
+++ b/Casks/flixster-desktop.rb
@@ -0,0 +1,16 @@+cask :v1 => 'flixster-desktop' do
+ version :latest
+ sha256 :no_check
+
+ # cloudfront.net is the official download host per the vendor ho... | Create new cask for Flixster desktop, an Ultraviolet movie playback app.
|
diff --git a/Casks/mendeley-desktop.rb b/Casks/mendeley-desktop.rb
index abc1234..def5678 100644
--- a/Casks/mendeley-desktop.rb
+++ b/Casks/mendeley-desktop.rb
@@ -1,7 +1,7 @@ class MendeleyDesktop < Cask
- url 'http://download.mendeley.com/Mendeley-Desktop-1.10.3-OSX-Universal.dmg'
+ url 'http://download.mendeley.c... | Update Mendeley Desktop to 1.11 release.
|
diff --git a/lib/restforce/middleware.rb b/lib/restforce/middleware.rb
index abc1234..def5678 100644
--- a/lib/restforce/middleware.rb
+++ b/lib/restforce/middleware.rb
@@ -16,6 +16,8 @@ autoload :CustomHeaders, 'restforce/middleware/custom_headers'
def initialize(app, client, options)
+ super(app)
+
... | Fix Lint/MissingSuper Rubocop offence in `Restforce::Middleware`, inheriting from `Faraday::Middleware`
The `Restforce::Middleware` class inherits from `Faraday::Middleware`,
but never calls `super`. This fixes it.
|
diff --git a/rmodbus.gemspec b/rmodbus.gemspec
index abc1234..def5678 100644
--- a/rmodbus.gemspec
+++ b/rmodbus.gemspec
@@ -5,7 +5,7 @@ s.author = 'A.Timin, J. Sanders'
s.platform = Gem::Platform::RUBY
s.summary = "RModBus - free implementation of protocol ModBus"
- s.files = Dir['lib/**/*.rb']
+ s.files = D... | Add exmaples and spec directories in gem
|
diff --git a/app/controllers/api/scores_api_controller.rb b/app/controllers/api/scores_api_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/scores_api_controller.rb
+++ b/app/controllers/api/scores_api_controller.rb
@@ -7,7 +7,7 @@
def_param_group :mode do
param :weapons, %w(true false), d... | Fix apidoc, default is turbo.
|
diff --git a/activerecord-retry.gemspec b/activerecord-retry.gemspec
index abc1234..def5678 100644
--- a/activerecord-retry.gemspec
+++ b/activerecord-retry.gemspec
@@ -18,7 +18,6 @@ gem.add_dependency "activerecord", "~> 3.0"
gem.add_dependency "activesupport", "~> 3.0"
- gem.add_development_dependency "bundle... | Remove bundler as a development dependency
|
diff --git a/actors/spec/spec_helper.rb b/actors/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/actors/spec/spec_helper.rb
+++ b/actors/spec/spec_helper.rb
@@ -22,3 +22,4 @@
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'spec', 'spec_helper'))
require File.expand_path(File.join(File... | Fix instance_setup_spec that fails when run individually
|
diff --git a/app/helpers/admin/supporting_pages_helper.rb b/app/helpers/admin/supporting_pages_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/admin/supporting_pages_helper.rb
+++ b/app/helpers/admin/supporting_pages_helper.rb
@@ -7,7 +7,7 @@ preview_document_path(supporting_page, policy_id: policy.do... | Add context to supporting page preview dropdown
Show "View with policy" before links to make it clear what the options
are.
|
diff --git a/app/models/adjusted_net_income_calculator.rb b/app/models/adjusted_net_income_calculator.rb
index abc1234..def5678 100644
--- a/app/models/adjusted_net_income_calculator.rb
+++ b/app/models/adjusted_net_income_calculator.rb
@@ -7,8 +7,8 @@
def initialize(params)
PARAM_KEYS.each do |key|
+ sel... | Use cleaner syntax for dynamically setting attr_reader
|
diff --git a/neighborly-balanced-bankaccount.gemspec b/neighborly-balanced-bankaccount.gemspec
index abc1234..def5678 100644
--- a/neighborly-balanced-bankaccount.gemspec
+++ b/neighborly-balanced-bankaccount.gemspec
@@ -4,22 +4,22 @@ require 'neighborly/balanced/bankaccount/version'
Gem::Specification.new do |spec|... | Remove double quotes from gemspec file
|
diff --git a/test/controllers/sessions_controller_test.rb b/test/controllers/sessions_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/sessions_controller_test.rb
+++ b/test/controllers/sessions_controller_test.rb
@@ -0,0 +1,30 @@+require 'test_helper'
+
+class SessionsControllerTest < ActionCont... | Add test for the session controller.
|
diff --git a/app/models/eventful_api.rb b/app/models/eventful_api.rb
index abc1234..def5678 100644
--- a/app/models/eventful_api.rb
+++ b/app/models/eventful_api.rb
@@ -0,0 +1,24 @@+class EventfulApi
+ include HTTParty
+
+
+ def self.getData(params)
+ res = HTTParty.get("http://api.eventful.com/json/events/search?... | Create class to handle api calls
|
diff --git a/test/controllers/step_nav_controller_test.rb b/test/controllers/step_nav_controller_test.rb
index abc1234..def5678 100644
--- a/test/controllers/step_nav_controller_test.rb
+++ b/test/controllers/step_nav_controller_test.rb
@@ -0,0 +1,12 @@+require "test_helper"
+
+describe StepNavController do
+ it "retu... | Add controller tests for step_navs
Adds a basic test for 404s
|
diff --git a/lib/raptor/socket/tcp_server.rb b/lib/raptor/socket/tcp_server.rb
index abc1234..def5678 100644
--- a/lib/raptor/socket/tcp_server.rb
+++ b/lib/raptor/socket/tcp_server.rb
@@ -1,28 +1,4 @@ # A listening TCP socket
-class Raptor::Socket::TcpServer < Raptor::Socket
-
- # Factory method for creating a new {T... | Make TcpServer inherit from Tcp
|
diff --git a/lib/respect/rails/routes_set.rb b/lib/respect/rails/routes_set.rb
index abc1234..def5678 100644
--- a/lib/respect/rails/routes_set.rb
+++ b/lib/respect/rails/routes_set.rb
@@ -16,9 +16,7 @@ @engines["application"]
end
- def each(&block)
- routes.each(&block)
- end
+ d... | Use delegate instead of writing each by hand.
|
diff --git a/lib/rspec/announce/formatter.rb b/lib/rspec/announce/formatter.rb
index abc1234..def5678 100644
--- a/lib/rspec/announce/formatter.rb
+++ b/lib/rspec/announce/formatter.rb
@@ -1,17 +1,19 @@ # -*- encoding : utf-8 -*-
-require 'rspec/core/formatters/documentation_formatter'
+RSpec::Support.require_rspec_cor... | Update Formatter for RSpec 3
|
diff --git a/lib/spree_license_key/engine.rb b/lib/spree_license_key/engine.rb
index abc1234..def5678 100644
--- a/lib/spree_license_key/engine.rb
+++ b/lib/spree_license_key/engine.rb
@@ -19,6 +19,7 @@
config.to_prepare &method(:activate).to_proc
- config.active_record.observers = ['spree/shipment_observer'... | Append new observers to array so we don't override other ones
See: http://stackoverflow.com/questions/17803809/observers-in-rails-engines#comment40243756_17823370
|
diff --git a/lib/spring/commands/cucumber.rb b/lib/spring/commands/cucumber.rb
index abc1234..def5678 100644
--- a/lib/spring/commands/cucumber.rb
+++ b/lib/spring/commands/cucumber.rb
@@ -6,16 +6,12 @@ end
self.environment_matchers = {
- :default => "test",
- /^features($|\/)/ => "tes... | Replace Rake env variable handling with usual
|
diff --git a/lib/wiki_preferences_manager.rb b/lib/wiki_preferences_manager.rb
index abc1234..def5678 100644
--- a/lib/wiki_preferences_manager.rb
+++ b/lib/wiki_preferences_manager.rb
@@ -10,9 +10,17 @@
def enable_visual_editor
ve_options = [
- 'visualeditor-editor=visualeditor', # enables VE as default ... | Update WikiPreferencesManager to ensure expected settings
Some of the possible options are changing, and we want to make sure students get the settings that match with our training materials, until the Wikipedia defaults change *AND* we are ready with updated help material and guided tours.
|
diff --git a/Casks/appcode-eap.rb b/Casks/appcode-eap.rb
index abc1234..def5678 100644
--- a/Casks/appcode-eap.rb
+++ b/Casks/appcode-eap.rb
@@ -1,10 +1,32 @@ cask :v1 => 'appcode-eap' do
- version '3.2.0'
- sha256 'fa78dc8e2a7430e7173cecec7b6e369f3d2cf442facd7ee0df46592788b00715'
+ version '141.1399.2'
+ sha256 '2... | Improve cask for AppCode EAP
|
diff --git a/Casks/spotifybeta.rb b/Casks/spotifybeta.rb
index abc1234..def5678 100644
--- a/Casks/spotifybeta.rb
+++ b/Casks/spotifybeta.rb
@@ -1,6 +1,6 @@ cask :v1 => 'spotifybeta' do
- version '1.0.0.995.gcdfee982-1486'
- sha256 '1de2c2a4f33ef8fbee384b0d5b04e9dde7a30540f1a627dd1dba378096a1c9ff'
+ version '1.0.0.1... | Update SpotifyBeta.app to version 1.0.0.1093.g2eba9b4b-1679
|
diff --git a/week-6/extra-pairing/nested_data_solution.rb b/week-6/extra-pairing/nested_data_solution.rb
index abc1234..def5678 100644
--- a/week-6/extra-pairing/nested_data_solution.rb
+++ b/week-6/extra-pairing/nested_data_solution.rb
@@ -0,0 +1,47 @@+# RELEASE 2: NESTED STRUCTURE GOLF
+# Hole 1
+# Target element: "F... | Complete 6.5 Nested Data Structures
|
diff --git a/app/models/motd_formatter_rss.rb b/app/models/motd_formatter_rss.rb
index abc1234..def5678 100644
--- a/app/models/motd_formatter_rss.rb
+++ b/app/models/motd_formatter_rss.rb
@@ -6,11 +6,20 @@
# @param [MotdFile] motd_file an MotdFile object that contains a URI path to a message of the day in OSC form... | Move parsing to private method
|
diff --git a/app/views/api/v1/items/show.rabl b/app/views/api/v1/items/show.rabl
index abc1234..def5678 100644
--- a/app/views/api/v1/items/show.rabl
+++ b/app/views/api/v1/items/show.rabl
@@ -1,12 +1,11 @@+cache @item
object @item => :items
attributes :id, :guid, :title, :description, :content, :link
node(:href) ... | Add caching and a few elements to items
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.