milestoner 15.2.0 → 15.2.2
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 +1 -3
- data/README.adoc +14 -14
- data/lib/milestoner/cli/actions/config.rb +2 -2
- data/lib/milestoner/cli/actions/status.rb +2 -4
- data/lib/milestoner/cli/parser.rb +2 -3
- data/lib/milestoner/cli/parsers/core.rb +2 -4
- data/lib/milestoner/cli/shell.rb +4 -4
- data/lib/milestoner/commits/categorizer.rb +2 -2
- data/lib/milestoner/presenters/commit.rb +2 -2
- data/lib/milestoner/tags/creator.rb +2 -4
- data/lib/milestoner/tags/publisher.rb +2 -2
- data/milestoner.gemspec +4 -4
- data.tar.gz.sig +0 -0
- metadata +30 -23
- 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: e7c915314920285f3b012ec157bc34e696b5fcdd9c9ae63a8ad269406d72c8c8
|
4
|
+
data.tar.gz: e1bb7ac8998eb9a4dd2d6d40148081c3af8977a8106fe045db53ff75e4e2dda8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de47f9e2f67f602e5da2d47b1079b607fea8d374a81008c530a51ba731c0604e54b296447b922bbcc0545c24d8cf1f168e6cfcf70d2a21ec8f643462dbc7f1d
|
7
|
+
data.tar.gz: c1577d7717a45a71a39df82f8e3f9ddd66cad8eeb351a9aa51df042ab05c5cb618bad1dc5b6cb7c046714f0f2e2ed3a24cc6faec81d5f1049cb3efeb64a78bb3
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
*N���\��6�l�[Ax��$��/(�B��uq��,à�WU�F�1���x�������eI0�k$d�Ј�`w��rC������i�KB�9?�RB�\D�*��X�����{��~���l2-Сo�>��,�Xc}�
|
3
|
-
�������˿��o3�y�"�RK
|
1
|
+
��qEG��.x�}�a���wm�d4�6֛sa�c6C�0('|� ��l����K�:m��N�?��X�$ʏ�/�k�� 袖���i�$�za�1���*r��I�KVɭ�}po8n���N5�q���m_���گΝ'���*K��c�-�1}��1nN�"s5�z����A¢�Z�����̩��5�I�x?����/��=P��D�0TT6�CK�Z[C���J���k''�S+�"��ʇ@3N�����J�2�jI��j.Iw�4-�[�
|
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
|
@@ -87,7 +87,7 @@ This gem can be configured via a global configuration:
|
|
87
87
|
~/.config/milestoner/configuration.yml
|
88
88
|
....
|
89
89
|
|
90
|
-
It can also be configured via https://
|
90
|
+
It can also be configured via https://alchemists.io/projects/xdg[XDG] environment variables.
|
91
91
|
|
92
92
|
The default configuration is as follows:
|
93
93
|
|
@@ -187,19 +187,19 @@ To test, run:
|
|
187
187
|
bundle exec spec
|
188
188
|
----
|
189
189
|
|
190
|
-
== link:https://
|
190
|
+
== link:https://alchemists.io/policies/license[License]
|
191
191
|
|
192
|
-
== link:https://
|
192
|
+
== link:https://alchemists.io/policies/security[Security]
|
193
193
|
|
194
|
-
== link:https://
|
194
|
+
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
|
195
195
|
|
196
|
-
== link:https://
|
196
|
+
== link:https://alchemists.io/policies/contributions[Contributions]
|
197
197
|
|
198
|
-
== link:https://
|
198
|
+
== link:https://alchemists.io/projects/milestoner/versions[Versions]
|
199
199
|
|
200
|
-
== link:https://
|
200
|
+
== link:https://alchemists.io/community[Community]
|
201
201
|
|
202
202
|
== Credits
|
203
203
|
|
204
|
-
* Built with link:https://
|
205
|
-
* Engineered by link:https://
|
204
|
+
* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
|
205
|
+
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
|
@@ -7,8 +7,8 @@ module Milestoner
|
|
7
7
|
class Config
|
8
8
|
include Milestoner::Import[:kernel, :logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
super(**
|
10
|
+
def initialize(configuration: Configuration::Loader::CLIENT, **)
|
11
|
+
super(**)
|
12
12
|
@configuration = configuration
|
13
13
|
end
|
14
14
|
|
@@ -7,10 +7,8 @@ module Milestoner
|
|
7
7
|
class Status
|
8
8
|
include Milestoner::Import[:logger]
|
9
9
|
|
10
|
-
def initialize
|
11
|
-
|
12
|
-
**dependencies
|
13
|
-
super(**dependencies)
|
10
|
+
def initialize(presenter: Presenters::Commit, categorizer: Commits::Categorizer.new, **)
|
11
|
+
super(**)
|
14
12
|
@presenter = presenter
|
15
13
|
@categorizer = categorizer
|
16
14
|
end
|
@@ -12,9 +12,8 @@ module Milestoner
|
|
12
12
|
CLIENT = OptionParser.new nil, 40, " "
|
13
13
|
SECTIONS = [Parsers::Core].freeze
|
14
14
|
|
15
|
-
def initialize
|
16
|
-
super(**
|
17
|
-
|
15
|
+
def initialize(sections: SECTIONS, client: CLIENT, **)
|
16
|
+
super(**)
|
18
17
|
@sections = sections
|
19
18
|
@client = client
|
20
19
|
@configuration_duplicate = configuration.dup
|
@@ -16,10 +16,8 @@ module Milestoner
|
|
16
16
|
|
17
17
|
def self.call(...) = new(...).call
|
18
18
|
|
19
|
-
def initialize
|
20
|
-
|
21
|
-
**dependencies
|
22
|
-
super(**dependencies)
|
19
|
+
def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
|
20
|
+
super(**)
|
23
21
|
@configuration = configuration
|
24
22
|
@client = client
|
25
23
|
end
|
data/lib/milestoner/cli/shell.rb
CHANGED
@@ -8,13 +8,13 @@ module Milestoner
|
|
8
8
|
class Shell
|
9
9
|
include Actions::Import[:config, :publish, :status, :specification, :logger]
|
10
10
|
|
11
|
-
def initialize
|
12
|
-
super(**
|
11
|
+
def initialize(parser: Parser.new, **)
|
12
|
+
super(**)
|
13
13
|
@parser = parser
|
14
14
|
end
|
15
15
|
|
16
16
|
def call arguments = Core::EMPTY_ARRAY
|
17
|
-
|
17
|
+
act_on parser.call(arguments)
|
18
18
|
rescue OptionParser::ParseError, Error => error
|
19
19
|
logger.error { error.message }
|
20
20
|
end
|
@@ -23,7 +23,7 @@ module Milestoner
|
|
23
23
|
|
24
24
|
attr_reader :parser
|
25
25
|
|
26
|
-
def
|
26
|
+
def act_on configuration
|
27
27
|
case configuration
|
28
28
|
in action_config: Symbol => action then config.call action
|
29
29
|
in action_publish: true then publish.call configuration
|
@@ -11,10 +11,8 @@ module Milestoner
|
|
11
11
|
|
12
12
|
using Versionaire::Cast
|
13
13
|
|
14
|
-
def initialize
|
15
|
-
|
16
|
-
**dependencies
|
17
|
-
super(**dependencies)
|
14
|
+
def initialize(categorizer: Commits::Categorizer.new, presenter: Presenters::Commit, **)
|
15
|
+
super(**)
|
18
16
|
@categorizer = categorizer
|
19
17
|
@presenter = presenter
|
20
18
|
end
|
@@ -6,8 +6,8 @@ module Milestoner
|
|
6
6
|
class Publisher
|
7
7
|
include Import[:logger]
|
8
8
|
|
9
|
-
def initialize
|
10
|
-
super(**
|
9
|
+
def initialize(creator: Tags::Creator.new, pusher: Tags::Pusher.new, **)
|
10
|
+
super(**)
|
11
11
|
@creator = creator
|
12
12
|
@pusher = pusher
|
13
13
|
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.2.
|
5
|
+
spec.version = "15.2.2"
|
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",
|
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.2.
|
4
|
+
version: 15.2.2
|
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+4BId08RBn7V6V1MW6MY3kezRBs
|
19
|
+
M+7QOQ4b1xNLTvY7FYQB1wGK5a4x7TTokDrPYQxDB2jmsdDYCzVbIMrAvUfcecRi
|
20
|
+
khyGZCdByiiCl4fKv77P12tTT+NfsvXkLt/AYCGwjOUyGKTQ01Z6eC09T27GayPH
|
21
|
+
QQvIkakyFgcJtzSyGzs8bzK5q9u7wQ12MNTjJoXzW69lqp0oNvDylu81EiSUb5S6
|
22
|
+
QzzPxZBiRB1sgtbt1gUbVI262ZDq1gR+HxPFmp+Cgt7ZLIJZAtesQvtcMzseXpfn
|
23
|
+
hpmm0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-22 00:00:00.000000000 Z
|
32
39
|
dependencies:
|
33
40
|
- !ruby/object:Gem::Dependency
|
34
41
|
name: cogger
|
@@ -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.9
|
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
|