diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/spec/features/namespace_tracking_spec.rb b/spec/features/namespace_tracking_spec.rb
index abc1234..def5678 100644
--- a/spec/features/namespace_tracking_spec.rb
+++ b/spec/features/namespace_tracking_spec.rb
@@ -0,0 +1,50 @@+# frozen_string_literal: true
+
+require 'rails_helper'
+
+describe 'Namespace tra... | Add spec for adding/removing tracked namespaces
|
diff --git a/spec/support/cli_args_messages_helper.rb b/spec/support/cli_args_messages_helper.rb
index abc1234..def5678 100644
--- a/spec/support/cli_args_messages_helper.rb
+++ b/spec/support/cli_args_messages_helper.rb
@@ -13,16 +13,24 @@ end
class ErrorMessanger
- attr_reader :argument_missing, :option_inv... | Modify messages withing CLIArgMessanger helper
Changes within CLIArgValidator made it obligatory to modify changes in
the testing message helper as well.
|
diff --git a/config/software/opscode-pushy-server.rb b/config/software/opscode-pushy-server.rb
index abc1234..def5678 100644
--- a/config/software/opscode-pushy-server.rb
+++ b/config/software/opscode-pushy-server.rb
@@ -17,7 +17,7 @@ name "opscode-pushy-server"
default_version "1.1.0"
-source git: "git://opscode/op... | Use public github url format.
|
diff --git a/Kiwi.podspec b/Kiwi.podspec
index abc1234..def5678 100644
--- a/Kiwi.podspec
+++ b/Kiwi.podspec
@@ -1,6 +1,6 @@ Pod::Spec.new do |s|
s.name = 'Kiwi'
- s.version = '1.0.1'
+ s.version = '1.0.0'
s.summary = 'A Behavior Driven Development library for iPhone and iPad development.... | Revert podspec version to 1.0.0
|
diff --git a/app/models/adverse_event_file.rb b/app/models/adverse_event_file.rb
index abc1234..def5678 100644
--- a/app/models/adverse_event_file.rb
+++ b/app/models/adverse_event_file.rb
@@ -6,7 +6,7 @@ mount_uploader :attachment, GenericUploader
# Validations
- validates :project_id, :user_id, :adverse_event... | Remove duplicate validations that already handled by belongs_to
|
diff --git a/rom.gemspec b/rom.gemspec
index abc1234..def5678 100644
--- a/rom.gemspec
+++ b/rom.gemspec
@@ -16,11 +16,11 @@ gem.license = 'MIT'
gem.add_runtime_dependency 'addressable', '~> 2.3'
- gem.add_runtime_dependency 'concord', '~> 0.1.4'
- gem.add_runtime_dependency 'charlatan', '~> 0.1'
-... | Make version deps in gemspec less strict
|
diff --git a/lib/rize.rb b/lib/rize.rb
index abc1234..def5678 100644
--- a/lib/rize.rb
+++ b/lib/rize.rb
@@ -2,7 +2,4 @@ require "rize/iteration"
module Rize
- def self.included(base)
- base.extend self
- end
end
| Remove included hook for now
|
diff --git a/run_test.rb b/run_test.rb
index abc1234..def5678 100644
--- a/run_test.rb
+++ b/run_test.rb
@@ -8,19 +8,23 @@ end
end
-run("docker run --name=rubygems -d rubygems")
-run("docker run --name=api.rubygems -d api.rubygems")
-run("docker run --name=obs -d obs")
+servers = {
+ "rubygems" => "rubygems.org",... | Clean up test runner script
|
diff --git a/app/tasks/destroy_server_task.rb b/app/tasks/destroy_server_task.rb
index abc1234..def5678 100644
--- a/app/tasks/destroy_server_task.rb
+++ b/app/tasks/destroy_server_task.rb
@@ -12,7 +12,7 @@
begin
tasker.perform(:destroy, @user.id, @server.id)
- @server.create_credit_note_for_remaining... | Change name of create_credit_note_for_time_remaining() to @server.create_credit_note_for_remaining_time()
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -27,12 +27,21 @@ action :install
end
-# Remove the RPM packaged config if necessary
+# Remove the packaged config if necessary
%w{ conf.d/mod_evasive.conf
mods-available/eva... | Remove symlinks created by apt-get
|
diff --git a/recipes/default.rb b/recipes/default.rb
index abc1234..def5678 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -22,6 +22,15 @@ package nfspkg
end
+# Configure NFS client components
+node['nfs']['config']['client_templates'].each do |client_template|
+ template client_template do
+ mode... | Put templates in place before service resource calls
Put templates in place before service resource calls so that the services do not start until our configs are in place. |
diff --git a/log.gemspec b/log.gemspec
index abc1234..def5678 100644
--- a/log.gemspec
+++ b/log.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'evt-log'
- s.version = '0.5.0.0'
+ s.version = '0.5.1.0'
s.summary = 'Logging to STD IO with levels, tagging, and coloring'
... | Package version is increased from 0.5.0.0 to 0.5.1.0
|
diff --git a/cookbooks/geoserver/attributes/default.rb b/cookbooks/geoserver/attributes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/geoserver/attributes/default.rb
+++ b/cookbooks/geoserver/attributes/default.rb
@@ -16,8 +16,8 @@ default['geoserver']['group'] = nil
#Hmmm ... 2.2.4 does not seem to work ... | Rollback to a version known to work
|
diff --git a/app/controllers/ajax/relationship_controller.rb b/app/controllers/ajax/relationship_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/ajax/relationship_controller.rb
+++ b/app/controllers/ajax/relationship_controller.rb
@@ -17,8 +17,8 @@ )
@response[:success] = true
@response[... | Use generic handling of our own exceptions
Noticed that we shouldn't be trying to catch specific exceptions as `Dry::Types` will throw its own exceptions for validation errors.
|
diff --git a/app/controllers/api_engine/schema_controller.rb b/app/controllers/api_engine/schema_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api_engine/schema_controller.rb
+++ b/app/controllers/api_engine/schema_controller.rb
@@ -13,7 +13,7 @@ model_key = model.to_s.downcase.pluralize.to_... | Fix bug in schema json response
|
diff --git a/lib/generators/forem/views_generator.rb b/lib/generators/forem/views_generator.rb
index abc1234..def5678 100644
--- a/lib/generators/forem/views_generator.rb
+++ b/lib/generators/forem/views_generator.rb
@@ -9,6 +9,7 @@
def copy_views
view_directory :admin
+ view_directory :categori... | Copy categories views in views generator
|
diff --git a/lib/honeybadger-read-api/team_member.rb b/lib/honeybadger-read-api/team_member.rb
index abc1234..def5678 100644
--- a/lib/honeybadger-read-api/team_member.rb
+++ b/lib/honeybadger-read-api/team_member.rb
@@ -2,18 +2,25 @@ module Read
class TeamMember
- attr_reader :id, :name, :email, :admin, ... | Rewrite internal representation of the user for a team member.
|
diff --git a/app/presenters/tree_builder_storage_adapters.rb b/app/presenters/tree_builder_storage_adapters.rb
index abc1234..def5678 100644
--- a/app/presenters/tree_builder_storage_adapters.rb
+++ b/app/presenters/tree_builder_storage_adapters.rb
@@ -3,8 +3,7 @@ has_kids_for MiqScsiTarget, [:x_get_tree_target_kids]... | Drop the unnecessary sandbox variable in storage adapters 🌳✂️✂️
|
diff --git a/serverspec.gemspec b/serverspec.gemspec
index abc1234..def5678 100644
--- a/serverspec.gemspec
+++ b/serverspec.gemspec
@@ -23,6 +23,4 @@ spec.add_runtime_dependency "highline"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
- spec.add_development_depende... | Remove dependency of guard-rspec and growl
guard-rspec needs celluloids and it depends on Ruby 1.9 and later.
|
diff --git a/ethon.gemspec b/ethon.gemspec
index abc1234..def5678 100644
--- a/ethon.gemspec
+++ b/ethon.gemspec
@@ -18,7 +18,7 @@ s.license = 'MIT'
s.add_dependency('ffi', ['>= 1.3.0'])
- s.add_dependency('mime-types', ['< 3', '>= 1.18'])
+ s.add_dependency('mime-types', ['~> 1.18'])
s.files = `gi... | Revert "Support newer versions of mime-types"
This reverts commit 1a54d0a6a040515154819aa5a410e646ba570c20.
|
diff --git a/lib/generators/components/tests/rspec.rb b/lib/generators/components/tests/rspec.rb
index abc1234..def5678 100644
--- a/lib/generators/components/tests/rspec.rb
+++ b/lib/generators/components/tests/rspec.rb
@@ -4,7 +4,7 @@ describe "!NAME!Decorator" do
it 'can construct a new instance' do
object =... | Add context to spec example
|
diff --git a/test_site/config/boot.rb b/test_site/config/boot.rb
index abc1234..def5678 100644
--- a/test_site/config/boot.rb
+++ b/test_site/config/boot.rb
@@ -1,5 +1,5 @@ require 'rubygems'
-gem 'rails', '3.1.3'
+gem 'rails', '3.2.0'
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path(... | Update rails test site to 3.2.0
|
diff --git a/0_code_wars/who_has_the_most_money.rb b/0_code_wars/who_has_the_most_money.rb
index abc1234..def5678 100644
--- a/0_code_wars/who_has_the_most_money.rb
+++ b/0_code_wars/who_has_the_most_money.rb
@@ -0,0 +1,13 @@+# http://www.codewars.com/kata/528d36d7cc451cd7e4000339/
+# --- iteration 1 ---
+def most_mone... | Add code wars (6) - who has the most money
|
diff --git a/test/serializers/attributes_test.rb b/test/serializers/attributes_test.rb
index abc1234..def5678 100644
--- a/test/serializers/attributes_test.rb
+++ b/test/serializers/attributes_test.rb
@@ -23,8 +23,14 @@ @profile_serializer.attributes(fields: [:name, :description], required_fields: ... | Add test which passes false explicitly
|
diff --git a/APIService/APIService-TalkingData.podspec b/APIService/APIService-TalkingData.podspec
index abc1234..def5678 100644
--- a/APIService/APIService-TalkingData.podspec
+++ b/APIService/APIService-TalkingData.podspec
@@ -0,0 +1,23 @@+Pod::Spec.new do |s|
+ s.name = "APIService-TalkingData"
+ s.ve... | Revert "Revert "Revert "Remove TalkingData, app can use TalkingData-AppAnalytics instead"""
This reverts commit 4dad652cdcc6729ddefc03e0019166da7efa272b.
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,6 +1,6 @@ name "go"
description "Installs/Configures Go servers and agents"
-version "0.0.4"
+version "0.0.5"
supports "ubuntu" "12.04"
| Use TW apt repo for package installation
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -8,4 +8,4 @@ depends 'build-essential'
depends 'java'
depends 'runit'
-depends 'zookeeper', '>= 2.0.0'
+depends 'zookeeper', '~> 2.0'
| Switch to pessimistic version constraint for zookeeper
Future-proofing against future potentially breaking releases of the
Zookeeper cookbook.
|
diff --git a/error_data.gemspec b/error_data.gemspec
index abc1234..def5678 100644
--- a/error_data.gemspec
+++ b/error_data.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'error_data'
- s.version = '0.0.1.10'
+ s.version = '0.1.0.0'
s.summary = 'Representation of an e... | Package version increased from 0.0.1.10 0.1.0.0
|
diff --git a/metadata.rb b/metadata.rb
index abc1234..def5678 100644
--- a/metadata.rb
+++ b/metadata.rb
@@ -1,10 +1,10 @@ name 'owncloud'
-maintainer 'YOUR_NAME'
-maintainer_email 'YOUR_EMAIL'
-license 'All rights reserved'
+maintainer 'David Pando'
+maintainer_email 'david.pando@gmail... | Bump cookbook version to 0.9.0
|
diff --git a/spec/models/spree/order/checkout_spec.rb b/spec/models/spree/order/checkout_spec.rb
index abc1234..def5678 100644
--- a/spec/models/spree/order/checkout_spec.rb
+++ b/spec/models/spree/order/checkout_spec.rb
@@ -0,0 +1,29 @@+require 'spec_helper'
+
+describe Spree::Order do
+ describe 'event :restart_chec... | Test :restart_checkout state machine event
|
diff --git a/recipes/postgresql.rb b/recipes/postgresql.rb
index abc1234..def5678 100644
--- a/recipes/postgresql.rb
+++ b/recipes/postgresql.rb
@@ -12,14 +12,16 @@ # Include postgresql_database
include_recipe "database::postgresql"
-# Create production database
+# Create databases for Rails app
postgresql_connecti... | Create devel and test databases too
|
diff --git a/tod.gemspec b/tod.gemspec
index abc1234..def5678 100644
--- a/tod.gemspec
+++ b/tod.gemspec
@@ -12,8 +12,6 @@ s.summary = %q{Supplies TimeOfDay class}
s.description = %q{Supplies TimeOfDay class that includes parsing, strftime, comparison, and arithmetic.}
- s.rubyforge_project = "tod"
-
s.a... | Remove RubyForge project from gemspec.
|
diff --git a/LunchOverflow/spec/features/users_spec.rb b/LunchOverflow/spec/features/users_spec.rb
index abc1234..def5678 100644
--- a/LunchOverflow/spec/features/users_spec.rb
+++ b/LunchOverflow/spec/features/users_spec.rb
@@ -0,0 +1,16 @@+require 'rails_helper'
+
+feature 'User managment' do
+
+ scenario "add new ... | Add features test for form create a new user
|
diff --git a/github_cli.gemspec b/github_cli.gemspec
index abc1234..def5678 100644
--- a/github_cli.gemspec
+++ b/github_cli.gemspec
@@ -9,7 +9,7 @@ gem.homepage = "http://github.com/peter-murach/github_cli"
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
- gem.files ... | Add manpages to load path.
|
diff --git a/runner.gemspec b/runner.gemspec
index abc1234..def5678 100644
--- a/runner.gemspec
+++ b/runner.gemspec
@@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = 'runner'
- s.version = '0.1.1'
+ s.version = '0.1.2'
s.summary = 'Run files that match a file specification, excl... | Package version patch number is increased from 0.1.1 to 0.1.2
|
diff --git a/schema.gemspec b/schema.gemspec
index abc1234..def5678 100644
--- a/schema.gemspec
+++ b/schema.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'evt-schema'
s.summary = "Primitives for schema and data structure"
- s.version = '2.2.4.2'
+ s.version = '2.2.4.3'
s.description = ' '
... | Package version is increased from 2.2.4.2 to 2.2.4.3
|
diff --git a/Formula/instantclient-sqlplus.rb b/Formula/instantclient-sqlplus.rb
index abc1234..def5678 100644
--- a/Formula/instantclient-sqlplus.rb
+++ b/Formula/instantclient-sqlplus.rb
@@ -17,7 +17,7 @@ end
lib.install Dir["*.dylib"]
bin.install ["sqlplus"]
- if MacOS.version == :catalina
+ if M... | Use all files script for MacOS versions catalina or later
On macOS Big Sur 11.1 when running `sqlplus` I get the following error:
```
$ sqlplus
Error 6 initializing SQL*Plus
SP2-0667: Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
```
The ins... |
diff --git a/config/initializers/delayed_job_config.rb b/config/initializers/delayed_job_config.rb
index abc1234..def5678 100644
--- a/config/initializers/delayed_job_config.rb
+++ b/config/initializers/delayed_job_config.rb
@@ -3,4 +3,4 @@ Delayed::Worker.sleep_delay = 60
Delayed::Worker.max_attempts = 25
Delayed::W... | Use separate logger for job worker.
|
diff --git a/shibui.gemspec b/shibui.gemspec
index abc1234..def5678 100644
--- a/shibui.gemspec
+++ b/shibui.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
- s.version = "0.0.1"
+ s.version = "0.0.1.alpha"
s.date = "2012-03-08"
s.name = "shibui"
@@ -8,7 +8,7 @@ s.summary = %q{The Heroku stylegui... | Update gemspec for initial alpha release
|
diff --git a/app/inputs/array_input.rb b/app/inputs/array_input.rb
index abc1234..def5678 100644
--- a/app/inputs/array_input.rb
+++ b/app/inputs/array_input.rb
@@ -1,6 +1,7 @@ class ArrayInput < SimpleForm::Inputs::StringInput
include ActionView::Helpers::TagHelper
include ActionView::Context
+ include ActiveSu... | Improve array input "add" button text
|
diff --git a/app/jobs/retract_tweet.rb b/app/jobs/retract_tweet.rb
index abc1234..def5678 100644
--- a/app/jobs/retract_tweet.rb
+++ b/app/jobs/retract_tweet.rb
@@ -9,6 +9,12 @@ @queue = :retract_tweets
def self.perform(tweet_id)
+ # you never liked this tweet
+ Favorite.by_tweet_id.key(tweet_id).each do |... | Delete favorites for a deleted tweet.
|
diff --git a/worker_host/sudo/recipes/default.rb b/worker_host/sudo/recipes/default.rb
index abc1234..def5678 100644
--- a/worker_host/sudo/recipes/default.rb
+++ b/worker_host/sudo/recipes/default.rb
@@ -31,7 +31,7 @@ end
node['sudo']['users'].each do |user|
- file "/etc/sudoers.d/90-user-#{user}" do
+ file "/etc... | Correct sudoers filename to use sudo username
|
diff --git a/template.rb b/template.rb
index abc1234..def5678 100644
--- a/template.rb
+++ b/template.rb
@@ -3,7 +3,8 @@ gem 'logstash-event', '~> 1.2.02'
environment 'config.logger = Logger.new(STDOUT)'
-environment 'config.lograge.enabled = true'
-environment 'config.lograge.formatter = Lograge::Formatters::Logsta... | Disable lograge in non production environments
|
diff --git a/Library/Homebrew/formula_test.rb b/Library/Homebrew/formula_test.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/formula_test.rb
+++ b/Library/Homebrew/formula_test.rb
@@ -41,3 +41,12 @@ end
end
end
+
+class CommentedTemplateCode <Test::Unit::TestCase
+ def test_for_commented_out_cmake
+ ... | Add formula test that looks for commented-out template code.
|
diff --git a/Library/Homebrew/test/formula_test.rb b/Library/Homebrew/test/formula_test.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/test/formula_test.rb
+++ b/Library/Homebrew/test/formula_test.rb
@@ -39,4 +39,12 @@ assert_equal('', result, "--prefix is incorrectly single-quoted in #{f}")
end
... | Add formula check for crufy SourceForge URLs.
|
diff --git a/app/services/payment_income.rb b/app/services/payment_income.rb
index abc1234..def5678 100644
--- a/app/services/payment_income.rb
+++ b/app/services/payment_income.rb
@@ -8,7 +8,6 @@ res = income.save
res = create_ledger && res
res = create_interest && res
- res = ledger.save && r... | Save only the interest when set
|
diff --git a/db/ar_persistence_config.rb b/db/ar_persistence_config.rb
index abc1234..def5678 100644
--- a/db/ar_persistence_config.rb
+++ b/db/ar_persistence_config.rb
@@ -18,6 +18,8 @@
def create_manager
ActiveRecord::Base.establish_connection(connection_info)
+ ActiveRecord::Migration.verbose = fal... | Make PersistenceManager run ActiveRecord migrations
|
diff --git a/spec/controllers/members_controller_spec.rb b/spec/controllers/members_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/members_controller_spec.rb
+++ b/spec/controllers/members_controller_spec.rb
@@ -10,11 +10,20 @@ end
describe "GET 'show'" do
- it "returns http success" ... | Update tests for active flags
|
diff --git a/spec/lob/resources/us_verifications_spec.rb b/spec/lob/resources/us_verifications_spec.rb
index abc1234..def5678 100644
--- a/spec/lob/resources/us_verifications_spec.rb
+++ b/spec/lob/resources/us_verifications_spec.rb
@@ -20,7 +20,7 @@
result["recipient"].must_equal(@sample_params[:recipient])
... | fix(test): Fix test to pass build
|
diff --git a/lib/tasks/deployment/20191114084623_archivee_to_close.rake b/lib/tasks/deployment/20191114084623_archivee_to_close.rake
index abc1234..def5678 100644
--- a/lib/tasks/deployment/20191114084623_archivee_to_close.rake
+++ b/lib/tasks/deployment/20191114084623_archivee_to_close.rake
@@ -0,0 +1,15 @@+namespace ... | Migrate procedures archivee to close
|
diff --git a/merb-gen/app_generators/merb/templates/spec/spec_helper.rb b/merb-gen/app_generators/merb/templates/spec/spec_helper.rb
index abc1234..def5678 100644
--- a/merb-gen/app_generators/merb/templates/spec/spec_helper.rb
+++ b/merb-gen/app_generators/merb/templates/spec/spec_helper.rb
@@ -2,6 +2,8 @@ require 'me... | Add a note on plugins loading to generated spec helper.
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -29,6 +29,6 @@
# Not found handler
def not_found
- render(:status => 404)
+ ... | Handle 404 rails way (static). |
diff --git a/app/controllers/newsletters_controller.rb b/app/controllers/newsletters_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/newsletters_controller.rb
+++ b/app/controllers/newsletters_controller.rb
@@ -14,7 +14,7 @@ end
def raw
- token = params[:token].split("+").first
+ token = ... | Switch to shared token parser.
|
diff --git a/app/models/fluentd/setting/out_forward.rb b/app/models/fluentd/setting/out_forward.rb
index abc1234..def5678 100644
--- a/app/models/fluentd/setting/out_forward.rb
+++ b/app/models/fluentd/setting/out_forward.rb
@@ -4,6 +4,10 @@ include Fluentd::Setting::Plugin
register_plugin("output", "for... | Use out_file as secondary output
Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
|
diff --git a/app/models/spree/credit_card_decorator.rb b/app/models/spree/credit_card_decorator.rb
index abc1234..def5678 100644
--- a/app/models/spree/credit_card_decorator.rb
+++ b/app/models/spree/credit_card_decorator.rb
@@ -1,3 +1,6 @@ Spree::CreditCard.class_eval do
attr_accessor :name
+ unless Rails::VERSION... | Add attr_accessible to credit card name
|
diff --git a/test/omniauth/strategies/backlog_test.rb b/test/omniauth/strategies/backlog_test.rb
index abc1234..def5678 100644
--- a/test/omniauth/strategies/backlog_test.rb
+++ b/test/omniauth/strategies/backlog_test.rb
@@ -2,11 +2,14 @@
class TestOmniAuthBacklogWithSiteId < StrategyTestCase
-
- def test_site_is_... | Refactor (set testing options in setup).
|
diff --git a/core/exception/interrupt_spec.rb b/core/exception/interrupt_spec.rb
index abc1234..def5678 100644
--- a/core/exception/interrupt_spec.rb
+++ b/core/exception/interrupt_spec.rb
@@ -29,7 +29,7 @@ sleep
rescue Interrupt => e
e.signo.should == Signal.list["INT"]
- e.signm.should == ""
+ ... | Allow a message for the Interrupt exception from SIGINT
|
diff --git a/app/controllers/api/v1/search_controller.rb b/app/controllers/api/v1/search_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/search_controller.rb
+++ b/app/controllers/api/v1/search_controller.rb
@@ -1,7 +1,7 @@ # frozen_string_literal: true
class Api::V1::SearchController < Api:... | Raise search results count to 10 for test
reference: https://mastodon.xyz/users/lx/updates/278054
|
diff --git a/app/controllers/cms/resources_controller.rb b/app/controllers/cms/resources_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/cms/resources_controller.rb
+++ b/app/controllers/cms/resources_controller.rb
@@ -1,6 +1,15 @@ module Cms
class ResourcesController < ApplicationController
+ b... | Add index action for resources
|
diff --git a/app/controllers/pages/uptimes_controller.rb b/app/controllers/pages/uptimes_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/pages/uptimes_controller.rb
+++ b/app/controllers/pages/uptimes_controller.rb
@@ -10,11 +10,11 @@ @end_date = Date.parse(params[:end]).end_of_day
if @ty... | Remove uptime multiplied by 100
|
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -1,4 +1,13 @@ class RegistrationsController < Devise::RegistrationsController
+
+ d... | Implement code to allow user who sign in with Facebook to not need a password to update their profile
|
diff --git a/app/controllers/spree/wished_products_controller.rb b/app/controllers/spree/wished_products_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/wished_products_controller.rb
+++ b/app/controllers/spree/wished_products_controller.rb
@@ -19,7 +19,7 @@
def update
@wished_product =... | Fix strong parameter in update action
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,6 +1,17 @@ class ApplicationController < ActionController::Base
protect_from_forgery
+... | Use admin layout for login form
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -10,8 +10,7 @@ end
def require_login
- return true if logged_in?
- redirect_to(... | Rewrite require_login to use QA::NotLoggedIn
|
diff --git a/core/random/bytes_spec.rb b/core/random/bytes_spec.rb
index abc1234..def5678 100644
--- a/core/random/bytes_spec.rb
+++ b/core/random/bytes_spec.rb
@@ -1,4 +1,4 @@-# -*- encoding: us-ascii -*-
+# -*- encoding: binary -*-
require File.expand_path('../../../spec_helper', __FILE__)
describe "Random#bytes"... | Fix magic encoding to avoid utf-8 conflicts
|
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,23 +3,23 @@ # For APIs, you may want to use :null_session instead.
protect_from_forg... | Rename local variable, before_action instead
|
diff --git a/app/controllers/letsencrypt_controller.rb b/app/controllers/letsencrypt_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/letsencrypt_controller.rb
+++ b/app/controllers/letsencrypt_controller.rb
@@ -1,5 +1,7 @@ class LetsencryptController < ApplicationController
def verify
- render t... | Use a new letsencrypt key.
|
diff --git a/app/helpers/app_frame/bootstrap_helper.rb b/app/helpers/app_frame/bootstrap_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/app_frame/bootstrap_helper.rb
+++ b/app/helpers/app_frame/bootstrap_helper.rb
@@ -18,6 +18,12 @@ map[type.to_sym] || type
end
+ def icon(key, options = {... | Add a bootstrap helper for icons
|
diff --git a/lib/haml/sass_rails_filter.rb b/lib/haml/sass_rails_filter.rb
index abc1234..def5678 100644
--- a/lib/haml/sass_rails_filter.rb
+++ b/lib/haml/sass_rails_filter.rb
@@ -4,7 +4,11 @@ # Rails's asset helpers to be used inside Haml Sass filter.
class SassRailsTemplate < ::Sass::Rails::SassTemplate
... | Make inline sass work with sprockets 3.x
- Fixes #844
- Sprockets 3 changed Sprockets::Context#initialize to take a hash
argument
- This makes haml incompatible with inline sass for sprockets 2.x but
since the last sprockets 2.x release was in 2014 this is probably acceptable
|
diff --git a/lib/peoplesoft_models/base.rb b/lib/peoplesoft_models/base.rb
index abc1234..def5678 100644
--- a/lib/peoplesoft_models/base.rb
+++ b/lib/peoplesoft_models/base.rb
@@ -2,6 +2,8 @@ # that a developer is using to connect to PeopleSoft tables. All generated
# models inherit from this class instead of ActiveR... | Make PeoplesoftModels::Base nesting consistent with other classes
|
diff --git a/lib/podio/models/extension.rb b/lib/podio/models/extension.rb
index abc1234..def5678 100644
--- a/lib/podio/models/extension.rb
+++ b/lib/podio/models/extension.rb
@@ -1,6 +1,9 @@ class Podio::Extension < ActivePodio::Base
property :name, :string
property :installation_url, :string
+ property :statu... | Add user relation and status property
|
diff --git a/lib/soapbox_comment_linker.rb b/lib/soapbox_comment_linker.rb
index abc1234..def5678 100644
--- a/lib/soapbox_comment_linker.rb
+++ b/lib/soapbox_comment_linker.rb
@@ -48,7 +48,8 @@ }
)
- return response['id'] if response.code == 201
+ fail "Uh oh. Response was #{response.cod... | Comment linker dies on failure, rather than carrying on like a trooper.
|
diff --git a/lib/tasks/setup_exchange.rake b/lib/tasks/setup_exchange.rake
index abc1234..def5678 100644
--- a/lib/tasks/setup_exchange.rake
+++ b/lib/tasks/setup_exchange.rake
@@ -1,6 +1,6 @@ desc "Create RabbitMQ exchanges"
task setup_exchange: :environment do
- config = YAML.load_file(Rails.root.join("config/rabbi... | Use Rails method to get RabbitMQ config
The previous implementation isn't compatible with Ruby 3.1 due to the
upgrade of Psych (YAML library) to 4.0 [1] in stdlib and the change in `load_file`.
A simpler way to replace this is to use the Rails built in method to
load a config file.
[1]: https://github.com/ruby/psych... |
diff --git a/lib/district_cn.rb b/lib/district_cn.rb
index abc1234..def5678 100644
--- a/lib/district_cn.rb
+++ b/lib/district_cn.rb
@@ -24,6 +24,8 @@
def search(text,limit=10)
results = []
+ return results if text.empty?
+
list.each do |id,name|
break if results.size.eql?(limit)... | Fix return all cities when searching empty text |
diff --git a/lib/buildr_plus/features/repositories.rb b/lib/buildr_plus/features/repositories.rb
index abc1234..def5678 100644
--- a/lib/buildr_plus/features/repositories.rb
+++ b/lib/buildr_plus/features/repositories.rb
@@ -22,7 +22,6 @@ if BuildrPlus::FeatureManager.activated?(:geolatte)
Buildr.reposit... | Remove reference to decomissioned repository
|
diff --git a/lib/sepa/banks/danske/danske_response.rb b/lib/sepa/banks/danske/danske_response.rb
index abc1234..def5678 100644
--- a/lib/sepa/banks/danske/danske_response.rb
+++ b/lib/sepa/banks/danske/danske_response.rb
@@ -25,5 +25,13 @@ @ca_certificate ||= extract_cert(doc, 'CACert', DANSKE_PKI)
end
+ ... | Add find_node_by_uri to DanskeResponse since they use a slightly different method from identifying xml nodes
|
diff --git a/stripe.gemspec b/stripe.gemspec
index abc1234..def5678 100644
--- a/stripe.gemspec
+++ b/stripe.gemspec
@@ -1,6 +1,6 @@ $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
-require File.expand_path('../lib/stripe/version', __FILE__)
+require 'stripe/version'
spec = Gem::Specification.new do |s|
s.... | Update gemspec to dynamically select files
|
diff --git a/rubygems-compile.gemspec b/rubygems-compile.gemspec
index abc1234..def5678 100644
--- a/rubygems-compile.gemspec
+++ b/rubygems-compile.gemspec
@@ -1,6 +1,6 @@ GEM_SPEC = Gem::Specification.new do |s|
s.name = 'rubygems-compile'
- s.version = '1.0.0'
+ s.version = '1.0.0beta'
s.summary =... | Change version to beta for early release |
diff --git a/bootstrap/recipes/configure.rb b/bootstrap/recipes/configure.rb
index abc1234..def5678 100644
--- a/bootstrap/recipes/configure.rb
+++ b/bootstrap/recipes/configure.rb
@@ -18,3 +18,8 @@ end if File.file?(service_file)
end
end
+
+# reload consul
+service 'consul' do
+ action :reload
+end
| Add consul reloading logic to reload service files of optional patterns.
|
diff --git a/script/lib/installers.rb b/script/lib/installers.rb
index abc1234..def5678 100644
--- a/script/lib/installers.rb
+++ b/script/lib/installers.rb
@@ -5,7 +5,7 @@ safe_exec("pip", "install proselint", "-V") do
puts "\t * Command 'pip' is not available"
puts "\t * Installing 'pip' using 'easy_insta... | Remove sudo when calling easy_install
|
diff --git a/spec/models/embeddable/multiple_choice_question_spec.rb b/spec/models/embeddable/multiple_choice_question_spec.rb
index abc1234..def5678 100644
--- a/spec/models/embeddable/multiple_choice_question_spec.rb
+++ b/spec/models/embeddable/multiple_choice_question_spec.rb
@@ -10,6 +10,7 @@ @multichoice.page... | Update multiple choice test to reflect that we're no longer auto-creating default choices.
|
diff --git a/app/services/upload_sanitizer.rb b/app/services/upload_sanitizer.rb
index abc1234..def5678 100644
--- a/app/services/upload_sanitizer.rb
+++ b/app/services/upload_sanitizer.rb
@@ -1,4 +1,4 @@-# frozen_string_literal: true
+# frozen_string_literal: false
# Formats uploaded files to UTF-8 encoding and str... | Revert to false so strings can be mutated in this class
|
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index abc1234..def5678 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -0,0 +1,10 @@+require 'rails_helper'
+
+describe ApplicationHelper, type: :helper do
+ it 'should r... | Add spec to test the development favicon in ApplicationHelper
|
diff --git a/spec/requests/admin/admin_ideas_spec.rb b/spec/requests/admin/admin_ideas_spec.rb
index abc1234..def5678 100644
--- a/spec/requests/admin/admin_ideas_spec.rb
+++ b/spec/requests/admin/admin_ideas_spec.rb
@@ -14,9 +14,10 @@ end
it "works! (now write some real specs)" do
- # Run the generator... | Update Admin Idea request specs
* Remove 'webrat' generation comment
* Add pending message for further tests
|
diff --git a/features/support/hooks.rb b/features/support/hooks.rb
index abc1234..def5678 100644
--- a/features/support/hooks.rb
+++ b/features/support/hooks.rb
@@ -28,6 +28,8 @@ @new_user['user']['user_id'] = 'landregistry'
@new_user['user']['password'] = 'integration'
insert_user(@new_user)
- puts 'Creating ... | Create additional test data at the end of integration run
This will enable further diagnosis for elasticsearch matching issues without having to do formal releases to preview
|
diff --git a/config/initializers/timeout.rb b/config/initializers/timeout.rb
index abc1234..def5678 100644
--- a/config/initializers/timeout.rb
+++ b/config/initializers/timeout.rb
@@ -1,2 +1,3 @@ # https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#timeout
Rack::Timeout.timeou... | Reduce the logs produced by Rack::Timeout
|
diff --git a/app/controllers/categories_controller.rb b/app/controllers/categories_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/categories_controller.rb
+++ b/app/controllers/categories_controller.rb
@@ -1,10 +1,10 @@ class CategoriesController < ApplicationController
def index
-
+ @categorie... | Create instance variables within the categories controller
|
diff --git a/app/controllers/news_items_controller.rb b/app/controllers/news_items_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/news_items_controller.rb
+++ b/app/controllers/news_items_controller.rb
@@ -1,9 +1,10 @@ class NewsItemsController < ApplicationController
include NewsItemsHelper
+ ... | Load networks for browsing and searching news items
|
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... | Switch the cookie serializer to json
To avoid any remote code execution issues with the marshal
serializer. Not that they'll affect the content store, and internal
application that to my knowledge doesn't use cookies... ¯\_(ツ)_/¯
|
diff --git a/foundation-center.gemspec b/foundation-center.gemspec
index abc1234..def5678 100644
--- a/foundation-center.gemspec
+++ b/foundation-center.gemspec
@@ -8,9 +8,9 @@ spec.version = Foundation::Center::VERSION
spec.authors = ["Dan Porter"]
spec.email = ["wolfpakz@gmail.com"]
- spe... | Add description and summary to gemspec
|
diff --git a/app/models/renalware/accesses/patient.rb b/app/models/renalware/accesses/patient.rb
index abc1234..def5678 100644
--- a/app/models/renalware/accesses/patient.rb
+++ b/app/models/renalware/accesses/patient.rb
@@ -30,7 +30,7 @@ scope :with_profile, lambda {
joins(<<-SQL)
left outer ... | Fix sorting by access in HD MDM
Correct an incorrect where clause - it was effectively sorting on the name of the last terminated access rather then the current one
|
diff --git a/0_code_wars/double_cola.rb b/0_code_wars/double_cola.rb
index abc1234..def5678 100644
--- a/0_code_wars/double_cola.rb
+++ b/0_code_wars/double_cola.rb
@@ -0,0 +1,38 @@+# http://www.codewars.com/kata/551dd1f424b7a4cdae0001f0
+# --- iteration 1 ---
+def whoIsNext(names, n)
+ cutoff = prev_cutoff(n, names.l... | Add code wars (5) - double cola
|
diff --git a/Casks/keyboard-maestro.rb b/Casks/keyboard-maestro.rb
index abc1234..def5678 100644
--- a/Casks/keyboard-maestro.rb
+++ b/Casks/keyboard-maestro.rb
@@ -3,4 +3,5 @@ homepage 'http://www.keyboardmaestro.com/'
version 'latest'
no_checksum
+ link 'Keyboard Maestro.app'
end
| Add link to Keyboard Maestro
|
diff --git a/vp_to_ki.rb b/vp_to_ki.rb
index abc1234..def5678 100644
--- a/vp_to_ki.rb
+++ b/vp_to_ki.rb
@@ -22,7 +22,7 @@ File.open(ARGV[0]) do |file|
$doc = Nokogiri::XML(file)
$project_name = $doc.>('Project').first['name']
- root_state = State.new($doc.>('Project > Models'), nil, 0) # recursively builds sta... | Use Node instead of NodeSet for root state |
diff --git a/lib/backlog_kit/response/file_parser.rb b/lib/backlog_kit/response/file_parser.rb
index abc1234..def5678 100644
--- a/lib/backlog_kit/response/file_parser.rb
+++ b/lib/backlog_kit/response/file_parser.rb
@@ -20,7 +20,7 @@ encode = match_data[1]
filename = match_data[2]
return file... | Fix unexpected ArgumentError when decode URL-encoded filename on Ruby 2.0.0
|
diff --git a/lib/brakeman/processors/lib/processor_helper.rb b/lib/brakeman/processors/lib/processor_helper.rb
index abc1234..def5678 100644
--- a/lib/brakeman/processors/lib/processor_helper.rb
+++ b/lib/brakeman/processors/lib/processor_helper.rb
@@ -10,7 +10,7 @@ def process_all! exp
exp.each_with_index do |e... | Fix horrible negligence in process_all!
|
diff --git a/week-6/gps.rb b/week-6/gps.rb
index abc1234..def5678 100644
--- a/week-6/gps.rb
+++ b/week-6/gps.rb
@@ -0,0 +1,42 @@+# Your Names
+# 1)
+# 2)
+
+# We spent [#] hours on this challenge.
+
+# Bakery Serving Size portion calculator.
+
+def serving_size_calc(item_to_make, num_of_ingredients)
+ library = {"coo... | Add content to GPS file
|
diff --git a/test/helper.rb b/test/helper.rb
index abc1234..def5678 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,15 +1,21 @@ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib"))
+
+require 'coveralls'
+Coveralls.wear!
+
+SimpleCov.start do
+ project_name "Ork"
+ command_name "Protest"
+
... | Add coveralls gem and setup SimpleCov |
diff --git a/spec/factories/kalibro_configurations.rb b/spec/factories/kalibro_configurations.rb
index abc1234..def5678 100644
--- a/spec/factories/kalibro_configurations.rb
+++ b/spec/factories/kalibro_configurations.rb
@@ -15,10 +15,5 @@ name "Perl"
description "Code metrics for Perl."
end
-
- fa... | Remove unused factory for KalibroConfiguration
|
diff --git a/lib/file_data/formats/exif/exif_data.rb b/lib/file_data/formats/exif/exif_data.rb
index abc1234..def5678 100644
--- a/lib/file_data/formats/exif/exif_data.rb
+++ b/lib/file_data/formats/exif/exif_data.rb
@@ -6,6 +6,18 @@
def initialize
@hash = SECTIONS.each_with_object({}) { |pair, hash| hash[... | Add some convenience methods to the image hash
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.