milestoner 8.3.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a33e9d8babaec036668aad55843b601dcc152803614dbe1b2d6377fb85995823
4
- data.tar.gz: ef4011bff39d91ccae5efa6c9bac378cb04d92e9f72cd6b61f146a6eeb432c48
3
+ metadata.gz: b8d717e65f8734393d2115156f6bca140441a9a15e6555fcaa3dd5588e866b72
4
+ data.tar.gz: e9712db446b98e5fc526313631496e0779479a812e95d141f650731871b8b8ca
5
5
  SHA512:
6
- metadata.gz: fa89addcf5f5f99ef34ed6cca84def4a4167215c5ba0cc26d50ab7acac00c3a65c32f31b03cceea77f48173182ed834f32e0e4b9e42c7808738f67c9584efa8a
7
- data.tar.gz: 4dbaabd5cd65e2df717b4bb29bea1c6d604c58b7fa927a4da775f35d16ab5755da858efc0d38fb9aadc32815f51cb7a97dd78d7fbfd749562122449dc3a5e12f
6
+ metadata.gz: dcb5b39714551cd7364d05a2254510d22a0507f59e9270c2c4d1b2e17d3e58101c204b9a154c9832458ea53bded82f2f7d718328e6146734fecc4ce7f7b063f9
7
+ data.tar.gz: f958b9d972f472c30903567064aae384de51e50825ab58d4f0c79db1042ef9fda84c0a225f8cdd744391bf6f0486aa93e61f6401b00f7823bda7ac546cedb078
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -55,9 +55,9 @@ A command line interface for releasing Git repository milestones.
55
55
 
56
56
  ## Requirements
57
57
 
