From e4d4e2036a117d5bccb245e1ddda190602e3a7ce Mon Sep 17 00:00:00 2001 From: Daniel Bogan Date: Tue, 24 Oct 2023 07:19:21 +0000 Subject: [PATCH] Update to Ruby 3 as a minimum, move dev gems into the Gemfile --- .ruby-version | 2 +- Gemfile | 4 ++++ dimples.gemspec | 7 ++----- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.ruby-version b/.ruby-version index 6a81b4c..818bd47 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7.8 +3.0.6 diff --git a/Gemfile b/Gemfile index be173b2..34fb4f5 100644 --- a/Gemfile +++ b/Gemfile @@ -3,3 +3,7 @@ source "https://rubygems.org" gemspec + +gem 'rake', '~> 13.0' +gem 'rspec', '~> 3.12' +gem 'rubocop-rspec', '~> 2.22' diff --git a/dimples.gemspec b/dimples.gemspec index ecd254d..c57713b 100644 --- a/dimples.gemspec +++ b/dimples.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.description = "A simple tool for building static websites." s.license = "MIT" - s.required_ruby_version = "> 2.7" + s.required_ruby_version = '> 3.0' s.executables << "dimples" @@ -26,8 +26,5 @@ Gem::Specification.new do |s| s.add_runtime_dependency "redcarpet", "~> 3.5" s.add_runtime_dependency "tilt", "~> 2.0" - s.add_development_dependency "rake", "~> 13.0" - s.add_development_dependency "rspec", "~> 3.12" - s.add_development_dependency "rubocop-rspec", "~> 2.22" - s.add_development_dependency "standard", "~> 1.28" + s.metadata['rubygems_mfa_required'] = 'true' end