From 4ea82da8bb860756a30421f4efcbf07d60e6d28b Mon Sep 17 00:00:00 2001 From: David Crosby Date: Mon, 15 May 2023 09:16:19 -0700 Subject: [PATCH] [rubocop] Bump to rubocop 1.3.1 --- .rubocop.yml | 6 +++++- Gemfile | 2 +- grocery_delivery.gemspec | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d242dc0..4c5e7bb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,2 +1,6 @@ inherit_from: - - https://raw.githubusercontent.com/facebook/chef-cookbooks/main/.rubocop_55.yml + - https://raw.githubusercontent.com/facebook/chef-cookbooks/main/.rubocop.yml + +# TODO: This will require some testing before enabling +Style/GlobalStdStream: + Enabled: false diff --git a/Gemfile b/Gemfile index 2bbdde6..92746e9 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,6 @@ group :development, :test do gem 'rspec-core', '>= 3.0.0' gem 'rspec-expectations', '>= 3.0.0' gem 'rspec-mocks', '>= 3.0.0' - gem 'rubocop', '= 0.55.0' + gem 'rubocop', '= 1.3.1' gem 'simplecov' end diff --git a/grocery_delivery.gemspec b/grocery_delivery.gemspec index d6aeb08..ecc8102 100644 --- a/grocery_delivery.gemspec +++ b/grocery_delivery.gemspec @@ -29,6 +29,7 @@ Gem::Specification.new do |s| s.bindir = %w{bin} s.executables = %w{grocery-delivery} + s.required_ruby_version = '>= 2.4.0' s.add_dependency 'between_meals', '>= 0.0.11' s.add_dependency 'mixlib-config' end