rake-gem-maintenance 0.1.0 → 0.1.1
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 +4 -0
- data/Gemfile +4 -2
- data/Gemfile.lock +260 -191
- data/Guardfile +7 -0
- data/README.md +2 -2
- data/Rakefile +5 -1
- data/TODO.md +1 -0
- data/cucumber.yml +2 -0
- data/lib/rake/gem/maintenance/install_tasks.rb +6 -0
- data/lib/rake/{gem_maintenance → gem/maintenance}/version.rb +1 -1
- data/lib/rake/{gem_maintenance → gem/maintenance}/version_bump_task.rb +18 -1
- data/lib/rake/gem_maintenance/install_tasks.rb +6 -4
- data/lib/rake/gem_maintenance.rb +10 -3
- data/rake-gem-maintenance.gemspec +1 -1
- metadata +8 -5
- /data/lib/rake/{gem_maintenance → gem/maintenance}/upgrade_task.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6d67479b169b774ebd884dbae72e3512fce2ff3ad66b6c3a6ae78ed4c0428c6
|
|
4
|
+
data.tar.gz: 19fd7e7c196e1a786b323a347a362d9f03a87bdadcf13c65c2966238b1c03b7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8715e31877a047e177b9d27ede9cfcd1869b97deac6de3428a21e8781cb1e380c1de780fec8a79dd1996819b51a198f4e08350adbb7a9e1393623ccced955d38
|
|
7
|
+
data.tar.gz: c638a1eae3ed23df1b035b4c4471eeabe40717de4e1827a6b4586689b853e8e1e5bfb5580c826f8b633cefc7947522339a0781bbd80555994b6e67a9b8a5c9f2
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
|
@@ -4,12 +4,14 @@ source "https://rubygems.org"
|
|
|
4
4
|
|
|
5
5
|
gemspec
|
|
6
6
|
|
|
7
|
-
gem "
|
|
8
|
-
|
|
7
|
+
gem "aruba"
|
|
8
|
+
gem "cucumber"
|
|
9
9
|
gem "guard"
|
|
10
10
|
gem "guard-bundler"
|
|
11
|
+
gem "guard-cucumber"
|
|
11
12
|
gem "guard-rspec"
|
|
12
13
|
gem "guard-rubocop"
|
|
14
|
+
gem "ostruct"
|
|
13
15
|
gem "rspec"
|
|
14
16
|
gem "rubocop"
|
|
15
17
|
gem "rubocop-rake", require: false
|
data/Gemfile.lock
CHANGED
|
@@ -1,191 +1,260 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
rake-gem-maintenance (0.1.
|
|
5
|
-
bundler-audit
|
|
6
|
-
gem-release (~> 2.2)
|
|
7
|
-
rake (>= 13.0)
|
|
8
|
-
|
|
9
|
-
GEM
|
|
10
|
-
remote: https://rubygems.org/
|
|
11
|
-
specs:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
rspec
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
rubocop
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
4.0
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
rake-gem-maintenance (0.1.1)
|
|
5
|
+
bundler-audit
|
|
6
|
+
gem-release (~> 2.2)
|
|
7
|
+
rake (>= 13.0)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
aruba (2.3.3)
|
|
13
|
+
bundler (>= 1.17)
|
|
14
|
+
contracts (>= 0.16.0, < 0.18.0)
|
|
15
|
+
cucumber (>= 8.0, < 11.0)
|
|
16
|
+
rspec-expectations (>= 3.4, < 5.0)
|
|
17
|
+
thor (~> 1.0)
|
|
18
|
+
ast (2.4.3)
|
|
19
|
+
base64 (0.3.0)
|
|
20
|
+
bigdecimal (4.1.0)
|
|
21
|
+
builder (3.3.0)
|
|
22
|
+
bundler-audit (0.9.3)
|
|
23
|
+
bundler (>= 1.2.0)
|
|
24
|
+
thor (~> 1.0)
|
|
25
|
+
coderay (1.1.3)
|
|
26
|
+
contracts (0.17.3)
|
|
27
|
+
cucumber (10.2.0)
|
|
28
|
+
base64 (~> 0.2)
|
|
29
|
+
builder (~> 3.2)
|
|
30
|
+
cucumber-ci-environment (> 9, < 12)
|
|
31
|
+
cucumber-core (> 15, < 17)
|
|
32
|
+
cucumber-cucumber-expressions (> 17, < 20)
|
|
33
|
+
cucumber-html-formatter (> 21, < 23)
|
|
34
|
+
diff-lcs (~> 1.5)
|
|
35
|
+
logger (~> 1.6)
|
|
36
|
+
mini_mime (~> 1.1)
|
|
37
|
+
multi_test (~> 1.1)
|
|
38
|
+
sys-uname (~> 1.3)
|
|
39
|
+
cucumber-ci-environment (11.0.0)
|
|
40
|
+
cucumber-core (16.2.0)
|
|
41
|
+
cucumber-gherkin (> 36, < 40)
|
|
42
|
+
cucumber-messages (> 31, < 33)
|
|
43
|
+
cucumber-tag-expressions (> 6, < 9)
|
|
44
|
+
cucumber-cucumber-expressions (19.0.0)
|
|
45
|
+
bigdecimal
|
|
46
|
+
cucumber-gherkin (39.0.0)
|
|
47
|
+
cucumber-messages (>= 31, < 33)
|
|
48
|
+
cucumber-html-formatter (22.3.0)
|
|
49
|
+
cucumber-messages (> 23, < 33)
|
|
50
|
+
cucumber-messages (32.2.0)
|
|
51
|
+
cucumber-tag-expressions (8.1.0)
|
|
52
|
+
diff-lcs (1.6.2)
|
|
53
|
+
ffi (1.17.4-x64-mingw-ucrt)
|
|
54
|
+
ffi (1.17.4-x86_64-linux-gnu)
|
|
55
|
+
formatador (1.2.3)
|
|
56
|
+
reline
|
|
57
|
+
gem-release (2.2.4)
|
|
58
|
+
guard (2.20.1)
|
|
59
|
+
formatador (>= 0.2.4)
|
|
60
|
+
listen (>= 2.7, < 4.0)
|
|
61
|
+
logger (~> 1.6)
|
|
62
|
+
lumberjack (>= 1.0.12, < 2.0)
|
|
63
|
+
nenv (~> 0.1)
|
|
64
|
+
notiffany (~> 0.0)
|
|
65
|
+
pry (>= 0.13.0)
|
|
66
|
+
shellany (~> 0.0)
|
|
67
|
+
thor (>= 0.18.1)
|
|
68
|
+
guard-bundler (3.1.0)
|
|
69
|
+
bundler (>= 2.1, < 5)
|
|
70
|
+
guard (~> 2.2)
|
|
71
|
+
guard-compat (~> 1.1)
|
|
72
|
+
guard-compat (1.2.1)
|
|
73
|
+
guard-cucumber (3.0.0)
|
|
74
|
+
cucumber (>= 3.1)
|
|
75
|
+
nenv (>= 0.1)
|
|
76
|
+
guard-rspec (4.7.3)
|
|
77
|
+
guard (~> 2.1)
|
|
78
|
+
guard-compat (~> 1.1)
|
|
79
|
+
rspec (>= 2.99.0, < 4.0)
|
|
80
|
+
guard-rubocop (1.5.0)
|
|
81
|
+
guard (~> 2.0)
|
|
82
|
+
rubocop (< 2.0)
|
|
83
|
+
io-console (0.8.2)
|
|
84
|
+
json (2.19.3)
|
|
85
|
+
language_server-protocol (3.17.0.5)
|
|
86
|
+
lint_roller (1.1.0)
|
|
87
|
+
listen (3.10.0)
|
|
88
|
+
logger
|
|
89
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
90
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
|
91
|
+
logger (1.7.0)
|
|
92
|
+
lumberjack (1.4.2)
|
|
93
|
+
memoist3 (1.0.0)
|
|
94
|
+
method_source (1.1.0)
|
|
95
|
+
mini_mime (1.1.5)
|
|
96
|
+
multi_test (1.1.0)
|
|
97
|
+
nenv (0.3.0)
|
|
98
|
+
notiffany (0.1.3)
|
|
99
|
+
nenv (~> 0.1)
|
|
100
|
+
shellany (~> 0.0)
|
|
101
|
+
ostruct (0.6.3)
|
|
102
|
+
parallel (1.28.0)
|
|
103
|
+
parser (3.3.11.1)
|
|
104
|
+
ast (~> 2.4.1)
|
|
105
|
+
racc
|
|
106
|
+
prism (1.9.0)
|
|
107
|
+
pry (0.16.0)
|
|
108
|
+
coderay (~> 1.1)
|
|
109
|
+
method_source (~> 1.0)
|
|
110
|
+
reline (>= 0.6.0)
|
|
111
|
+
racc (1.8.1)
|
|
112
|
+
rainbow (3.1.1)
|
|
113
|
+
rake (13.3.1)
|
|
114
|
+
rb-fsevent (0.11.2)
|
|
115
|
+
rb-inotify (0.11.1)
|
|
116
|
+
ffi (~> 1.0)
|
|
117
|
+
regexp_parser (2.11.3)
|
|
118
|
+
reline (0.6.3)
|
|
119
|
+
io-console (~> 0.5)
|
|
120
|
+
rspec (3.13.2)
|
|
121
|
+
rspec-core (~> 3.13.0)
|
|
122
|
+
rspec-expectations (~> 3.13.0)
|
|
123
|
+
rspec-mocks (~> 3.13.0)
|
|
124
|
+
rspec-core (3.13.6)
|
|
125
|
+
rspec-support (~> 3.13.0)
|
|
126
|
+
rspec-expectations (3.13.5)
|
|
127
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
128
|
+
rspec-support (~> 3.13.0)
|
|
129
|
+
rspec-mocks (3.13.8)
|
|
130
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
131
|
+
rspec-support (~> 3.13.0)
|
|
132
|
+
rspec-support (3.13.7)
|
|
133
|
+
rubocop (1.86.0)
|
|
134
|
+
json (~> 2.3)
|
|
135
|
+
language_server-protocol (~> 3.17.0.2)
|
|
136
|
+
lint_roller (~> 1.1.0)
|
|
137
|
+
parallel (~> 1.10)
|
|
138
|
+
parser (>= 3.3.0.2)
|
|
139
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
140
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
141
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
142
|
+
ruby-progressbar (~> 1.7)
|
|
143
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
144
|
+
rubocop-ast (1.49.1)
|
|
145
|
+
parser (>= 3.3.7.2)
|
|
146
|
+
prism (~> 1.7)
|
|
147
|
+
rubocop-rake (0.7.1)
|
|
148
|
+
lint_roller (~> 1.1)
|
|
149
|
+
rubocop (>= 1.72.1)
|
|
150
|
+
rubocop-rspec (3.9.0)
|
|
151
|
+
lint_roller (~> 1.1)
|
|
152
|
+
rubocop (~> 1.81)
|
|
153
|
+
ruby-progressbar (1.13.0)
|
|
154
|
+
shellany (0.0.1)
|
|
155
|
+
sys-uname (1.5.1)
|
|
156
|
+
ffi (~> 1.1)
|
|
157
|
+
memoist3 (~> 1.0.0)
|
|
158
|
+
sys-uname (1.5.1-universal-mingw32)
|
|
159
|
+
ffi (~> 1.1)
|
|
160
|
+
memoist3 (~> 1.0.0)
|
|
161
|
+
win32ole
|
|
162
|
+
thor (1.5.0)
|
|
163
|
+
unicode-display_width (3.2.0)
|
|
164
|
+
unicode-emoji (~> 4.1)
|
|
165
|
+
unicode-emoji (4.2.0)
|
|
166
|
+
win32ole (1.9.3)
|
|
167
|
+
|
|
168
|
+
PLATFORMS
|
|
169
|
+
x64-mingw-ucrt
|
|
170
|
+
x86_64-linux
|
|
171
|
+
|
|
172
|
+
DEPENDENCIES
|
|
173
|
+
aruba
|
|
174
|
+
cucumber
|
|
175
|
+
guard
|
|
176
|
+
guard-bundler
|
|
177
|
+
guard-cucumber
|
|
178
|
+
guard-rspec
|
|
179
|
+
guard-rubocop
|
|
180
|
+
ostruct
|
|
181
|
+
rake-gem-maintenance!
|
|
182
|
+
rspec
|
|
183
|
+
rubocop
|
|
184
|
+
rubocop-rake
|
|
185
|
+
rubocop-rspec
|
|
186
|
+
|
|
187
|
+
CHECKSUMS
|
|
188
|
+
aruba (2.3.3) sha256=837a2f023368a75a38ad9be227e9738ab9af7df3b3f35afd8fb5fc5f7a93f1d4
|
|
189
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
190
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
191
|
+
bigdecimal (4.1.0) sha256=6dc07767aa3dc456ccd48e7ae70a07b474e9afd7c5bc576f80bd6da5c8dd6cae
|
|
192
|
+
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
|
193
|
+
bundler-audit (0.9.3) sha256=81c8766c71e47d0d28a0f98c7eed028539f21a6ea3cd8f685eb6f42333c9b4e9
|
|
194
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
195
|
+
contracts (0.17.3) sha256=e72e626413ea47099becb7b5683beb1c2ea902c69f5bad55c9258fe2b48314d7
|
|
196
|
+
cucumber (10.2.0) sha256=fdedbd31ecf40858b60f04853f2aa15c44f5c30bbac29c6a227fa1e7005a8158
|
|
197
|
+
cucumber-ci-environment (11.0.0) sha256=0df79a9e1d0b015b3d9def680f989200d96fef206f4d19ccf86a338c4f71d1e2
|
|
198
|
+
cucumber-core (16.2.0) sha256=592b58a95cf42feef8e5a349f68e363784ba3b6568ffbcf6776e38e136cf970b
|
|
199
|
+
cucumber-cucumber-expressions (19.0.0) sha256=33208ff204732ac9bed42b46993a0a243054f71ece08579d57e53df6a1c9d93a
|
|
200
|
+
cucumber-gherkin (39.0.0) sha256=46f51d87e910f41c3c5cee3b500028ca2b2e7149a413a8280b9a58cee2593e55
|
|
201
|
+
cucumber-html-formatter (22.3.0) sha256=f9768ed05588dbd73a5f3824c2cc648bd86b00206e6972d743af8051281d0729
|
|
202
|
+
cucumber-messages (32.2.0) sha256=42c4056cccf7dd9d07bf678a28b1233efbdaf35789b76b65e071be6b7b00731a
|
|
203
|
+
cucumber-tag-expressions (8.1.0) sha256=9bd8c4b6654f8e5bf2a9c99329b6f32136a75e50cd39d4cfb3927d0fa9f52e21
|
|
204
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
205
|
+
ffi (1.17.4-x64-mingw-ucrt) sha256=f6ff9618cfccc494138bddade27aa06c74c6c7bc367a1ea1103d80c2fcb9ed35
|
|
206
|
+
ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d
|
|
207
|
+
formatador (1.2.3) sha256=19fa898133c2c26cdbb5d09f6998c1e137ad9427a046663e55adfe18b950d894
|
|
208
|
+
gem-release (2.2.4) sha256=2f11124c1580c811507c3b47e875e420cf3ed792a98105b49df11971e6e94db3
|
|
209
|
+
guard (2.20.1) sha256=ab9cd7873854e6b76080c0589f781ff3e390e441bdda20165804df54f977015a
|
|
210
|
+
guard-bundler (3.1.0) sha256=d0e60e46d6c06e201e79f61623211f64961cb000188f55fb76e36dc892ff0e35
|
|
211
|
+
guard-compat (1.2.1) sha256=3ad21ab0070107f92edfd82610b5cdc2fb8e368851e72362ada9703443d646fe
|
|
212
|
+
guard-cucumber (3.0.0) sha256=6a21b666e2b5a927c7d046f4e6cf609ec057e226bf883f066a650e57e04aeac0
|
|
213
|
+
guard-rspec (4.7.3) sha256=a47ba03cbd1e3c71e6ae8645cea97e203098a248aede507461a43e906e2f75ca
|
|
214
|
+
guard-rubocop (1.5.0) sha256=3041d796dcb5ee31e352de74732250826f5f235b4ff48df9dbf424a6dc736251
|
|
215
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
216
|
+
json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
|
|
217
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
218
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
219
|
+
listen (3.10.0) sha256=c6e182db62143aeccc2e1960033bebe7445309c7272061979bb098d03760c9d2
|
|
220
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
221
|
+
lumberjack (1.4.2) sha256=40de5ae46321380c835031bcc1370f13bba304d29f2b5f5bb152061a5a191b95
|
|
222
|
+
memoist3 (1.0.0) sha256=686e42402cf150a362050c23143dc57b0ef88f8c344943ff8b7845792b50d56f
|
|
223
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
224
|
+
mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
|
|
225
|
+
multi_test (1.1.0) sha256=e9e550cdd863fb72becfe344aefdcd4cbd26ebf307847f4a6c039a4082324d10
|
|
226
|
+
nenv (0.3.0) sha256=d9de6d8fb7072228463bf61843159419c969edb34b3cef51832b516ae7972765
|
|
227
|
+
notiffany (0.1.3) sha256=d37669605b7f8dcb04e004e6373e2a780b98c776f8eb503ac9578557d7808738
|
|
228
|
+
ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
|
|
229
|
+
parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
|
|
230
|
+
parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
|
|
231
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
232
|
+
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
233
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
234
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
235
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
236
|
+
rake-gem-maintenance (0.1.1)
|
|
237
|
+
rb-fsevent (0.11.2) sha256=43900b972e7301d6570f64b850a5aa67833ee7d87b458ee92805d56b7318aefe
|
|
238
|
+
rb-inotify (0.11.1) sha256=a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e
|
|
239
|
+
regexp_parser (2.11.3) sha256=ca13f381a173b7a93450e53459075c9b76a10433caadcb2f1180f2c741fc55a4
|
|
240
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
241
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
242
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
243
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
244
|
+
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
245
|
+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
246
|
+
rubocop (1.86.0) sha256=4ff1186fe16ebe9baff5e7aad66bb0ad4cabf5cdcd419f773146dbba2565d186
|
|
247
|
+
rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
|
|
248
|
+
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
|
249
|
+
rubocop-rspec (3.9.0) sha256=8fa70a3619408237d789aeecfb9beef40576acc855173e60939d63332fdb55e2
|
|
250
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
251
|
+
shellany (0.0.1) sha256=0e127a9132698766d7e752e82cdac8250b6adbd09e6c0a7fbbb6f61964fedee7
|
|
252
|
+
sys-uname (1.5.1) sha256=784d7e6491b0393c25cbbe5ac38324ac7be9fda083a6094832648af669386d7b
|
|
253
|
+
sys-uname (1.5.1-universal-mingw32) sha256=aceb618e3276da5eae0ce368e9f6fae8c1f3e9ef23a0595cb88db7b6ecd45f62
|
|
254
|
+
thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
|
|
255
|
+
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
256
|
+
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
257
|
+
win32ole (1.9.3) sha256=01f43dc5dc13806e6e58204f538b4a28f3d85968ea89074abc9a3cd118e94d96
|
|
258
|
+
|
|
259
|
+
BUNDLED WITH
|
|
260
|
+
4.0.4
|
data/Guardfile
CHANGED
|
@@ -25,6 +25,13 @@ group :red_green_refactor, halt_on_fail: true do
|
|
|
25
25
|
dsl.watch_spec_files_for(ruby.lib_files)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
guard "cucumber", notification: false do
|
|
29
|
+
watch(%r{^features/.+\.feature$})
|
|
30
|
+
watch(%r{^features/support/.+$}) { "features" }
|
|
31
|
+
watch(%r{^features/step_definitions/.+$}) { "features" }
|
|
32
|
+
watch(%r{^lib/.+\.rb$}) { "features" }
|
|
33
|
+
end
|
|
34
|
+
|
|
28
35
|
guard "rubocop", cli: ["--format", "clang", "--autocorrect"] do
|
|
29
36
|
watch(/.+\.rb$/)
|
|
30
37
|
watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| m[0] ? File.dirname(m[0]) : "." }
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Rake::GemMaintenance
|
|
2
2
|
|
|
3
|
-
[](https://github.com/cbroult/rake-gem-maintenance/actions/workflows/main.yml)
|
|
4
|
+
[](https://github.com/cbroult/rake-gem-maintenance/network/updates)
|
|
5
5
|
|
|
6
6
|
Reusable Rake tasks for gem maintenance: dependency upgrades and version bumps.
|
|
7
7
|
|
data/Rakefile
CHANGED
|
@@ -11,9 +11,13 @@ RuboCop::RakeTask.new do |t|
|
|
|
11
11
|
t.options = ["--autocorrect"]
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
require "cucumber/rake/task"
|
|
15
|
+
|
|
16
|
+
Cucumber::Rake::Task.new
|
|
17
|
+
|
|
14
18
|
require "rake/gem_maintenance/install_tasks"
|
|
15
19
|
|
|
16
20
|
task default: :verify
|
|
17
21
|
|
|
18
22
|
desc "Run all verification tasks"
|
|
19
|
-
task verify: %i[spec rubocop]
|
|
23
|
+
task verify: %i[spec cucumber rubocop]
|
data/TODO.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* Relocate to Rake::Gem::Maintenance so that `rake bump` works (it fails currently).
|
data/cucumber.yml
ADDED
|
@@ -73,12 +73,29 @@ module Rake
|
|
|
73
73
|
|
|
74
74
|
def execute_version_bump(type)
|
|
75
75
|
puts "Bumping #{type} version..."
|
|
76
|
-
|
|
76
|
+
version_file = detect_version_file
|
|
77
|
+
cmd = "bundle exec gem bump --version #{type}"
|
|
78
|
+
cmd += " --file #{version_file}" if version_file
|
|
79
|
+
bump_result = system("#{cmd} --message '#{commit_message_template}'")
|
|
77
80
|
return if bump_result
|
|
78
81
|
|
|
79
82
|
abort "Error: Failed to bump version"
|
|
80
83
|
end
|
|
81
84
|
|
|
85
|
+
def detect_version_file
|
|
86
|
+
gemspec_path = Dir.glob("*.gemspec").first
|
|
87
|
+
return nil unless gemspec_path
|
|
88
|
+
|
|
89
|
+
gem_name = Gem::Specification.load(gemspec_path).name
|
|
90
|
+
version_rb = File.join("lib", gem_name.tr("-", "/"), "version.rb")
|
|
91
|
+
return version_rb if File.exist?(version_rb)
|
|
92
|
+
|
|
93
|
+
version_rb = File.join("lib", gem_name.split("-").first, gem_name.split("-")[1..].join("_"), "version.rb")
|
|
94
|
+
return version_rb if File.exist?(version_rb)
|
|
95
|
+
|
|
96
|
+
nil
|
|
97
|
+
end
|
|
98
|
+
|
|
82
99
|
def update_gemfile_lock
|
|
83
100
|
puts "Updating Gemfile.lock..."
|
|
84
101
|
bundle_result = system("bundle install")
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
# TODO: Remove after releasing version that drops support for require "rake/gem_maintenance/install_tasks"
|
|
4
|
+
# This file exists for backward compatibility. Consumers should migrate to:
|
|
5
|
+
# require "rake/gem/maintenance/install_tasks"
|
|
6
|
+
warn 'DEPRECATED: require "rake/gem_maintenance/install_tasks" is deprecated. ' \
|
|
7
|
+
'Use require "rake/gem/maintenance/install_tasks" instead.'
|
|
8
|
+
require "rake/gem/maintenance/install_tasks"
|
data/lib/rake/gem_maintenance.rb
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
# TODO: After releasing version 1.0, remove this file and update consumers to:
|
|
4
|
+
# require "rake/gem/maintenance/version"
|
|
5
|
+
# require "rake/gem/maintenance/upgrade_task"
|
|
6
|
+
# require "rake/gem/maintenance/version_bump_task"
|
|
7
|
+
warn 'DEPRECATED: require "rake/gem_maintenance" is deprecated. Use require ' \
|
|
8
|
+
'"rake/gem/maintenance/version", "rake/gem/maintenance/upgrade_task", and ' \
|
|
9
|
+
'"rake/gem/maintenance/version_bump_task" instead.'
|
|
10
|
+
require_relative "gem/maintenance/version"
|
|
11
|
+
require_relative "gem/maintenance/upgrade_task"
|
|
12
|
+
require_relative "gem/maintenance/version_bump_task"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rake-gem-maintenance
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christophe Broult
|
|
@@ -68,11 +68,14 @@ files:
|
|
|
68
68
|
- LICENSE.txt
|
|
69
69
|
- README.md
|
|
70
70
|
- Rakefile
|
|
71
|
+
- TODO.md
|
|
72
|
+
- cucumber.yml
|
|
73
|
+
- lib/rake/gem/maintenance/install_tasks.rb
|
|
74
|
+
- lib/rake/gem/maintenance/upgrade_task.rb
|
|
75
|
+
- lib/rake/gem/maintenance/version.rb
|
|
76
|
+
- lib/rake/gem/maintenance/version_bump_task.rb
|
|
71
77
|
- lib/rake/gem_maintenance.rb
|
|
72
78
|
- lib/rake/gem_maintenance/install_tasks.rb
|
|
73
|
-
- lib/rake/gem_maintenance/upgrade_task.rb
|
|
74
|
-
- lib/rake/gem_maintenance/version.rb
|
|
75
|
-
- lib/rake/gem_maintenance/version_bump_task.rb
|
|
76
79
|
- rake-gem-maintenance.gemspec
|
|
77
80
|
homepage: https://github.com/cbroult/rake-gem-maintenance
|
|
78
81
|
licenses:
|
|
@@ -96,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
99
|
- !ruby/object:Gem::Version
|
|
97
100
|
version: '0'
|
|
98
101
|
requirements: []
|
|
99
|
-
rubygems_version: 4.0.
|
|
102
|
+
rubygems_version: 4.0.9
|
|
100
103
|
specification_version: 4
|
|
101
104
|
summary: 'Rake tasks for gem maintenance: dependency upgrades and version bumps.'
|
|
102
105
|
test_files: []
|
|
File without changes
|