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 +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +20 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +97 -65
- data/README.md +4 -4
- data/lib/branch/name/version.rb +1 -1
- metadata +62 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1033f8c74d5355784631d5b9d36d047e0c2eafde998f984aaa2a86f2341e08d4
|
4
|
+
data.tar.gz: 2fa2c4bd0f94adcaa0272fc4d184b8a7e3679bbfacf90f48b248c66119227de3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b9804358f3ec09b060fffee8c0603cc21ab4d26882957712155ee78d417e2b2662f29aee273a69c9f36e29677ee7318bddd0a740dec0a82e274d6360997cfe0
|
7
|
+
data.tar.gz: 6ae5086e09b1b388c9fc567dfa645d205666da2568632888897f8171b61c25f85230d7b52e97d2afce3dea951429898407051faec59f60c8cbc2b33a93b1a577
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
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
data/Gemfile.lock
CHANGED
@@ -1,54 +1,63 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
branch-name (4.0.
|
5
|
-
|
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 (
|
15
|
-
activesupport (=
|
16
|
-
activesupport (
|
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.
|
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
|
-
|
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
|
-
|
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.
|
33
|
-
connection_pool (2.
|
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.
|
36
|
-
dotenv (3.
|
37
|
-
drb (2.2.
|
38
|
-
|
39
|
-
|
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
|
49
|
+
dry-core (1.1.0)
|
43
50
|
concurrent-ruby (~> 1.0)
|
51
|
+
logger
|
44
52
|
zeitwerk (~> 2.6)
|
45
|
-
dry-inflector (1.
|
46
|
-
dry-initializer (3.
|
47
|
-
dry-logic (1.
|
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.
|
58
|
+
dry-core (~> 1.1)
|
50
59
|
zeitwerk (~> 2.6)
|
51
|
-
dry-schema (1.13.
|
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.
|
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.
|
75
|
+
i18n (1.14.7)
|
67
76
|
concurrent-ruby (~> 1.0)
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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
|
-
|
75
|
-
|
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
|
-
|
102
|
+
psych (5.2.3)
|
103
|
+
date
|
104
|
+
stringio
|
105
|
+
racc (1.8.1)
|
85
106
|
rainbow (3.1.1)
|
86
|
-
rake (13.1
|
87
|
-
|
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.
|
93
|
-
|
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.
|
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.
|
128
|
+
rspec-core (3.13.3)
|
103
129
|
rspec-support (~> 3.13.0)
|
104
|
-
rspec-expectations (3.13.
|
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.
|
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.
|
111
|
-
rubocop (1.
|
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 (>=
|
118
|
-
|
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, <
|
122
|
-
rubocop-ast (1.
|
123
|
-
parser (>= 3.
|
124
|
-
rubocop-capybara (2.
|
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-
|
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.
|
131
|
-
rubocop-rspec (2.
|
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
|
-
|
137
|
-
shoulda-matchers (6.
|
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.
|
171
|
+
simplecov-html (0.13.1)
|
144
172
|
simplecov_json_formatter (0.1.4)
|
145
|
-
|
146
|
-
|
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 (
|
150
|
-
|
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
|
-
|
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.
|
206
|
+
2.6.2
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# `branch-name`
|
2
2
|
|
3
|
-
[](https://github.com/gangelo/branch-name/actions/workflows/ruby.yml)
|
4
|
+
[](https://badge.fury.io/gh/gangelo%2Fbranch-name)
|
5
|
+
[](https://badge.fury.io/rb/branch-name)
|
6
6
|
[](http://www.rubydoc.info/gems/branch-name/)
|
7
7
|
[](http://www.rubydoc.info/gems/branch-name/)
|
8
8
|
[](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
|
|
data/lib/branch/name/version.rb
CHANGED
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.
|
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:
|
10
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
13
|
+
name: activemodel
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- - "
|
16
|
+
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - "
|
18
|
+
version: '8.0'
|
19
|
+
- - ">="
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version: 8.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:
|
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.
|
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
|
174
|
-
View the
|
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.
|
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
|
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: []
|