From 6875e6992054a7a6381bfc19d915e7554a67d60f Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Thu, 18 Jan 2018 12:21:35 +0000 Subject: [PATCH 1/6] trigger awesomecode.io notification From c6049305d67f4c77f8076a76613092805f54d9bc Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sat, 3 Mar 2018 13:51:57 +0000 Subject: [PATCH 2/6] trigger awesomecode.io notification From 3c70f4f217ed5a4c6f01a25c2e3890e97d84f6c8 Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sat, 3 Mar 2018 14:22:14 +0000 Subject: [PATCH 3/6] trigger awesomecode.io notification From 4c0930e1ca83e28178176146069f92b0e903224e Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sun, 4 Mar 2018 13:13:15 +0000 Subject: [PATCH 4/6] trigger awesomecode.io notification From da63f8e866f9541cad56c69da420afe7f6a56541 Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sun, 11 Mar 2018 12:35:51 +0000 Subject: [PATCH 5/6] trigger awesomecode.io notification From fef7f7fd2775ad92a4774ecdd360a8f98e6f98fb Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Wed, 4 Jul 2018 18:55:55 +0800 Subject: [PATCH 6/6] Auto corrected by following Parentheses --- config/initializers/clearance.rb | 2 +- config/initializers/forbidden_yaml.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/initializers/clearance.rb b/config/initializers/clearance.rb index fd7ac957424..5b6cf2d8370 100644 --- a/config/initializers/clearance.rb +++ b/config/initializers/clearance.rb @@ -1,5 +1,5 @@ Clearance.configure do |config| - config.allow_sign_up = (ENV['DISABLE_SIGNUP'].to_s == 'true') ? false : true + config.allow_sign_up = ENV['DISABLE_SIGNUP'].to_s == 'true' ? false : true config.mailer_sender = "RubyGems.org " config.secure_cookie = true unless Rails.env.test? || Rails.env.development? config.password_strategy = Clearance::PasswordStrategies::BCryptMigrationFromSHA1 diff --git a/config/initializers/forbidden_yaml.rb b/config/initializers/forbidden_yaml.rb index da8eb0b6bcb..56693304ae5 100644 --- a/config/initializers/forbidden_yaml.rb +++ b/config/initializers/forbidden_yaml.rb @@ -43,7 +43,7 @@ def self.from_yaml(input) end end class Package - def read_checksums gem + def read_checksums(gem) Gem.load_yaml @checksums = gem.seek 'checksums.yaml.gz' do |entry|