milestoner 15.2.1 → 15.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +24 -15
- data/lib/milestoner/cli/actions/status.rb +2 -2
- data/lib/milestoner/cli/shell.rb +3 -3
- data/lib/milestoner/container.rb +1 -1
- data/milestoner.gemspec +5 -5
- data.tar.gz.sig +0 -0
- metadata +32 -25
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4711636d774e0173cfac11128d0e4723037104419f15fdca2e297120c4229180
|
4
|
+
data.tar.gz: 002f4e7a93156a6f57e71aba9cae317bfe1908aaf69a760ef5ad93e2d269f4f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cfec92e2450c2b94824ca9f2945f29ef0360354911abb76826c9cc24db7409486d1287640e3732cfc8b131a16ee0d56026e8383aca07fa4862632e3e5f978b7
|
7
|
+
data.tar.gz: 393184977a7bb20b2b5be79e87351452b3c964030fc7d090cc1911ab9242b2f3b1cef96bd80c0360b3bef149db068bd7a81d611a88dbc569fa33e5ef35b1d7f6
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -10,24 +10,24 @@ the last milestone. You can use Milestoner to inspect what is currently pending
|
|
10
10
|
release via a single command. By having a tool, like Milestoner, you can automate releases in a
|
11
11
|
consistent and reliable fashion. Milestoner pairs well with the following gems:
|
12
12
|
|
13
|
-
- link:https://
|
13
|
+
- link:https://alchemists.io/projects/git-lint[Git Lint] - Ensures your commit messages are of
|
14
14
|
high quality which feed into the release notes built by Milestoner.
|
15
|
-
- link:https://
|
15
|
+
- link:https://alchemists.io/projects/rubysmith[Rubysmith] - Use Milestoner to automate the
|
16
16
|
publishing of new or existing Ruby project versions.
|
17
|
-
- link:https://
|
17
|
+
- link:https://alchemists.io/projects/gemsmith[Gemsmith] - Is built on top of Milestoner and is
|
18
18
|
used to publish new Ruby gem versions.
|
19
19
|
|
20
20
|
toc::[]
|
21
21
|
|
22
22
|
== Features
|
23
23
|
|
24
|
-
* Uses link:https://
|
24
|
+
* Uses link:https://alchemists.io/projects/versionaire[Versionaire] for
|
25
25
|
link:https://semver.org[Semantic Versioning].
|
26
26
|
** Format: `+<major>.<minor>.<patch>+`.
|
27
27
|
** Example: `+0.1.0+`.
|
28
28
|
* Ensures Git commits since last tag (or initialization of repository) are included.
|
29
29
|
* Ensures Git commit messages are grouped by prefix, in order defined. For more details, see
|
30
|
-
link:https://
|
30
|
+
link:https://alchemists.io/projects/git-lint/#_commit_subject_prefix[Git Lint Commit Subject
|
31
31
|
Prefix] for details. Defaults (can be customized):
|
32
32
|
** Fixed
|
33
33
|
** Added
|
@@ -45,7 +45,16 @@ toc::[]
|
|
45
45
|
|
46
46
|
== Setup
|
47
47
|
|
48
|
-
To install, run:
|
48
|
+
To install _with_ security, run:
|
49
|
+
|
50
|
+
[source,bash]
|
51
|
+
----
|
52
|
+
# 💡 Skip this line if you already have the public certificate installed.
|
53
|
+
gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem)
|
54
|
+
gem install milestoner --trust-policy HighSecurity
|
55
|
+
----
|
56
|
+
|
57
|
+
To install _without_ security, run:
|
49
58
|
|
50
59
|
[source,bash]
|
51
60
|
----
|
@@ -87,7 +96,7 @@ This gem can be configured via a global configuration:
|
|
87
96
|
~/.config/milestoner/configuration.yml
|
88
97
|
....
|
89
98
|
|
90
|
-
It can also be configured via https://
|
99
|
+
It can also be configured via https://alchemists.io/projects/xdg[XDG] environment variables.
|
91
100
|
|
92
101
|
The default configuration is as follows:
|
93
102
|
|
@@ -187,19 +196,19 @@ To test, run:
|
|
187
196
|
bundle exec spec
|
188
197
|
----
|
189
198
|
|
190
|
-
== link:https://
|
199
|
+
== link:https://alchemists.io/policies/license[License]
|
191
200
|
|
192
|
-
== link:https://
|
201
|
+
== link:https://alchemists.io/policies/security[Security]
|
193
202
|
|
194
|
-
== link:https://
|
203
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
195
204
|
|
196
|
-
== link:https://
|
205
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
197
206
|
|
198
|
-
== link:https://
|
207
|
+
== link:https://alchemists.io/projects/milestoner/versions[Versions]
|
199
208
|
|
200
|
-
== link:https://
|
209
|
+
== link:https://alchemists.io/community[Community]
|
201
210
|
|
202
211
|
== Credits
|
203
212
|
|
204
|
-
* Built with link:https://
|
205
|
-
* Engineered by link:https://
|
213
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
214
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
@@ -5,7 +5,7 @@ module Milestoner
|
|
5
5
|
module Actions
|
6
6
|
# Handles listing project status of untagged commit history.
|
7
7
|
class Status
|
8
|
-
include Milestoner::Import[:logger]
|
8
|
+
include Milestoner::Import[:kernel, :logger]
|
9
9
|
|
10
10
|
def initialize(presenter: Presenters::Commit, categorizer: Commits::Categorizer.new, **)
|
11
11
|
super(**)
|
@@ -17,7 +17,7 @@ module Milestoner
|
|
17
17
|
categorizer.call
|
18
18
|
.tap { |records| info "All is quiet." if records.empty? }
|
19
19
|
.map { |record| presenter.new(record).line_item }
|
20
|
-
.each { |line_item|
|
20
|
+
.each { |line_item| kernel.puts line_item }
|
21
21
|
end
|
22
22
|
|
23
23
|
private
|
data/lib/milestoner/cli/shell.rb
CHANGED
@@ -6,7 +6,7 @@ module Milestoner
|
|
6
6
|
module CLI
|
7
7
|
# The main Command Line Interface (CLI) object.
|
8
8
|
class Shell
|
9
|
-
include Actions::Import[:config, :publish, :status, :specification
|
9
|
+
include Actions::Import[:config, :kernel, :logger, :publish, :status, :specification]
|
10
10
|
|
11
11
|
def initialize(parser: Parser.new, **)
|
12
12
|
super(**)
|
@@ -28,8 +28,8 @@ module Milestoner
|
|
28
28
|
in action_config: Symbol => action then config.call action
|
29
29
|
in action_publish: true then publish.call configuration
|
30
30
|
in action_status: true then status.call
|
31
|
-
in action_version: true then
|
32
|
-
else
|
31
|
+
in action_version: true then kernel.puts specification.labeled_version
|
32
|
+
else kernel.puts parser.to_s
|
33
33
|
end
|
34
34
|
end
|
35
35
|
end
|
data/lib/milestoner/container.rb
CHANGED
@@ -14,6 +14,6 @@ module Milestoner
|
|
14
14
|
register(:specification) { Spek::Loader.call "#{__dir__}/../../milestoner.gemspec" }
|
15
15
|
register(:git) { Gitt::Repository.new }
|
16
16
|
register(:kernel) { Kernel }
|
17
|
-
register(:logger) { Cogger
|
17
|
+
register(:logger) { Cogger.new formatter: :emoji }
|
18
18
|
end
|
19
19
|
end
|
data/milestoner.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "milestoner"
|
5
|
-
spec.version = "15.
|
5
|
+
spec.version = "15.3.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
|
-
spec.homepage = "https://
|
8
|
+
spec.homepage = "https://alchemists.io/projects/milestoner"
|
9
9
|
spec.summary = "A command line interface for crafting Git semantically versioned repository tags."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
13
13
|
"bug_tracker_uri" => "https://github.com/bkuhlmann/milestoner/issues",
|
14
|
-
"changelog_uri" => "https://
|
15
|
-
"documentation_uri" => "https://
|
14
|
+
"changelog_uri" => "https://alchemists.io/projects/milestoner/versions",
|
15
|
+
"documentation_uri" => "https://alchemists.io/projects/milestoner",
|
16
16
|
"funding_uri" => "https://github.com/sponsors/bkuhlmann",
|
17
17
|
"label" => "Milestoner",
|
18
18
|
"rubygems_mfa_required" => "true",
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.2"
|
26
|
-
spec.add_dependency "cogger", "~> 0.
|
26
|
+
spec.add_dependency "cogger", "~> 0.8"
|
27
27
|
spec.add_dependency "core", "~> 0.1"
|
28
28
|
spec.add_dependency "dry-container", "~> 0.11"
|
29
29
|
spec.add_dependency "dry-monads", "~> 1.6"
|
data.tar.gz.sig
CHANGED
Binary file
|
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: 15.
|
4
|
+
version: 15.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -10,25 +10,32 @@ bindir: exe
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
13
|
+
MIIEeDCCAuCgAwIBAgIBATANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
+
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
+
aW8wHhcNMjMwMzIyMTYxNDQxWhcNMjUwMzIxMTYxNDQxWjBBMQ8wDQYDVQQDDAZi
|
16
|
+
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
+
GRYCaW8wggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQCro8tj5/E1Hg88
|
18
|
+
f4qfiwPVd2zJQHvdYt4GHVvuHRRgx4HGhJuNp+4BId08RBn7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gqACz/BBJF8FLodgk6rGMRZz7+ZmjjHEmpG5bQpR6Q2BuWL
|
34
|
+
XMtYk/QzaWuhiR7pWjiF8jbdd7RO6or0ohq7iFkokz/5xrtQ/vPzU2RQ3Qc6YaKw
|
35
|
+
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
|
+
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
30
37
|
-----END CERTIFICATE-----
|
31
|
-
date: 2023-
|
38
|
+
date: 2023-04-13 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: cogger
|
@@ -36,14 +43,14 @@ dependencies:
|
|
36
43
|
requirements:
|
37
44
|
- - "~>"
|
38
45
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
46
|
+
version: '0.8'
|
40
47
|
type: :runtime
|
41
48
|
prerelease: false
|
42
49
|
version_requirements: !ruby/object:Gem::Requirement
|
43
50
|
requirements:
|
44
51
|
- - "~>"
|
45
52
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0.
|
53
|
+
version: '0.8'
|
47
54
|
- !ruby/object:Gem::Dependency
|
48
55
|
name: core
|
49
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -218,13 +225,13 @@ files:
|
|
218
225
|
- lib/milestoner/tags/publisher.rb
|
219
226
|
- lib/milestoner/tags/pusher.rb
|
220
227
|
- milestoner.gemspec
|
221
|
-
homepage: https://
|
228
|
+
homepage: https://alchemists.io/projects/milestoner
|
222
229
|
licenses:
|
223
230
|
- Hippocratic-2.1
|
224
231
|
metadata:
|
225
232
|
bug_tracker_uri: https://github.com/bkuhlmann/milestoner/issues
|
226
|
-
changelog_uri: https://
|
227
|
-
documentation_uri: https://
|
233
|
+
changelog_uri: https://alchemists.io/projects/milestoner/versions
|
234
|
+
documentation_uri: https://alchemists.io/projects/milestoner
|
228
235
|
funding_uri: https://github.com/sponsors/bkuhlmann
|
229
236
|
label: Milestoner
|
230
237
|
rubygems_mfa_required: 'true'
|
@@ -244,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
251
|
- !ruby/object:Gem::Version
|
245
252
|
version: '0'
|
246
253
|
requirements: []
|
247
|
-
rubygems_version: 3.4.
|
254
|
+
rubygems_version: 3.4.12
|
248
255
|
signing_key:
|
249
256
|
specification_version: 4
|
250
257
|
summary: A command line interface for crafting Git semantically versioned repository
|
metadata.gz.sig
CHANGED
Binary file
|