From 0199bf5afa312510f59dd5b04276e72936b78d4d Mon Sep 17 00:00:00 2001 From: Brian Dunn Date: Sun, 9 Oct 2022 20:44:18 -0500 Subject: [PATCH] bump rubocop --- .rubocop.yml | 4 +++- flatware-cucumber.gemspec | 1 - flatware-rspec.gemspec | 1 - flatware.gemspec | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 31789f7..c5bb1ae 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,6 +9,8 @@ # # See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md # +require: rubocop-rake + AllCops: TargetRubyVersion: 2.6 Exclude: @@ -25,7 +27,7 @@ Style/Documentation: Metrics/BlockLength: Exclude: - spec/**/*_spec.rb -Gemspec/DateAssignment: +Gemspec/DeprecatedAttributeAssignment: Enabled: true Layout/SpaceBeforeBrackets: Enabled: true diff --git a/flatware-cucumber.gemspec b/flatware-cucumber.gemspec index 43f2c3a..bdd76c1 100644 --- a/flatware-cucumber.gemspec +++ b/flatware-cucumber.gemspec @@ -22,7 +22,6 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] s.required_ruby_version = ['>= 2.6', '< 3.2'] s.require_paths = ['lib'] - s.rubygems_version = '1.8.10' s.add_dependency %(cucumber), '~> 3.0' s.add_dependency %(flatware), Flatware::VERSION end diff --git a/flatware-rspec.gemspec b/flatware-rspec.gemspec index 44cc6d3..f74c938 100644 --- a/flatware-rspec.gemspec +++ b/flatware-rspec.gemspec @@ -23,7 +23,6 @@ Gem::Specification.new do |s| s.licenses = ['MIT'] s.required_ruby_version = ['>= 2.6', '< 3.2'] s.require_paths = ['lib'] - s.rubygems_version = '1.8.10' s.add_dependency %(flatware), Flatware::VERSION s.add_dependency %(rspec), '>= 3.6' end diff --git a/flatware.gemspec b/flatware.gemspec index 22a3f91..ac9ae78 100644 --- a/flatware.gemspec +++ b/flatware.gemspec @@ -29,6 +29,5 @@ Gem::Specification.new do |s| s.required_ruby_version = ['>= 2.6', '< 3.2'] s.require_paths = ['lib'] s.executables = ['flatware'] - s.rubygems_version = '1.8.10' s.add_dependency %(thor), '< 2.0' end