branch-name 4.0.2 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0066807f7fd975d5bcb42758619b31af24e4d36366a4620a2ff273e61acf46d
4
- data.tar.gz: 820523161a15ab87d8a6b530a19cf40eece66418e9810978b0bf10525f750cb5
3
+ metadata.gz: 1033f8c74d5355784631d5b9d36d047e0c2eafde998f984aaa2a86f2341e08d4
4
+ data.tar.gz: 2fa2c4bd0f94adcaa0272fc4d184b8a7e3679bbfacf90f48b248c66119227de3
5
5
  SHA512:
6
- metadata.gz: fdc3491fcd5f289780e6379661f056217ccd7b78264f547f96178890853fbceec1f23b8c048014c09ba272ff0661421029e932863c6d1eec77dd439e803d0ea3
7
- data.tar.gz: f0c66ee32bff7436e738f833c37fb689b29bc003c7db9cc2b3adabcd7a415323e722b6cdc2f58348cae91f4ff1a6987b526a6c615d527da89eb8a101f06d9b49
6
+ metadata.gz: 7b9804358f3ec09b060fffee8c0603cc21ab4d26882957712155ee78d417e2b2662f29aee273a69c9f36e29677ee7318bddd0a740dec0a82e274d6360997cfe0
7
+ data.tar.gz: 6ae5086e09b1b388c9fc567dfa645d205666da2568632888897f8171b61c25f85230d7b52e97d2afce3dea951429898407051faec59f60c8cbc2b33a93b1a577
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ require:
4
4
 
5
5
  AllCops:
6
6
  SuggestExtensions: false
7
- TargetRubyVersion: 3.0
7
+ TargetRubyVersion: 3.2
8
8
  NewCops: enable
9
9
  Exclude:
10
10
  - '.git/**/*'
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.6
1
+ 3.4.1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## ['4.0.5'] - 2025-01-06
2
+
3
+ Changes
4
+
5
+ - Fixes support for ruby 3.4.1, whereas, the previous version was not working with ruby 3.4.1.
6
+ - Includes activemodel to fix bug in prod environment.
7
+ - Update gems (among other gems, activesupport to '~> 8.0', '>= 8.0.1').
8
+ - Update test support for ruby versions ["3.2.6", "3.3.7", "3.4.1"]
9
+
10
+ ## ['4.0.4'] - 2025-01-06
11
+
12
+ - Yanked
13
+
14
+ ## ['4.0.3'] - 2024-08-03
15
+
16
+ Changes
17
+
18
+ - Update gems.
19
+ - Update rexml gem to patch CVE.
20
+
1
21
  ## ['4.0.2'] - 2024-02-19
2
22
 
3
23
  Changes
data/Gemfile CHANGED
@@ -24,6 +24,7 @@ end
24
24
 
25
25
  group :development, :test do
26
26
  gem 'dotenv', '>= 2.8', '< 4.0'
27
+ gem 'irb', '~> 1.15', '>= 1.15.1'
27
28
  gem 'pry-byebug', '>= 3.9', '< 4.0'
28
29
  gem 'thor', '>= 1.3', '< 2.0'
29
30
  end
data/Gemfile.lock CHANGED
@@ -1,54 +1,63 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- branch-name (4.0.2)
5
- activesupport (>= 7.0.8, < 8.0.0)
4
+ branch-name (4.0.5)
5
+ activemodel (~> 8.0, >= 8.0.1)
6
+ activesupport (~> 8.0, >= 8.0.1)
6
7
  colorize (>= 1.1.0, < 2.0)
7
8
  os (>= 1.1, < 2.0)
9
+ ostruct (~> 0.6.1)
10
+ reline (~> 0.6.0)
8
11
  thor (>= 1.2, < 2.0)
9
12
  thor_nested_subcommand (>= 1.0, < 2.0)
10
13
 
11
14
  GEM
12
15
  remote: https://rubygems.org/
13
16
  specs:
