From 93ee91032e6fec2ad2426e6f4e345ffe90e8eb9b Mon Sep 17 00:00:00 2001 From: Tabby Cromarty Date: Tue, 20 Feb 2024 17:42:38 +0000 Subject: [PATCH] Revert dependency cfg change & tweak rubocop config --- .rubocop.yml | 3 +++ Gemfile | 9 --------- anony.gemspec | 9 +++++++++ 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index d1393b1..f016d4b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,6 +9,9 @@ AllCops: Layout/LineLength: Max: 100 +Gemspec/DevelopmentDependencies: + EnforcedStyle: gemspec + Gemspec/RequiredRubyVersion: Enabled: false diff --git a/Gemfile b/Gemfile index a4c0979..6cd13c1 100644 --- a/Gemfile +++ b/Gemfile @@ -9,12 +9,3 @@ gemspec gem "activerecord", "~> #{ENV['RAILS_VERSION']}" if ENV["RAILS_VERSION"] gem "activesupport", "~> #{ENV['RAILS_VERSION']}" if ENV["RAILS_VERSION"] - -gem "bundler", "~> 2", :group => :development -gem "gc_ruboconfig", "~> 3.6.0", :group => :development -gem "rspec", "~> 3.9", :group => :development -gem "rspec-github", "~> 2.4.0", :group => :development -gem "yard", "~> 0.9.20", :group => :development - -# For integration testing -gem "sqlite3", "~> 1.6.1", :group => :development diff --git a/anony.gemspec b/anony.gemspec index eabaef0..d4fb97d 100644 --- a/anony.gemspec +++ b/anony.gemspec @@ -24,6 +24,15 @@ Gem::Specification.new do |spec| spec.required_ruby_version = ">= 2.6" + spec.add_development_dependency "bundler", "~> 2" + spec.add_development_dependency "gc_ruboconfig", "~> 3.6.0" + spec.add_development_dependency "rspec", "~> 3.9" + spec.add_development_dependency "rspec-github", "~> 2.4.0" + spec.add_development_dependency "yard", "~> 0.9.20" + + # For integration testing + spec.add_development_dependency "sqlite3", "~> 1.6.1" + spec.add_dependency "activerecord", ">= 5.2", "< 8" spec.add_dependency "activesupport", ">= 5.2", "< 8" spec.metadata["rubygems_mfa_required"] = "true"