diff stringlengths 65 26.7k | message stringlengths 7 9.92k |
|---|---|
diff --git a/cf_spec/unit/python_unit_specs_spec.rb b/cf_spec/unit/python_unit_specs_spec.rb
index abc1234..def5678 100644
--- a/cf_spec/unit/python_unit_specs_spec.rb
+++ b/cf_spec/unit/python_unit_specs_spec.rb
@@ -0,0 +1,19 @@+$: << 'cf_spec'
+require 'cf_spec_helper'
+require 'open3'
+
+describe 'python unit tests'... | Add rspec test that runs python unit test suite
- Prints unit test suite stdout and stderr in failure case
Signed-off-by: David Jahn <ea2208fe99a56ed20c9ae20b0a1446b61f13a269@gmail.com>
|
diff --git a/app/controllers/teams/members_controller.rb b/app/controllers/teams/members_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/teams/members_controller.rb
+++ b/app/controllers/teams/members_controller.rb
@@ -43,7 +43,7 @@ protected
def team_member
- @member ||= user_team.members.f... | Update user finding (by username) in teams members (team of users) controller
|
diff --git a/breadcrumbs_on_rails_to_gretel.gemspec b/breadcrumbs_on_rails_to_gretel.gemspec
index abc1234..def5678 100644
--- a/breadcrumbs_on_rails_to_gretel.gemspec
+++ b/breadcrumbs_on_rails_to_gretel.gemspec
@@ -15,12 +15,15 @@ spec.license = "MIT"
spec.files = Dir['lib/**/*.rb'] + Dir['lib/ta... | Update some dependencies for tests
|
diff --git a/app/controllers/spree/api/variants_controller_decorator.rb b/app/controllers/spree/api/variants_controller_decorator.rb
index abc1234..def5678 100644
--- a/app/controllers/spree/api/variants_controller_decorator.rb
+++ b/app/controllers/spree/api/variants_controller_decorator.rb
@@ -0,0 +1,11 @@+Spree::Api... | Change update method to avoid ActiveRecord::ReadOnly when updating variant
|
diff --git a/app/serializers/trade/shipment_api_from_view_serializer.rb b/app/serializers/trade/shipment_api_from_view_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/trade/shipment_api_from_view_serializer.rb
+++ b/app/serializers/trade/shipment_api_from_view_serializer.rb
@@ -1,9 +1,42 @@ class Trad... | Add missing fields and fix existing ones
|
diff --git a/spec/support/helpers/authorization_request_helper.rb b/spec/support/helpers/authorization_request_helper.rb
index abc1234..def5678 100644
--- a/spec/support/helpers/authorization_request_helper.rb
+++ b/spec/support/helpers/authorization_request_helper.rb
@@ -30,7 +30,7 @@ end
def i_should_be_on_cli... | Use host instead of hostname for URI
|
diff --git a/app/helpers/form_helper.rb b/app/helpers/form_helper.rb
index abc1234..def5678 100644
--- a/app/helpers/form_helper.rb
+++ b/app/helpers/form_helper.rb
@@ -7,7 +7,7 @@ content_tag(:ul) do
object.errors.values.flatten.map do |err|
content_tag(:li, err)
- end.join
+ en... | Mark validation errors as HTML-safe
|
diff --git a/app/models/app_settings.rb b/app/models/app_settings.rb
index abc1234..def5678 100644
--- a/app/models/app_settings.rb
+++ b/app/models/app_settings.rb
@@ -1,3 +1,7 @@ class AppSettings < Settingslogic
- source Rails.root.join("config/app_settings.yml")
+ # This points at /var/vcap/packages, not /var/vca... | Use correct path to app settings.
|
diff --git a/app/models/progress_bar.rb b/app/models/progress_bar.rb
index abc1234..def5678 100644
--- a/app/models/progress_bar.rb
+++ b/app/models/progress_bar.rb
@@ -17,6 +17,11 @@ line_progress.times { line_fill_part += "=" }
(40 - line_progress).times { line_empty_part += " " }
- return "\r #{@file_n... | Make progress bars line up nicely
Like this:
students_export.txt [========================================] 100% (5017 out of 5017)
assessment_export.txt [====== ] 16% (21899 out of 133358)
Instead of this:
students_export.txt [========================================] 1... |
diff --git a/app/services/start_game.rb b/app/services/start_game.rb
index abc1234..def5678 100644
--- a/app/services/start_game.rb
+++ b/app/services/start_game.rb
@@ -8,12 +8,9 @@
def call
@game.with_lock do
- assert_game_ready &&
- remove_pending &&
- shuffle_deck &&
- give_players... | Refactor StartGame service for readability
|
diff --git a/test/form_forms/elements/block_test.rb b/test/form_forms/elements/block_test.rb
index abc1234..def5678 100644
--- a/test/form_forms/elements/block_test.rb
+++ b/test/form_forms/elements/block_test.rb
@@ -0,0 +1,32 @@+require 'test_helper'
+
+class FieldsetTest < ActionView::TestCase
+ test "create a block... | Add tests for block elements
|
diff --git a/lib/lita/handlers/greet.rb b/lib/lita/handlers/greet.rb
index abc1234..def5678 100644
--- a/lib/lita/handlers/greet.rb
+++ b/lib/lita/handlers/greet.rb
@@ -2,7 +2,7 @@ module Handlers
class Greet < Handler
- route(/^(hello|hi|good morning|howdy|yo!?$|hey).*/i, :say_hello)
+ route(/^(hell... | Fix the regex to only respond to Hi not High
Signed-off-by: Jeroen van Baarsen <2e488d5cebaf6d2832884be70e328933bd4c80ab@gmail.com>
|
diff --git a/XINGAPIClientTester.podspec b/XINGAPIClientTester.podspec
index abc1234..def5678 100644
--- a/XINGAPIClientTester.podspec
+++ b/XINGAPIClientTester.podspec
@@ -9,7 +9,7 @@ 'XING iOS Team' => 'iphonedev@xing.com'
}
s.source = {
- :git => 'https://github.com/xing/XINGAPIClientTester',
+ :git ... | Append git to repo url
|
diff --git a/lib/opal/magic_comments.rb b/lib/opal/magic_comments.rb
index abc1234..def5678 100644
--- a/lib/opal/magic_comments.rb
+++ b/lib/opal/magic_comments.rb
@@ -1,8 +1,8 @@ # frozen_string_literal: true
module Opal::MagicComments
- MAGIC_COMMENT_RE = /\A# *([\w_]+) *: *([\w_]+) *$/.freeze
- EMACS_MAGIC_COM... | Fix "duplicated range" regexp warning
|
diff --git a/lib/shp_api/rescue_from.rb b/lib/shp_api/rescue_from.rb
index abc1234..def5678 100644
--- a/lib/shp_api/rescue_from.rb
+++ b/lib/shp_api/rescue_from.rb
@@ -35,7 +35,13 @@ c = Object.const_get(class_name)
return nil unless c.respond_to?(method)
- ::Opbeat.capture_exception(... | Fix for including user when calling opbeat.
|
diff --git a/lib/spectifly/xsd/types.rb b/lib/spectifly/xsd/types.rb
index abc1234..def5678 100644
--- a/lib/spectifly/xsd/types.rb
+++ b/lib/spectifly/xsd/types.rb
@@ -9,7 +9,8 @@ 'integer',
'non_negative_integer',
'positive_integer',
- 'decimal'
+ 'decimal',
+ 'base64_bi... | Add base64_binary native type to XSD builder |
diff --git a/lib/query_string_search/search_option.rb b/lib/query_string_search/search_option.rb
index abc1234..def5678 100644
--- a/lib/query_string_search/search_option.rb
+++ b/lib/query_string_search/search_option.rb
@@ -3,12 +3,10 @@ attr_reader :attribute, :desired_value, :operator
def initialize(raw_q... | Move parsing into its own class
This is mostly a fix for a RuboCop complaint, but I do like having this
one class responsible for the parsing and the handling of unparsable
key/value pairs
|
diff --git a/lib/static_sync/storage.rb b/lib/static_sync/storage.rb
index abc1234..def5678 100644
--- a/lib/static_sync/storage.rb
+++ b/lib/static_sync/storage.rb
@@ -12,15 +12,16 @@ end
def sync
- remote_tags = []
+ remote_keys = []
remote_directory.files.each do |file|
- remote_ta... | Allow files to be renamed.
|
diff --git a/lib/tasks/encrypted_test_file_names.rake b/lib/tasks/encrypted_test_file_names.rake
index abc1234..def5678 100644
--- a/lib/tasks/encrypted_test_file_names.rake
+++ b/lib/tasks/encrypted_test_file_names.rake
@@ -19,15 +19,8 @@ raise('Provide adapter name like rspec, minitest, test_uni... | Test examples encryption is a disabled feature for RSpec. Let's remove it from the rake task.
Related: https://github.com/KnapsackPro/knapsack_pro-ruby/pull/176/files
Related old commit:
https://github.com/KnapsackPro/knapsack_pro-ruby/commit/96ec95d6c697a8b8753583615fca5a5a0416162c
|
diff --git a/test/unit/github_fetcher/email_test.rb b/test/unit/github_fetcher/email_test.rb
index abc1234..def5678 100644
--- a/test/unit/github_fetcher/email_test.rb
+++ b/test/unit/github_fetcher/email_test.rb
@@ -24,7 +24,7 @@ VCR.use_cassette "bad_fetch_emails" do
email_fetcher = GithubFetcher::Email.ne... | Update test, no idea what changed
|
diff --git a/app/models/admin_ability.rb b/app/models/admin_ability.rb
index abc1234..def5678 100644
--- a/app/models/admin_ability.rb
+++ b/app/models/admin_ability.rb
@@ -8,6 +8,7 @@ elsif user.mod?
can :read, ActiveAdmin::Page, name: "Dashboard"
can :manage, Event
+ can :manage, Speaker
e... | Allow moderator users to manage Speakers
|
diff --git a/core/spec/models/comable/theme_spec.rb b/core/spec/models/comable/theme_spec.rb
index abc1234..def5678 100644
--- a/core/spec/models/comable/theme_spec.rb
+++ b/core/spec/models/comable/theme_spec.rb
@@ -12,4 +12,28 @@ it { is_expected.to validate_length_of(:description).is_at_most(255) }
it { is_expe... | Add tests for the model
|
diff --git a/Casks/keka.rb b/Casks/keka.rb
index abc1234..def5678 100644
--- a/Casks/keka.rb
+++ b/Casks/keka.rb
@@ -6,7 +6,7 @@ appcast 'http://update.kekaosx.com',
:sha256 => '7d5bf4d33a9c889b33bc5ba8e168deeb86abed84b1fd3deaebe4d85f34a80a32'
homepage 'http://kekaosx.com/'
- license :unknown # todo... | Add license info for Keka
To quote the "About Keka" menu:
> The source code of Keka 1.0 will be not public due to some legal
> issues.
I determined this to be a gratis license.
|
diff --git a/Casks/rdio.rb b/Casks/rdio.rb
index abc1234..def5678 100644
--- a/Casks/rdio.rb
+++ b/Casks/rdio.rb
@@ -3,5 +3,5 @@ homepage 'http://www.rdio.com'
version 'latest'
no_checksum
- link :app, 'Rdio.app'
+ link 'Rdio.app'
end
| Remove :app designation from Rdio link |
diff --git a/sso-auth.gemspec b/sso-auth.gemspec
index abc1234..def5678 100644
--- a/sso-auth.gemspec
+++ b/sso-auth.gemspec
@@ -23,6 +23,7 @@
s.add_development_dependency 'annotate'
s.add_development_dependency 'rails'
+ s.add_development_dependency 'activeresource'
s.add_development_dependency 'rspec-rails... | Use activeresource as development dependency
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -19,7 +19,7 @@ module SeattlerbOrg
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
- config.lo... | Bump to default 7.0 config
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -20,6 +20,7 @@ config.crazy_egg_url = '//dnn506yrbagrg.cloudfront.net/pages/scripts/0018/4438.js'
config.google_tag_manager_id = 'GTM-WVFLH9'
+ config... | Set the timezone so the opening hours respects BST
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -29,7 +29,7 @@ # Set rack-cors configs
config.middleware.insert_before 0, "Rack::Cors" do
allow do
- origins '*'
+ origins 'https://nusmods.co... | Tweak CORS headers to only allow from `nusmods.com` and `staging.nusmods.com`
|
diff --git a/config/application.rb b/config/application.rb
index abc1234..def5678 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -22,10 +22,5 @@
config.assets.enabled = true
config.assets.initialize_on_precompile = false
-
- initializer(:load_constants) do
- require Rails.root.join... | Remove loading of constants from lib
|
diff --git a/rom.gemspec b/rom.gemspec
index abc1234..def5678 100644
--- a/rom.gemspec
+++ b/rom.gemspec
@@ -16,8 +16,8 @@ gem.license = 'MIT'
gem.required_ruby_version = '~> 2.0'
- gem.add_runtime_dependency 'transproc', '~> 0.1.2'
- gem.add_runtime_dependency 'equalizer', '~> 0.0', '>= 0.0.9'
+ ge... | Fix whitespace in gemspec [ci skip]
|
diff --git a/cookbooks/wordpress/recipes/default.rb b/cookbooks/wordpress/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/wordpress/recipes/default.rb
+++ b/cookbooks/wordpress/recipes/default.rb
@@ -32,7 +32,7 @@ apache_module "rewrite"
fail2ban_filter "wordpress" do
- source "http://plugins.svn.w... | Fix wp-fail2ban recipe for upstream changes
|
diff --git a/app/views/lives/show.json.jbuilder b/app/views/lives/show.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/lives/show.json.jbuilder
+++ b/app/views/lives/show.json.jbuilder
@@ -1,4 +1,4 @@ json.cache! @live do
json.partial! 'lives/live', live: @live
- json.songs @live.songs, partial: 'songs/... | Fix the order of songs
|
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
index abc1234..def5678 100644
--- a/config/initializers/mime_types.rb
+++ b/config/initializers/mime_types.rb
@@ -2,6 +2,11 @@
# Add new mime types for use in respond_to blocks:
# Mime::Type.register "text/richtext", :rtf
+Mime::Type.... | Add mime types for fonts
|
diff --git a/config/initializers/wicked_pdf.rb b/config/initializers/wicked_pdf.rb
index abc1234..def5678 100644
--- a/config/initializers/wicked_pdf.rb
+++ b/config/initializers/wicked_pdf.rb
@@ -8,16 +8,16 @@ #
# https://github.com/mileszs/wicked_pdf/blob/master/README.md
-if Rails.env.staging?
- WickedPdf.config... | Remove path to wkhtml on staging
|
diff --git a/db/migrate/20190212150652_change_agreement_id_to_bigint.rb b/db/migrate/20190212150652_change_agreement_id_to_bigint.rb
index abc1234..def5678 100644
--- a/db/migrate/20190212150652_change_agreement_id_to_bigint.rb
+++ b/db/migrate/20190212150652_change_agreement_id_to_bigint.rb
@@ -0,0 +1,23 @@+class Chan... | Update agreement_id primary and foreign keys to bigint
|
diff --git a/mongoid.gemspec b/mongoid.gemspec
index abc1234..def5678 100644
--- a/mongoid.gemspec
+++ b/mongoid.gemspec
@@ -21,7 +21,7 @@
s.add_dependency("activemodel", [">= 4.0.0"])
s.add_dependency("tzinfo", [">= 0.3.37"])
- s.add_dependency("moped", ["~> 2.0.beta6"])
+ s.add_dependency("moped", ["~> 2.0.0... | Use moped 2.0.0.rc1 on gemspec
|
diff --git a/db/migrate/20160414123914_add_filters_to_entitlements.rb b/db/migrate/20160414123914_add_filters_to_entitlements.rb
index abc1234..def5678 100644
--- a/db/migrate/20160414123914_add_filters_to_entitlements.rb
+++ b/db/migrate/20160414123914_add_filters_to_entitlements.rb
@@ -1,5 +1,12 @@ class AddFiltersTo... | Hack: Reset rails' column cache for Entitlement for now. :confused:
Caused by #8102
Without this, migrate fails when you go from "latest schema" down to:
20160317194215_remove_miq_user_role_from_miq_groups.rb:
`PG::UndefinedColumn: ERROR: column entitlements.filters does not exist`
Clearly, this isn't the right fi... |
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
@@ -12,7 +12,7 @@ end
def query_user_session(token)
- UserSession.where(token: token)... | Add check for archived sessions in query_user_session
|
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,7 +1,7 @@ class ApplicationController < ActionController::Base
# Prevent CSRF attacks ... | Revert "disable csrf to test faye"
This reverts commit 3803c416825b1899295898b66ed3a2c8890544de.
|
diff --git a/app/serializers/api/partner_serializer.rb b/app/serializers/api/partner_serializer.rb
index abc1234..def5678 100644
--- a/app/serializers/api/partner_serializer.rb
+++ b/app/serializers/api/partner_serializer.rb
@@ -1,5 +1,10 @@ class Api::PartnerSerializer < ActiveModel::Serializer
- attributes :id, :n... | Split logo size in width and height obj
|
diff --git a/lib/sections/soulbind_data.rb b/lib/sections/soulbind_data.rb
index abc1234..def5678 100644
--- a/lib/sections/soulbind_data.rb
+++ b/lib/sections/soulbind_data.rb
@@ -8,7 +8,7 @@ @character.data['current_soulbind'] = SOULBIND_NAME[soulbind["soulbind"]["name"]] || soulbind["soulbind"]["name"]
... | Handle case where a soulbind doesn't have any traits (?).
|
diff --git a/lib/slingshot/results/item.rb b/lib/slingshot/results/item.rb
index abc1234..def5678 100644
--- a/lib/slingshot/results/item.rb
+++ b/lib/slingshot/results/item.rb
@@ -9,7 +9,7 @@ def initialize(args={})
if args.respond_to?(:each_pair)
args.each_pair do |key, value|
- s... | [REFACTORING] Use message based type detection in Results::Item
|
diff --git a/lib/travis-deploy-logs/app.rb b/lib/travis-deploy-logs/app.rb
index abc1234..def5678 100644
--- a/lib/travis-deploy-logs/app.rb
+++ b/lib/travis-deploy-logs/app.rb
@@ -1,4 +1,5 @@ require "sinatra/base"
+require 'rack/utils'
require "travis/config"
module TravisDeployLogs
@@ -18,7 +19,9 @@
config... | Use Rack::Utils.secure_compare for basic auth check |
diff --git a/libraries/glassfish_helper.rb b/libraries/glassfish_helper.rb
index abc1234..def5678 100644
--- a/libraries/glassfish_helper.rb
+++ b/libraries/glassfish_helper.rb
@@ -15,7 +15,7 @@ class RealityForge #nodoc
module GlassFish #nodoc
class << self
- # Return the current domain name
+ # Retu... | Improve the doc comments so that they are more specific
|
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/app/mailers/maktoub/newsletter_mailer.rb b/app/mailers/maktoub/newsletter_mailer.rb
index abc1234..def5678 100644
--- a/app/mailers/maktoub/newsletter_mailer.rb
+++ b/app/mailers/maktoub/newsletter_mailer.rb
@@ -19,7 +19,7 @@
premailer = Premailer.new(render("maktoub/newsletters/#{newsletter_name}"... | Fix to Google Analytics parameters |
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb
index abc1234..def5678 100644
--- a/app/services/process_mentions_service.rb
+++ b/app/services/process_mentions_service.rb
@@ -28,7 +28,7 @@ status.mentions.each do |mention|
mentioned_account = mention.account
... | Fix undesired delivering of private toot to remote accounts that follow author
|
diff --git a/config/initializers/prefetch_gem_updates.rb b/config/initializers/prefetch_gem_updates.rb
index abc1234..def5678 100644
--- a/config/initializers/prefetch_gem_updates.rb
+++ b/config/initializers/prefetch_gem_updates.rb
@@ -1,2 +1,4 @@ require "plugin" # Avoid: RuntimeError Circular dependency detected whi... | Stop checking plugin updates when test
Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
|
diff --git a/flatware.gemspec b/flatware.gemspec
index abc1234..def5678 100644
--- a/flatware.gemspec
+++ b/flatware.gemspec
@@ -32,7 +32,7 @@ s.executables = ['flatware']
s.rubygems_version = '1.8.10'
s.add_dependency %(ffi-rzmq), '~> 2.0'
- s.add_dependency %(thor), '~> 0.13'
+ s.add_dependency %(thor), '< ... | Update thor version to allow rails 6.1 compatibility
|
diff --git a/tools/purge_duplicate_rubyrep_triggers.rb b/tools/purge_duplicate_rubyrep_triggers.rb
index abc1234..def5678 100644
--- a/tools/purge_duplicate_rubyrep_triggers.rb
+++ b/tools/purge_duplicate_rubyrep_triggers.rb
@@ -0,0 +1,57 @@+# This script removes triggers that could cause issues with rubyrep.
+# When t... | Add a script to remove out of date rubyrep triggers
When a table which is being replicated is renamed the rubyrep
trigger should be dropped and recreated to ensure only rows
referencing the new table are inserted into rr_pending_changes.
If this is not done properly, triggers referencing the old table
name will remai... |
diff --git a/tasks/rspec.rake b/tasks/rspec.rake
index abc1234..def5678 100644
--- a/tasks/rspec.rake
+++ b/tasks/rspec.rake
@@ -17,5 +17,5 @@ desc "Run the specs under spec/models"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "spec/spec.opts"]
- t.spec_files = FileList['spec/*_spec.rb']
+ t.spec_f... | Fix the rake 'spec' task to see all of the specs, including those in subdirectories.
|
diff --git a/si-parse.rb b/si-parse.rb
index abc1234..def5678 100644
--- a/si-parse.rb
+++ b/si-parse.rb
@@ -36,7 +36,7 @@ end
# Increment progress bar
- ProgressBar.create(:title => "Records processed", :starting_at => index, :total => num_records, :format => '|%b>>%i| %p%% %t', :throttle_rate => 0.2)
+ Progress... | Increment progress bar AFTER parsing each record
|
diff --git a/lib/roo.rb b/lib/roo.rb
index abc1234..def5678 100644
--- a/lib/roo.rb
+++ b/lib/roo.rb
@@ -6,6 +6,7 @@ autoload :GenericSpreadsheet, 'roo/generic_spreadsheet'
autoload :Openoffice, 'roo/openoffice'
+ autoload :Libreoffice, 'roo/openoffice'
autoload :Excel, 'roo/excel... | Fix that Libreoffice wasn't declared for autoload. |
diff --git a/lib/git_compound/repository/remote_file/github_strategy.rb b/lib/git_compound/repository/remote_file/github_strategy.rb
index abc1234..def5678 100644
--- a/lib/git_compound/repository/remote_file/github_strategy.rb
+++ b/lib/git_compound/repository/remote_file/github_strategy.rb
@@ -12,8 +12,7 @@
... | Reduce github remote file strategy initialization overhead
|
diff --git a/config/boot.rb b/config/boot.rb
index abc1234..def5678 100644
--- a/config/boot.rb
+++ b/config/boot.rb
@@ -2,3 +2,14 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
+
+require 'rails/commands/server'
+module Rails
+... | Change port number to 8080
|
diff --git a/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb b/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb
index abc1234..def5678 100644
--- a/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb
+++ b/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb
@@ -22,12 +22,13 @@ ... | Use node_matcher for better readability
|
diff --git a/sql.gemspec b/sql.gemspec
index abc1234..def5678 100644
--- a/sql.gemspec
+++ b/sql.gemspec
@@ -17,7 +17,9 @@ gem.test_files = `git ls-files -- spec/{unit,integration}`.split($/)
gem.extra_rdoc_files = %w[LICENSE README.md CONTRIBUTING.md TODO]
- gem.add_runtime_dependency('ast', '~> 1.0.2')
... | Add ice_nine and adamantium as dependencies
|
diff --git a/test/tea_test.rb b/test/tea_test.rb
index abc1234..def5678 100644
--- a/test/tea_test.rb
+++ b/test/tea_test.rb
@@ -0,0 +1,25 @@+require 'test_helper'
+
+class ActsAsHavingStringId::TeaTest < ActiveSupport::TestCase
+ test "encrypting a number gives expected results" do
+ tea = ActsAsHavingStringId::TE... | Add a few more tests
|
diff --git a/config/initializers/maslow.rb b/config/initializers/maslow.rb
index abc1234..def5678 100644
--- a/config/initializers/maslow.rb
+++ b/config/initializers/maslow.rb
@@ -1,3 +1,3 @@ require 'gds_api/maslow'
-Whitehall.maslow = GdsApi::Maslow.new(Plek.find('maslow'))
+Whitehall.maslow = GdsApi::Maslow.new(P... | Use external URLs for Maslow
This uses the new external_url_for method in Plek, which handles
environments where the URLs for internal and external routing are
different.
|
diff --git a/config/initializers/resque.rb b/config/initializers/resque.rb
index abc1234..def5678 100644
--- a/config/initializers/resque.rb
+++ b/config/initializers/resque.rb
@@ -1,3 +1,13 @@ if ENV["REDISCLOUD_URL"]
Resque.redis = ENV["REDISCLOUD_URL"]
end
+
+Resque.before_fork do
+ defined?(ActiveRecord::Base)... | Drop Resque's pre-fork DB connection
|
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
@@ -29,4 +29,6 @@
# Expands the lines which load the assets
config.assets.debug = true
+ config.assets.check_precom... | Add check_precompiled_asset false to ensure dev servers run immediately.
|
diff --git a/redcarpet-abbreviations.gemspec b/redcarpet-abbreviations.gemspec
index abc1234..def5678 100644
--- a/redcarpet-abbreviations.gemspec
+++ b/redcarpet-abbreviations.gemspec
@@ -18,6 +18,6 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_deve... | Update bundler requirement from ~> 1.7 to ~> 2.0
Updates the requirements on [bundler](https://github.com/bundler/bundler) to permit the latest version.
- [Release notes](https://github.com/bundler/bundler/releases)
- [Changelog](https://github.com/bundler/bundler/blob/master/CHANGELOG.md)
- [Commits](https://github.c... |
diff --git a/lib/graphql/tracing/appsignal_tracing.rb b/lib/graphql/tracing/appsignal_tracing.rb
index abc1234..def5678 100644
--- a/lib/graphql/tracing/appsignal_tracing.rb
+++ b/lib/graphql/tracing/appsignal_tracing.rb
@@ -14,7 +14,22 @@ "execute_query_lazy" => "execute.graphql",
}
+ # @param se... | Add set_action_name option to AppsignalTracing
|
diff --git a/spec/windward_spec.rb b/spec/windward_spec.rb
index abc1234..def5678 100644
--- a/spec/windward_spec.rb
+++ b/spec/windward_spec.rb
@@ -1,29 +1,29 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-describe "Windward", vcr: true do
- describe "Weather" do
- it "should get new windw... | Use quote instead of double quote
|
diff --git a/cookbooks/main/recipes/default.rb b/cookbooks/main/recipes/default.rb
index abc1234..def5678 100644
--- a/cookbooks/main/recipes/default.rb
+++ b/cookbooks/main/recipes/default.rb
@@ -21,6 +21,6 @@ end
end
-[ "git", "nodejs" ].each do |package_name|
+[ "git", "nodejs", "libsqlite3-dev", "sqlite3"].eac... | Install libsqlite3-dev and sqlite3 on vagrant up
|
diff --git a/capistrano-chatwork.gemspec b/capistrano-chatwork.gemspec
index abc1234..def5678 100644
--- a/capistrano-chatwork.gemspec
+++ b/capistrano-chatwork.gemspec
@@ -18,7 +18,7 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
- spec.add_runtime_dependency '... | Remove specific version of capistrano
|
diff --git a/rails_generators/pickle/templates/env.rb b/rails_generators/pickle/templates/env.rb
index abc1234..def5678 100644
--- a/rails_generators/pickle/templates/env.rb
+++ b/rails_generators/pickle/templates/env.rb
@@ -4,7 +4,7 @@ # Example of configuring pickle:
#
# Pickle.configure do |config|
-# config.ada... | Fix confusing generator comment (adaptor => adapter)
|
diff --git a/rb/lib/selenium/webdriver/common/wait.rb b/rb/lib/selenium/webdriver/common/wait.rb
index abc1234..def5678 100644
--- a/rb/lib/selenium/webdriver/common/wait.rb
+++ b/rb/lib/selenium/webdriver/common/wait.rb
@@ -3,14 +3,14 @@ class Wait
DEFAULT_TIMEOUT = 5
- DEFAULT_INTERVAL = 0.5
+ ... | JariBakken: Reduce the polling interval in Ruby's Wait class.
r15890
|
diff --git a/activejob-lock.gemspec b/activejob-lock.gemspec
index abc1234..def5678 100644
--- a/activejob-lock.gemspec
+++ b/activejob-lock.gemspec
@@ -13,7 +13,7 @@ s.homepage = 'http://github.com/idolweb/activejob-lock'
s.license = "MIT"
- s.files = `git ls-files -z`.split("\x0")
+ s.file... | Fix invalid byte sequence in US-ASCII
|
diff --git a/capybara-mechanize.gemspec b/capybara-mechanize.gemspec
index abc1234..def5678 100644
--- a/capybara-mechanize.gemspec
+++ b/capybara-mechanize.gemspec
@@ -1,4 +1,3 @@-# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "capybara/mechanize/version"
@@ -8,7 +7,6 @@
s.requi... | Remove date from gemsepc, Date w/o require can errors
Other widely used gems do not specify `date`, we won't either.
Closes #45. Thanks @emmanne08, @aaronchi
|
diff --git a/TestHarness/Cucumber/features/step_definitions/AdditionSteps.rb b/TestHarness/Cucumber/features/step_definitions/AdditionSteps.rb
index abc1234..def5678 100644
--- a/TestHarness/Cucumber/features/step_definitions/AdditionSteps.rb
+++ b/TestHarness/Cucumber/features/step_definitions/AdditionSteps.rb
@@ -5,6... | Make the scenario with the non-integer number fail
|
diff --git a/app/representers/api/address_representer.rb b/app/representers/api/address_representer.rb
index abc1234..def5678 100644
--- a/app/representers/api/address_representer.rb
+++ b/app/representers/api/address_representer.rb
@@ -11,6 +11,6 @@ property :country
def self_url(address)
- api_account_addre... | Make sure account actually exists
|
diff --git a/webapp/config.ru b/webapp/config.ru
index abc1234..def5678 100644
--- a/webapp/config.ru
+++ b/webapp/config.ru
@@ -13,7 +13,7 @@
if run_static_site
static_controller = Sinatra.new do
- REACT_BUILD_PATH = File.dirname(__FILE__) + '/../../../meter-reader-react/build'
+ REACT_BUILD_PATH = File.joi... | Change local path to react webapp build location
|
diff --git a/apps/tweets.rb b/apps/tweets.rb
index abc1234..def5678 100644
--- a/apps/tweets.rb
+++ b/apps/tweets.rb
@@ -11,7 +11,6 @@ Example: <code>tweets twitter</code>
DESCRIPTION
text_id 'tweets'
- voice_id 'tweets'
def tweets params
username = params['Body']
@@ -28,8 +27,4 @@ def text params
"<Res... | Remove voice support from tweet app
|
diff --git a/app/views/renalware/api/v1/patients/patients/show.json.jbuilder b/app/views/renalware/api/v1/patients/patients/show.json.jbuilder
index abc1234..def5678 100644
--- a/app/views/renalware/api/v1/patients/patients/show.json.jbuilder
+++ b/app/views/renalware/api/v1/patients/patients/show.json.jbuilder
@@ -12,... | Use name not code for ethnicity in API
|
diff --git a/features/support/admin_taxonomy_helper.rb b/features/support/admin_taxonomy_helper.rb
index abc1234..def5678 100644
--- a/features/support/admin_taxonomy_helper.rb
+++ b/features/support/admin_taxonomy_helper.rb
@@ -24,11 +24,3 @@ end
end
World(AdminTaxonomyHelper)
-
-Around do |_, block|
- redis = Re... | Remove obsolete block (we're always getting a new redis now)
|
diff --git a/app/helpers/application_helper/button/orchestration_template_edit_remove.rb b/app/helpers/application_helper/button/orchestration_template_edit_remove.rb
index abc1234..def5678 100644
--- a/app/helpers/application_helper/button/orchestration_template_edit_remove.rb
+++ b/app/helpers/application_helper/butt... | Fix misleading tooltip in orchestration template toolbar
Tooltip telling the orchestration template cannot be removed / edited
needs to be put in place only if the template is in use (not in
call cases).
https://bugzilla.redhat.com/show_bug.cgi?id=1295941
|
diff --git a/spec/lib/chamber/commands/secure_spec.rb b/spec/lib/chamber/commands/secure_spec.rb
index abc1234..def5678 100644
--- a/spec/lib/chamber/commands/secure_spec.rb
+++ b/spec/lib/chamber/commands/secure_spec.rb
@@ -1,5 +1,6 @@ require 'rspectacular'
require 'chamber/commands/secure'
+require 'fileutils'
m... | Fix failing spec when directory didn't exist before spec was run
|
diff --git a/config/initializers/cve_2015_3226_fix.rb b/config/initializers/cve_2015_3226_fix.rb
index abc1234..def5678 100644
--- a/config/initializers/cve_2015_3226_fix.rb
+++ b/config/initializers/cve_2015_3226_fix.rb
@@ -1,3 +1,4 @@+raise "Check monkey patch for CVE-2015-3226 is still needed" unless Rails::VERSION:... | Update monkey patch to include raise
|
diff --git a/lib/yard/generators/class_generator.rb b/lib/yard/generators/class_generator.rb
index abc1234..def5678 100644
--- a/lib/yard/generators/class_generator.rb
+++ b/lib/yard/generators/class_generator.rb
@@ -1,6 +1,8 @@ module YARD
module Generators
class ClassGenerator < Base
+ before_generate :i... | Add visibility grouping generators to class generator
|
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index abc1234..def5678 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -4,3 +4,8 @@ t.libs << 'lib' << 'test'
t.test_files = FileList['test/**/*_test.rb']
end
+
+at_exit do
+ filepath = File.join(File.dirname(__FILE__),'..','tmp')... | Add code to remove tmp folder
|
diff --git a/TheOpenCMS/DeployTool/kit/rails/_deploy.rb b/TheOpenCMS/DeployTool/kit/rails/_deploy.rb
index abc1234..def5678 100644
--- a/TheOpenCMS/DeployTool/kit/rails/_deploy.rb
+++ b/TheOpenCMS/DeployTool/kit/rails/_deploy.rb
@@ -46,13 +46,12 @@ ts_restart
cron_restart
+ app_release_info
app_serve... | Change an order of commands
|
diff --git a/app/models/category.rb b/app/models/category.rb
index abc1234..def5678 100644
--- a/app/models/category.rb
+++ b/app/models/category.rb
@@ -14,7 +14,7 @@
attr_accessible :name, :permalink, :issued, :order_articles, :mode
- scope :issued, -> { where(issued: true) }
+ scope :issued, ->(value = true) ... | Change Category.issued scope so you can parse value
|
diff --git a/app/models/gem_typo.rb b/app/models/gem_typo.rb
index abc1234..def5678 100644
--- a/app/models/gem_typo.rb
+++ b/app/models/gem_typo.rb
@@ -7,7 +7,7 @@
DOWNLOADS_THRESHOLD = 10_000_000
SIZE_THRESHOLD = 4
- EXCEPTIONS = %w[strait].freeze
+ EXCEPTIONS = %w[strait upguard].freeze
def initialize(... | Add upguard to typo exception list
https://help.rubygems.org/discussions/problems/36770-gem-push-name-is-too-close-to-typo-protected-gem
|
diff --git a/app/controllers/religions_controller.rb b/app/controllers/religions_controller.rb
index abc1234..def5678 100644
--- a/app/controllers/religions_controller.rb
+++ b/app/controllers/religions_controller.rb
@@ -7,7 +7,7 @@
def content_param_list
%i(
- name description other_name universe_id
+ ... | Fix typo in religion "other names" field strong param |
diff --git a/lib/honeybadger/integrations/delayed_job.rb b/lib/honeybadger/integrations/delayed_job.rb
index abc1234..def5678 100644
--- a/lib/honeybadger/integrations/delayed_job.rb
+++ b/lib/honeybadger/integrations/delayed_job.rb
@@ -1,9 +1,9 @@ module Honeybadger
Dependency.register do
- requirement { defined... | Use top level classes during detection.
|
diff --git a/spec/features/show_user_spec.rb b/spec/features/show_user_spec.rb
index abc1234..def5678 100644
--- a/spec/features/show_user_spec.rb
+++ b/spec/features/show_user_spec.rb
@@ -9,7 +9,7 @@ scenario 'User has a radar' do
create(:radar, name: 'March 2014')
visit radars_path
- within ('.radars')... | Fix syntax to keep Rubocop happy |
diff --git a/spec/models/clubs_users_spec.rb b/spec/models/clubs_users_spec.rb
index abc1234..def5678 100644
--- a/spec/models/clubs_users_spec.rb
+++ b/spec/models/clubs_users_spec.rb
@@ -4,6 +4,8 @@ it { should belong_to :club }
it { should belong_to :user }
+ it { should ensure_inclusion_of(:type).in_array [... | Add Test for Enumeration of Membership Type
Add a test to ensure that the ClubsUsers 'type' attribute falls within
the expected realm of membership types.
|
diff --git a/app/graphql/mutations/copy_site_view.rb b/app/graphql/mutations/copy_site_view.rb
index abc1234..def5678 100644
--- a/app/graphql/mutations/copy_site_view.rb
+++ b/app/graphql/mutations/copy_site_view.rb
@@ -0,0 +1,38 @@+module Mutations
+ class CopySiteView < BaseMutation
+ field :site_view, Types::Si... | Copy Site View endpoint in graphql
|
diff --git a/core/app/models/spree/order_populator.rb b/core/app/models/spree/order_populator.rb
index abc1234..def5678 100644
--- a/core/app/models/spree/order_populator.rb
+++ b/core/app/models/spree/order_populator.rb
@@ -10,6 +10,7 @@ end
def populate(variant_id, quantity, options = {})
+ ActiveSupp... | Add deprecation warning for OrderPopulator.
|
diff --git a/lib/rails_admin/config/actions/data_type.rb b/lib/rails_admin/config/actions/data_type.rb
index abc1234..def5678 100644
--- a/lib/rails_admin/config/actions/data_type.rb
+++ b/lib/rails_admin/config/actions/data_type.rb
@@ -6,7 +6,7 @@ register_instance_option :visible? do
if authorized?... | Hide data type actions for build in models
|
diff --git a/lib/specinfra/command/linux/base/selinux.rb b/lib/specinfra/command/linux/base/selinux.rb
index abc1234..def5678 100644
--- a/lib/specinfra/command/linux/base/selinux.rb
+++ b/lib/specinfra/command/linux/base/selinux.rb
@@ -2,11 +2,11 @@ class << self
def check_has_mode(mode, policy = nil)
cm... | Change check mode shell command
|
diff --git a/lib/travis/build/appliances/update_glibc.rb b/lib/travis/build/appliances/update_glibc.rb
index abc1234..def5678 100644
--- a/lib/travis/build/appliances/update_glibc.rb
+++ b/lib/travis/build/appliances/update_glibc.rb
@@ -8,8 +8,8 @@ sh.export 'DEBIAN_FRONTEND', 'noninteractive', echo: true
... | Fix string quotaton for sudo
|
diff --git a/db/migrations/003_add_offence_details.rb b/db/migrations/003_add_offence_details.rb
index abc1234..def5678 100644
--- a/db/migrations/003_add_offence_details.rb
+++ b/db/migrations/003_add_offence_details.rb
@@ -0,0 +1,12 @@+class AddOffenceDetails < Sequel::Migration
+ def up
+ alter_table(:businesses... | Add db column so we can store descriptions
|
diff --git a/test/quicktest.ru b/test/quicktest.ru
index abc1234..def5678 100644
--- a/test/quicktest.ru
+++ b/test/quicktest.ru
@@ -0,0 +1,5 @@+$:.unshift File.expand_path(File.join(File.dirname(__FILE__), *%w[.. lib]))
+require "rack/webtranslateit"
+Dir.chdir File.dirname(__FILE__)
+use Rack::Webtranslateit
+run pro... | Add a rackup file to allow quick smoke testing. |
diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb
index abc1234..def5678 100644
--- a/config/initializers/i18n.rb
+++ b/config/initializers/i18n.rb
@@ -1,6 +1,8 @@ I18n.enforce_available_locales = true
-if Rails.env.development? || Rails.env.test?
- I18n.exception_handler = lambda do |exception, l... | Check if the Rails constant is available
Exceptions for missing exceptions should be raised in development mode
or in CI
|
diff --git a/config/initializers/aws.rb b/config/initializers/aws.rb
index abc1234..def5678 100644
--- a/config/initializers/aws.rb
+++ b/config/initializers/aws.rb
@@ -1,3 +1,5 @@+Aws.config[:log_level] = :debug
+
AWS_CONFIG = { stub_responses: ENV['AWS_STUB'].present? }.freeze
AWS_COGNITO = Aws::CognitoIdentityPr... | Reduce AWS log level to debug
|
diff --git a/app/models/social_networking/profile.rb b/app/models/social_networking/profile.rb
index abc1234..def5678 100644
--- a/app/models/social_networking/profile.rb
+++ b/app/models/social_networking/profile.rb
@@ -30,11 +30,7 @@ end
def user_name
- if participant.is_admin
- "ThinkFeelDo"
-... | Change how default admin name is handled
* Remove `ThinkFeelDo` as default admin name
* Applications will now set their own default admin name by overriding `user_name` in the Profile class
[Finished: #97469840]
|
diff --git a/app/models/spree/gateway/pin_gateway.rb b/app/models/spree/gateway/pin_gateway.rb
index abc1234..def5678 100644
--- a/app/models/spree/gateway/pin_gateway.rb
+++ b/app/models/spree/gateway/pin_gateway.rb
@@ -6,5 +6,10 @@ def provider_class
ActiveMerchant::Billing::PinGateway
end
+
+ # Pi... | [Pin] Set auto_capture to always be true so authorize is not attempted
Fixes #106
|
diff --git a/test/test_user.rb b/test/test_user.rb
index abc1234..def5678 100644
--- a/test/test_user.rb
+++ b/test/test_user.rb
@@ -42,4 +42,20 @@ #end
end
+ def test_reset_password
+ u = "alan" + rand(10000000000000).to_s
+ data = {
+ :username => u,
+ :password => "secret"
+ }... | Test for password reset fix
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.