branch-name 3.10.7 → 3.10.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +47 -18
- data/README.md +3 -6
- data/lib/branch/name/cli.rb +1 -1
- data/lib/branch/name/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db1ee8287b8f3d88dd5dd180717a66a98699572c7b31a6bd781fcaad559dbb9
|
4
|
+
data.tar.gz: bc5f87149f489fbf8b4b2ec592355bf59861fbb287bc4e1040e782bcc918df24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f44537b8731a7e905430eeef4bcfda836424067e8a8729a1d61c9980bc4b87360fc4c7592cd66361832770a0d1ae5b8e44d2356e131d9b8630a79cd4049e5e7
|
7
|
+
data.tar.gz: e4a935096ea734fae03d1aa4a989230f7a529234415b4edfae45100960d9ef5aa34f40edf96d6fde75181c071919c4bd1bc22bf276e485ecb1deca95ec218abc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## ['3.10.9'] - 2024-01-07
|
2
|
+
|
3
|
+
Changes
|
4
|
+
|
5
|
+
- Relax ruby version requirements Gem::Requirement.new('>= 3.0.1', '< 4.0')
|
6
|
+
- Update gems.
|
7
|
+
|
8
|
+
## ['3.10.8'] - 2023-12-27
|
9
|
+
|
10
|
+
Changes
|
11
|
+
|
12
|
+
- Update gems.
|
13
|
+
- Update specs to work also on linux.
|
14
|
+
|
1
15
|
## ['3.10.7'] - 2023-12-02
|
2
16
|
|
3
17
|
Changes
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
branch-name (3.10.
|
4
|
+
branch-name (3.10.9)
|
5
5
|
activesupport (>= 7.0.8, < 8.0.0)
|
6
6
|
colorize (>= 1.1.0, < 2.0)
|
7
7
|
os (>= 1.1, < 2.0)
|
@@ -25,7 +25,7 @@ GEM
|
|
25
25
|
tzinfo (~> 2.0)
|
26
26
|
ast (2.4.2)
|
27
27
|
base64 (0.2.0)
|
28
|
-
bigdecimal (3.1.
|
28
|
+
bigdecimal (3.1.5)
|
29
29
|
byebug (11.1.3)
|
30
30
|
coderay (1.1.3)
|
31
31
|
colorize (1.1.0)
|
@@ -36,16 +36,42 @@ GEM
|
|
36
36
|
dotenv (2.8.1)
|
37
37
|
drb (2.2.0)
|
38
38
|
ruby2_keywords
|
39
|
+
dry-configurable (1.1.0)
|
40
|
+
dry-core (~> 1.0, < 2)
|
41
|
+
zeitwerk (~> 2.6)
|
42
|
+
dry-core (1.0.1)
|
43
|
+
concurrent-ruby (~> 1.0)
|
44
|
+
zeitwerk (~> 2.6)
|
45
|
+
dry-inflector (1.0.0)
|
46
|
+
dry-initializer (3.1.1)
|
47
|
+
dry-logic (1.5.0)
|
48
|
+
concurrent-ruby (~> 1.0)
|
49
|
+
dry-core (~> 1.0, < 2)
|
50
|
+
zeitwerk (~> 2.6)
|
51
|
+
dry-schema (1.13.3)
|
52
|
+
concurrent-ruby (~> 1.0)
|
53
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
54
|
+
dry-core (~> 1.0, < 2)
|
55
|
+
dry-initializer (~> 3.0)
|
56
|
+
dry-logic (>= 1.4, < 2)
|
57
|
+
dry-types (>= 1.7, < 2)
|
58
|
+
zeitwerk (~> 2.6)
|
59
|
+
dry-types (1.7.2)
|
60
|
+
bigdecimal (~> 3.0)
|
61
|
+
concurrent-ruby (~> 1.0)
|
62
|
+
dry-core (~> 1.0)
|
63
|
+
dry-inflector (~> 1.0)
|
64
|
+
dry-logic (~> 1.4)
|
65
|
+
zeitwerk (~> 2.6)
|
39
66
|
i18n (1.14.1)
|
40
67
|
concurrent-ruby (~> 1.0)
|
41
|
-
json (2.7.
|
42
|
-
kwalify (0.7.2)
|
68
|
+
json (2.7.1)
|
43
69
|
language_server-protocol (3.17.0.3)
|
44
70
|
method_source (1.0.0)
|
45
71
|
minitest (5.20.0)
|
46
72
|
mutex_m (0.2.0)
|
47
73
|
os (1.1.4)
|
48
|
-
parallel (1.
|
74
|
+
parallel (1.24.0)
|
49
75
|
parser (3.2.2.4)
|
50
76
|
ast (~> 2.4.1)
|
51
77
|
racc
|
@@ -58,17 +84,18 @@ GEM
|
|
58
84
|
racc (1.7.3)
|
59
85
|
rainbow (3.1.1)
|
60
86
|
rake (13.1.0)
|
61
|
-
reek (6.
|
62
|
-
|
87
|
+
reek (6.2.0)
|
88
|
+
dry-schema (~> 1.13.0)
|
63
89
|
parser (~> 3.2.0)
|
64
90
|
rainbow (>= 2.0, < 4.0)
|
65
|
-
|
91
|
+
rexml (~> 3.1)
|
92
|
+
regexp_parser (2.8.3)
|
66
93
|
rexml (3.2.6)
|
67
94
|
rspec (3.12.0)
|
68
95
|
rspec-core (~> 3.12.0)
|
69
96
|
rspec-expectations (~> 3.12.0)
|
70
97
|
rspec-mocks (~> 3.12.0)
|
71
|
-
rspec-activemodel-mocks (1.
|
98
|
+
rspec-activemodel-mocks (1.2.0)
|
72
99
|
activemodel (>= 3.0)
|
73
100
|
activesupport (>= 3.0)
|
74
101
|
rspec-mocks (>= 2.99, < 4.0)
|
@@ -81,7 +108,7 @@ GEM
|
|
81
108
|
diff-lcs (>= 1.2.0, < 2.0)
|
82
109
|
rspec-support (~> 3.12.0)
|
83
110
|
rspec-support (3.12.1)
|
84
|
-
rubocop (1.
|
111
|
+
rubocop (1.59.0)
|
85
112
|
json (~> 2.3)
|
86
113
|
language_server-protocol (>= 3.17.0)
|
87
114
|
parallel (~> 1.10)
|
@@ -94,14 +121,14 @@ GEM
|
|
94
121
|
unicode-display_width (>= 2.4.0, < 3.0)
|
95
122
|
rubocop-ast (1.30.0)
|
96
123
|
parser (>= 3.2.1.0)
|
97
|
-
rubocop-capybara (2.
|
124
|
+
rubocop-capybara (2.20.0)
|
98
125
|
rubocop (~> 1.41)
|
99
|
-
rubocop-factory_bot (2.
|
126
|
+
rubocop-factory_bot (2.25.0)
|
100
127
|
rubocop (~> 1.33)
|
101
|
-
rubocop-performance (1.
|
102
|
-
rubocop (>= 1.
|
103
|
-
rubocop-ast (>=
|
104
|
-
rubocop-rspec (2.
|
128
|
+
rubocop-performance (1.20.1)
|
129
|
+
rubocop (>= 1.48.1, < 2.0)
|
130
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
131
|
+
rubocop-rspec (2.26.1)
|
105
132
|
rubocop (~> 1.40)
|
106
133
|
rubocop-capybara (~> 2.17)
|
107
134
|
rubocop-factory_bot (~> 2.22)
|
@@ -116,10 +143,11 @@ GEM
|
|
116
143
|
simplecov-html (0.12.3)
|
117
144
|
simplecov_json_formatter (0.1.4)
|
118
145
|
thor (1.3.0)
|
119
|
-
thor_nested_subcommand (1.0.
|
146
|
+
thor_nested_subcommand (1.0.5)
|
120
147
|
tzinfo (2.0.6)
|
121
148
|
concurrent-ruby (~> 1.0)
|
122
149
|
unicode-display_width (2.5.0)
|
150
|
+
zeitwerk (2.6.12)
|
123
151
|
|
124
152
|
PLATFORMS
|
125
153
|
x86_64-darwin-19
|
@@ -128,6 +156,7 @@ PLATFORMS
|
|
128
156
|
|
129
157
|
DEPENDENCIES
|
130
158
|
branch-name!
|
159
|
+
bundler (~> 2.5, >= 2.5.3)
|
131
160
|
dotenv (>= 2.8, < 3.0)
|
132
161
|
pry-byebug (>= 3.10, < 4.0)
|
133
162
|
rake (>= 13.0, < 14)
|
@@ -141,4 +170,4 @@ DEPENDENCIES
|
|
141
170
|
simplecov (>= 0.22.0, < 1.0)
|
142
171
|
|
143
172
|
BUNDLED WITH
|
144
|
-
2.3
|
173
|
+
2.5.3
|
data/README.md
CHANGED
@@ -1,14 +1,11 @@
|
|
1
1
|
# `branch-name`
|
2
2
|
|
3
|
-
[![
|
4
|
-
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/branch-name.svg)](https://badge.fury.io/rb/branch-name)
|
6
|
-
|
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=2)](https://badge.fury.io/gh/gangelo%2Fbranch-name)
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/branch-name.svg?refresh=2)](https://badge.fury.io/rb/branch-name)
|
7
6
|
[![](http://ruby-gem-downloads-badge.herokuapp.com/branch-name?type=total)](http://www.rubydoc.info/gems/branch-name/)
|
8
7
|
[![Documentation](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](http://www.rubydoc.info/gems/branch-name/)
|
9
|
-
|
10
8
|
[![Report Issues](https://img.shields.io/badge/report-issues-red.svg)](https://github.com/gangelo/branch-name/issues)
|
11
|
-
|
12
9
|
[![License](http://img.shields.io/badge/license-MIT-yellowgreen.svg)](#license)
|
13
10
|
|
14
11
|
`branch-name` is a gem that provides a command-line interface that allows you to accomplish several tasks, tasks I *personally* find myself having to carry out every time I work on a feature branch. I created this gem *for myself*; however, you are free to use it yourself, if any of these tasks fits into your personal routine:
|
data/lib/branch/name/cli.rb
CHANGED
@@ -98,7 +98,7 @@ module Branch
|
|
98
98
|
method_option :project_files, type: :array, aliases: '-f'
|
99
99
|
method_option :interactive, type: :boolean, optional: true, aliases: '-i'
|
100
100
|
|
101
|
-
def create(ticket_description, ticket = nil)
|
101
|
+
def create(ticket_description, ticket = nil) # rubocop:disable Metrics/MethodLength
|
102
102
|
original_options, altered_options = init_options_for! command: :create
|
103
103
|
self.options = altered_options
|
104
104
|
branch_name = BranchNameService.new(description: ticket_description, ticket: ticket, options: options).call
|
data/lib/branch/name/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: branch-name
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.10.
|
4
|
+
version: 3.10.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -171,9 +171,12 @@ require_paths:
|
|
171
171
|
- lib
|
172
172
|
required_ruby_version: !ruby/object:Gem::Requirement
|
173
173
|
requirements:
|
174
|
-
- - "
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 3.0.1
|
177
|
+
- - "<"
|
175
178
|
- !ruby/object:Gem::Version
|
176
|
-
version: '
|
179
|
+
version: '4.0'
|
177
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
181
|
requirements:
|
179
182
|
- - ">="
|