14
- activemodel (7.1.3)
15
- activesupport (= 7.1.3)
16
- activesupport (7.1.3)
17
+ activemodel (8.0.1)
18
+ activesupport (= 8.0.1)
19
+ activesupport (8.0.1)
17
20
  base64
21
+ benchmark (>= 0.3)
18
22
  bigdecimal
19
- concurrent-ruby (~> 1.0, >= 1.0.2)
23
+ concurrent-ruby (~> 1.0, >= 1.3.1)
20
24
  connection_pool (>= 2.2.5)
21
25
  drb
22
26
  i18n (>= 1.6, < 2)
27
+ logger (>= 1.4.2)
23
28
  minitest (>= 5.1)
24
- mutex_m
25
- tzinfo (~> 2.0)
29
+ securerandom (>= 0.3)
30
+ tzinfo (~> 2.0, >= 2.0.5)
31
+ uri (>= 0.13.1)
26
32
  ast (2.4.2)
27
33
  base64 (0.2.0)
28
- bigdecimal (3.1.6)
34
+ benchmark (0.4.0)
35
+ bigdecimal (3.1.9)
29
36
  byebug (11.1.3)
30
37
  coderay (1.1.3)
31
38
  colorize (1.1.0)
32
- concurrent-ruby (1.2.3)
33
- connection_pool (2.4.1)
39
+ concurrent-ruby (1.3.5)
40
+ connection_pool (2.5.0)
41
+ date (3.4.1)
34
42
  diff-lcs (1.5.1)
35
- docile (1.4.0)
36
- dotenv (3.0.2)
37
- drb (2.2.0)
38
- ruby2_keywords
39
- dry-configurable (1.1.0)
40
- dry-core (~> 1.0, < 2)
43
+ docile (1.4.1)
44
+ dotenv (3.1.7)
45
+ drb (2.2.1)
46
+ dry-configurable (1.3.0)
47
+ dry-core (~> 1.1)
41
48
  zeitwerk (~> 2.6)
42
- dry-core (1.0.1)
49
+ dry-core (1.1.0)
43
50
  concurrent-ruby (~> 1.0)
51
+ logger
44
52
  zeitwerk (~> 2.6)
45
- dry-inflector (1.0.0)
46
- dry-initializer (3.1.1)
47
- dry-logic (1.5.0)
53
+ dry-inflector (1.2.0)
54
+ dry-initializer (3.2.0)
55
+ dry-logic (1.6.0)
56
+ bigdecimal
48
57
  concurrent-ruby (~> 1.0)
49
- dry-core (~> 1.0, < 2)
58
+ dry-core (~> 1.1)
50
59
  zeitwerk (~> 2.6)
51
- dry-schema (1.13.3)
60
+ dry-schema (1.13.4)
52
61
  concurrent-ruby (~> 1.0)
53
62
  dry-configurable (~> 1.0, >= 1.0.1)
54
63
  dry-core (~> 1.0, < 2)
@@ -56,108 +65,131 @@ GEM
56
65
  dry-logic (>= 1.4, < 2)
57
66
  dry-types (>= 1.7, < 2)
58
67
  zeitwerk (~> 2.6)
59
- dry-types (1.7.2)
68
+ dry-types (1.8.2)
60
69
  bigdecimal (~> 3.0)
61
70
  concurrent-ruby (~> 1.0)
62
71
  dry-core (~> 1.0)
63
72
  dry-inflector (~> 1.0)
64
73
  dry-logic (~> 1.4)
65
74
  zeitwerk (~> 2.6)
66
- i18n (1.14.1)
75
+ i18n (1.14.7)
67
76
  concurrent-ruby (~> 1.0)
68
- json (2.7.1)
69
- language_server-protocol (3.17.0.3)
70
- method_source (1.0.0)
71
- minitest (5.22.2)
72
- mutex_m (0.2.0)
77
+ io-console (0.8.0)
78
+ irb (1.15.1)
79
+ pp (>= 0.6.0)
80
+ rdoc (>= 4.0.0)
81
+ reline (>= 0.4.2)
82
+ json (2.9.1)
83
+ language_server-protocol (3.17.0.4)
84
+ logger (1.6.5)
85
+ method_source (1.1.0)
86
+ minitest (5.25.4)
73
87
  os (1.1.4)
