diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/mongo_followable.gemspec b/mongo_followable.gemspec
index abc1234..def5678 100644
--- a/mongo_followable.gemspec
+++ b/mongo_followable.gemspec
@@ -14,6 +14,7 @@ s.rubyforge_project = "mongo_followable"
s.add_development_dependency('rspec', '> 2.7.0')
+ s.add_development_dependency('rake')
s.add... | Add rake to gemspec dev dependencies for travis.
|
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/default_spec.rb
+++ b/test/integration/default/serverspec/default_spec.rb
@@ -2,7 +2,7 @@
# Write integration tests with Server... | Add test to check port 8080
|
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/default_spec.rb
+++ b/test/integration/default/serverspec/default_spec.rb
@@ -17,16 +17,48 @@ end
end
-describe command('/us... | Add more ServerSpec tests for git, bash, and ccache
|
diff --git a/spec/generators/views/views_generator_spec.rb b/spec/generators/views/views_generator_spec.rb
index abc1234..def5678 100644
--- a/spec/generators/views/views_generator_spec.rb
+++ b/spec/generators/views/views_generator_spec.rb
@@ -0,0 +1,30 @@+require 'spec_helper'
+
+require 'generators/model_base/views/... | Add spec for model_base:views generator
|
diff --git a/spec/github_cli/commands/repositories_spec.rb b/spec/github_cli/commands/repositories_spec.rb
index abc1234..def5678 100644
--- a/spec/github_cli/commands/repositories_spec.rb
+++ b/spec/github_cli/commands/repositories_spec.rb
@@ -0,0 +1,38 @@+# encoding: utf-8
+
+require 'spec_helper'
+
+describe GithubC... | Add repo listing command specs.
|
diff --git a/spec/system/shared_examples/redis_instance.rb b/spec/system/shared_examples/redis_instance.rb
index abc1234..def5678 100644
--- a/spec/system/shared_examples/redis_instance.rb
+++ b/spec/system/shared_examples/redis_instance.rb
@@ -21,7 +21,7 @@ else
expect {
ser... | Update error message to reflect switch from single quotes to backticks
[#159764090]
Signed-off-by: Sarah Connor <df3768d6ee4349d41e20c7bd8dfa6947d0a1c2b9@pivotal.io>
|
diff --git a/lib/redditkit/response/parse_json.rb b/lib/redditkit/response/parse_json.rb
index abc1234..def5678 100644
--- a/lib/redditkit/response/parse_json.rb
+++ b/lib/redditkit/response/parse_json.rb
@@ -13,7 +13,7 @@ # an application/json header, we want to return the body itself if the
# JSON pa... | Correct option for MultiJSON is :symbolize_keys not :symbolize_name
|
diff --git a/packages/react-native/BugsnagReactNative.podspec b/packages/react-native/BugsnagReactNative.podspec
index abc1234..def5678 100644
--- a/packages/react-native/BugsnagReactNative.podspec
+++ b/packages/react-native/BugsnagReactNative.podspec
@@ -1,5 +1,7 @@ require "json"
package = JSON.parse(File.read(File... | feat(react-native): Copy public_header_paths from bugsnag-cocoa podspec
|
diff --git a/lib/talia_core/macro_contribution.rb b/lib/talia_core/macro_contribution.rb
index abc1234..def5678 100644
--- a/lib/talia_core/macro_contribution.rb
+++ b/lib/talia_core/macro_contribution.rb
@@ -1,22 +1,32 @@-module TaliaCore
-
- # This represents a macrocontribution.
- #
- # Everything valid for a n... | Make sure has_many_polymorphs gem is loaded if missing in local paths
git-svn-id: 0c007ce6f683c3a50607bc1a0b961fa833bb4e37@735 2960d7dc-a92c-0410-a2fe-c68badc242c0
|
diff --git a/lib/x-editable-rails/view_helpers.rb b/lib/x-editable-rails/view_helpers.rb
index abc1234..def5678 100644
--- a/lib/x-editable-rails/view_helpers.rb
+++ b/lib/x-editable-rails/view_helpers.rb
@@ -5,6 +5,9 @@ def editable(object, method, options = {})
data_url = polymorphic_path(object)
... | Handle non-strings a little better? |
diff --git a/app/models/notification_services/slack_service.rb b/app/models/notification_services/slack_service.rb
index abc1234..def5678 100644
--- a/app/models/notification_services/slack_service.rb
+++ b/app/models/notification_services/slack_service.rb
@@ -14,7 +14,7 @@ end
def message_for_slack(problem)
- ... | Use problem.url in Slack notification service.
|
diff --git a/Library/Homebrew/compat/tap.rb b/Library/Homebrew/compat/tap.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/compat/tap.rb
+++ b/Library/Homebrew/compat/tap.rb
@@ -4,6 +4,9 @@ super
return unless user == "caskroom"
+
+ old_initial_revision_var = "HOMEBREW_UPDATE_BEFORE#{repo_var... | Add compatibility layer for `brew update` revisions.
|
diff --git a/app/controllers/api/v1/message_controller.rb b/app/controllers/api/v1/message_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/api/v1/message_controller.rb
+++ b/app/controllers/api/v1/message_controller.rb
@@ -1,7 +1,46 @@+require 'json'
+
module Api
module V1
- class MessageControlle... | Add API version for MessageController
|
diff --git a/app/helpers/application_helper/button/cockpit_console.rb b/app/helpers/application_helper/button/cockpit_console.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper/button/cockpit_console.rb
+++ b/app/helpers/application_helper/button/cockpit_console.rb
@@ -4,6 +4,7 @@ def disabled?
... | Disable Web Console button when platform is Windows
https://bugzilla.redhat.com/show_bug.cgi?id=1447100
|
diff --git a/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb b/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb
index abc1234..def5678 100644
--- a/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb
+++ b/lib/nmea_plus/message/ais/vdm_payload/vdm_msg8d366f56.rb
@@ -4,6 +4,10 @@ module Message
... | Remove redundant code and add message about (lack of) decryption capability
|
diff --git a/config/initializers/simplificator_infrastructure_assets.rb b/config/initializers/simplificator_infrastructure_assets.rb
index abc1234..def5678 100644
--- a/config/initializers/simplificator_infrastructure_assets.rb
+++ b/config/initializers/simplificator_infrastructure_assets.rb
@@ -0,0 +1,3 @@+Rails.appli... | Add images to assets precompile list
Unless you overwrite the images in your app, you will get the following error:
Error during failsafe response: Asset was not declared to be precompiled in production.
|
diff --git a/racket.gemspec b/racket.gemspec
index abc1234..def5678 100644
--- a/racket.gemspec
+++ b/racket.gemspec
@@ -3,12 +3,12 @@ Gem::Specification.new do |s|
s.name = 'racket'
s.homepage = 'https://github.com/lasso/racket'
- s.license = 'GPL3'
+ s.license ... | Update gemspec with licence info.
|
diff --git a/rapido.gemspec b/rapido.gemspec
index abc1234..def5678 100644
--- a/rapido.gemspec
+++ b/rapido.gemspec
@@ -1,6 +1,6 @@ Gem::Specification.new do |s|
# Release Specific Information
- s.version = "0.2.1"
+ s.version = "0.2.2"
s.date = "2014-03-15"
# Gem Details
| Fix version number in .gemspec
|
diff --git a/nokia2droid.rb b/nokia2droid.rb
index abc1234..def5678 100644
--- a/nokia2droid.rb
+++ b/nokia2droid.rb
@@ -5,8 +5,8 @@ require 'nokogiri'
require 'vcardigan'
-def forward_convert in_filename
- src = File.open(in_filename)
+def forward_convert options
+ src = File.open(options.filename)
doc = Nokog... | Add option to dump contact information to stdout
|
diff --git a/recipes/nfs.rb b/recipes/nfs.rb
index abc1234..def5678 100644
--- a/recipes/nfs.rb
+++ b/recipes/nfs.rb
@@ -22,7 +22,7 @@ network '192.168.22.0/24'
writeable true
sync true
- options ['no_root_squash', 'async']
+ options ['no_root_squash', 'async', 'fsid=1']
end
# Enable and start rpcbind
| Add fsid=1 to allow export over tmpfs filesystem.
|
diff --git a/config/initializers/postgres_required_versions.rb b/config/initializers/postgres_required_versions.rb
index abc1234..def5678 100644
--- a/config/initializers/postgres_required_versions.rb
+++ b/config/initializers/postgres_required_versions.rb
@@ -5,14 +5,13 @@ end
def check_version
- msg = "The ... | Allow PG 10-13, disallow 9 and lower, warn on 14+
|
diff --git a/test/test_metrics.rb b/test/test_metrics.rb
index abc1234..def5678 100644
--- a/test/test_metrics.rb
+++ b/test/test_metrics.rb
@@ -2,11 +2,49 @@ require 'fintop/metrics'
class MetricsTest < Test::Unit::TestCase
- def test_process_ostrich_json
- json_str = %q{{"counters":{"srv\/http\/received_bytes"... | Add tests for Fintop::Metrics JSON string parsing functions.
|
diff --git a/db/migrate/20170301101006_add_ci_runner_groups.rb b/db/migrate/20170301101006_add_ci_runner_groups.rb
index abc1234..def5678 100644
--- a/db/migrate/20170301101006_add_ci_runner_groups.rb
+++ b/db/migrate/20170301101006_add_ci_runner_groups.rb
@@ -11,11 +11,9 @@ t.integer :group_id
end
- ad... | Remove unecessary index on ci_runner_groups.runner_id
|
diff --git a/rubocop-fatsoma.gemspec b/rubocop-fatsoma.gemspec
index abc1234..def5678 100644
--- a/rubocop-fatsoma.gemspec
+++ b/rubocop-fatsoma.gemspec
@@ -27,8 +27,8 @@ spec.extra_rdoc_files = ['MIT-LICENSE.md', 'README.md']
spec.add_dependency 'version', '~> 1.0'
+ spec.add_dependency('rubocop', '~> 0.49')
... | Set rubocop as a standard dependency
|
diff --git a/buildserver/cookbooks/android-ndk/recipes/default.rb b/buildserver/cookbooks/android-ndk/recipes/default.rb
index abc1234..def5678 100644
--- a/buildserver/cookbooks/android-ndk/recipes/default.rb
+++ b/buildserver/cookbooks/android-ndk/recipes/default.rb
@@ -8,7 +8,7 @@ code "
wget http://dl.google... | Correct ndk-r8b install for build server
|
diff --git a/adash.gemspec b/adash.gemspec
index abc1234..def5678 100644
--- a/adash.gemspec
+++ b/adash.gemspec
@@ -19,8 +19,8 @@ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundler", "~> 1.13"
- spec.add_development_... | Remove dependency versions for bundler and rake
|
diff --git a/lib/capistrano/mailer.rb b/lib/capistrano/mailer.rb
index abc1234..def5678 100644
--- a/lib/capistrano/mailer.rb
+++ b/lib/capistrano/mailer.rb
@@ -14,7 +14,7 @@ class Configuration
module CapistranoMailer
def send_notification_email(cap, config = {}, *args)
- CapMailer.deliver_notific... | Make sure we are passing the pointer of args to 'CapMailer.deliver_notification_email'. Otherwise, notifcation_email will see args as a double array so it will ignore any parameters. |
diff --git a/lib/detectify/railtie.rb b/lib/detectify/railtie.rb
index abc1234..def5678 100644
--- a/lib/detectify/railtie.rb
+++ b/lib/detectify/railtie.rb
@@ -1,7 +1,7 @@ module Detectify
class Railtie < Rails::Railtie
initializer 'detectify' do |app|
- app.config.middleware.use 'Detectify::Middleware'
+... | Fix 'Passing strings or symbols to the middleware builder' Rails 5 deprecation warning
|
diff --git a/lib/dino/tx_rx/telnet.rb b/lib/dino/tx_rx/telnet.rb
index abc1234..def5678 100644
--- a/lib/dino/tx_rx/telnet.rb
+++ b/lib/dino/tx_rx/telnet.rb
@@ -21,7 +21,7 @@ io.waitfor("\n") do |text|
@read_buffer += text
while line = @read_buffer.slice!(/^.*\n/) do
- ... | Use chomp instead of chop for lines in TxRx::Telnet
|
diff --git a/lib/hash_diff_builder.rb b/lib/hash_diff_builder.rb
index abc1234..def5678 100644
--- a/lib/hash_diff_builder.rb
+++ b/lib/hash_diff_builder.rb
@@ -22,7 +22,9 @@ attr_reader :presenter, :previous_item, :current_item
def create_diff(previous_item, current_item)
- HashDiff.diff(previous_item, curre... | Disable LCS in HashDiff for faster performance
|
diff --git a/lib/onliest/snowflake.rb b/lib/onliest/snowflake.rb
index abc1234..def5678 100644
--- a/lib/onliest/snowflake.rb
+++ b/lib/onliest/snowflake.rb
@@ -28,8 +28,6 @@
def time
while (t = time_now) < @older_time
- #puts @older_time
- #puts t
sleep((@older_time - t) / 1000)
end
... | Remove some commented out debugging junk. |
diff --git a/resources/application.rb b/resources/application.rb
index abc1234..def5678 100644
--- a/resources/application.rb
+++ b/resources/application.rb
@@ -3,6 +3,7 @@ CFG_PATH = '/etc/profile.d/rails.sh'
attribute :directory, kind_of: [String], name_attribute: true
+attribute :user, kind... | Add the user attribute. D'oh
|
diff --git a/app/decorators/optional_modules/newsletter_user_decorator.rb b/app/decorators/optional_modules/newsletter_user_decorator.rb
index abc1234..def5678 100644
--- a/app/decorators/optional_modules/newsletter_user_decorator.rb
+++ b/app/decorators/optional_modules/newsletter_user_decorator.rb
@@ -4,4 +4,21 @@ cl... | Add status_tag for newsletter_users role
|
diff --git a/lib/knife_cookbook_doc/documenting_lwrp_base.rb b/lib/knife_cookbook_doc/documenting_lwrp_base.rb
index abc1234..def5678 100644
--- a/lib/knife_cookbook_doc/documenting_lwrp_base.rb
+++ b/lib/knife_cookbook_doc/documenting_lwrp_base.rb
@@ -16,9 +16,9 @@ end
NOT_PASSED = defined?(::Chef::NOT_PASS... | Revert "Restore support for ruby pre-2.0 versions."
This reverts commit 04763e3abcacd209b5cf281be6e0cec80912ab12.
|
diff --git a/lib/netsuite/records/journal_entry_line_list.rb b/lib/netsuite/records/journal_entry_line_list.rb
index abc1234..def5678 100644
--- a/lib/netsuite/records/journal_entry_line_list.rb
+++ b/lib/netsuite/records/journal_entry_line_list.rb
@@ -1,31 +1,11 @@ module NetSuite
module Records
- class JournalE... | Refactor JournalEntryLineList to use Support::Sublist
|
diff --git a/lib/sections/pvp_data.rb b/lib/sections/pvp_data.rb
index abc1234..def5678 100644
--- a/lib/sections/pvp_data.rb
+++ b/lib/sections/pvp_data.rb
@@ -12,11 +12,11 @@ end
end
- @character.data['max_2v2_rating'] = @data.achievement_statistics.statistics[9].sub_categories[0].statistics.sel... | Fix highest PvP rating tracking.
|
diff --git a/ipaddresslabs.gemspec b/ipaddresslabs.gemspec
index abc1234..def5678 100644
--- a/ipaddresslabs.gemspec
+++ b/ipaddresslabs.gemspec
@@ -6,11 +6,10 @@ Gem::Specification.new do |spec|
spec.name = "ipaddresslabs"
spec.version = Ipaddresslabs::VERSION
- spec.authors = ["TODO: Write... | Add gem data and HTTParty dependency
|
diff --git a/lib/swagger_yard/type.rb b/lib/swagger_yard/type.rb
index abc1234..def5678 100644
--- a/lib/swagger_yard/type.rb
+++ b/lib/swagger_yard/type.rb
@@ -29,7 +29,8 @@ @schema ||= TypeParser.new.json_schema(source)
end
- def schema_with(model_path: MODEL_PATH)
+ def schema_with(options = {})
+... | Switch to options hash for 1.9 compat
|
diff --git a/core/spec/controllers/users/confirmations_controller_spec.rb b/core/spec/controllers/users/confirmations_controller_spec.rb
index abc1234..def5678 100644
--- a/core/spec/controllers/users/confirmations_controller_spec.rb
+++ b/core/spec/controllers/users/confirmations_controller_spec.rb
@@ -28,7 +28,7 @@ ... | Use travel instead of freeze, and use 40.months for clarity
|
diff --git a/lib/generators/mini_test/feature/templates/feature_spec.rb b/lib/generators/mini_test/feature/templates/feature_spec.rb
index abc1234..def5678 100644
--- a/lib/generators/mini_test/feature/templates/feature_spec.rb
+++ b/lib/generators/mini_test/feature/templates/feature_spec.rb
@@ -1,8 +1,8 @@ require "mi... | Update feature generator to use the Capybara spec DSL
|
diff --git a/lib/active_set/processors/paginate_processor.rb b/lib/active_set/processors/paginate_processor.rb
index abc1234..def5678 100644
--- a/lib/active_set/processors/paginate_processor.rb
+++ b/lib/active_set/processors/paginate_processor.rb
@@ -6,7 +6,8 @@ class ActiveSet
class PaginateProcessor < BaseProces... | Fix bug where Paginator wasn’t returning the proper result
Wasn’t extracting the set from the processed result
|
diff --git a/app/controllers/doc_controller.rb b/app/controllers/doc_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/doc_controller.rb
+++ b/app/controllers/doc_controller.rb
@@ -3,6 +3,10 @@ # Simple controller for serving documentation
class DocController < ApplicationController
def index
+ @... | Fix view-rendering regression in 'about UKHPI'
|
diff --git a/app/models/survey_field.rb b/app/models/survey_field.rb
index abc1234..def5678 100644
--- a/app/models/survey_field.rb
+++ b/app/models/survey_field.rb
@@ -3,10 +3,18 @@ belongs_to :survey_template
has_many :field_responses, :dependent => :destroy
serialize :field_options, JSON
+ before_save :pepp... | Set field_options to [] if not set - pepperup
|
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index abc1234..def5678 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -1,5 +1,22 @@ require 'rails_helper'
RSpec.describe User, type: :model do
- pending "add some examples to (or delete) #{__FILE__}"
+
+ let(:user){User.new(... | Add attribute tests for user model.
|
diff --git a/app/validators/email_validator.rb b/app/validators/email_validator.rb
index abc1234..def5678 100644
--- a/app/validators/email_validator.rb
+++ b/app/validators/email_validator.rb
@@ -1,7 +1,7 @@ class EmailValidator < ActiveModel::EachValidator
def validate_each(record, attribute, value)
unless va... | Replace static error message with I18n text.
|
diff --git a/app/models/export/base.rb b/app/models/export/base.rb
index abc1234..def5678 100644
--- a/app/models/export/base.rb
+++ b/app/models/export/base.rb
@@ -6,7 +6,7 @@ # remove any existing tmp file
path = Base.tmp_path basename
path.unlink if path.exist?
- path.dirname.mkdir_p unless ... | Use FileUtils, not Pathname to create export dirs
|
diff --git a/engines/adva_user/app/controllers/user_controller.rb b/engines/adva_user/app/controllers/user_controller.rb
index abc1234..def5678 100644
--- a/engines/adva_user/app/controllers/user_controller.rb
+++ b/engines/adva_user/app/controllers/user_controller.rb
@@ -1,5 +1,5 @@ class UserController < BaseControll... | Revert "user: vertify method was under authentication_required". Authentication is done via URL token and is needed for verification.
This reverts commit 96b23c01b3c4f8cd0efa57868bab9ab5a2433beb.
|
diff --git a/db/migrate/20140119103212_topics_field_lengths.rb b/db/migrate/20140119103212_topics_field_lengths.rb
index abc1234..def5678 100644
--- a/db/migrate/20140119103212_topics_field_lengths.rb
+++ b/db/migrate/20140119103212_topics_field_lengths.rb
@@ -0,0 +1,7 @@+class TopicsFieldLengths < ActiveRecord::Migrat... | Change semester, subject_area and topic_number max lengths of topics table
Allows Adelaide Uni Support
|
diff --git a/softwareplanet-cms/app/helpers/cms/source_code_helper.rb b/softwareplanet-cms/app/helpers/cms/source_code_helper.rb
index abc1234..def5678 100644
--- a/softwareplanet-cms/app/helpers/cms/source_code_helper.rb
+++ b/softwareplanet-cms/app/helpers/cms/source_code_helper.rb
@@ -11,6 +11,7 @@ editor_name... | Clear history of newly created editors
|
diff --git a/db/migrate/20171028230429_create_median_function.rb b/db/migrate/20171028230429_create_median_function.rb
index abc1234..def5678 100644
--- a/db/migrate/20171028230429_create_median_function.rb
+++ b/db/migrate/20171028230429_create_median_function.rb
@@ -2,10 +2,11 @@
class CreateMedianFunction < Active... | Comment out a migration that needs an old gem to work
|
diff --git a/lib/executors/configurators/yaml/validator.rb b/lib/executors/configurators/yaml/validator.rb
index abc1234..def5678 100644
--- a/lib/executors/configurators/yaml/validator.rb
+++ b/lib/executors/configurators/yaml/validator.rb
@@ -1,3 +1,6 @@+require "executors/configurators/yaml/validation_warn"
+
+# YAM... | Switch to warn validation class.
|
diff --git a/Casks/plex-media-server.rb b/Casks/plex-media-server.rb
index abc1234..def5678 100644
--- a/Casks/plex-media-server.rb
+++ b/Casks/plex-media-server.rb
@@ -1,7 +1,7 @@ class PlexMediaServer < Cask
- url 'http://downloads.plexapp.com/plex-media-server/0.9.9.5.411-da1d892/PlexMediaServer-0.9.9.5.411-da1d892... | Update Plex Media Server version from 0.9.9.5.411 to 0.9.9.7.429 |
diff --git a/lib/rspec/support/spec/deprecation_helpers.rb b/lib/rspec/support/spec/deprecation_helpers.rb
index abc1234..def5678 100644
--- a/lib/rspec/support/spec/deprecation_helpers.rb
+++ b/lib/rspec/support/spec/deprecation_helpers.rb
@@ -18,6 +18,10 @@ allow(RSpec.configuration.reporter).to receive(:deprecat... | Add another deprecation helper method. |
diff --git a/app/models/catarse_pagarme/fee_calculator_concern.rb b/app/models/catarse_pagarme/fee_calculator_concern.rb
index abc1234..def5678 100644
--- a/app/models/catarse_pagarme/fee_calculator_concern.rb
+++ b/app/models/catarse_pagarme/fee_calculator_concern.rb
@@ -9,7 +9,7 @@ transaction = PagarMe::Transa... | Fix typo in fee calculator
|
diff --git a/clock.gemspec b/clock.gemspec
index abc1234..def5678 100644
--- a/clock.gemspec
+++ b/clock.gemspec
@@ -2,7 +2,7 @@ Gem::Specification.new do |s|
s.name = 'clock'
s.summary = 'Clock interface with support for dependency configuration for real and null object implementations'
- s.version = '0.1.1'
+ ... | Package version is increased from 0.1.1 to 0.1.2
|
diff --git a/lib/ember-cli/engine.rb b/lib/ember-cli/engine.rb
index abc1234..def5678 100644
--- a/lib/ember-cli/engine.rb
+++ b/lib/ember-cli/engine.rb
@@ -5,10 +5,8 @@ end
initializer "ember-cli-rails.inflector" do
- if Rails.version > "3.2"
- ActiveSupport::Inflector.inflections :en do |inflec... | Fix inflector initializer for older Rails
Fix #115 Fix #117
|
diff --git a/lib/securer_randomer/monkeypatch/secure_random.rb b/lib/securer_randomer/monkeypatch/secure_random.rb
index abc1234..def5678 100644
--- a/lib/securer_randomer/monkeypatch/secure_random.rb
+++ b/lib/securer_randomer/monkeypatch/secure_random.rb
@@ -17,6 +17,8 @@ case n
when nil
0... | Check for Numeric before Range
|
diff --git a/lib/gattica/asserter.rb b/lib/gattica/asserter.rb
index abc1234..def5678 100644
--- a/lib/gattica/asserter.rb
+++ b/lib/gattica/asserter.rb
@@ -1,3 +1,5 @@+require 'google/api_client'
+
module Gattica
# Represents a user to be authenticated by GA
| Fix 1.9.3 Asserter error issue
|
diff --git a/rbvppc.gemspec b/rbvppc.gemspec
index abc1234..def5678 100644
--- a/rbvppc.gemspec
+++ b/rbvppc.gemspec
@@ -11,7 +11,7 @@ spec.summary = %q{Remote access for IBM P-Series}
spec.description = %q{This gem provides remote access to IBM P-Series}
spec.homepage = ""
- spec.license = ... | Change spec.license to MIT in gemspec
|
diff --git a/railties/configs/initializers/new_rails_defaults.rb b/railties/configs/initializers/new_rails_defaults.rb
index abc1234..def5678 100644
--- a/railties/configs/initializers/new_rails_defaults.rb
+++ b/railties/configs/initializers/new_rails_defaults.rb
@@ -1,8 +1,5 @@ # These settings change the behavior of... | Return Partial Updates to be purely opt in to prevent users from inadvertently corrupting data.
|
diff --git a/scripts/purge_staging.rb b/scripts/purge_staging.rb
index abc1234..def5678 100644
--- a/scripts/purge_staging.rb
+++ b/scripts/purge_staging.rb
@@ -1,6 +1,8 @@ # Use Rails runner to execute this script:
#
# rails r scripts/purge_staging.rb
+
+USER = 'feeder'.freeze
posts_count = 0
@@ -9,22 +11,26 ... | Check post author name during purging
|
diff --git a/sequel-collation.gemspec b/sequel-collation.gemspec
index abc1234..def5678 100644
--- a/sequel-collation.gemspec
+++ b/sequel-collation.gemspec
@@ -14,4 +14,6 @@ gem.name = "sequel-collation"
gem.require_paths = ["lib"]
gem.version = Sequel::Collation::VERSION
+
+ gem.add_dependency... | Add sequel as a dependency
|
diff --git a/ext/hitimes/c/extconf.rb b/ext/hitimes/c/extconf.rb
index abc1234..def5678 100644
--- a/ext/hitimes/c/extconf.rb
+++ b/ext/hitimes/c/extconf.rb
@@ -4,7 +4,7 @@ if RbConfig::CONFIG['host_os'] =~ /darwin/ then
$CFLAGS += " -DUSE_INSTANT_OSX=1 -Wall"
$LDFLAGS += " -framework CoreServices"
-elsif RbConfi... | Add support for 64-bit Windows rubies.
|
diff --git a/lib/ffi-glib/bytes.rb b/lib/ffi-glib/bytes.rb
index abc1234..def5678 100644
--- a/lib/ffi-glib/bytes.rb
+++ b/lib/ffi-glib/bytes.rb
@@ -32,15 +32,6 @@ end
end
- class << self
- undef new
- end
-
- def self.new(arr)
- data = GirFFI::SizedArray.from :guint8, arr.size, arr
- ... | Remove obsolete override for GLib::Bytes.new
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -1 +1,7 @@-run lambda{|env| [200, {'Content-Type' => 'text/plain'}, ["heroku-modular"]]}
+require 'first_app/app'
+require 'second_app/app'
+
+run Rack::URLMap.new(
+ '/first_app' => FirstApp::App,
+ '/second_app' => S... | Use Rack::URLMap to run either FirstApp or SecondApp
|
diff --git a/config.ru b/config.ru
index abc1234..def5678 100644
--- a/config.ru
+++ b/config.ru
@@ -4,7 +4,10 @@ Bundler.require(:default)
$LOAD_PATH.unshift(::File.expand_path('lib', ::File.dirname(__FILE__)))
+
require 'nesta/env'
+Nesta::Env.root = ::File.expand_path('.', ::File.dirname(__FILE__))
+
require 'n... | Set Nesta root for local dev/testing.
|
diff --git a/lib/poke/constants.rb b/lib/poke/constants.rb
index abc1234..def5678 100644
--- a/lib/poke/constants.rb
+++ b/lib/poke/constants.rb
@@ -2,8 +2,8 @@
module Dimensions
GRID = 32
- HEIGHT = 15 * GRID
- WIDTH = 10 * GRID
+ HEIGHT = 10 * GRID
+ WIDTH = 15 * GRID
end
module Color... | Change window size back to landscape
|
diff --git a/ruote-postges.gemspec b/ruote-postges.gemspec
index abc1234..def5678 100644
--- a/ruote-postges.gemspec
+++ b/ruote-postges.gemspec
@@ -27,7 +27,7 @@ s.add_runtime_dependency 'ruote'
s.add_dependency 'rake'
- s.add_dependency 'pg', '0.14.1'
+ s.add_dependency 'pg'
s.add_dependency 'yajl-ruby'
... | Remove explicit PG gem version requirement
|
diff --git a/lib/caprese/adapter/json_api/resource_identifier.rb b/lib/caprese/adapter/json_api/resource_identifier.rb
index abc1234..def5678 100644
--- a/lib/caprese/adapter/json_api/resource_identifier.rb
+++ b/lib/caprese/adapter/json_api/resource_identifier.rb
@@ -41,7 +41,7 @@ end
def id_for(ser... | Allow choosing of primary key for JSON API resource identifiers
|
diff --git a/lib/vagrant-proxyconf/action/configure_git_proxy.rb b/lib/vagrant-proxyconf/action/configure_git_proxy.rb
index abc1234..def5678 100644
--- a/lib/vagrant-proxyconf/action/configure_git_proxy.rb
+++ b/lib/vagrant-proxyconf/action/configure_git_proxy.rb
@@ -21,8 +21,12 @@ end
def configure... | Fix git proxy config with falsy values
|
diff --git a/features/step_definitions/error_handling_steps.rb b/features/step_definitions/error_handling_steps.rb
index abc1234..def5678 100644
--- a/features/step_definitions/error_handling_steps.rb
+++ b/features/step_definitions/error_handling_steps.rb
@@ -5,10 +5,6 @@
When /^I try to use Yacht( with a whitelist)... | Remove redundant cucumber step definition
|
diff --git a/src/bosh_openstack_cpi/spec/integration/lifecycle_v2_spec.rb b/src/bosh_openstack_cpi/spec/integration/lifecycle_v2_spec.rb
index abc1234..def5678 100644
--- a/src/bosh_openstack_cpi/spec/integration/lifecycle_v2_spec.rb
+++ b/src/bosh_openstack_cpi/spec/integration/lifecycle_v2_spec.rb
@@ -4,8 +4,6 @@ b... | Remove non-working and unnecessary file deletion
[#134444111](https://www.pivotaltracker.com/story/show/134444111)
Signed-off-by: Felix Riegger <9c2aa7530239a330bbac6ac4f56e0946781dfd29@sap.com>
|
diff --git a/sipXconfig/bin/sipx-upgrade-3.6-mailstore-report.rb b/sipXconfig/bin/sipx-upgrade-3.6-mailstore-report.rb
index abc1234..def5678 100644
--- a/sipXconfig/bin/sipx-upgrade-3.6-mailstore-report.rb
+++ b/sipXconfig/bin/sipx-upgrade-3.6-mailstore-report.rb
@@ -15,7 +15,7 @@ def report(mailstore, output)
... | FIX BUILD : look for mailboxprefs.xml exactly, not a pattern match (was picking up subversion metadata files)
git-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@9012 a612230a-c5fa-0310-af8b-88eea846685b
|
diff --git a/test/integration/default/serverspec/default_spec.rb b/test/integration/default/serverspec/default_spec.rb
index abc1234..def5678 100644
--- a/test/integration/default/serverspec/default_spec.rb
+++ b/test/integration/default/serverspec/default_spec.rb
@@ -0,0 +1,18 @@+require 'serverspec'
+
+set :backend, ... | Add chefspec for the package / service
|
diff --git a/db/data_migrations/20190121163911_resolve_zero_percent_measure_cigarettes_further_measures.rb b/db/data_migrations/20190121163911_resolve_zero_percent_measure_cigarettes_further_measures.rb
index abc1234..def5678 100644
--- a/db/data_migrations/20190121163911_resolve_zero_percent_measure_cigarettes_further... | Add data migration to resolve further 0% measure
It was reported that the Erga Omnes value for further cigarette
commodities was showing as 0%. Upon investigation we discovered an
incorrect measures had been supplied in the CHIEF file on 28/11/2018,
to resolve this we've implemented a data migration that removes the
i... |
diff --git a/mobu.gemspec b/mobu.gemspec
index abc1234..def5678 100644
--- a/mobu.gemspec
+++ b/mobu.gemspec
@@ -25,6 +25,6 @@ spec.add_development_dependency "minitest"
spec.add_development_dependency "mocha", "~> 1.0"
- spec.add_dependency "rack", "~> 1.4"
+ spec.add_dependency "rack", ">= 1.4"
spec.add_d... | Allow Rack version 1.4 or higher, to support Rails 5 upgrade
|
diff --git a/slack-gamebot/api/presenters/status_presenter.rb b/slack-gamebot/api/presenters/status_presenter.rb
index abc1234..def5678 100644
--- a/slack-gamebot/api/presenters/status_presenter.rb
+++ b/slack-gamebot/api/presenters/status_presenter.rb
@@ -11,8 +11,14 @@
property :games_count
property :g... | Return GC stats after a GC.start.
|
diff --git a/voting_booth.gemspec b/voting_booth.gemspec
index abc1234..def5678 100644
--- a/voting_booth.gemspec
+++ b/voting_booth.gemspec
@@ -19,6 +19,6 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.add_dependency("rails", "~> 3.0.0")
+ s.ad... | Allow any version of Rails 3.x.
|
diff --git a/spec/controllers/applications_controller_spec.rb b/spec/controllers/applications_controller_spec.rb
index abc1234..def5678 100644
--- a/spec/controllers/applications_controller_spec.rb
+++ b/spec/controllers/applications_controller_spec.rb
@@ -1,5 +1,60 @@ require 'spec_helper'
describe ApplicationsCont... | Add functional tests for ApplicationsController
|
diff --git a/spec/features/admin/configuration/general_settings_spec.rb b/spec/features/admin/configuration/general_settings_spec.rb
index abc1234..def5678 100644
--- a/spec/features/admin/configuration/general_settings_spec.rb
+++ b/spec/features/admin/configuration/general_settings_spec.rb
@@ -30,4 +30,19 @@ ex... | Test that currency symbol position can be changed
|
diff --git a/Library/Homebrew/unpack_strategy/executable.rb b/Library/Homebrew/unpack_strategy/executable.rb
index abc1234..def5678 100644
--- a/Library/Homebrew/unpack_strategy/executable.rb
+++ b/Library/Homebrew/unpack_strategy/executable.rb
@@ -1,17 +1,9 @@ require_relative "uncompressed"
-
-require "vendor/macho/m... | Remove `MachO` check for `Executable`.
|
diff --git a/lib/fog/google/models/storage_json/directories.rb b/lib/fog/google/models/storage_json/directories.rb
index abc1234..def5678 100644
--- a/lib/fog/google/models/storage_json/directories.rb
+++ b/lib/fog/google/models/storage_json/directories.rb
@@ -18,16 +18,7 @@ ... | Remove handler for unused options and unused file loading in directory
|
diff --git a/spec/factories/sequences.rb b/spec/factories/sequences.rb
index abc1234..def5678 100644
--- a/spec/factories/sequences.rb
+++ b/spec/factories/sequences.rb
@@ -4,5 +4,6 @@ factory :sequence do
title "MyString"
description "MyText"
+ abstract "short abstract"
end
end
| Add abstract to sequence factory.
|
diff --git a/spec/support/service.rb b/spec/support/service.rb
index abc1234..def5678 100644
--- a/spec/support/service.rb
+++ b/spec/support/service.rb
@@ -46,3 +46,10 @@ attribute :id, :integer
attribute :text, :string
end
+
+# DRAFT: Singular resource
+#class Singular < Acfs::Resource
+# service UserService, ... | Add spec draft for singular resources.
|
diff --git a/lib/arel/session.rb b/lib/arel/session.rb
index abc1234..def5678 100644
--- a/lib/arel/session.rb
+++ b/lib/arel/session.rb
@@ -35,12 +35,10 @@
def update(update)
update.call
- update
end
def delete(delete)
delete.call
- delete
end
end
... | Return delete result instead Arel object
|
diff --git a/lib/geo_redirect.rb b/lib/geo_redirect.rb
index abc1234..def5678 100644
--- a/lib/geo_redirect.rb
+++ b/lib/geo_redirect.rb
@@ -4,6 +4,8 @@ module GeoRedirect
# Load rake tasks
- require 'geo_redirect/railtie' if defined?(Rails)
+ if defined? Rails
+ require 'geo_redirect/railtie'
+ end
end
| Convert inline if to block
This was the simplecov coverage is no longer 100%,
because we don't test the railtie (see issue #14).
|
diff --git a/config/schedule.rb b/config/schedule.rb
index abc1234..def5678 100644
--- a/config/schedule.rb
+++ b/config/schedule.rb
@@ -21,7 +21,7 @@
set :output, 'log/cron.log'
-every 30.minutes do
+every 5.minutes do
rake "batch:update_constantly"
end
| Change update_constantly back to every 5 minutes
|
diff --git a/lib/slatan/mouth.rb b/lib/slatan/mouth.rb
index abc1234..def5678 100644
--- a/lib/slatan/mouth.rb
+++ b/lib/slatan/mouth.rb
@@ -1,11 +1,33 @@+require 'slatan/spirit'
+require 'slatan/api_wrapper/chat'
+
+require 'net/http'
+
module Slatan
- class Mouth
- def initialize(heart)
- @heart = heart
- ... | Create post system using Slack Web API
|
diff --git a/lib/sorty/params.rb b/lib/sorty/params.rb
index abc1234..def5678 100644
--- a/lib/sorty/params.rb
+++ b/lib/sorty/params.rb
@@ -1,33 +1,55 @@ module Sorty
class Params
- attr_reader :column, :direction, :declared
+ attr_reader :column, :direction, :defined_cols, :collection
DEFAULT_SORT_KEY... | Add bang methods and handle errors
|
diff --git a/lib/vimentor/cli.rb b/lib/vimentor/cli.rb
index abc1234..def5678 100644
--- a/lib/vimentor/cli.rb
+++ b/lib/vimentor/cli.rb
@@ -1,14 +1,14 @@ module Vimentor
- LOGFILE = "/tmp/vimentor_keylog"
- SAVEROOT = Dir.home + "/vimentor";
+ SAVEROOT = Dir.home + "/vimentor"
class CLI < Thor
desc "vim... | Use unique temp file for log data (to allow multiple sessions)
|
diff --git a/spec/unit/client/active_record/notification_spec.rb b/spec/unit/client/active_record/notification_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/client/active_record/notification_spec.rb
+++ b/spec/unit/client/active_record/notification_spec.rb
@@ -18,4 +18,11 @@ expect(notification.app).to be_v... | Add test showing incorrect behaviour
|
diff --git a/spec/unit/facter/util/fact_rabbitmq_version_spec.rb b/spec/unit/facter/util/fact_rabbitmq_version_spec.rb
index abc1234..def5678 100644
--- a/spec/unit/facter/util/fact_rabbitmq_version_spec.rb
+++ b/spec/unit/facter/util/fact_rabbitmq_version_spec.rb
@@ -19,6 +19,15 @@ expect(Facter.fact(:rabbitmq... | Add test for invalid version value
|
diff --git a/spec/support/mock_server.rb b/spec/support/mock_server.rb
index abc1234..def5678 100644
--- a/spec/support/mock_server.rb
+++ b/spec/support/mock_server.rb
@@ -3,8 +3,6 @@ TEST_SERVER_PORT = 65432
class MockService < WEBrick::HTTPServlet::AbstractServlet
- class << self; attr_accessor :post_handler; en... | Use Thread.pass to spin while WEBrick is starting up
|
diff --git a/spec/support/test_server.rb b/spec/support/test_server.rb
index abc1234..def5678 100644
--- a/spec/support/test_server.rb
+++ b/spec/support/test_server.rb
@@ -4,7 +4,7 @@
class TestServer < Sinatra::Base
disable :logging
- set :server, 'thin'
+ set :server, 'puma'
set :public_folder, Proc.new { File... | Update tests to use Puma
|
diff --git a/diffy.gemspec b/diffy.gemspec
index abc1234..def5678 100644
--- a/diffy.gemspec
+++ b/diffy.gemspec
@@ -19,5 +19,5 @@ spec.require_paths = ["lib"]
spec.add_development_dependency "rake"
- spec.add_development_dependency "rspec", '~> 2.14'
-end
+ spec.add_development_dependency "rspec"
+end | Fix RSpec and Rake conflict
At 2.3.3 version specs are already failing.
```
$ bundle exec rake
rake aborted!
NoMethodError: undefined method `last_comment' for #<Rake::Application:0x007fcc8bbf3858>
/Users/abinoam/.rvm/gems/ruby-2.3.3/gems/rspec-core-2.99.2/lib/rspec/core/rake_task.rb:143:in `initialize'
/Users/abinoa... |
diff --git a/app/controllers/backend/articles_controller.rb b/app/controllers/backend/articles_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/backend/articles_controller.rb
+++ b/app/controllers/backend/articles_controller.rb
@@ -2,7 +2,7 @@ include Concerns::Backend::TranslatableController
incl... | Implement the article destroy action.
|
diff --git a/app/views/products/google_merchant.rss.builder b/app/views/products/google_merchant.rss.builder
index abc1234..def5678 100644
--- a/app/views/products/google_merchant.rss.builder
+++ b/app/views/products/google_merchant.rss.builder
@@ -12,7 +12,7 @@ xml.item do
xml.id product.id.to_s
... | Work with null description now |
diff --git a/roles/web.rb b/roles/web.rb
index abc1234..def5678 100644
--- a/roles/web.rb
+++ b/roles/web.rb
@@ -17,9 +17,9 @@ :pool_idle_time => 0
},
:web => {
- :status => "database_offline",
- :database_host => "db",
- :readonly_database_host => "katla"
+ :status => "database_readonly",
+ :d... | Bring site back online in readonly mode on ramoth
|
diff --git a/mock_server.gemspec b/mock_server.gemspec
index abc1234..def5678 100644
--- a/mock_server.gemspec
+++ b/mock_server.gemspec
@@ -8,4 +8,7 @@
s.files = Dir['README.md', 'LICENSE', 'lib/mock_server.rb', 'lib/mock_server/record.rb', 'lib/mock_server/playback.rb', 'lib/mock_server/utils.rb', 'lib/moc... | Include dependency in the gemspec |
diff --git a/config/initializers/datadog.rb b/config/initializers/datadog.rb
index abc1234..def5678 100644
--- a/config/initializers/datadog.rb
+++ b/config/initializers/datadog.rb
@@ -3,9 +3,7 @@ c.use :rails, service_name: 'rails'
c.use :delayed_job, service_name: 'delayed_job'
c.use :dalli, service_nam... | Revert "Enable request queuing tracking in Datadog"
This reverts commit 91e527614002377e4dfcf360522a6244fa530a37.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.