diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/controllers/organisations_controller_spec.rb b/spec/controllers/organisations_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/organisations_controller_spec.rb
+++ b/spec/controllers/organisations_controller_spec.rb
@@ -2,4 +2,15 @@
describe OrganisationsController do
+ it ... | Add test for standard organisation search
|
diff --git a/config/initializers/cookies_serializer.rb b/config/initializers/cookies_serializer.rb
index abc1234..def5678 100644
--- a/config/initializers/cookies_serializer.rb
+++ b/config/initializers/cookies_serializer.rb
@@ -2,4 +2,4 @@
# Specify a serializer for the signed and encrypted cookie jars.
# Valid opt... | Change cookie serialisation method to :json
The :marshal option is potentially unsafe, and has been added to
brakeman as a security warning.
Deploying this will invalidate everyone's cookies, but
specialist-publisher should just re-auth them against signon.
|
diff --git a/core/config/initializers/resque_mailer.rb b/core/config/initializers/resque_mailer.rb
index abc1234..def5678 100644
--- a/core/config/initializers/resque_mailer.rb
+++ b/core/config/initializers/resque_mailer.rb
@@ -1,5 +1,5 @@ # config/initializers/resque_mailer.rb
-Resque::Mailer.excluded_environments = ... | EXclude test and develop environments for RescueMailer
Signed-off-by: tomdev <96835dd8bfa718bd6447ccc87af89ae1675daeca@codigy.nl>
|
diff --git a/exercises/crypto-square/.meta/solutions/crypto_square.rb b/exercises/crypto-square/.meta/solutions/crypto_square.rb
index abc1234..def5678 100644
--- a/exercises/crypto-square/.meta/solutions/crypto_square.rb
+++ b/exercises/crypto-square/.meta/solutions/crypto_square.rb
@@ -3,6 +3,12 @@ def initialize(p... | Make methods not called by tests private
|
diff --git a/NHNetworkTime.podspec b/NHNetworkTime.podspec
index abc1234..def5678 100644
--- a/NHNetworkTime.podspec
+++ b/NHNetworkTime.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'NHNetworkTime'
- s.version = '1.5'
+ s.version = '1.6'
s.summary = 'Network time protocol NTP for... | Update podspec version to 1.6
|
diff --git a/db/migrate/20150401092322_create_songs.rb b/db/migrate/20150401092322_create_songs.rb
index abc1234..def5678 100644
--- a/db/migrate/20150401092322_create_songs.rb
+++ b/db/migrate/20150401092322_create_songs.rb
@@ -1,4 +1,11 @@ class CreateSongs < ActiveRecord::Migration
def change
+ create_table :s... | Write migration code for songs table
|
diff --git a/spec/bitbucket_rest_api/core_ext/hash_spec.rb b/spec/bitbucket_rest_api/core_ext/hash_spec.rb
index abc1234..def5678 100644
--- a/spec/bitbucket_rest_api/core_ext/hash_spec.rb
+++ b/spec/bitbucket_rest_api/core_ext/hash_spec.rb
@@ -0,0 +1,65 @@+# encoding: utf-8
+
+require 'spec_helper'
+
+describe Hash do... | Add tests for hash extension
Reference:
https://github.com/peter-murach/github/blob/master/spec/github/core_ext/hash_spec.rb
|
diff --git a/spec/services/next_activity_suggester_spec.rb b/spec/services/next_activity_suggester_spec.rb
index abc1234..def5678 100644
--- a/spec/services/next_activity_suggester_spec.rb
+++ b/spec/services/next_activity_suggester_spec.rb
@@ -0,0 +1,33 @@+require 'rails_helper'
+
+describe NextActivitySuggester do
+ ... | Add new test for service
|
diff --git a/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb b/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb
index abc1234..def5678 100644
--- a/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb
+++ b/lib/gitlab/ci/build/prerequisite/kubernetes_namespace.rb
@@ -20,7 +20,9 @@ private... | Use deployment's cluster for kubernetes prereq
A deployment will have a cluster associated on creation if there is one.
Otherwise fallback to deployment_platform for legacy deployments.
|
diff --git a/lib/engineyard-cloud-client/version.rb b/lib/engineyard-cloud-client/version.rb
index abc1234..def5678 100644
--- a/lib/engineyard-cloud-client/version.rb
+++ b/lib/engineyard-cloud-client/version.rb
@@ -1,7 +1,7 @@ # This file is maintained by a herd of rabid monkeys with Rakes.
module EY
class CloudC... | Add .pre for next release
|
diff --git a/lib/tasks/eu_exit_business_finder.rake b/lib/tasks/eu_exit_business_finder.rake
index abc1234..def5678 100644
--- a/lib/tasks/eu_exit_business_finder.rake
+++ b/lib/tasks/eu_exit_business_finder.rake
@@ -0,0 +1,21 @@+namespace :eu_exit_business_finder do
+ desc <<-DESC
+ Adds a link to the EU Exit Busi... | Add rake task to add related link for business finder content
This adds a related link (back to the finder itself) to all content
items that are tagged to the EU Exit Business Readness Finder.
|
diff --git a/lib/user_agent/browsers/libavformat.rb b/lib/user_agent/browsers/libavformat.rb
index abc1234..def5678 100644
--- a/lib/user_agent/browsers/libavformat.rb
+++ b/lib/user_agent/browsers/libavformat.rb
@@ -0,0 +1,36 @@+class UserAgent
+ module Browsers
+ # The user agent utilized by ffmpeg or other proje... | Add a class for Libavformat.
|
diff --git a/lib/vagrant-cookbook-fetcher/config.rb b/lib/vagrant-cookbook-fetcher/config.rb
index abc1234..def5678 100644
--- a/lib/vagrant-cookbook-fetcher/config.rb
+++ b/lib/vagrant-cookbook-fetcher/config.rb
@@ -16,10 +16,9 @@
def validate(machine)
errors = []
- unless @disable then
- ... | Disable plugin if a URL isn't specified
Rather than throw an error, this change disables vagrant-cookbook-fetcher.
Without this, any Vagrantfile that doesn't use vagrant-cookbook-fetcher will
throw an error, preventing you from using vagrant without configuring this
plugin.
|
diff --git a/modules/govuk_logging/spec/classes/govuk_logging_spec.rb b/modules/govuk_logging/spec/classes/govuk_logging_spec.rb
index abc1234..def5678 100644
--- a/modules/govuk_logging/spec/classes/govuk_logging_spec.rb
+++ b/modules/govuk_logging/spec/classes/govuk_logging_spec.rb
@@ -0,0 +1,9 @@+require_relative '.... | Add class spec test for govuk_logging
|
diff --git a/watir-rspec.gemspec b/watir-rspec.gemspec
index abc1234..def5678 100644
--- a/watir-rspec.gemspec
+++ b/watir-rspec.gemspec
@@ -16,6 +16,7 @@ gem.version = Watir::RSpec::VERSION
gem.add_dependency "rspec", "~>2.0"
+ gem.add_dependency "watir", "~>5.0"
gem.add_development_dependency "yard... | Add watir as a dependency.
|
diff --git a/app/services/wrestler_services/placement_points.rb b/app/services/wrestler_services/placement_points.rb
index abc1234..def5678 100644
--- a/app/services/wrestler_services/placement_points.rb
+++ b/app/services/wrestler_services/placement_points.rb
@@ -21,9 +21,9 @@
def thirdPlace
if @num... | Fix points for fourth place
|
diff --git a/app/models/palm_information.rb b/app/models/palm_information.rb
index abc1234..def5678 100644
--- a/app/models/palm_information.rb
+++ b/app/models/palm_information.rb
@@ -7,7 +7,12 @@ validates :knowledge_slope, numericality: { only_integer: true }, allow_nil: true
validates :fate_slope, numer... | Add enum, feeling_length, feeling_slopek, knowledge_length, knowledge_slope, fate_slope
|
diff --git a/rails/spec/helpers/divisions_helper_spec.rb b/rails/spec/helpers/divisions_helper_spec.rb
index abc1234..def5678 100644
--- a/rails/spec/helpers/divisions_helper_spec.rb
+++ b/rails/spec/helpers/divisions_helper_spec.rb
@@ -1,11 +1,10 @@ require 'spec_helper'
describe DivisionsHelper do
- # TODO Enable... | Enable test now this is working since we switched to Marker
|
diff --git a/broadcast.rb b/broadcast.rb
index abc1234..def5678 100644
--- a/broadcast.rb
+++ b/broadcast.rb
@@ -7,26 +7,43 @@ require "erb"
class Broadcast < Sinatra::Base
-
DROID = Android.new
set :views, File.join(APP_DIR, "views")
set :public, File.join(APP_DIR, "public")
get '/' do
- @temp =... | Improve ability to retreive battery temp, battery status, snapshot.
|
diff --git a/server/spec/controllers/api/v1/traits_controller_spec.rb b/server/spec/controllers/api/v1/traits_controller_spec.rb
index abc1234..def5678 100644
--- a/server/spec/controllers/api/v1/traits_controller_spec.rb
+++ b/server/spec/controllers/api/v1/traits_controller_spec.rb
@@ -14,11 +14,9 @@ resp = JSO... | Fix Traits Controller spec tests to pass
|
diff --git a/lib/contentful_model/chainable_queries.rb b/lib/contentful_model/chainable_queries.rb
index abc1234..def5678 100644
--- a/lib/contentful_model/chainable_queries.rb
+++ b/lib/contentful_model/chainable_queries.rb
@@ -31,7 +31,12 @@ def find_by(*args)
@query ||= ContentfulModel::Query.new(self... | Allow 'in' queries is passing an array of values
|
diff --git a/lib/generators/joofaq/joofaq_generator.rb b/lib/generators/joofaq/joofaq_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/joofaq/joofaq_generator.rb
+++ b/lib/generators/joofaq/joofaq_generator.rb
@@ -8,9 +8,16 @@ copy_file "joofaq/_qapair.html.erb", "app/views/faq/_qapair.html.erb"
... | Add ridscount to Gemfile from joofaq generator
|
diff --git a/lib/weeter/plugins/notification_plugin.rb b/lib/weeter/plugins/notification_plugin.rb
index abc1234..def5678 100644
--- a/lib/weeter/plugins/notification_plugin.rb
+++ b/lib/weeter/plugins/notification_plugin.rb
@@ -7,13 +7,16 @@ module Weeter
module Plugins
class NotificationPlugin
- delegate... | Add missing delegations - Luke Melia/Stefan Penner |
diff --git a/AssistantKit.podspec b/AssistantKit.podspec
index abc1234..def5678 100644
--- a/AssistantKit.podspec
+++ b/AssistantKit.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'AssistantKit'
- s.version = '0.5'
+ s.version = '0.5.1'
s.summary = 'Easy way to dete... | Set podspec version to 0.5.1
|
diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api_controller.rb
+++ b/app/controllers/api_controller.rb
@@ -19,7 +19,7 @@ end
def regexp_preview
- plugin_config = prepare_plugin_config
+ plugin_config = prepare_plugin_... | Set empty hash if params[:plugin_config] is null
Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -3,7 +3,7 @@ begin
Date.parse(datetime_string).strftime("%d-%m-%Y")
rescue ArgumentError
- ''
+ da... | Return value as it is if not a date
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,2 +1,12 @@ module ApplicationHelper
+ def new_item_link
+ if @todo_list && !@todo_list.new_record?
+ text = "Tod... | Add new item link helper
|
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -11,9 +11,9 @@ def user_image_link(user, opts={}, &block)
link_to user_entries_path(user) do
if opts[:border]
... | Add title to user profile image
|
diff --git a/JSONRequest.podspec b/JSONRequest.podspec
index abc1234..def5678 100644
--- a/JSONRequest.podspec
+++ b/JSONRequest.podspec
@@ -1,7 +1,7 @@ Pod::Spec.new do |s|
s.name = "JSONRequest"
- s.version = "0.2,0"
+ s.version = "0.2.0"
s.summary = "JSONRequest is a tiny Swift libra... | Fix version number on podspec file
|
diff --git a/queue_classic_plus.gemspec b/queue_classic_plus.gemspec
index abc1234..def5678 100644
--- a/queue_classic_plus.gemspec
+++ b/queue_classic_plus.gemspec
@@ -19,6 +19,10 @@ spec.require_paths = ["lib"]
spec.add_dependency "queue_classic", ">= 3.1.0"
- spec.add_development_dependency "bundler", "~> 1.... | Use bundler 2.0 for Ruby 2.3+
|
diff --git a/jekyll-tidy.gemspec b/jekyll-tidy.gemspec
index abc1234..def5678 100644
--- a/jekyll-tidy.gemspec
+++ b/jekyll-tidy.gemspec
@@ -7,9 +7,9 @@ spec.name = "jekyll-tidy"
spec.version = Jekyll::Tidy::VERSION
spec.authors = ["Wyatt Kirby"]
- spec.email = ["kirby.wa@gmail.com... | Update gemspec with apsis info
|
diff --git a/Casks/snapz-pro-x.rb b/Casks/snapz-pro-x.rb
index abc1234..def5678 100644
--- a/Casks/snapz-pro-x.rb
+++ b/Casks/snapz-pro-x.rb
@@ -1,10 +1,10 @@ cask :v1 => 'snapz-pro-x' do
- version '2.5.4'
- sha256 'b3b7dfd27222dfc45414cf820d83d14f12f6504af0b8e9009fd4b0a771b8894c'
+ version '2.6.0'
+ sha256 'f603da... | Update Snapz Pro X to 2.6.0
|
diff --git a/lib/rubygems-compile/common_methods.rb b/lib/rubygems-compile/common_methods.rb
index abc1234..def5678 100644
--- a/lib/rubygems-compile/common_methods.rb
+++ b/lib/rubygems-compile/common_methods.rb
@@ -4,7 +4,7 @@
def execution_list
gems_list.map do |gem|
- candidates = Gem.source_ind... | Support the --version option for the Compile and Uncompile commands |
diff --git a/lib/sitescoutrest/concerns/creative.rb b/lib/sitescoutrest/concerns/creative.rb
index abc1234..def5678 100644
--- a/lib/sitescoutrest/concerns/creative.rb
+++ b/lib/sitescoutrest/concerns/creative.rb
@@ -10,6 +10,24 @@ return result
end
+ def create_creative(creative_data, optio... | Add Creative Asset to Campaign
|
diff --git a/lib/versionator/detector/phpmyadmin.rb b/lib/versionator/detector/phpmyadmin.rb
index abc1234..def5678 100644
--- a/lib/versionator/detector/phpmyadmin.rb
+++ b/lib/versionator/detector/phpmyadmin.rb
@@ -7,7 +7,7 @@ set :project_url, "http://www.phpmyadmin.net"
set :detect_dirs, %w{js librar... | Prepare the phpMyAdmin detector for the upcoming 4.0.0 release
|
diff --git a/spec/bls_api/client_spec.rb b/spec/bls_api/client_spec.rb
index abc1234..def5678 100644
--- a/spec/bls_api/client_spec.rb
+++ b/spec/bls_api/client_spec.rb
@@ -2,7 +2,7 @@
describe BLS_API::Client do
describe "accepts an API key" do
- let(:api_key) { "definitely-not-real" }
+ let(:api_key) { "du... | Make dummy API keys consistent across tests
|
diff --git a/spec/check_registry_spec.rb b/spec/check_registry_spec.rb
index abc1234..def5678 100644
--- a/spec/check_registry_spec.rb
+++ b/spec/check_registry_spec.rb
@@ -0,0 +1,23 @@+
+RSpec.describe Rack::ECG::CheckRegistry do
+ class MyCheckClass; end
+ subject(:check_registry) { described_class }
+
+ before do... | Add a spec to cover CheckRegistry changes
|
diff --git a/spec/classes/mod/jk_spec.rb b/spec/classes/mod/jk_spec.rb
index abc1234..def5678 100644
--- a/spec/classes/mod/jk_spec.rb
+++ b/spec/classes/mod/jk_spec.rb
@@ -2,6 +2,18 @@
describe 'apache::mod::jk', :type => :class do
it_behaves_like 'a mod class, without including apache'
+
+ shared_examples 'mini... | Include shared context in apache::mod::jk spec test
|
diff --git a/spec/factories/burndowns.rb b/spec/factories/burndowns.rb
index abc1234..def5678 100644
--- a/spec/factories/burndowns.rb
+++ b/spec/factories/burndowns.rb
@@ -12,7 +12,14 @@ end
after(:create) do |burndown, evaluator|
- FactoryGirl.create_list(:iteration_with_metrics, evaluator.itera... | Rewrite factory for burndown with metrics
|
diff --git a/spec/models/article_spec.rb b/spec/models/article_spec.rb
index abc1234..def5678 100644
--- a/spec/models/article_spec.rb
+++ b/spec/models/article_spec.rb
@@ -1,5 +1,12 @@ require 'spec_helper'
describe Article do
- it { should have_many :comments }
+ describe "validations" do
+ it { should v... | Update article model spec to include validations
|
diff --git a/spec/tomcat_manager_spec.rb b/spec/tomcat_manager_spec.rb
index abc1234..def5678 100644
--- a/spec/tomcat_manager_spec.rb
+++ b/spec/tomcat_manager_spec.rb
@@ -0,0 +1,15 @@+require 'spec_helper'
+
+describe Tomcat::Manager do
+ subject { Tomcat::Manager }
+
+ it "can create a new instance" do
+ subjec... | Add Spec for Tomcat::Manager Module
Add an initial spec to test the Tomcat::Manager module.
|
diff --git a/spec/typhoeus/hydra_spec.rb b/spec/typhoeus/hydra_spec.rb
index abc1234..def5678 100644
--- a/spec/typhoeus/hydra_spec.rb
+++ b/spec/typhoeus/hydra_spec.rb
@@ -19,8 +19,4 @@ expect(Typhoeus::Hydra.hydra).to be_a(Typhoeus::Hydra)
end
end
-
- describe "#fire_and_forget" do
- it
- end
end
| Remove old pending spec which served as a todo.
|
diff --git a/spec/unit/transport_spec.rb b/spec/unit/transport_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/transport_spec.rb
+++ b/spec/unit/transport_spec.rb
@@ -3,12 +3,12 @@ # mystically fails on Rubinius on CI. MK.
if RUBY_ENGINE != "rbx"
describe Bunny::Transport, ".reachable?" do
- it "returns tr... | Use a host that does not try to block incoming traffic in this test
|
diff --git a/spec/models/organisation_spec.rb b/spec/models/organisation_spec.rb
index abc1234..def5678 100644
--- a/spec/models/organisation_spec.rb
+++ b/spec/models/organisation_spec.rb
@@ -9,6 +9,9 @@
describe 'validations' do
it { should validate_presence_of(:whitehall_slug) }
- it { should validate_un... | Deal with shoulda failure on NOT NULL column
See https://github.com/thoughtbot/shoulda-matchers/issues/194
|
diff --git a/spec/read_time_estimator_spec.rb b/spec/read_time_estimator_spec.rb
index abc1234..def5678 100644
--- a/spec/read_time_estimator_spec.rb
+++ b/spec/read_time_estimator_spec.rb
@@ -3,9 +3,10 @@
describe "ReadTimeEstimator" do
describe "read_time" do
- it "should break the string into an array of wor... | Add spec for read_time method. PA-2182
|
diff --git a/spec/requests/microposts_spec.rb b/spec/requests/microposts_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/microposts_spec.rb
+++ b/spec/requests/microposts_spec.rb
@@ -4,7 +4,7 @@ describe "GET /microposts" do
pending "works! (now write some real specs)" do
get microposts_path
- ... | Use `eq` instead of `be`
|
diff --git a/lib/activerecord-spatial/active_record/connection_adapters/postgresql/adapter_extensions.rb b/lib/activerecord-spatial/active_record/connection_adapters/postgresql/adapter_extensions.rb
index abc1234..def5678 100644
--- a/lib/activerecord-spatial/active_record/connection_adapters/postgresql/adapter_extensi... | Handle the `name` type found in the geography_columns view.
|
diff --git a/spec/commit_activity/git_repository_spec.rb b/spec/commit_activity/git_repository_spec.rb
index abc1234..def5678 100644
--- a/spec/commit_activity/git_repository_spec.rb
+++ b/spec/commit_activity/git_repository_spec.rb
@@ -2,7 +2,8 @@ require 'commit_activity/git_repository'
describe CommitActivity::Gi... | Modify spec because GitRepository requires url when it initialize.
|
diff --git a/spec/controllers/courses_controller_spec.rb b/spec/controllers/courses_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/courses_controller_spec.rb
+++ b/spec/controllers/courses_controller_spec.rb
@@ -40,7 +40,7 @@ end
describe "GET 'edit'" do
- let(:course) { FactoryGirl.c... | Update Courses Spec for Course Ownership
Update the Courses controller spec to ensure that the Course being
created actually belongs to the User's Club (thus allowing the user the
correct privileges for editing it).
|
diff --git a/spec/frozen/core/string/equal_value_spec.rb b/spec/frozen/core/string/equal_value_spec.rb
index abc1234..def5678 100644
--- a/spec/frozen/core/string/equal_value_spec.rb
+++ b/spec/frozen/core/string/equal_value_spec.rb
@@ -24,4 +24,8 @@
('hello' == obj).should == true
end
+
+ it "is not fooled ... | Test for equality with embedded NUL chars
Signed-off-by: Brian Ford <31227094f3baea959abbdb82d34f0bc93c1f3b36@engineyard.com>
|
diff --git a/spec/integrations/schedule_messages_spec.rb b/spec/integrations/schedule_messages_spec.rb
index abc1234..def5678 100644
--- a/spec/integrations/schedule_messages_spec.rb
+++ b/spec/integrations/schedule_messages_spec.rb
@@ -19,6 +19,7 @@
it 'responds with success message' do
expect(JSON.parse(... | Fix scheduled_messages_spec for proper response body
|
diff --git a/spec/performance/proxy_order_syncer_spec.rb b/spec/performance/proxy_order_syncer_spec.rb
index abc1234..def5678 100644
--- a/spec/performance/proxy_order_syncer_spec.rb
+++ b/spec/performance/proxy_order_syncer_spec.rb
@@ -0,0 +1,41 @@+require 'open_food_network/proxy_order_syncer'
+
+module OpenFoodNetwo... | Add performance spec for proxy order syncer
|
diff --git a/test/ffi-gobject_introspection/gobject_type_init_test.rb b/test/ffi-gobject_introspection/gobject_type_init_test.rb
index abc1234..def5678 100644
--- a/test/ffi-gobject_introspection/gobject_type_init_test.rb
+++ b/test/ffi-gobject_introspection/gobject_type_init_test.rb
@@ -0,0 +1,25 @@+# frozen_string_li... | Add unit test for GObjectTypeInit
|
diff --git a/lib/devise/hooks/two_step_verification.rb b/lib/devise/hooks/two_step_verification.rb
index abc1234..def5678 100644
--- a/lib/devise/hooks/two_step_verification.rb
+++ b/lib/devise/hooks/two_step_verification.rb
@@ -2,9 +2,9 @@ if user.need_two_step_verification?
cookie = auth.env["action_dispatch.c... | Use strings to access cookies instead of symbols
Due to the cookie serialisation changes in Rails 5 cookies now need to
be accessed with string keys rather than symbols
|
diff --git a/lib/podio/models/stream_activity_group.rb b/lib/podio/models/stream_activity_group.rb
index abc1234..def5678 100644
--- a/lib/podio/models/stream_activity_group.rb
+++ b/lib/podio/models/stream_activity_group.rb
@@ -4,7 +4,8 @@ property :kind, :string
property :type, :string
property :created_on, :... | Add activities for creator groups
|
diff --git a/lib/rpm_contrib/instrumentation/resque.rb b/lib/rpm_contrib/instrumentation/resque.rb
index abc1234..def5678 100644
--- a/lib/rpm_contrib/instrumentation/resque.rb
+++ b/lib/rpm_contrib/instrumentation/resque.rb
@@ -7,6 +7,8 @@ perform_action_with_newrelic_trace(:name => 'perform', :class_name => c... | Add a shutdown method to Resque instrumentation to ensure data is saved
Signed-off-by: Justin George <26962c8b46ccf1e15704afec3ad512e5c5878696@gmail.com>
|
diff --git a/lib/suspenders/generators/ci_generator.rb b/lib/suspenders/generators/ci_generator.rb
index abc1234..def5678 100644
--- a/lib/suspenders/generators/ci_generator.rb
+++ b/lib/suspenders/generators/ci_generator.rb
@@ -11,7 +11,7 @@ end
def copy_database_yml_for_gitlab
- copy_file 'database.gi... | Fix destination path for database.yml for gitlab
|
diff --git a/test/string_test.rb b/test/string_test.rb
index abc1234..def5678 100644
--- a/test/string_test.rb
+++ b/test/string_test.rb
@@ -4,6 +4,7 @@ def test_set_param_positive
url = 'https://www.example.com/$[name]/intro'
assert_equal('https://www.example.com/acme/intro', url.set_param(:name, 'acme'))
... | Add one more assertion to StringTest
|
diff --git a/test/test_server.rb b/test/test_server.rb
index abc1234..def5678 100644
--- a/test/test_server.rb
+++ b/test/test_server.rb
@@ -0,0 +1,32 @@+require 'helper'
+require 'memcached_mock'
+
+describe Dalli::Server do
+ describe 'hostname parsing' do
+ it 'handles no port or weight' do
+ s = Dalli::Ser... | Add test for existing server hostname parsing
|
diff --git a/decidim-core/spec/spec_helper.rb b/decidim-core/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/decidim-core/spec/spec_helper.rb
+++ b/decidim-core/spec/spec_helper.rb
@@ -1,7 +1,7 @@ ENV['RAILS_ENV'] ||= 'test'
begin
- require File.expand_path("../dummy/config/environment", __FILE__)
+ requir... | Fix dummy test app path
|
diff --git a/lib/scss_lint/linter/id_with_extraneous_selector.rb b/lib/scss_lint/linter/id_with_extraneous_selector.rb
index abc1234..def5678 100644
--- a/lib/scss_lint/linter/id_with_extraneous_selector.rb
+++ b/lib/scss_lint/linter/id_with_extraneous_selector.rb
@@ -7,7 +7,12 @@ id_sel = seq.members.find { |sim... | Fix Rubocop lints in IdWithExtraneousSelector
Change-Id: Ib06958a78c715c01349fa38db793565fdfa771d9
Reviewed-on: http://gerrit.causes.com/36710
Tested-by: jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@causes.com>
Reviewed-by: Shane da Silva <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@causes.com>
|
diff --git a/app/models/spree/user_decorator.rb b/app/models/spree/user_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/user_decorator.rb
+++ b/app/models/spree/user_decorator.rb
@@ -1,5 +1,11 @@ module Spree
User.class_eval do
+ after_create :set_default_role
+
has_many :devices, class... | Set default role for new user to "user".
|
diff --git a/app/models/gallery.rb b/app/models/gallery.rb
index abc1234..def5678 100644
--- a/app/models/gallery.rb
+++ b/app/models/gallery.rb
@@ -1,5 +1,5 @@ class Gallery < ActiveRecord::Base
- has_many :pictures
+ has_many :pictures, dependent: :destroy
after_initialize do
if new_record?
| Delete pictures, when galleries are deleted.
|
diff --git a/app/models/on_call.rb b/app/models/on_call.rb
index abc1234..def5678 100644
--- a/app/models/on_call.rb
+++ b/app/models/on_call.rb
@@ -8,7 +8,7 @@
on_call_schedules.each do |schedule, on_call_days|
on_call_days.each do |day, email|
- self.find_or_create_by(date: day.to_date, email: ema... | Fix overriding of an on call shift |
diff --git a/config/initializers/active_job.rb b/config/initializers/active_job.rb
index abc1234..def5678 100644
--- a/config/initializers/active_job.rb
+++ b/config/initializers/active_job.rb
@@ -0,0 +1,59 @@+require 'active_job/logging'
+
+# TODO: remove this when the following issue is resolved:
+# https://git... | Fix memory leak when queuing jobs inside a job
Active Job uses a single log subscriber class[1] for both perform and
enqueue events. The consequence of this is that any queue events that
happen inside a perform event are treated as child events[2] and so get
added to the event object for the perform event.
This cause... |
diff --git a/config/initializers/okcomputer.rb b/config/initializers/okcomputer.rb
index abc1234..def5678 100644
--- a/config/initializers/okcomputer.rb
+++ b/config/initializers/okcomputer.rb
@@ -29,7 +29,7 @@ def check
message = ""
targets.each_pair do |k, v|
- check = OkComputer::SolrCheck.new(v['ur... | Use an ordinary HttpCheck until the upstream SolrCheck is updated to support solr 7
|
diff --git a/lib/ctrlo/external/external_board.rb b/lib/ctrlo/external/external_board.rb
index abc1234..def5678 100644
--- a/lib/ctrlo/external/external_board.rb
+++ b/lib/ctrlo/external/external_board.rb
@@ -2,20 +2,18 @@ class ExternalBoard
include Helpers
- def initialize(external_id = nil)
+ def init... | Change order of methods, add options attribute. |
diff --git a/app/concerns/resources_controller/acts_as_list_concern.rb b/app/concerns/resources_controller/acts_as_list_concern.rb
index abc1234..def5678 100644
--- a/app/concerns/resources_controller/acts_as_list_concern.rb
+++ b/app/concerns/resources_controller/acts_as_list_concern.rb
@@ -26,7 +26,13 @@ end
... | Add after_reposition_location method to ResourcesController::ActsAsListConcern.
|
diff --git a/lib/ettu/railtie.rb b/lib/ettu/railtie.rb
index abc1234..def5678 100644
--- a/lib/ettu/railtie.rb
+++ b/lib/ettu/railtie.rb
@@ -1,24 +1,37 @@ class Ettu
class Railtie < Rails::Railtie
config.ettu = ActiveSupport::OrderedOptions.new
-
initializer 'load' do |app|
unless app.config.ettu.... | Stop etags fresh_when development_hack is true
|
diff --git a/lib/instana/base.rb b/lib/instana/base.rb
index abc1234..def5678 100644
--- a/lib/instana/base.rb
+++ b/lib/instana/base.rb
@@ -37,8 +37,28 @@ @pid = ::Process.pid
end
+ # Indicates if the process ID has changed since we last check.
+ #
+ # @return Boolean
+ #
def pid_change?
... | Add methods to check which environment we are running in
|
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,4 +1,15 @@+require 'sidekiq/api'
require 'sidekiq/web'
+
+Sidekiq::Web.get '/rag' do
+ stats = Sidekiq::Stats.new
+
+ content_type :json
+
+ { item: [{ value: stats.failed, text: 'Faile... | Add Red Amber Green stats to Sidekiq endpoint |
diff --git a/config/routes.rb b/config/routes.rb
index abc1234..def5678 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -17,6 +17,7 @@ scope 'pages' do
get 'pages', path: '/'
get 'pages_guide', path: '/guide'
+ get 'pages_error', path: '/error'
end
scop... | Configure route for error page.
|
diff --git a/lib/scan/manager.rb b/lib/scan/manager.rb
index abc1234..def5678 100644
--- a/lib/scan/manager.rb
+++ b/lib/scan/manager.rb
@@ -3,7 +3,7 @@ def work(options)
Scan.config = options
- FastlaneCore::PrintTable.print_values(config: options, hide_keys: [], title: "Summary")
+ FastlaneCore... | Hide :destination option from table summary
|
diff --git a/lib/tasks/data.rake b/lib/tasks/data.rake
index abc1234..def5678 100644
--- a/lib/tasks/data.rake
+++ b/lib/tasks/data.rake
@@ -13,6 +13,11 @@ en.labels.create(name: "offensive", parent: informal, for_seq: false)
en.labels.create(name: "archaic")
en.labels.create(name: "idiom", for_seq: false... | Add five more labels (see comment)
Formal, technical, then three children of technical: medical, legal, scientific
|
diff --git a/activesupport/lib/active_support/json/backends/yajl.rb b/activesupport/lib/active_support/json/backends/yajl.rb
index abc1234..def5678 100644
--- a/activesupport/lib/active_support/json/backends/yajl.rb
+++ b/activesupport/lib/active_support/json/backends/yajl.rb
@@ -1,4 +1,4 @@-require 'yajl-ruby' unless ... | Fix Yajl backend discovery in ActiveSupport::JSON
[#4897 state:committed]
Signed-off-by: Jeremy Kemper <b3f594e10a9edcf5413cf1190121d45078c62290@bitsweat.net>
|
diff --git a/lib/motion-settings/configuration.rb b/lib/motion-settings/configuration.rb
index abc1234..def5678 100644
--- a/lib/motion-settings/configuration.rb
+++ b/lib/motion-settings/configuration.rb
@@ -23,8 +23,8 @@
def toggle(title, options = {})
preference(title, "PSToggleSwitchSpecifier", opt... | Use actual true/false for toggle switch
|
diff --git a/config/environments/production.rb b/config/environments/production.rb
index abc1234..def5678 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -2,6 +2,7 @@ config.action_controller.perform_caching = true
config.action_dispatch.x_sendfile_header = "X-Accel-Redire... | Use config digest to fingerprint assets
|
diff --git a/lib/proxy_fetcher/providers/xroxy.rb b/lib/proxy_fetcher/providers/xroxy.rb
index abc1234..def5678 100644
--- a/lib/proxy_fetcher/providers/xroxy.rb
+++ b/lib/proxy_fetcher/providers/xroxy.rb
@@ -6,7 +6,7 @@ class XRoxy < Base
# Provider URL to fetch proxy list
def provider_url
- "... | Fix link for XRoxy provider
|
diff --git a/lib/pseudocephalopod/memory_cache.rb b/lib/pseudocephalopod/memory_cache.rb
index abc1234..def5678 100644
--- a/lib/pseudocephalopod/memory_cache.rb
+++ b/lib/pseudocephalopod/memory_cache.rb
@@ -1,4 +1,8 @@ module Pseudocephalopod
+ # Implements a simple cache store that uses the
+ # current processes m... | Add a comment to the memory cache documentation. |
diff --git a/core/encoding/fixtures/classes.rb b/core/encoding/fixtures/classes.rb
index abc1234..def5678 100644
--- a/core/encoding/fixtures/classes.rb
+++ b/core/encoding/fixtures/classes.rb
@@ -20,4 +20,26 @@ end
end
end
+
+ class InvalidByteSequenceError
+ def self.exception
+ ec = Encoding::... | Encoding: Expand fixtures file for InvalidByteSequenceError
|
diff --git a/lib/versionator/detector/owncloud.rb b/lib/versionator/detector/owncloud.rb
index abc1234..def5678 100644
--- a/lib/versionator/detector/owncloud.rb
+++ b/lib/versionator/detector/owncloud.rb
@@ -16,11 +16,6 @@ set :newest_version_url, 'https://owncloud.org/install/'
set :newest_version_select... | Update ownCloud detector to also cover 6.* |
diff --git a/ESTabBarController-swift.podspec b/ESTabBarController-swift.podspec
index abc1234..def5678 100644
--- a/ESTabBarController-swift.podspec
+++ b/ESTabBarController-swift.podspec
@@ -10,5 +10,6 @@ s.platform = :ios, '8.0'
s.source = {:git => 'https://github.com/eggswift/ESTabBarController... | Include Localizable.strings file in podspec
Without this, accessibility labels aren't being set with properly formatted localized strings |
diff --git a/mlb_gameday.gemspec b/mlb_gameday.gemspec
index abc1234..def5678 100644
--- a/mlb_gameday.gemspec
+++ b/mlb_gameday.gemspec
@@ -8,7 +8,7 @@ spec.version = MLBGameday::VERSION
spec.authors = ["Steven Hoffman"]
spec.email = ["git@fustrate.com"]
- spec.description = %q{MLB Gamed... | Add a real gem description
Signed-off-by: Steven Hoffman <46f1a0bd5592a2f9244ca321b129902a06b53e03@fustrate.com>
|
diff --git a/RNZipArchive.podspec b/RNZipArchive.podspec
index abc1234..def5678 100644
--- a/RNZipArchive.podspec
+++ b/RNZipArchive.podspec
@@ -16,15 +16,11 @@ s.library = 'z'
s.dependency 'React'
+ s.dependency 'SSZipArchive', '2.2.2'
s.subspec 'Core' do |ss|
ss.source_files = 'ios/*.{h,m}'
... | Update podspec to pull in SSZipArchive directly
This also eliminate the need to manually add libiconv and Security.framework.
|
diff --git a/app/workers/import_workers/finaliser_worker.rb b/app/workers/import_workers/finaliser_worker.rb
index abc1234..def5678 100644
--- a/app/workers/import_workers/finaliser_worker.rb
+++ b/app/workers/import_workers/finaliser_worker.rb
@@ -34,7 +34,8 @@
Search::Index.delete
Search::Index.create
-
+ ... | Add Search::Index.index in explcitly to import as a result of
the search refactor that has index creation and index indexing as two
separate steps now
|
diff --git a/attributes/default.rb b/attributes/default.rb
index abc1234..def5678 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -17,7 +17,7 @@ # limitations under the License.
#
-default['codecpetion']['dir'] = '/assets'
-default['codecpetion']['user'] = "www-data"
-default['codecpetion']['grou... | Access node attributes in a consistent manner
|
diff --git a/railties/test/json_params_parsing_test.rb b/railties/test/json_params_parsing_test.rb
index abc1234..def5678 100644
--- a/railties/test/json_params_parsing_test.rb
+++ b/railties/test/json_params_parsing_test.rb
@@ -3,7 +3,7 @@ require "active_record"
class JsonParamsParsingTest < ActionDispatch::Integr... | Drop a temporary table before end of a test case
|
diff --git a/db/migrate/20110410211735_seed_asset_booking_templates.rb b/db/migrate/20110410211735_seed_asset_booking_templates.rb
index abc1234..def5678 100644
--- a/db/migrate/20110410211735_seed_asset_booking_templates.rb
+++ b/db/migrate/20110410211735_seed_asset_booking_templates.rb
@@ -1,5 +1,8 @@ class SeedAsset... | Add column information reload to fix migration path.
|
diff --git a/config/environments/development.rb b/config/environments/development.rb
index abc1234..def5678 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,15 +1,16 @@ RacingOnRails::Application.configure do
- config.action_controller.perform_caching = false
- co... | Raise exception in dev if there are unpermitted attributes
|
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
@@ -1,9 +1,9 @@ require 'formula'
class GambitScheme <Formula
- url 'http://www.iro.umontreal.ca/~gambit/download/gambit/v4.5/s... | Update Gambit Scheme to v4.5.3
|
diff --git a/fix_stats.rb b/fix_stats.rb
index abc1234..def5678 100644
--- a/fix_stats.rb
+++ b/fix_stats.rb
@@ -0,0 +1,34 @@+require 'rubygems'
+require 'time'
+require 'sqlite3'
+
+db = SQLite3::Database.new('data.sqlite3')
+
+links_hash = {}
+links = []
+users = {}
+
+# Clear the stats
+db.execute("update stats set ... | Fix the TOTAL stats... but not dupes :\ |
diff --git a/lib/tasks/import/covid19_test_and_trace_scheme_links.rake b/lib/tasks/import/covid19_test_and_trace_scheme_links.rake
index abc1234..def5678 100644
--- a/lib/tasks/import/covid19_test_and_trace_scheme_links.rake
+++ b/lib/tasks/import/covid19_test_and_trace_scheme_links.rake
@@ -0,0 +1,35 @@+require "csv"
... | Add local links for Test and Trace scheme
What
We need to add the local authority links for the test and trace scheme
self isolation payments.
The rake task takes 3 params: LGSL code, LGIL code and a filename. The
file to which the filename points to must be a CSV file with 2 columns.
It must have a header row of "s... |
diff --git a/spec/workers/share_worker_spec.rb b/spec/workers/share_worker_spec.rb
index abc1234..def5678 100644
--- a/spec/workers/share_worker_spec.rb
+++ b/spec/workers/share_worker_spec.rb
@@ -5,21 +5,29 @@ describe ShareWorker do
let(:user) { FactoryBot.create(:user) }
let(:answer) { FactoryBot.create(:answe... | Test `ShareWorker`'s handling of unhandled exceptions
|
diff --git a/TGLStackedViewController.podspec b/TGLStackedViewController.podspec
index abc1234..def5678 100644
--- a/TGLStackedViewController.podspec
+++ b/TGLStackedViewController.podspec
@@ -0,0 +1,13 @@+Pod::Spec.new do |s|
+ s.name = 'TGLStackedViewController'
+ s.version = '0.0.1'
+ s.license = 'MIT'
+ s... | Add the podspec file for cocoapods
|
diff --git a/tinymce-rails-langs.gemspec b/tinymce-rails-langs.gemspec
index abc1234..def5678 100644
--- a/tinymce-rails-langs.gemspec
+++ b/tinymce-rails-langs.gemspec
@@ -6,6 +6,7 @@ s.files = Dir["README.md", "LICENSE", "lib/**/*", "vendor/**/*"]
s.authors = ["Sam Pohlenz"]
s.email = "sam@sampohlenz.com"
+ ... | Add home page to gemspec
|
diff --git a/html-conditional-comment.gemspec b/html-conditional-comment.gemspec
index abc1234..def5678 100644
--- a/html-conditional-comment.gemspec
+++ b/html-conditional-comment.gemspec
@@ -20,8 +20,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- s... | Upgrade dependencies by removing version restrictions
|
diff --git a/spec/factories/harvests.rb b/spec/factories/harvests.rb
index abc1234..def5678 100644
--- a/spec/factories/harvests.rb
+++ b/spec/factories/harvests.rb
@@ -3,7 +3,7 @@ FactoryBot.define do
factory :harvest do
crop { planting.present? ? planting.crop : FactoryBot.create(:crop) }
- plant_part { cr... | Use factory bot to make a harvest.plant_part
|
diff --git a/spec/factories/podcasts.rb b/spec/factories/podcasts.rb
index abc1234..def5678 100644
--- a/spec/factories/podcasts.rb
+++ b/spec/factories/podcasts.rb
@@ -1,12 +1,12 @@ FactoryBot.define do
factory :podcast, class: Podcast do
- track_id { 123 }
title { 'title' }
description ... | Stop using 'track_id' in sample data for test
|
diff --git a/db/migrate/067_remove_blog_ids.rb b/db/migrate/067_remove_blog_ids.rb
index abc1234..def5678 100644
--- a/db/migrate/067_remove_blog_ids.rb
+++ b/db/migrate/067_remove_blog_ids.rb
@@ -4,6 +4,7 @@ end
class Feedback < ActiveRecord::Base
+ set_table_name "feedback"
end
class Sidebar < Activ... | Fix up feedback table name in migration 067.
|
diff --git a/spec/models/rating_spec.rb b/spec/models/rating_spec.rb
index abc1234..def5678 100644
--- a/spec/models/rating_spec.rb
+++ b/spec/models/rating_spec.rb
@@ -0,0 +1,30 @@+require 'rails_helper'
+
+RSpec.describe Rating, type: :model do
+ let(:rating) { Rating.new(stars: 4, user_id: User.first.id, film_id: F... | Add validation tests to Rating model spec
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.