74
- parallel (1.24.0)
75
- parser (3.3.0.5)
88
+ ostruct (0.6.1)
89
+ parallel (1.26.3)
90
+ parser (3.3.7.1)
76
91
  ast (~> 2.4.1)
77
92
  racc
93
+ pp (0.6.2)
94
+ prettyprint
95
+ prettyprint (0.2.0)
78
96
  pry (0.14.2)
79
97
  coderay (~> 1.1)
80
98
  method_source (~> 1.0)
81
99
  pry-byebug (3.10.1)
82
100
  byebug (~> 11.0)
83
101
  pry (>= 0.13, < 0.15)
84
- racc (1.7.3)
102
+ psych (5.2.3)
103
+ date
104
+ stringio
105
+ racc (1.8.1)
85
106
  rainbow (3.1.1)
86
- rake (13.1.0)
87
- reek (6.3.0)
107
+ rake (13.2.1)
108
+ rdoc (6.12.0)
109
+ psych (>= 4.0.0)
110
+ reek (6.4.0)
88
111
  dry-schema (~> 1.13.0)
112
+ logger (~> 1.6)
89
113
  parser (~> 3.3.0)
90
114
  rainbow (>= 2.0, < 4.0)
91
115
  rexml (~> 3.1)
92
- regexp_parser (2.9.0)
93
- rexml (3.2.6)
116
+ regexp_parser (2.10.0)
117
+ reline (0.6.0)
118
+ io-console (~> 0.5)
119
+ rexml (3.4.0)
94
120
  rspec (3.13.0)
95
121
  rspec-core (~> 3.13.0)
96
122
  rspec-expectations (~> 3.13.0)
97
123
  rspec-mocks (~> 3.13.0)
98
- rspec-activemodel-mocks (1.2.0)
124
+ rspec-activemodel-mocks (1.2.1)
99
125
  activemodel (>= 3.0)
100
126
  activesupport (>= 3.0)
101
127
  rspec-mocks (>= 2.99, < 4.0)
102
- rspec-core (3.13.0)
128
+ rspec-core (3.13.3)
103
129
  rspec-support (~> 3.13.0)
104
- rspec-expectations (3.13.0)
130
+ rspec-expectations (3.13.3)
105
131
  diff-lcs (>= 1.2.0, < 2.0)
106
132
  rspec-support (~> 3.13.0)
107
- rspec-mocks (3.13.0)
133
+ rspec-mocks (3.13.2)
108
134
  diff-lcs (>= 1.2.0, < 2.0)
109
135
  rspec-support (~> 3.13.0)
110
- rspec-support (3.13.0)
111
- rubocop (1.60.2)
136
+ rspec-support (3.13.2)
137
+ rubocop (1.71.2)
112
138
  json (~> 2.3)
113
139
  language_server-protocol (>= 3.17.0)
114
140
  parallel (~> 1.10)
115
141
  parser (>= 3.3.0.2)
116
142
  rainbow (>= 2.2.2, < 4.0)
117
- regexp_parser (>= 1.8, < 3.0)
118
- rexml (>= 3.2.5, < 4.0)
119
- rubocop-ast (>= 1.30.0, < 2.0)
143
+ regexp_parser (>= 2.9.3, < 3.0)
144
+ rubocop-ast (>= 1.38.0, < 2.0)
120
145
  ruby-progressbar (~> 1.7)
