From 16ead798d0f41d846a8ceaa87de3ff020f26d3a2 Mon Sep 17 00:00:00 2001 From: Bart de Water Date: Tue, 2 Jun 2020 18:04:04 -0400 Subject: [PATCH] Enable Lint/DeprecatedOpenSSLConstant cop introduced in Rubocop 0.84 --- Gemfile.lock | 2 +- rubocop-shopify.gemspec | 2 +- rubocop.yml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e64e16c7..9282802c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,7 +2,7 @@ PATH remote: . specs: rubocop-shopify (1.0.2) - rubocop (>= 0.82, < 0.86) + rubocop (>= 0.84, < 0.86) GEM remote: https://rubygems.org/ diff --git a/rubocop-shopify.gemspec b/rubocop-shopify.gemspec index 14f3f2d6..15077699 100644 --- a/rubocop-shopify.gemspec +++ b/rubocop-shopify.gemspec @@ -21,5 +21,5 @@ Gem::Specification.new do |s| "allowed_push_host" => "https://rubygems.org", } - s.add_dependency("rubocop", ">= 0.82", "< 0.86") + s.add_dependency("rubocop", ">= 0.84", "< 0.86") end diff --git a/rubocop.yml b/rubocop.yml index 485f7e8d..1922ae1c 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -1015,3 +1015,6 @@ Style/ModuleFunction: Lint/OrderedMagicComments: Enabled: true + +Lint/DeprecatedOpenSSLConstant: + Enabled: true