branch-name 3.10.6 → 3.10.8
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/CHANGELOG.md +13 -0
- data/Gemfile +12 -11
- data/Gemfile.lock +27 -27
- data/README.md +3 -6
- data/lib/branch/name/cli.rb +1 -1
- data/lib/branch/name/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95027b4bbbb31eea466cfedffa37db4a851bd45869f03ce47d2c590872099166
|
|
4
|
+
data.tar.gz: a7194893d66e0fa6c8d84251d716ca8f398dbef15487a474056055b6b4cb56a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 808071276fef7149442226c326da1fc4b8058d05b0e2301e34c0319252663c269c149a46c940f8a222670f736157010d3959928fb1e88720d1706d33d982fb06
|
|
7
|
+
data.tar.gz: '096cbfbba2b5d5487a2843202d41c46f85efac20775fd7cb9ab59322fd900a206edb68ac09886db19f08bb4af1f0679e09adfc1bc7e499b4a45dd24ca8207056'
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
|
@@ -5,14 +5,15 @@ source 'https://rubygems.org'
|
|
|
5
5
|
# Specify your gem's dependencies in branch-name.gemspec
|
|
6
6
|
gemspec
|
|
7
7
|
|
|
8
|
-
gem '
|
|
9
|
-
gem '
|
|
10
|
-
gem '
|
|
11
|
-
gem '
|
|
12
|
-
gem '
|
|
13
|
-
gem 'rspec
|
|
14
|
-
gem '
|
|
15
|
-
gem 'rubocop
|
|
16
|
-
gem 'rubocop-
|
|
17
|
-
gem '
|
|
18
|
-
gem '
|
|
8
|
+
gem 'bundler', '~> 2.5', '>= 2.5.3'
|
|
9
|
+
gem 'dotenv', '>= 2.8', '< 3.0'
|
|
10
|
+
gem 'pry-byebug', '>= 3.10', '< 4.0'
|
|
11
|
+
gem 'rake', '>= 13.0', '< 14'
|
|
12
|
+
gem 'reek', '>= 6.1', '< 7.0'
|
|
13
|
+
gem 'rspec', '>= 3.12.0', '< 4.0'
|
|
14
|
+
gem 'rspec-activemodel-mocks', '>= 1.1', '< 2.0'
|
|
15
|
+
gem 'rubocop', '>= 1.56.0', '< 2.0'
|
|
16
|
+
gem 'rubocop-performance', '>= 1.19', '< 2.0'
|
|
17
|
+
gem 'rubocop-rspec', '>= 2.23', '< 3.0'
|
|
18
|
+
gem 'shoulda-matchers', '>= 5.3', '< 6.0'
|
|
19
|
+
gem 'simplecov', '>= 0.22.0', '< 1.0'
|
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.8)
|
|
5
5
|
activesupport (>= 7.0.8, < 8.0.0)
|
|
6
6
|
colorize (>= 1.1.0, < 2.0)
|
|
7
7
|
os (>= 1.1, < 2.0)
|
|
@@ -24,8 +24,8 @@ GEM
|
|
|
24
24
|
mutex_m
|
|
25
25
|
tzinfo (~> 2.0)
|
|
26
26
|
ast (2.4.2)
|
|
27
|
-
base64 (0.
|
|
28
|
-
bigdecimal (3.1.
|
|
27
|
+
base64 (0.2.0)
|
|
28
|
+
bigdecimal (3.1.5)
|
|
29
29
|
byebug (11.1.3)
|
|
30
30
|
coderay (1.1.3)
|
|
31
31
|
colorize (1.1.0)
|
|
@@ -38,14 +38,14 @@ GEM
|
|
|
38
38
|
ruby2_keywords
|
|
39
39
|
i18n (1.14.1)
|
|
40
40
|
concurrent-ruby (~> 1.0)
|
|
41
|
-
json (2.7.
|
|
41
|
+
json (2.7.1)
|
|
42
42
|
kwalify (0.7.2)
|
|
43
43
|
language_server-protocol (3.17.0.3)
|
|
44
44
|
method_source (1.0.0)
|
|
45
45
|
minitest (5.20.0)
|
|
46
46
|
mutex_m (0.2.0)
|
|
47
47
|
os (1.1.4)
|
|
48
|
-
parallel (1.
|
|
48
|
+
parallel (1.24.0)
|
|
49
49
|
parser (3.2.2.4)
|
|
50
50
|
ast (~> 2.4.1)
|
|
51
51
|
racc
|
|
@@ -62,13 +62,13 @@ GEM
|
|
|
62
62
|
kwalify (~> 0.7.0)
|
|
63
63
|
parser (~> 3.2.0)
|
|
64
64
|
rainbow (>= 2.0, < 4.0)
|
|
65
|
-
regexp_parser (2.8.
|
|
65
|
+
regexp_parser (2.8.3)
|
|
66
66
|
rexml (3.2.6)
|
|
67
67
|
rspec (3.12.0)
|
|
68
68
|
rspec-core (~> 3.12.0)
|
|
69
69
|
rspec-expectations (~> 3.12.0)
|
|
70
70
|
rspec-mocks (~> 3.12.0)
|
|
71
|
-
rspec-activemodel-mocks (1.
|
|
71
|
+
rspec-activemodel-mocks (1.2.0)
|
|
72
72
|
activemodel (>= 3.0)
|
|
73
73
|
activesupport (>= 3.0)
|
|
74
74
|
rspec-mocks (>= 2.99, < 4.0)
|
|
@@ -81,16 +81,15 @@ GEM
|
|
|
81
81
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
82
82
|
rspec-support (~> 3.12.0)
|
|
83
83
|
rspec-support (3.12.1)
|
|
84
|
-
rubocop (1.
|
|
85
|
-
base64 (~> 0.1.1)
|
|
84
|
+
rubocop (1.59.0)
|
|
86
85
|
json (~> 2.3)
|
|
87
86
|
language_server-protocol (>= 3.17.0)
|
|
88
87
|
parallel (~> 1.10)
|
|
89
|
-
parser (>= 3.2.2.
|
|
88
|
+
parser (>= 3.2.2.4)
|
|
90
89
|
rainbow (>= 2.2.2, < 4.0)
|
|
91
90
|
regexp_parser (>= 1.8, < 3.0)
|
|
92
91
|
rexml (>= 3.2.5, < 4.0)
|
|
93
|
-
rubocop-ast (>= 1.
|
|
92
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
94
93
|
ruby-progressbar (~> 1.7)
|
|
95
94
|
unicode-display_width (>= 2.4.0, < 3.0)
|
|
96
95
|
rubocop-ast (1.30.0)
|
|
@@ -99,9 +98,9 @@ GEM
|
|
|
99
98
|
rubocop (~> 1.41)
|
|
100
99
|
rubocop-factory_bot (2.24.0)
|
|
101
100
|
rubocop (~> 1.33)
|
|
102
|
-
rubocop-performance (1.
|
|
103
|
-
rubocop (>= 1.
|
|
104
|
-
rubocop-ast (>=
|
|
101
|
+
rubocop-performance (1.20.1)
|
|
102
|
+
rubocop (>= 1.48.1, < 2.0)
|
|
103
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
|
105
104
|
rubocop-rspec (2.25.0)
|
|
106
105
|
rubocop (~> 1.40)
|
|
107
106
|
rubocop-capybara (~> 2.17)
|
|
@@ -117,7 +116,7 @@ GEM
|
|
|
117
116
|
simplecov-html (0.12.3)
|
|
118
117
|
simplecov_json_formatter (0.1.4)
|
|
119
118
|
thor (1.3.0)
|
|
120
|
-
thor_nested_subcommand (1.0.
|
|
119
|
+
thor_nested_subcommand (1.0.5)
|
|
121
120
|
tzinfo (2.0.6)
|
|
122
121
|
concurrent-ruby (~> 1.0)
|
|
123
122
|
unicode-display_width (2.5.0)
|
|
@@ -129,17 +128,18 @@ PLATFORMS
|
|
|
129
128
|
|
|
130
129
|
DEPENDENCIES
|
|
131
130
|
branch-name!
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
rspec
|
|
138
|
-
|
|
139
|
-
rubocop
|
|
140
|
-
rubocop-
|
|
141
|
-
|
|
142
|
-
|
|
131
|
+
bundler (~> 2.5, >= 2.5.3)
|
|
132
|
+
dotenv (>= 2.8, < 3.0)
|
|
133
|
+
pry-byebug (>= 3.10, < 4.0)
|
|
134
|
+
rake (>= 13.0, < 14)
|
|
135
|
+
reek (>= 6.1, < 7.0)
|
|
136
|
+
rspec (>= 3.12.0, < 4.0)
|
|
137
|
+
rspec-activemodel-mocks (>= 1.1, < 2.0)
|
|
138
|
+
rubocop (>= 1.56.0, < 2.0)
|
|
139
|
+
rubocop-performance (>= 1.19, < 2.0)
|
|
140
|
+
rubocop-rspec (>= 2.23, < 3.0)
|
|
141
|
+
shoulda-matchers (>= 5.3, < 6.0)
|
|
142
|
+
simplecov (>= 0.22.0, < 1.0)
|
|
143
143
|
|
|
144
144
|
BUNDLED WITH
|
|
145
|
-
2.3
|
|
145
|
+
2.5.3
|
data/README.md
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
# `branch-name`
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/rb/branch-name)
|
|
6
|
-
|
|
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)
|
|
7
6
|
[](http://www.rubydoc.info/gems/branch-name/)
|
|
8
7
|
[](http://www.rubydoc.info/gems/branch-name/)
|
|
9
|
-
|
|
10
8
|
[](https://github.com/gangelo/branch-name/issues)
|
|
11
|
-
|
|
12
9
|
[](#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.8
|
|
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: 2023-12-
|
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|