121
- unicode-display_width (>= 2.4.0, < 3.0)
122
- rubocop-ast (1.30.0)
123
- parser (>= 3.2.1.0)
124
- rubocop-capybara (2.20.0)
125
- rubocop (~> 1.41)
126
- rubocop-factory_bot (2.25.1)
146
+ unicode-display_width (>= 2.4.0, < 4.0)
147
+ rubocop-ast (1.38.0)
148
+ parser (>= 3.3.1.0)
149
+ rubocop-capybara (2.21.0)
127
150
  rubocop (~> 1.41)
128
- rubocop-performance (1.20.2)
151
+ rubocop-factory_bot (2.26.1)
152
+ rubocop (~> 1.61)
153
+ rubocop-performance (1.23.1)
129
154
  rubocop (>= 1.48.1, < 2.0)
130
- rubocop-ast (>= 1.30.0, < 2.0)
131
- rubocop-rspec (2.26.1)
155
+ rubocop-ast (>= 1.31.1, < 2.0)
156
+ rubocop-rspec (2.31.0)
132
157
  rubocop (~> 1.40)
133
158
  rubocop-capybara (~> 2.17)
134
159
  rubocop-factory_bot (~> 2.22)
160
+ rubocop-rspec_rails (~> 2.28)
161
+ rubocop-rspec_rails (2.29.1)
162
+ rubocop (~> 1.61)
135
163
  ruby-progressbar (1.13.0)
136
- ruby2_keywords (0.0.5)
137
- shoulda-matchers (6.1.0)
164
+ securerandom (0.4.1)
165
+ shoulda-matchers (6.4.0)
138
166
  activesupport (>= 5.2.0)
139
167
  simplecov (0.22.0)
140
168
  docile (~> 1.1)
141
169
  simplecov-html (~> 0.11)
142
170
  simplecov_json_formatter (~> 0.1)
143
- simplecov-html (0.12.3)
171
+ simplecov-html (0.13.1)
144
172
  simplecov_json_formatter (0.1.4)
145
- thor (1.3.0)
146
- thor_nested_subcommand (1.0.8)
173
+ stringio (3.1.2)
174
+ thor (1.3.2)
175
+ thor_nested_subcommand (1.0.9)
147
176
  tzinfo (2.0.6)
148
177
  concurrent-ruby (~> 1.0)
149
- unicode-display_width (2.5.0)
150
- zeitwerk (2.6.13)
178
+ unicode-display_width (3.1.4)
179
+ unicode-emoji (~> 4.0, >= 4.0.4)
180
+ unicode-emoji (4.0.4)
181
+ uri (1.0.2)
182
+ zeitwerk (2.7.1)
151
183
 
152
184
  PLATFORMS
153
- x86_64-darwin-19
185
+ ruby
154
186
  x86_64-darwin-21
155
- x86_64-linux
156
187
 
157
188
  DEPENDENCIES
158
189
  branch-name!
159
190
  bundler (>= 2.5, < 3.0)
160
191
  dotenv (>= 2.8, < 4.0)
192
+ irb (~> 1.15, >= 1.15.1)
161
193
  pry-byebug (>= 3.9, < 4.0)
162
194
  rake (>= 13.0, < 14.0)
163
195
  reek (>= 6.1, < 7.0)
@@ -171,4 +203,4 @@ DEPENDENCIES
171
203
  thor (>= 1.3, < 2.0)
172
204
 
173
205
  BUNDLED WITH
174
- 2.5.4
206
+ 2.6.2
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # `branch-name`
2
2
 
