From 0dee814333736d37285bde97042a2ba706da4a0c Mon Sep 17 00:00:00 2001 From: gangelo Date: Mon, 19 Feb 2024 14:21:36 -0500 Subject: [PATCH 1/2] Update ruby gems. - Update Gemfile to include gem groups for development and testing. - Update .gemspec file post_install_message to include wiki link for new dsu project command. --- CHANGELOG.md | 7 +++++++ Gemfile | 34 ++++++++++++++++++++++------------ Gemfile.lock | 27 ++++++++++++++------------- Rakefile | 8 +++----- dsu.gemspec | 2 +- lib/dsu/version.rb | 2 +- 6 files changed, 48 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab7a35b5..7ad67b32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [3.0.1] - 2024-02-19 + +### Changes +[x] Update ruby gems. +[x] Update Gemfile to include gem groups for development and testing. +[x] Update .gemspec file post_install_message to include wiki link for new dsu project command. + ## [3.0.0] - 2024-02-17 ### Enhancements diff --git a/Gemfile b/Gemfile index a58b42ed..c606c9d6 100644 --- a/Gemfile +++ b/Gemfile @@ -5,15 +5,25 @@ source 'https://rubygems.org' # Specify your gem's dependencies in dsu.gemspec gemspec -gem 'dotenv', '~> 2.8', '>= 2.8.1' -gem 'factory_bot', '~> 6.3' -gem 'ffaker', '~> 2.21' -gem 'pry-byebug', '~> 3.9' -gem 'rake', '~> 13.0' -gem 'reek', '~> 6.1', '>= 6.1.1' -gem 'rspec', '~> 3.0' -gem 'rubocop', '~> 1.50', '>= 1.50.2' -gem 'rubocop-performance', '~> 1.19' -gem 'rubocop-rake', '~> 0.6.0' -gem 'rubocop-rspec', '~> 2.23' -gem 'simplecov', '~> 0.22.0' +gem 'bundler', '>= 2.5', '< 3.0' +gem 'rake', '>= 13.0', '< 14.0' + +group :development do + gem 'reek', '>= 6.1', '< 7.0' + gem 'rubocop', '>= 1.35', '< 2.0' + gem 'rubocop-performance', '>= 1.14', '< 2.0' + gem 'rubocop-rake', '>= 0.6', '< 1.0' + gem 'rubocop-rspec', '>= 2.12', '< 3.0' +end + +group :test do + gem 'rspec', '>= 3.12', '< 4.0' + gem 'simplecov', '>= 0.22.0', '< 1.0' +end + +group :development, :test do + gem 'dotenv', '>= 2.8', '< 3.0' + gem 'factory_bot', '~> 6.3' + gem 'ffaker', '~> 2.21' + gem 'pry-byebug', '>= 3.9', '< 4.0' +end diff --git a/Gemfile.lock b/Gemfile.lock index 97ea1d01..a343fd12 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dsu (3.0.0) + dsu (3.0.1) activemodel (>= 7.0.8, < 8.0) activesupport (>= 7.0.8, < 8.0) colorize (>= 1.1, < 2.0) @@ -143,7 +143,7 @@ GEM simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) thor (1.3.0) - thor_nested_subcommand (1.0.7) + thor_nested_subcommand (1.0.8) tzinfo (2.0.6) concurrent-ruby (~> 1.0) unicode-display_width (2.5.0) @@ -155,19 +155,20 @@ PLATFORMS x86_64-linux DEPENDENCIES - dotenv (~> 2.8, >= 2.8.1) + bundler (>= 2.5, < 3.0) + dotenv (>= 2.8, < 3.0) dsu! factory_bot (~> 6.3) ffaker (~> 2.21) - pry-byebug (~> 3.9) - rake (~> 13.0) - reek (~> 6.1, >= 6.1.1) - rspec (~> 3.0) - rubocop (~> 1.50, >= 1.50.2) - rubocop-performance (~> 1.19) - rubocop-rake (~> 0.6.0) - rubocop-rspec (~> 2.23) - simplecov (~> 0.22.0) + pry-byebug (>= 3.9, < 4.0) + rake (>= 13.0, < 14.0) + reek (>= 6.1, < 7.0) + rspec (>= 3.12, < 4.0) + rubocop (>= 1.35, < 2.0) + rubocop-performance (>= 1.14, < 2.0) + rubocop-rake (>= 0.6, < 1.0) + rubocop-rspec (>= 2.12, < 3.0) + simplecov (>= 0.22.0, < 1.0) BUNDLED WITH - 2.3.22 + 2.5.6 diff --git a/Rakefile b/Rakefile index dc93e767..c32cf0df 100644 --- a/Rakefile +++ b/Rakefile @@ -2,17 +2,15 @@ require "bundler/gem_tasks" require "rspec/core/rake_task" - -RSpec::Core::RakeTask.new(:spec) - require "rubocop/rake_task" +RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new -task default: %i[spec rubocop] - desc 'Generate a migration timestamp' task :timestamp do puts 'The below migration timestamp should be placed in the "lib/dsu/migration/version.rb" file.' puts Time.now.strftime('%Y%m%d%H%M%S') end + +task default: %i[spec rubocop] diff --git a/dsu.gemspec b/dsu.gemspec index b4024ba6..9b07c2d1 100644 --- a/dsu.gemspec +++ b/dsu.gemspec @@ -78,6 +78,6 @@ Gem::Specification.new do |spec| <3 Gene - dsu now uses "Projects"! Run `dsu help project` to get started. + dsu now uses "Projects"! Run `dsu help project` to get started. Or, visit the dsu wiki for more information: https://github.com/gangelo/dsu/wiki/Managing-dsu-Projects POST_INSTALL end diff --git a/lib/dsu/version.rb b/lib/dsu/version.rb index 45194948..0ee80021 100644 --- a/lib/dsu/version.rb +++ b/lib/dsu/version.rb @@ -2,5 +2,5 @@ module Dsu VERSION_REGEX = /\A\d+\.\d+\.\d+(\.(alpha|beta|rc)\.\d+)?\z/ - VERSION = '3.0.0' + VERSION = '3.0.1' end From d08f16017ccb272fdbf830ada6df45435a06fb8e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 19:22:47 +0000 Subject: [PATCH 2/2] Bump dotenv from 2.8.1 to 3.0.2 Bumps [dotenv](https://github.com/bkeepers/dotenv) from 2.8.1 to 3.0.2. - [Release notes](https://github.com/bkeepers/dotenv/releases) - [Changelog](https://github.com/bkeepers/dotenv/blob/main/Changelog.md) - [Commits](https://github.com/bkeepers/dotenv/compare/v2.8.1...v3.0.2) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index c606c9d6..d80b00c4 100644 --- a/Gemfile +++ b/Gemfile @@ -22,7 +22,7 @@ group :test do end group :development, :test do - gem 'dotenv', '>= 2.8', '< 3.0' + gem 'dotenv', '>= 2.8', '< 4.0' gem 'factory_bot', '~> 6.3' gem 'ffaker', '~> 2.21' gem 'pry-byebug', '>= 3.9', '< 4.0' diff --git a/Gemfile.lock b/Gemfile.lock index a343fd12..e9250d8e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -34,7 +34,7 @@ GEM connection_pool (2.4.1) diff-lcs (1.5.1) docile (1.4.0) - dotenv (2.8.1) + dotenv (3.0.2) drb (2.2.0) ruby2_keywords dry-configurable (1.1.0) @@ -156,7 +156,7 @@ PLATFORMS DEPENDENCIES bundler (>= 2.5, < 3.0) - dotenv (>= 2.8, < 3.0) + dotenv (>= 2.8, < 4.0) dsu! factory_bot (~> 6.3) ffaker (~> 2.21)