diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cookbooks/ondemand_base/recipes/windows.rb b/cookbooks/ondemand_base/recipes/windows.rb
index abc1234..def5678 100644
--- a/cookbooks/ondemand_base/recipes/windows.rb
+++ b/cookbooks/ondemand_base/recipes/windows.rb
@@ -35,4 +35,13 @@ #Turn off IPv6
windows_registry 'HKLM\SYSTEM\CurrentControlSet\Services... | Add auto rebooting on system crashes with dump creation and event log logging.
Former-commit-id: 9c40ab5f06d152e679ce85ac177096813140ed5c |
diff --git a/warmercooler.rb b/warmercooler.rb
index abc1234..def5678 100644
--- a/warmercooler.rb
+++ b/warmercooler.rb
@@ -1,8 +1,9 @@-answer = 1 + rand(1000)
-puts answer # This statement is temporary while I test the game.
+solution = 1 + rand(1000)
+
+puts solution # This statement is temporary while I test the ga... | Rename 'answer' variable to 'solution'
|
diff --git a/subscriptions.gemspec b/subscriptions.gemspec
index abc1234..def5678 100644
--- a/subscriptions.gemspec
+++ b/subscriptions.gemspec
@@ -9,9 +9,9 @@ s.version = Subscriptions::VERSION
s.authors = ["Ben McFadden"]
s.email = ["ben@forgeapps.com"]
- s.homepage = "TODO"
- s.summary ... | Update description and summary in gemspec
|
diff --git a/tasks/metrics/ci.rake b/tasks/metrics/ci.rake
index abc1234..def5678 100644
--- a/tasks/metrics/ci.rake
+++ b/tasks/metrics/ci.rake
@@ -1,7 +1,7 @@ desc 'Run metrics with Heckle'
-task :ci => [ 'ci:metrics', :heckle ]
+task :ci => %w[ ci:metrics heckle ]
namespace :ci do
desc 'Run metrics'
- task :m... | Change to use a quoted array for the task list
|
diff --git a/tasks/virtualenv.rake b/tasks/virtualenv.rake
index abc1234..def5678 100644
--- a/tasks/virtualenv.rake
+++ b/tasks/virtualenv.rake
@@ -12,11 +12,14 @@ sh("curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python")
end
+ #task :hub do
+ # notice("Installing hub")
+ # url =... | Replace hub installation with gem
|
diff --git a/lib/starting_blocks-blinky.rb b/lib/starting_blocks-blinky.rb
index abc1234..def5678 100644
--- a/lib/starting_blocks-blinky.rb
+++ b/lib/starting_blocks-blinky.rb
@@ -1,4 +1,66 @@ require 'starting_blocks'
require 'blinky'
+# fix issue where no light will cause lock-up
+module Blinky
+ class LightFact... | Move the blinky code into this gem.
|
diff --git a/modules/network/lib/puppet/parser/functions/get_ipaddress.rb b/modules/network/lib/puppet/parser/functions/get_ipaddress.rb
index abc1234..def5678 100644
--- a/modules/network/lib/puppet/parser/functions/get_ipaddress.rb
+++ b/modules/network/lib/puppet/parser/functions/get_ipaddress.rb
@@ -1,14 +1,19 @@ r... | Rewrite ip address gathering out of new facter hash
|
diff --git a/lib/xeroid/objects/payment.rb b/lib/xeroid/objects/payment.rb
index abc1234..def5678 100644
--- a/lib/xeroid/objects/payment.rb
+++ b/lib/xeroid/objects/payment.rb
@@ -1,15 +1,12 @@+require 'xeroid/objects/attributes'
+
module Xeroid
module Objects
class Payment
- attr_reader :invoice, :accou... | Bring Payment object up to date
|
diff --git a/test/postgres_test.rb b/test/postgres_test.rb
index abc1234..def5678 100644
--- a/test/postgres_test.rb
+++ b/test/postgres_test.rb
@@ -4,6 +4,13 @@ class PostgresqlTest < Test::Unit::TestCase
include Relationizer::Postgresql
+ # Create relation as
+ #
+ # id | name
+ # ----+------
+ # 1 | hog... | Add comment to postgresql test
|
diff --git a/lib/app_proxy.rb b/lib/app_proxy.rb
index abc1234..def5678 100644
--- a/lib/app_proxy.rb
+++ b/lib/app_proxy.rb
@@ -5,7 +5,6 @@ Rack::Builder.new do
use Rack::ReverseProxy do
reverse_proxy '/', 'https://new.hackclub.com'
- reverse_proxy_options force_ssl: true
end
... | Fix how the reverse proxy interacts with SSL hosts
|
diff --git a/lib/test/page.rb b/lib/test/page.rb
index abc1234..def5678 100644
--- a/lib/test/page.rb
+++ b/lib/test/page.rb
@@ -2,13 +2,46 @@
module Test
class Page
- attr_reader :container
+ extend Forwardable
- def initialize(container)
- @container = container
+ def_delegators :container, :p... | Add support for specifying container, setup block and browser.
|
diff --git a/db/migrate/20141104095557_import_topic_taggings_from_panopticon.rb b/db/migrate/20141104095557_import_topic_taggings_from_panopticon.rb
index abc1234..def5678 100644
--- a/db/migrate/20141104095557_import_topic_taggings_from_panopticon.rb
+++ b/db/migrate/20141104095557_import_topic_taggings_from_panoptico... | Add migration to import taggings from panopticon.
Requires bump to govuk_content_models. |
diff --git a/flipper-cache-store.gemspec b/flipper-cache-store.gemspec
index abc1234..def5678 100644
--- a/flipper-cache-store.gemspec
+++ b/flipper-cache-store.gemspec
@@ -0,0 +1,24 @@+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/flipper/version', __FILE__)
+
+flipper_cache_store_files = lambda do |file... | Add Flipper Cache Store .gemspec
* Has an ActiveSupport dependency so publish as own gem
|
diff --git a/tasks/ar_dumper_tasks.rake b/tasks/ar_dumper_tasks.rake
index abc1234..def5678 100644
--- a/tasks/ar_dumper_tasks.rake
+++ b/tasks/ar_dumper_tasks.rake
@@ -0,0 +1,43 @@+VALID_DUMPER_OPTIONS = [:filename, :file_extension, :target_type,
+ :only, :except, :methods, :procs, :find, :records,
+ :header... | Add rake tasks to dump files from command line
|
diff --git a/gcoder.gemspec b/gcoder.gemspec
index abc1234..def5678 100644
--- a/gcoder.gemspec
+++ b/gcoder.gemspec
@@ -1,24 +1,25 @@-# coding: utf-8
-require File.expand_path("../lib/gcoder/version", __FILE__)
+require File.expand_path('../lib/gcoder/version', __FILE__)
Gem::Specification.new do |s|
- s.name ... | Remove constraint on Rubygems version in gemspec (thanks @aishafenton for pointing that out.)
|
diff --git a/db/seeds/development/users.rb b/db/seeds/development/users.rb
index abc1234..def5678 100644
--- a/db/seeds/development/users.rb
+++ b/db/seeds/development/users.rb
@@ -17,3 +17,9 @@ username: "foo",
hashed_password: "$2a$10$9sK8ojTvFTtfyxqgE/GW2.YAvTuxVc5Nuwbp3W4t9uFyRt8ucNz5q",
)
+
+User.create(
+ ... | Add seed data for "root"
|
diff --git a/lib/dry/web/roda/generate.rb b/lib/dry/web/roda/generate.rb
index abc1234..def5678 100644
--- a/lib/dry/web/roda/generate.rb
+++ b/lib/dry/web/roda/generate.rb
@@ -25,7 +25,7 @@ source = Pathname(source)
aboslute_source_path = source.expand_path(SOURCE_DIR)
target_file = get... | Raise an error to help finding an issue on CI |
diff --git a/lib/facter/root_encrypted.rb b/lib/facter/root_encrypted.rb
index abc1234..def5678 100644
--- a/lib/facter/root_encrypted.rb
+++ b/lib/facter/root_encrypted.rb
@@ -1,5 +1,5 @@ Facter.add("root_encrypted") do
- confine :os_family => 'Darwin'
+ confine :osfamily => 'Darwin'
def root_encrypted?
sy... | Fix broken fact for enforcing full disk encryption
The core fact we want to check is called `osfamily`, not `os_family`:
http://docs.puppetlabs.com/facter/1.7/core_facts.html#osfamily
Right now this fact is never being run, so the code from the sample
Boxen project to enforce full disk encryption doesn't work:
https:... |
diff --git a/lib/ruby-os/memory/errors.rb b/lib/ruby-os/memory/errors.rb
index abc1234..def5678 100644
--- a/lib/ruby-os/memory/errors.rb
+++ b/lib/ruby-os/memory/errors.rb
@@ -17,4 +17,8 @@ # When an assignment is requested past available memory limits
class OutOfBoundsAssignment < Error
end
+
+ # When an ass... | Add error for assigning over previous assignment
|
diff --git a/lib/salesforce_bulk/batch.rb b/lib/salesforce_bulk/batch.rb
index abc1234..def5678 100644
--- a/lib/salesforce_bulk/batch.rb
+++ b/lib/salesforce_bulk/batch.rb
@@ -17,8 +17,8 @@ batch.id = data['id']
batch.job_id = data['jobId']
batch.state = data['state']
- batch.started_at = data... | Update Batch.new_from_xml to now parse date strings as DateTime instances.
|
diff --git a/files/private-chef-cookbooks/private-chef/libraries/enterprise_plugin.rb b/files/private-chef-cookbooks/private-chef/libraries/enterprise_plugin.rb
index abc1234..def5678 100644
--- a/files/private-chef-cookbooks/private-chef/libraries/enterprise_plugin.rb
+++ b/files/private-chef-cookbooks/private-chef/li... | Allow user to set false values
|
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index abc1234..def5678 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -1,3 +1,4 @@+# Encoding: utf-8
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you ... | Clean up asset initialization script
|
diff --git a/spec/helper.rb b/spec/helper.rb
index abc1234..def5678 100644
--- a/spec/helper.rb
+++ b/spec/helper.rb
@@ -6,7 +6,7 @@ Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
- add_filter '/.bundle/'
+ add_filter '/vendor/bundle/'
add_filter '/spec/'
minimum_coverage(97.86)
end
| Fix the bundle path, fix the build
|
diff --git a/lib/browse_everything.rb b/lib/browse_everything.rb
index abc1234..def5678 100644
--- a/lib/browse_everything.rb
+++ b/lib/browse_everything.rb
@@ -22,7 +22,7 @@ if value.nil? or value.kind_of?(Hash)
@config = value
elsif value.kind_of?(String)
- @config = YAML.load(File.read(v... | Allow ERB in YAML config.
|
diff --git a/db/data_migration/20140909102120_migrate_worldwide_office_types.rb b/db/data_migration/20140909102120_migrate_worldwide_office_types.rb
index abc1234..def5678 100644
--- a/db/data_migration/20140909102120_migrate_worldwide_office_types.rb
+++ b/db/data_migration/20140909102120_migrate_worldwide_office_type... | Fix consular service offices with the wrong office type
|
diff --git a/db/migrate/20130419195746_increase_data_length_on_notifications.rb b/db/migrate/20130419195746_increase_data_length_on_notifications.rb
index abc1234..def5678 100644
--- a/db/migrate/20130419195746_increase_data_length_on_notifications.rb
+++ b/db/migrate/20130419195746_increase_data_length_on_notification... | Make data column of notifications table big enough for long titles
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,7 +1,6 @@ Rails.application.routes.draw do
-
+ root 'users#profile'
get 'users/profile'
-
get 'teams/index'
#resolve these
| Change landing page to automatically send to user sign in if user is not signed in, or to send to user profile if the user is signed in
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,3 @@-Rails.application.routes.draw do |map|
+Rails.application.routes.draw do
match '/js_named_routes' => 'named_routes#generate', :method => :get
end
| Resolve the routing deprecation warnign
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,19 +6,23 @@ resources :assignments do
patch 'grade', to: :grade
end
-
+
resources :sections do
resources :seats, only: [:index, :new, :create]
resources :assignment... | Add students as nested resource within section to aid section-student creation
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,6 @@ Rails.application.routes.draw do
- resources :questions
+ root 'questions#index'
+ resources :questions do
+ resources :answers, only: [:new, :create]
+ end
end
| Add answers as nested resources for questions
|
diff --git a/app/models/competitions/blind_date_at_the_dairy_overall.rb b/app/models/competitions/blind_date_at_the_dairy_overall.rb
index abc1234..def5678 100644
--- a/app/models/competitions/blind_date_at_the_dairy_overall.rb
+++ b/app/models/competitions/blind_date_at_the_dairy_overall.rb
@@ -27,19 +27,17 @@ end... | Move Blind Date overall to Calculator
|
diff --git a/cookbooks/PF_CIS_CentOS7_v1.1.0/recipes/3_special_purpose_services_ns.rb b/cookbooks/PF_CIS_CentOS7_v1.1.0/recipes/3_special_purpose_services_ns.rb
index abc1234..def5678 100644
--- a/cookbooks/PF_CIS_CentOS7_v1.1.0/recipes/3_special_purpose_services_ns.rb
+++ b/cookbooks/PF_CIS_CentOS7_v1.1.0/recipes/3_sp... | Create a special purpose not scored section for CIS CentOS7 v1.1.0.
|
diff --git a/lib/gemstash/cli/info.rb b/lib/gemstash/cli/info.rb
index abc1234..def5678 100644
--- a/lib/gemstash/cli/info.rb
+++ b/lib/gemstash/cli/info.rb
@@ -5,7 +5,7 @@
module Gemstash
class CLI
- # This implements the command line setup task:
+ # This implements the command line info task:
# $ gem... | Change class Info comment description
|
diff --git a/lib/geokit/inflectors.rb b/lib/geokit/inflectors.rb
index abc1234..def5678 100644
--- a/lib/geokit/inflectors.rb
+++ b/lib/geokit/inflectors.rb
@@ -1,8 +1,8 @@+require "cgi"
+
module Geokit
module Inflector
- require "cgi"
-
- extend self
+ module_function
def titleize(word)
huma... | Use module_function instead of extend self
|
diff --git a/test/configuration_test.rb b/test/configuration_test.rb
index abc1234..def5678 100644
--- a/test/configuration_test.rb
+++ b/test/configuration_test.rb
@@ -1,25 +1,29 @@ require "minitest_helper"
-class Thincloud::Authentication::ConfigureTest < ActiveSupport::TestCase
- setup do
- Thincloud::Authent... | Move provider config test into describe block. |
diff --git a/spec/integration/veritas/self_referential/one_to_one_spec.rb b/spec/integration/veritas/self_referential/one_to_one_spec.rb
index abc1234..def5678 100644
--- a/spec/integration/veritas/self_referential/one_to_one_spec.rb
+++ b/spec/integration/veritas/self_referential/one_to_one_spec.rb
@@ -0,0 +1,28 @@+re... | Add self referential 1:1 veritas integration specs |
diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/users_controller_spec.rb
+++ b/spec/controllers/users_controller_spec.rb
@@ -8,16 +8,6 @@ # TODO: Shouldn't need a conference to render
before do
FactoryBot.c... | Remove test. It's not helping
|
diff --git a/test/unit/document_test.rb b/test/unit/document_test.rb
index abc1234..def5678 100644
--- a/test/unit/document_test.rb
+++ b/test/unit/document_test.rb
@@ -3,7 +3,6 @@ class DocumentTest < ActiveSupport::TestCase
assert_should_require(:title)
- assert_should_require_unique(:document_file_name)
test... | Document now requires unique file name
|
diff --git a/app/mailers/star_learning_community_registration_mailer.rb b/app/mailers/star_learning_community_registration_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/star_learning_community_registration_mailer.rb
+++ b/app/mailers/star_learning_community_registration_mailer.rb
@@ -3,7 +3,7 @@ def confi... | Update Star Learning Communities Registration mailer
Adds Jennifer Williams to the admin list that receives notifications
when someone registers for a STAR Learning Community.
|
diff --git a/lib/axiom/attribute/comparable.rb b/lib/axiom/attribute/comparable.rb
index abc1234..def5678 100644
--- a/lib/axiom/attribute/comparable.rb
+++ b/lib/axiom/attribute/comparable.rb
@@ -3,7 +3,7 @@ module Axiom
class Attribute
- # A mixin for attributes that have comparable values
+ # A mixin for ... | Change module comment to be less specific
|
diff --git a/lib/buildtasks/fpm_cookery/dsl.rb b/lib/buildtasks/fpm_cookery/dsl.rb
index abc1234..def5678 100644
--- a/lib/buildtasks/fpm_cookery/dsl.rb
+++ b/lib/buildtasks/fpm_cookery/dsl.rb
@@ -7,7 +7,7 @@
def initialize(&block)
@recipe = "recipe.rb"
- @fpm_cookery_version = "~> ... | Update fpm-cookery to avoid installing Puppet 4.x
https://github.com/bernd/fpm-cookery/commit/f1a5762e6e93a3933273e3b54c98ac030448f906
|
diff --git a/lib/spaceholder/image.rb b/lib/spaceholder/image.rb
index abc1234..def5678 100644
--- a/lib/spaceholder/image.rb
+++ b/lib/spaceholder/image.rb
@@ -6,14 +6,11 @@ end
def to_blob
- ImageProcessing::Vips.apply(
- resize_to_fill: [@width, @height],
- saver: {
- interlace... | Update output options to produce progressive JPEGs
|
diff --git a/lib/aruba/api.rb b/lib/aruba/api.rb
index abc1234..def5678 100644
--- a/lib/aruba/api.rb
+++ b/lib/aruba/api.rb
@@ -8,7 +8,7 @@ require 'aruba/api/core'
require 'aruba/api/command'
-if Aruba::VERSION <= '1.0.0'
+if Aruba::VERSION <= '1.1.0'
require 'aruba/api/deprecated'
end
@@ -28,7 +28,9 @@ ... | Load deprecated methods until version 1.1
|
diff --git a/lib/awsam/ec2.rb b/lib/awsam/ec2.rb
index abc1234..def5678 100644
--- a/lib/awsam/ec2.rb
+++ b/lib/awsam/ec2.rb
@@ -12,12 +12,12 @@
insts = ec2.describe_instances
+ if !insts || insts.length == 0
+ puts "No instances available in account"
+ return nil
+ end
+
if ins... | Stop processing if no instances are available
|
diff --git a/db/migrate/20160410174144_increase_precomputed_query_doc_size.rb b/db/migrate/20160410174144_increase_precomputed_query_doc_size.rb
index abc1234..def5678 100644
--- a/db/migrate/20160410174144_increase_precomputed_query_doc_size.rb
+++ b/db/migrate/20160410174144_increase_precomputed_query_doc_size.rb
@@ ... | Add migration to allow longer key and document values for precomputed queries"
|
diff --git a/Casks/kaomoji.rb b/Casks/kaomoji.rb
index abc1234..def5678 100644
--- a/Casks/kaomoji.rb
+++ b/Casks/kaomoji.rb
@@ -2,6 +2,7 @@ version '1.9'
sha256 '04f7e6dc47b469eb90a74d5c569959f2218cc8f3b354edf85117b9f52574b071'
+ # kaomojiformac.github.io was verified as official when first introduced to the c... | Fix `url` stanza comment for Kaomoji.
|
diff --git a/Casks/nodebox.rb b/Casks/nodebox.rb
index abc1234..def5678 100644
--- a/Casks/nodebox.rb
+++ b/Casks/nodebox.rb
@@ -4,7 +4,7 @@
url "https://secure.nodebox.net/downloads/NodeBox-#{version}.zip"
name 'NodeBox'
- homepage 'http://nodebox.net/node/'
+ homepage 'https://www.nodebox.net/node/'
licen... | Fix homepage to use SSL in NodeBox Cask
The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.
|
diff --git a/spec/factories/users.rb b/spec/factories/users.rb
index abc1234..def5678 100644
--- a/spec/factories/users.rb
+++ b/spec/factories/users.rb
@@ -5,5 +5,7 @@ password { "testing1" }
password_confirmation { "testing1" }
confirmed_at { Time.now }
+
+ description { Faker::... | Update Users Factory for description and icon
Update the Users factory to include the description and icon attributes.
|
diff --git a/Casks/youview.rb b/Casks/youview.rb
index abc1234..def5678 100644
--- a/Casks/youview.rb
+++ b/Casks/youview.rb
@@ -6,7 +6,7 @@ appcast 'http://mrgeckosmedia.com/applications/appcast/YouView'
name 'YouView'
homepage 'https://mrgeckosmedia.com/applications/info/YouView'
- license :unknown # todo... | Update YouView app path and license
|
diff --git a/spec/unit/ratio_spec.rb b/spec/unit/ratio_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/ratio_spec.rb
+++ b/spec/unit/ratio_spec.rb
@@ -1,6 +1,6 @@ # coding: utf-8
-RSpec.describe TTY::ProgressBar, 'ratio=' do
+RSpec.describe TTY::ProgressBar, '.ratio=' do
let(:output) { StringIO.new('', 'w+')... | Add spec for ratio and total division.
|
diff --git a/lib/thinking_sphinx/active_record/collection_proxy_with_scopes.rb b/lib/thinking_sphinx/active_record/collection_proxy_with_scopes.rb
index abc1234..def5678 100644
--- a/lib/thinking_sphinx/active_record/collection_proxy_with_scopes.rb
+++ b/lib/thinking_sphinx/active_record/collection_proxy_with_scopes.rb... | Refactor association scope support to eliminate SystemStackError
|
diff --git a/db/migrate/20141110212340_create_districts.rb b/db/migrate/20141110212340_create_districts.rb
index abc1234..def5678 100644
--- a/db/migrate/20141110212340_create_districts.rb
+++ b/db/migrate/20141110212340_create_districts.rb
@@ -1,9 +1,9 @@ class CreateDistricts < ActiveRecord::Migration
def change
... | Modify district migration fields to be jurisdiction name, number and borough - can add more due to info in API
|
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/comments_controller.rb
+++ b/app/controllers/comments_controller.rb
@@ -12,7 +12,12 @@ @comment = Comment.new(comment_params)
@comment.commenter = User.find(session[:... | Fix route for commenting on reviews
|
diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/statuses_controller.rb
+++ b/app/controllers/statuses_controller.rb
@@ -1,4 +1,14 @@ class StatusesController < MyplaceonlineController
+ def footer_items_show
+ [
+ ... | Add home button to status page
|
diff --git a/spec/helpers/groups_helper_spec.rb b/spec/helpers/groups_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/groups_helper_spec.rb
+++ b/spec/helpers/groups_helper_spec.rb
@@ -0,0 +1,24 @@+# -*- encoding : utf-8 -*-
+require 'spec_helper'
+
+describe GroupsHelper do
+
+ describe "#permission_i... | Add spec for groups helper.
|
diff --git a/spec/lib/passman/condition_spec.rb b/spec/lib/passman/condition_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/passman/condition_spec.rb
+++ b/spec/lib/passman/condition_spec.rb
@@ -7,13 +7,13 @@ describe "And Condition" do
let(:condition) { described_class.and(conditions) }
- context "ev... | Fix wording in conditon spec
|
diff --git a/les_09/modules/accessors.rb b/les_09/modules/accessors.rb
index abc1234..def5678 100644
--- a/les_09/modules/accessors.rb
+++ b/les_09/modules/accessors.rb
@@ -21,5 +21,16 @@ define_method("#{arg}_history") { @var_history[var_name] }
end
end
+
+ def strong_attr_acessor(name, name_cla... | Add to Accessors strong_attr_accessor method
|
diff --git a/core/db/migrate/20130919122432_delete_basefact_remnants.rb b/core/db/migrate/20130919122432_delete_basefact_remnants.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20130919122432_delete_basefact_remnants.rb
+++ b/core/db/migrate/20130919122432_delete_basefact_remnants.rb
@@ -0,0 +1,12 @@+class Dele... | Delete all redis keys starting with "Basefact:"
|
diff --git a/spec/internal/db/migrate/1273253849_add_twitter_handle_to_users.rb b/spec/internal/db/migrate/1273253849_add_twitter_handle_to_users.rb
index abc1234..def5678 100644
--- a/spec/internal/db/migrate/1273253849_add_twitter_handle_to_users.rb
+++ b/spec/internal/db/migrate/1273253849_add_twitter_handle_to_user... | Fix spec on JRUBY 1.8 mode
|
diff --git a/db/migrate/201603100909_create_conversation_subscriptions.rb b/db/migrate/201603100909_create_conversation_subscriptions.rb
index abc1234..def5678 100644
--- a/db/migrate/201603100909_create_conversation_subscriptions.rb
+++ b/db/migrate/201603100909_create_conversation_subscriptions.rb
@@ -0,0 +1,13 @@+cl... | Create db migration for conversation subscriptions
See #2771
|
diff --git a/lib/tasks/bad_link_reporting.rake b/lib/tasks/bad_link_reporting.rake
index abc1234..def5678 100644
--- a/lib/tasks/bad_link_reporting.rake
+++ b/lib/tasks/bad_link_reporting.rake
@@ -14,10 +14,13 @@
# Generate the reports
Whitehall::BadLinkReporter.new(mirror_directory, reports_dir, logger).generat... | Increase logging around bad link reporting
|
diff --git a/lib/api-pagination/hooks.rb b/lib/api-pagination/hooks.rb
index abc1234..def5678 100644
--- a/lib/api-pagination/hooks.rb
+++ b/lib/api-pagination/hooks.rb
@@ -20,7 +20,7 @@ end
begin; require 'will_paginate'; rescue LoadError; end
- if defined?(WillPaginate::CollectionMethod)
+ if... | Fix typo in will_paginate support
|
diff --git a/nidobata.gemspec b/nidobata.gemspec
index abc1234..def5678 100644
--- a/nidobata.gemspec
+++ b/nidobata.gemspec
@@ -22,7 +22,7 @@
spec.add_dependency 'thor'
spec.add_dependency 'netrc'
- spec.add_dependency 'graphql-client'
+ spec.add_dependency 'graphql-client', '>= 0.11.3'
spec.add_developm... | Make sure that graphql-client is 0.11.3 or later
Fixes #7
|
diff --git a/lib/bundle/brew_services.rb b/lib/bundle/brew_services.rb
index abc1234..def5678 100644
--- a/lib/bundle/brew_services.rb
+++ b/lib/bundle/brew_services.rb
@@ -12,7 +12,8 @@ end
def self.stop(name)
- return true unless started?(name)
+ started = `brew services list`.lines.grep(/^#{Rege... | Revert change to stop method
|
diff --git a/example/config/application.rb b/example/config/application.rb
index abc1234..def5678 100644
--- a/example/config/application.rb
+++ b/example/config/application.rb
@@ -10,6 +10,11 @@ # Settings in config/environments/* take precedence over those specified here.
# Application configuration should g... | Add generators configurations to example app
|
diff --git a/lib/generators/fancybox_rails_generator.rb b/lib/generators/fancybox_rails_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/fancybox_rails_generator.rb
+++ b/lib/generators/fancybox_rails_generator.rb
@@ -0,0 +1,13 @@+class FancyboxRailsGenerator < Rails::Generators::Base
+ source_root File... | Add generator for copying assets for customization
|
diff --git a/lib/hyperflow-amqp-executor/nfs_storage.rb b/lib/hyperflow-amqp-executor/nfs_storage.rb
index abc1234..def5678 100644
--- a/lib/hyperflow-amqp-executor/nfs_storage.rb
+++ b/lib/hyperflow-amqp-executor/nfs_storage.rb
@@ -5,14 +5,14 @@ def stage_in
@job.inputs.each do |file|
Executor::log... | Make workdir option name the same as with local storage
|
diff --git a/lib/learn_web/client/validate_repo/slug.rb b/lib/learn_web/client/validate_repo/slug.rb
index abc1234..def5678 100644
--- a/lib/learn_web/client/validate_repo/slug.rb
+++ b/lib/learn_web/client/validate_repo/slug.rb
@@ -2,7 +2,7 @@ class Client
module ValidateRepo
class Slug
- attr_acc... | Add repo name to Slug
|
diff --git a/lib/opsicle/credential_converter_helper.rb b/lib/opsicle/credential_converter_helper.rb
index abc1234..def5678 100644
--- a/lib/opsicle/credential_converter_helper.rb
+++ b/lib/opsicle/credential_converter_helper.rb
@@ -3,8 +3,11 @@ module Opsicle
module CredentialConverterHelper
def convert_fog_to... | Make the directory if it don't exist
|
diff --git a/lib/config/custom-routes.rb b/lib/config/custom-routes.rb
index abc1234..def5678 100644
--- a/lib/config/custom-routes.rb
+++ b/lib/config/custom-routes.rb
@@ -3,9 +3,15 @@
Rails.application.routes.draw do
# Additional help pages
- match '/help/help_out' => 'help#help_out', :as => 'help_help_out'
- ... | Fix broken routes so application can now boot
|
diff --git a/lib/constellation/runner.rb b/lib/constellation/runner.rb
index abc1234..def5678 100644
--- a/lib/constellation/runner.rb
+++ b/lib/constellation/runner.rb
@@ -21,12 +21,12 @@ def start
raise ConstellationFileNotFoundError unless File.exists?("ConstellationFile")
-# begin
+ begin
... | Raise InvalidConstellationFileError if the setup is wrong
|
diff --git a/app/helpers/block_helper.rb b/app/helpers/block_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/block_helper.rb
+++ b/app/helpers/block_helper.rb
@@ -9,7 +9,8 @@ block_layout = BlockLayout.find_by_slug(block_layout)
end
- collection = record.blocks(block_layout: block_layout... | Add ability to pass custom collection of block to render_blocks method
|
diff --git a/app/jobs/application_job.rb b/app/jobs/application_job.rb
index abc1234..def5678 100644
--- a/app/jobs/application_job.rb
+++ b/app/jobs/application_job.rb
@@ -1,2 +1,7 @@ class ApplicationJob < ActiveJob::Base
+ # Automatically retry jobs that encountered a deadlock
+ # retry_on ActiveRecord::Deadlocked... | Add comments to match dummy Rails 6 app
|
diff --git a/lib/time_warp.rb b/lib/time_warp.rb
index abc1234..def5678 100644
--- a/lib/time_warp.rb
+++ b/lib/time_warp.rb
@@ -1,4 +1,4 @@-require 'core_ext'
+require File.join File.dirname(__FILE__), 'core_ext'
module Test # :nodoc:
module Unit # :nodoc:
| Make sure time-warp also works in Rails projects with a lib/core_ext.rb file
|
diff --git a/lib/cryptoexchange/exchanges/coinmate/services/order_book.rb b/lib/cryptoexchange/exchanges/coinmate/services/order_book.rb
index abc1234..def5678 100644
--- a/lib/cryptoexchange/exchanges/coinmate/services/order_book.rb
+++ b/lib/cryptoexchange/exchanges/coinmate/services/order_book.rb
@@ -1,5 +1,3 @@-req... | Remove pry from coinmate orderbook
|
diff --git a/pg_ltree.gemspec b/pg_ltree.gemspec
index abc1234..def5678 100644
--- a/pg_ltree.gemspec
+++ b/pg_ltree.gemspec
@@ -21,7 +21,7 @@ s.add_dependency 'activerecord', '>= 4.0.0', '< 5.1'
s.add_dependency 'pg', '>= 0.17.0', '< 0.19'
- s.add_development_dependency 'bundler', '~> 1.11.2'
+ s.add_developm... | Downgrade bundler version for travis
|
diff --git a/lib/guard/spinoff/runner.rb b/lib/guard/spinoff/runner.rb
index abc1234..def5678 100644
--- a/lib/guard/spinoff/runner.rb
+++ b/lib/guard/spinoff/runner.rb
@@ -31,9 +31,9 @@
def run_all
if rspec?
- run('spec')
+ run(options[:test_paths] || 'spec')
elsif test_unit... | Add :test_paths option to set the default path to the tests.
|
diff --git a/lib/gyro/liquidgen/infos.rb b/lib/gyro/liquidgen/infos.rb
index abc1234..def5678 100644
--- a/lib/gyro/liquidgen/infos.rb
+++ b/lib/gyro/liquidgen/infos.rb
@@ -11,7 +11,7 @@
def self.showInfos(template)
if template.include?('/')
- readme = template + 'README.md' unless readme.exis... | Fix issue in "-i" with path
|
diff --git a/features/support/expect.rb b/features/support/expect.rb
index abc1234..def5678 100644
--- a/features/support/expect.rb
+++ b/features/support/expect.rb
@@ -13,7 +13,7 @@ raise(ArgumentError, "Hostname is missing!") if host.nil? || host.empty?
Tempfile.open('push-registration.expect') do |f|
... | Call the new script for ssh push registration via tunnel
|
diff --git a/RQVisual.podspec b/RQVisual.podspec
index abc1234..def5678 100644
--- a/RQVisual.podspec
+++ b/RQVisual.podspec
@@ -8,9 +8,9 @@ style formats similar to those used by NSLayoutConstraint.
DESC
- s.homepage = "https://github.com/rqueue/Visual"
+ s.homepage ... | Update Podpsec with new repo name
|
diff --git a/lib/identity/log_helpers.rb b/lib/identity/log_helpers.rb
index abc1234..def5678 100644
--- a/lib/identity/log_helpers.rb
+++ b/lib/identity/log_helpers.rb
@@ -2,7 +2,10 @@ module LogHelpers
def log(action, data={}, &block)
data.merge! app: "identity", request_id: request_ids
+
+ # A UUI... | Add comment to document `oauth_dance_id`
|
diff --git a/spec/aliases/string_spec.rb b/spec/aliases/string_spec.rb
index abc1234..def5678 100644
--- a/spec/aliases/string_spec.rb
+++ b/spec/aliases/string_spec.rb
@@ -24,7 +24,7 @@ ].each do |value|
describe value.inspect do
let(:params) {{ value: value }}
- it { is_expected.to ... | Update alias spec error message expectation for PUP-7371
The fix for PUP-7371 adds the missing `Undef` into the error message
being tested in type aliases specs, fixing the following failure against
Puppet's master branch:
test::string rejects other values [] should fail to compile and raise an error matching /pa... |
diff --git a/spec/factories/key_infos.rb b/spec/factories/key_infos.rb
index abc1234..def5678 100644
--- a/spec/factories/key_infos.rb
+++ b/spec/factories/key_infos.rb
@@ -18,16 +18,23 @@ end
def generate_certificate(subject, issuer)
- key = OpenSSL::PKey::RSA.new 1024
-
cert = OpenSSL::X509::Certificate.new
... | Update to conform to ABC metric cop
|
diff --git a/spec/helpers/connections.rb b/spec/helpers/connections.rb
index abc1234..def5678 100644
--- a/spec/helpers/connections.rb
+++ b/spec/helpers/connections.rb
@@ -17,7 +17,13 @@ end
end
-
+ def compute_connection
+ Fog::Compute.new( :provider => 'AWS',
+ :aws... | Add connection for compute service.
|
diff --git a/spec/mailers/test_mailer.rb b/spec/mailers/test_mailer.rb
index abc1234..def5678 100644
--- a/spec/mailers/test_mailer.rb
+++ b/spec/mailers/test_mailer.rb
@@ -1,8 +1,4 @@ class TestMailer < ActionMailer::Base
- # template root must be set for multipart emails, or ActionMailer will throw an exception.
- ... | Remove code related to actionmailer version not supported anymore
|
diff --git a/db/migrate/20160901122444_create_incoming_email_projects_for_companies.rb b/db/migrate/20160901122444_create_incoming_email_projects_for_companies.rb
index abc1234..def5678 100644
--- a/db/migrate/20160901122444_create_incoming_email_projects_for_companies.rb
+++ b/db/migrate/20160901122444_create_incoming... | Create incoming projects for companies.
|
diff --git a/lib/nori/parser/nokogiri.rb b/lib/nori/parser/nokogiri.rb
index abc1234..def5678 100644
--- a/lib/nori/parser/nokogiri.rb
+++ b/lib/nori/parser/nokogiri.rb
@@ -19,15 +19,27 @@ stack.push Nori::XMLUtilityNode.new(options, name, Hash[*attrs.flatten])
end
+ # To keep backward behav... | Fix Nokogiri parser processing xml entity encoded characters
|
diff --git a/lib/rp_capistrano/resque.rb b/lib/rp_capistrano/resque.rb
index abc1234..def5678 100644
--- a/lib/rp_capistrano/resque.rb
+++ b/lib/rp_capistrano/resque.rb
@@ -3,7 +3,7 @@ def self.load_into(configuration)
configuration.load do
after 'deploy:restart', 'rp:resque:load_god_config'
- ... | Add a task to gracefully restart workers using god
|
diff --git a/lib/sass/script/variable.rb b/lib/sass/script/variable.rb
index abc1234..def5678 100644
--- a/lib/sass/script/variable.rb
+++ b/lib/sass/script/variable.rb
@@ -1,16 +1,27 @@ module Sass
module Script
- class Variable # :nodoc:
+ # A SassScript node representing a variable.
+ class Variable
+ ... | [Sass] Convert Sass::Script::Variable docs to YARD.
|
diff --git a/lib/selenium/client/base.rb b/lib/selenium/client/base.rb
index abc1234..def5678 100644
--- a/lib/selenium/client/base.rb
+++ b/lib/selenium/client/base.rb
@@ -29,10 +29,15 @@ @browserStartCommand = browserStartCommand
@browserURL = browserURL
@timeout = timeout
+ @extensio... | Add support in perl, python, ruby drivers for per-session extension Javascript.
git-svn-id: 02f00ad323e9b09c2b4a77fafb42ebb04c4508ab@2295 0891141a-5dea-0310-ad27-ebc607f31677
|
diff --git a/gir_ffi-gnome_keyring.gemspec b/gir_ffi-gnome_keyring.gemspec
index abc1234..def5678 100644
--- a/gir_ffi-gnome_keyring.gemspec
+++ b/gir_ffi-gnome_keyring.gemspec
@@ -24,7 +24,7 @@ s.extra_rdoc_files = ['README.md', 'Changelog.md']
s.test_files = `git ls-files -z -- test`.split("\0")
- s.add_runti... | Update gir_ffi to version 0.15.1 |
diff --git a/lib/rbbt/util/pkg_config.rb b/lib/rbbt/util/pkg_config.rb
index abc1234..def5678 100644
--- a/lib/rbbt/util/pkg_config.rb
+++ b/lib/rbbt/util/pkg_config.rb
@@ -13,7 +13,7 @@ end
def load_cfg(pkg_variables)
- pkg_cfg_files = [File.join(ENV["HOME"], '.' + self.to_s)]
+ pkg_cfg_files = [ ENV['RBB... | Add more paths to config file
|
diff --git a/lib/tasks/udongo_tasks.rake b/lib/tasks/udongo_tasks.rake
index abc1234..def5678 100644
--- a/lib/tasks/udongo_tasks.rake
+++ b/lib/tasks/udongo_tasks.rake
@@ -12,4 +12,16 @@ end
end
end
+
+ namespace :content_images do
+ desc 'Regenerate all the image versions.'
+ task regenerate: :en... | Add rake task to regenerate all the content image versions.
|
diff --git a/lib/test_wrangler/helper.rb b/lib/test_wrangler/helper.rb
index abc1234..def5678 100644
--- a/lib/test_wrangler/helper.rb
+++ b/lib/test_wrangler/helper.rb
@@ -15,7 +15,7 @@
def complete_experiment
selection = test_wrangler_selection
- cookies['test_wrangler'] = {value: nil, expires: Time... | Set cookie expiry to 1 day in the past to ensure deletion
|
diff --git a/omf_ec/example/test_exp/test07.rb b/omf_ec/example/test_exp/test07.rb
index abc1234..def5678 100644
--- a/omf_ec/example/test_exp/test07.rb
+++ b/omf_ec/example/test_exp/test07.rb
@@ -0,0 +1,45 @@+#
+# Test 7
+#
+# Testing one node in one group running two instance of the same app, previously defined with ... | Add test example experiment for defApplication and addApplication
|
diff --git a/handy_feature_helpers.gemspec b/handy_feature_helpers.gemspec
index abc1234..def5678 100644
--- a/handy_feature_helpers.gemspec
+++ b/handy_feature_helpers.gemspec
@@ -8,9 +8,9 @@ spec.version = HandyFeatureHelpers::VERSION
spec.authors = ["Vassil Kalkov"]
spec.email = ["vassilk... | [gemspec] Add homepage and requirement for capybara
|
diff --git a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
index abc1234..def5678 100644
--- a/core/db/migrate/20150609093816_increase_scale_on_pre_tax_amounts.rb
+++ b/core/db/migrate/20150609093816_increase_scale_on_pre_tax_am... | Set pre_tax_amount for shipments so that migration works
On existing installations, the migrations `IncreaseScaleOnPreTaxAmounts`
will fail because of existing shipments not having a `pre_tax_amount` set.
Fixes #6525
Fixes #6527
|
diff --git a/lib/brewery_db/collection.rb b/lib/brewery_db/collection.rb
index abc1234..def5678 100644
--- a/lib/brewery_db/collection.rb
+++ b/lib/brewery_db/collection.rb
@@ -3,13 +3,25 @@ include Enumerable
BATCH_SIZE = 50
- attr_reader :count, :page_count
+
+ attr_reader :size, :page_count
+ ali... | Return the count without fetching all pages.
Properly adhere the Enumerable#count interface.
Provide Collection#length alias for #size.
|
diff --git a/db/migrate/20190626175626_add_group_creation_level_to_namespaces.rb b/db/migrate/20190626175626_add_group_creation_level_to_namespaces.rb
index abc1234..def5678 100644
--- a/db/migrate/20190626175626_add_group_creation_level_to_namespaces.rb
+++ b/db/migrate/20190626175626_add_group_creation_level_to_names... | Add a subgroup_creation_level column to the namespaces table
|
diff --git a/lib/catarse_stripe/engine.rb b/lib/catarse_stripe/engine.rb
index abc1234..def5678 100644
--- a/lib/catarse_stripe/engine.rb
+++ b/lib/catarse_stripe/engine.rb
@@ -6,16 +6,14 @@ module ActionDispatch::Routing
class Mapper
def mount_catarse_stripe_at(catarse_stripe)
- namespace CatarseStripe do... | Change route to share application
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.