58
- 0. A UNIX-based system.
59
- 0. [Ruby 2.5.x](https://www.ruby-lang.org).
60
- 0. [GnuPG](https://www.gnupg.org).
58
+ 1. A UNIX-based system.
59
+ 1. [Ruby 2.6.x](https://www.ruby-lang.org).
60
+ 1. [GnuPG](https://www.gnupg.org).
61
61
 
62
62
  ## Setup
63
63
 
@@ -12,7 +12,7 @@ module Milestoner
12
12
  package_name Identity.version_label
13
13
 
14
14
  def self.configuration
15
- Runcom::Configuration.new Identity.name, defaults: {
15
+ Runcom::Config.new Identity.name, defaults: {
16
16
  git_commit_prefixes: %w[Fixed Added Updated Removed Refactored],
17
17
  git_tag_sign: false
18
18
  }
@@ -12,7 +12,7 @@ module Milestoner
12
12
  end
13
13
 
14
14
  def self.version
15
- "8.3.0"
15
+ "9.0.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -13,6 +13,7 @@ module Milestoner
13
13
  fail(Errors::Git, "Remote repository not configured.") unless git.remote?
14
14
  fail(Errors::Git, "Remote tag exists: #{version}.") if tag_exists?(version)
15
15
  return if git.push_tags.empty?
16
+
16
17
  fail(Errors::Git, "Tags could not be pushed to remote repository.")
17
18
  end
18
19
 
@@ -20,6 +20,7 @@ module Milestoner
20
20
 
21
21
  def commit_prefix_regex
22
22
  return Regexp.new("") if commit_prefixes.empty?
23
+
23
24
  Regexp.union commit_prefixes
24
25
  end
25
26
 
@@ -39,6 +40,7 @@ module Milestoner
39
40
  @version = Versionaire::Version version
40
41
  fail(Errors::Git, "Unable to tag without commits.") unless git.commits?
41
42
  return if existing_tag?
43
+
42
44
  git_tag sign: sign
43
45
  end
44
46
 
@@ -56,6 +58,7 @@ module Milestoner
56
58
 
57
59
  def git_commits_command
58
60
  return "#{git_log_command} #{git_tag_command}" if git.tagged?
61
+
59
62
  git_log_command
60
63
  end
61
64
 
@@ -86,11 +89,13 @@ module Milestoner
86
89
  options = %(--sign --annotate "#{@version}" ) +
87
90
  %(--cleanup verbatim --file "#{message_file.path}")
88
91
  return options.gsub("--sign ", "") unless sign
92
+
89
93
  options
90
94
  end
91
95
 
92
96
  def existing_tag?
93
97
  return false unless git.tag_local?(@version)
98
+
94
99
  shell.say_status :warn, "Local tag exists: #{@version}. Skipped.", :yellow
95
100
  true
96
101
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milestoner
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.0
4
+ version: 9.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -29,7 +29,7 @@ cert_chain:
29
29
  4Zrsxi713z6sndd9JBAm4G7mJiV93MsuCM5N4ZDY7XaxIhvctNSNhX/Yn8LLdtGI
30
30
  b4jw5t40FKyNUvLPPXYAvQALBtk=
31
31
  -----END CERTIFICATE-----
32
- date: 2018-07-01 00:00:00.000000000 Z
32
+ date: 2019-01-01 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: runcom
@@ -37,14 +37,14 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.1'
40
+ version: '4.0'
41
41
  type: :runtime
42
42
  prerelease: false
43
43
  version_requirements: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '3.1'
47
+ version: '4.0'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: thor
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -65,14 +65,14 @@ dependencies:
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '6.0'
68
+ version: '7.0'
69
69
  type: :runtime
70
70
  prerelease: false
71
71
  version_requirements: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '6.0'
75
+ version: '7.0'
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: awesome_print
78
78
  requirement: !ruby/object:Gem::Requirement
@@ -130,145 +130,145 @@ dependencies:
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0.1'
132
132
  - !ruby/object:Gem::Dependency
133
- name: codeclimate-test-reporter
133
+ name: guard-rspec
134
134
  requirement: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1.0'
138
+ version: '4.7'
139
139
  type: :development
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '1.0'
145
+ version: '4.7'
146
146
  - !ruby/object:Gem::Dependency
147
- name: git-cop
147
+ name: hirb
148
148
  requirement: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '2.2'
152
+ version: '0.7'
153
153
  type: :development
154
154
  prerelease: false
155
155
  version_requirements: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '2.2'
159
+ version: '0.7'
160
160
  - !ruby/object:Gem::Dependency
161
- name: guard-rspec
161
+ name: pry
162
162
  requirement: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '4.7'
166
+ version: '0.10'
167
167
  type: :development
168
168
  prerelease: false
169
169
  version_requirements: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '4.7'
173
+ version: '0.10'
174
174
  - !ruby/object:Gem::Dependency
175
- name: hirb
175
+ name: pry-byebug
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0.7'
180
+ version: '3.5'
181
181
  type: :development
182
182
  prerelease: false
183
183
  version_requirements: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: '0.7'
187
+ version: '3.5'
188
188
  - !ruby/object:Gem::Dependency
189
- name: pry
189
+ name: rake
190
190
  requirement: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: '0.10'
194
+ version: '12.3'
195
195
  type: :development
196
196
  prerelease: false
197
197
  version_requirements: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0.10'
201
+ version: '12.3'
202
202
  - !ruby/object:Gem::Dependency
203
- name: pry-byebug
203
+ name: reek
204
204
  requirement: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '3.5'
208
+ version: '5.0'
209
209
  type: :development
210
210
  prerelease: false
211
211
  version_requirements: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: '3.5'
215
+ version: '5.0'
216
216
  - !ruby/object:Gem::Dependency
217
- name: rake
217
+ name: rspec
218
218
  requirement: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: '12.3'
222
+ version: '3.8'
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '12.3'
229
+ version: '3.8'
230
230
  - !ruby/object:Gem::Dependency
231
- name: reek
231
+ name: rubocop
232
232
  requirement: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: '5.0'
236
+ version: '0.62'
237
237
  type: :development
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: '5.0'
243
+ version: '0.62'
244
244
  - !ruby/object:Gem::Dependency
245
- name: rspec
245
+ name: rubocop-rspec
246
246
  requirement: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: '3.7'
250
+ version: '1.30'
251
251
  type: :development
252
252
  prerelease: false
253
253
  version_requirements: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: '3.7'
257
+ version: '1.30'
258
258
  - !ruby/object:Gem::Dependency
259
- name: rubocop
259
+ name: simplecov
260
260
  requirement: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
- version: '0.57'
264
+ version: '0.13'
265
265
  type: :development
266
266
  prerelease: false
267
267
  version_requirements: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: '0.57'
271
+ version: '0.13'
272
272
  - !ruby/object:Gem::Dependency
273
273
  name: wirb
274
274
  requirement: !ruby/object:Gem::Requirement
@@ -322,15 +322,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
322
322
  requirements:
323
323
  - - "~>"
324
324
  - !ruby/object:Gem::Version
325
- version: '2.5'
325
+ version: '2.6'
326
326
  required_rubygems_version: !ruby/object:Gem::Requirement
327
327
  requirements:
328
328
  - - ">="
329
329
  - !ruby/object:Gem::Version
330
330
  version: '0'
331
331
  requirements: []
332
- rubyforge_project:
333
- rubygems_version: 2.7.7
332
+ rubygems_version: 3.0.2
334
333
  signing_key:
335
334
  specification_version: 4
336
335
  summary: A command line interface for releasing Git repository milestones.
metadata.gz.sig CHANGED
Binary file