3
- [![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)
4
- [![GitHub version](http://badge.fury.io/gh/gangelo%2Fbranch-name.svg?refresh=6)](https://badge.fury.io/gh/gangelo%2Fbranch-name)
5
- [![Gem Version](https://badge.fury.io/rb/branch-name.svg?refresh=6)](https://badge.fury.io/rb/branch-name)
3
+ [![Ruby](https://github.com/gangelo/branch-name/actions/workflows/ruby.yml/badge.svg?refresh=4.0.4)](https://github.com/gangelo/branch-name/actions/workflows/ruby.yml)
4
+ [![GitHub version](http://badge.fury.io/gh/gangelo%2Fbranch-name.svg?refresh=4.0.4)](https://badge.fury.io/gh/gangelo%2Fbranch-name)
5
+ [![Gem Version](https://badge.fury.io/rb/branch-name.svg?refresh=4.0.4)](https://badge.fury.io/rb/branch-name)
6
6
  [![](http://ruby-gem-downloads-badge.herokuapp.com/branch-name?type=total)](http://www.rubydoc.info/gems/branch-name/)
7
7
  [![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/branch-name/)
8
8
  [![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 "<username>/UX-54321 Remove debug code"
138
138
  ...
139
139
  ```
140
140
 
141
- 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.
141
+ 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.
142
142
 
143
143
  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"`
144
144
 
@@ -3,6 +3,6 @@
3
3
  module Branch
4
4
  module Name
5
5
  # branch-name version
6
- VERSION = '4.0.2'
6
+ VERSION = '4.0.5'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,35 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: branch-name
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gene M. Angelo, Jr.
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-02-19 00:00:00.000000000 Z
10
+ date: 2025-02-06 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
- name: activesupport
13
+ name: activemodel
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">="
16
+ - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 7.0.8
20
- - - "<"
18
+ version: '8.0'
19
+ - - ">="
21
20
  - !ruby/object:Gem::Version
22
- version: 8.0.0
21
+ version: 8.0.1
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '8.0'
27
29
  - - ">="
28
30
  - !ruby/object:Gem::Version
29
- version: 7.0.8
30
- - - "<"
31
+ version: 8.0.1
32
+ - !ruby/object:Gem::Dependency
33
+ name: activesupport
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '8.0'
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: 8.0.1
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '8.0'
49
+ - - ">="
31
50
  - !ruby/object:Gem::Version
32
- version: 8.0.0
51
+ version: 8.0.1
33
52
  - !ruby/object:Gem::Dependency
34
53
  name: colorize
35
54
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +89,34 @@ dependencies:
70
89
  - - "<"
71
90
  - !ruby/object:Gem::Version
72
91
  version: '2.0'
92
+ - !ruby/object:Gem::Dependency
93
+ name: ostruct
94
+ requirement: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - "~>"
97
+ - !ruby/object:Gem::Version
98
+ version: 0.6.1
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - "~>"
104
+ - !ruby/object:Gem::Version
105
+ version: 0.6.1
106
+ - !ruby/object:Gem::Dependency
107
+ name: reline
108
+ requirement: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: 0.6.0
113
+ type: :runtime
114
+ prerelease: false
115
+ version_requirements: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: 0.6.0
73
120
  - !ruby/object:Gem::Dependency
74
121
  name: thor
75
122
  requirement: !ruby/object:Gem::Requirement
@@ -170,8 +217,8 @@ post_install_message: |
170
217
 
171
218
  Run `branch-name` from your command line to get started.
172
219
 
173
- View the dsu README.md here: https://github.com/gangelo/branch-name
174
- View the dsu CHANGELOG.md: https://github.com/gangelo/branch-name/blob/main/CHANGELOG.md
220
+ View the banch-name README.md here: https://github.com/gangelo/branch-name
221
+ View the branch-name CHANGELOG.md: https://github.com/gangelo/branch-name/blob/main/CHANGELOG.md
175
222
 
176
223
  *
177
224
  ***
@@ -202,7 +249,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
249
  requirements:
203
250
  - - ">="
204
251
  - !ruby/object:Gem::Version
205
- version: 3.0.6
252
+ version: '3.2'
206
253
  - - "<"
207
254
  - !ruby/object:Gem::Version
208
255
  version: '4.0'
@@ -212,8 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
259
  - !ruby/object:Gem::Version
213
260
  version: '0'
214
261
  requirements: []
215
- rubygems_version: 3.2.33
216
- signing_key:
262
+ rubygems_version: 3.6.2
217
263
  specification_version: 4
218
264
  summary: Generates a branch name based on a JIRA ticket/ticket number.
219
265
  test_files: []