Skip to content

Commit

Permalink
Update ruby gems; add groups to Gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gangelo committed Feb 19, 2024
1 parent ea5cb49 commit 620fa9f
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 47 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ require:
- rubocop-rspec

AllCops:
SuggestExtensions: false
TargetRubyVersion: 3.0
NewCops: enable
Exclude:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## ['4.0.2'] - 2024-02-19

Changes

- Update gems.
- Explicitly add Gemfile groups.

## ['4.0.1'] - 2024-01-24

Changes
Expand Down
34 changes: 22 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
63 changes: 32 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -138,7 +138,7 @@ $ branch-name create "<username>/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"`

Expand Down
2 changes: 1 addition & 1 deletion lib/branch/name/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
module Branch
module Name
# branch-name version
VERSION = '4.0.1'
VERSION = '4.0.2'
end
end

0 comments on commit 620fa9f

Please sign in to comment.