From 620fa9f380c6947e10178991a504f4434d888669 Mon Sep 17 00:00:00 2001 From: gangelo Date: Mon, 19 Feb 2024 10:12:43 -0500 Subject: [PATCH] Update ruby gems; add groups to Gemfile --- .rubocop.yml | 1 + CHANGELOG.md | 7 +++++ Gemfile | 34 ++++++++++++-------- Gemfile.lock | 63 +++++++++++++++++++------------------- README.md | 6 ++-- lib/branch/name/version.rb | 2 +- 6 files changed, 66 insertions(+), 47 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 2a0fb0a..a6ead95 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,6 +3,7 @@ require: - rubocop-rspec AllCops: + SuggestExtensions: false TargetRubyVersion: 3.0 NewCops: enable Exclude: diff --git a/CHANGELOG.md b/CHANGELOG.md index c0930f5..78662ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## ['4.0.2'] - 2024-02-19 + +Changes + +- Update gems. +- Explicitly add Gemfile groups. + ## ['4.0.1'] - 2024-01-24 Changes diff --git a/Gemfile b/Gemfile index cf38444..e3f5f1f 100644 --- a/Gemfile +++ b/Gemfile @@ -5,15 +5,25 @@ source 'https://rubygems.org' # Specify your gem's dependencies in branch-name.gemspec gemspec -gem 'bundler', '~> 2.5', '>= 2.5.3' -gem 'dotenv', '>= 2.8', '< 3.0' -gem 'pry-byebug', '>= 3.10', '< 4.0' -gem 'rake', '>= 13.0', '< 14' -gem 'reek', '>= 6.1', '< 7.0' -gem 'rspec', '>= 3.12.0', '< 4.0' -gem 'rspec-activemodel-mocks', '>= 1.1', '< 2.0' -gem 'rubocop', '>= 1.56.0', '< 2.0' -gem 'rubocop-performance', '>= 1.19', '< 2.0' -gem 'rubocop-rspec', '>= 2.23', '< 3.0' -gem 'shoulda-matchers', '>= 6.0', '< 7.0' -gem 'simplecov', '>= 0.22.0', '< 1.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-rspec', '>= 2.12', '< 3.0' +end + +group :test do + gem 'rspec', '>= 3.12', '< 4.0' + gem 'rspec-activemodel-mocks', '>= 1.1', '< 2.0' + gem 'shoulda-matchers', '>= 6.0', '< 7.0' + gem 'simplecov', '>= 0.22', '< 2.0' +end + +group :development, :test do + gem 'dotenv', '>= 2.8', '< 4.0' + gem 'pry-byebug', '>= 3.9', '< 4.0' + gem 'thor', '>= 1.3', '< 2.0' +end diff --git a/Gemfile.lock b/Gemfile.lock index 9084674..a3d9c18 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - branch-name (4.0.1) + branch-name (4.0.2) activesupport (>= 7.0.8, < 8.0.0) colorize (>= 1.1.0, < 2.0) os (>= 1.1, < 2.0) @@ -31,9 +31,9 @@ GEM colorize (1.1.0) concurrent-ruby (1.2.3) connection_pool (2.4.1) - diff-lcs (1.5.0) + 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) @@ -68,11 +68,11 @@ GEM json (2.7.1) language_server-protocol (3.17.0.3) method_source (1.0.0) - minitest (5.21.2) + minitest (5.22.2) mutex_m (0.2.0) os (1.1.4) parallel (1.24.0) - parser (3.2.2.4) + parser (3.3.0.5) ast (~> 2.4.1) racc pry (0.14.2) @@ -84,35 +84,35 @@ GEM racc (1.7.3) rainbow (3.1.1) rake (13.1.0) - reek (6.2.0) + reek (6.3.0) dry-schema (~> 1.13.0) - parser (~> 3.2.0) + parser (~> 3.3.0) rainbow (>= 2.0, < 4.0) rexml (~> 3.1) regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) rspec-activemodel-mocks (1.2.0) activemodel (>= 3.0) activesupport (>= 3.0) rspec-mocks (>= 2.99, < 4.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.6) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) - rubocop (1.59.0) + rspec-support (~> 3.13.0) + rspec-support (3.13.0) + rubocop (1.60.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) @@ -143,11 +143,11 @@ 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) - zeitwerk (2.6.12) + zeitwerk (2.6.13) PLATFORMS x86_64-darwin-19 @@ -156,18 +156,19 @@ PLATFORMS DEPENDENCIES branch-name! - bundler (~> 2.5, >= 2.5.3) - dotenv (>= 2.8, < 3.0) - pry-byebug (>= 3.10, < 4.0) - rake (>= 13.0, < 14) + bundler (>= 2.5, < 3.0) + dotenv (>= 2.8, < 4.0) + pry-byebug (>= 3.9, < 4.0) + rake (>= 13.0, < 14.0) reek (>= 6.1, < 7.0) - rspec (>= 3.12.0, < 4.0) + rspec (>= 3.12, < 4.0) rspec-activemodel-mocks (>= 1.1, < 2.0) - rubocop (>= 1.56.0, < 2.0) - rubocop-performance (>= 1.19, < 2.0) - rubocop-rspec (>= 2.23, < 3.0) + rubocop (>= 1.35, < 2.0) + rubocop-performance (>= 1.14, < 2.0) + rubocop-rspec (>= 2.12, < 3.0) shoulda-matchers (>= 6.0, < 7.0) - simplecov (>= 0.22.0, < 1.0) + simplecov (>= 0.22, < 2.0) + thor (>= 1.3, < 2.0) BUNDLED WITH 2.5.4 diff --git a/README.md b/README.md index 124742c..2e86ddf 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # `branch-name` [![Ruby](https://github.com/gangelo/branch-name/actions/workflows/ruby.yml/badge.svg?refresh=1)](https://github.com/gangelo/branch-name/actions/workflows/ruby.yml) -[![GitHub version](http://badge.fury.io/gh/gangelo%2Fbranch-name.svg?refresh=6)](https://badge.fury.io/gh/gangelo%2Fbranch-name) -[![Gem Version](https://badge.fury.io/rb/branch-name.svg?refresh=6)](https://badge.fury.io/rb/branch-name) +[![GitHub version](http://badge.fury.io/gh/gangelo%2Fbranch-name.svg?refresh=7)](https://badge.fury.io/gh/gangelo%2Fbranch-name) +[![Gem Version](https://badge.fury.io/rb/branch-name.svg?refresh=7)](https://badge.fury.io/rb/branch-name) [![](http://ruby-gem-downloads-badge.herokuapp.com/branch-name?type=total)](http://www.rubydoc.info/gems/branch-name/) [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/branch-name/) [![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/branch-name/issues) @@ -138,7 +138,7 @@ $ branch-name create "/UX-54321 Remove debug code" ... ``` -If you want a more **pernament solution**, you can [change the configuration `format_string` string](#creating-feature-branch-names-and-projects-examples) to include forward-slashes. +If you want a more **pernament solution**, you can [change the configuration `format_string` string](#creating-feature-branch-names-and-projects-examples) to include forward-slashes. Below is an example using forward-slashes and username using the `%u` format specifier (assuming it coincides with your current username): `format_string: "%u/%t %d"` diff --git a/lib/branch/name/version.rb b/lib/branch/name/version.rb index 69ae1c9..d51dc5c 100644 --- a/lib/branch/name/version.rb +++ b/lib/branch/name/version.rb @@ -3,6 +3,6 @@ module Branch module Name # branch-name version - VERSION = '4.0.1' + VERSION = '4.0.2' end end