milestoner 13.0.1 → 13.1.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 +2 -3
- data/exe/milestoner +0 -1
- data/lib/milestoner/cli/parsers/core.rb +8 -3
- data/lib/milestoner/cli/shell.rb +3 -1
- data/lib/milestoner/configuration/loader.rb +1 -1
- data/lib/milestoner/container.rb +3 -0
- data/milestoner.gemspec +39 -0
- data.tar.gz.sig +0 -0
- metadata +11 -10
- metadata.gz.sig +0 -0
- data/lib/milestoner/identity.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fdd57cc2975f9a09d57da6656a8537836858bbade5a65d447285fdcd776301e
|
4
|
+
data.tar.gz: e2f55031a4c31f838e8e5b951519237f3f7d8824be0cf85b46c073ff0f5f0a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96b74567185746e0ba0a52212abf2bc577ddaacaf85535f875a9b241e5152342350945e2f02bc4b7e6571816bb7c16837fdcd5f253ece066f54c04659cf7c694
|
7
|
+
data.tar.gz: 17e4f5e76c052b986e587d70150af12d501f032533443e70d1639b620ea1cef74ea4f0035ce6b6aeb37a3339b9cf10ffec226f5ccf4fab7f241fe620f318bcfa
|
checksums.yaml.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
c);L^�m��o3����7�e8p��oP�v���I7��q�#�D� %֯���_ -{US{���r2��7S0��0:٫�D�I<�7�����hR1&��֖�E��u#������bRW/8�}��z)�@��-� �� A�}(�[�>f��_�=��(S(���ֻ#�c��*���NO�P�xbI��]��ܵ�@��Ttî�h���k�Ŕ�p��m�
|
1
|
+
[���v �1i�5�����i
|
2
|
+
@�Z�&s����:����ږ��oP.��l�,��L��;�g&�>�j�~$�L;������q� a�������t���O[wDv�G�4��곹[:��o�[�C�j�'"Qa��V����� �̞;����`A�0����9�1�`9��Ʈ(�\�q%�V%0J��w}�X�=��A��.
|
data/exe/milestoner
CHANGED
@@ -13,13 +13,16 @@ module Milestoner
|
|
13
13
|
class Core
|
14
14
|
def self.call(...) = new(...).call
|
15
15
|
|
16
|
-
def initialize configuration = Configuration::Loader.call,
|
16
|
+
def initialize configuration = Configuration::Loader.call,
|
17
|
+
client: Parser::CLIENT,
|
18
|
+
container: Container
|
17
19
|
@configuration = configuration
|
18
20
|
@client = client
|
21
|
+
@container = container
|
19
22
|
end
|
20
23
|
|
21
24
|
def call arguments = []
|
22
|
-
client.banner = "
|
25
|
+
client.banner = "Milestoner - #{specification.summary}"
|
23
26
|
client.separator "\nUSAGE:\n"
|
24
27
|
collate
|
25
28
|
client.parse arguments
|
@@ -28,7 +31,7 @@ module Milestoner
|
|
28
31
|
|
29
32
|
private
|
30
33
|
|
31
|
-
attr_reader :configuration, :client
|
34
|
+
attr_reader :configuration, :client, :container
|
32
35
|
|
33
36
|
def collate = private_methods.sort.grep(/add_/).each { |method| __send__ method }
|
34
37
|
|
@@ -71,6 +74,8 @@ module Milestoner
|
|
71
74
|
configuration.merge! action_help: true
|
72
75
|
end
|
73
76
|
end
|
77
|
+
|
78
|
+
def specification = container[__method__]
|
74
79
|
end
|
75
80
|
end
|
76
81
|
end
|
data/lib/milestoner/cli/shell.rb
CHANGED
@@ -31,7 +31,7 @@ module Milestoner
|
|
31
31
|
in action_config: Symbol => action then config action
|
32
32
|
in action_publish: true then publish configuration
|
33
33
|
in action_status: true then status
|
34
|
-
in action_version: true then logger.info
|
34
|
+
in action_version: true then logger.info { "Milestoner #{specification.version}" }
|
35
35
|
else usage
|
36
36
|
end
|
37
37
|
end
|
@@ -44,6 +44,8 @@ module Milestoner
|
|
44
44
|
|
45
45
|
def usage = logger.unknown { parser.to_s }
|
46
46
|
|
47
|
+
def specification = container[__method__]
|
48
|
+
|
47
49
|
def logger = container[__method__]
|
48
50
|
end
|
49
51
|
end
|
@@ -14,7 +14,7 @@ module Milestoner
|
|
14
14
|
using Refinements::Structs
|
15
15
|
|
16
16
|
DEFAULTS = YAML.load_file(Pathname(__dir__).join("defaults.yml")).freeze
|
17
|
-
CLIENT = Runcom::Config.new "
|
17
|
+
CLIENT = Runcom::Config.new "milestoner/configuration.yml", defaults: DEFAULTS
|
18
18
|
|
19
19
|
def self.call = new.call
|
20
20
|
|
data/lib/milestoner/container.rb
CHANGED
@@ -10,7 +10,10 @@ module Milestoner
|
|
10
10
|
module Container
|
11
11
|
extend Dry::Container::Mixin
|
12
12
|
|
13
|
+
SPEC_PATH = "#{__dir__}/../../milestoner.gemspec".freeze
|
14
|
+
|
13
15
|
register(:configuration) { Configuration::Loader.call }
|
16
|
+
register(:specification) { Gem::Specification.load SPEC_PATH }
|
14
17
|
register(:colorizer) { Pastel.new enabled: $stdout.tty? }
|
15
18
|
register(:kernel) { Kernel }
|
16
19
|
|
data/milestoner.gemspec
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "milestoner"
|
5
|
+
spec.version = "13.1.0"
|
6
|
+
spec.platform = Gem::Platform::RUBY
|
7
|
+
spec.authors = ["Brooke Kuhlmann"]
|
8
|
+
spec.email = ["brooke@alchemists.io"]
|
9
|
+
spec.homepage = "https://www.alchemists.io/projects/milestoner"
|
10
|
+
spec.summary = "A command line interface for crafting Git semantically versioned repository tags."
|
11
|
+
spec.license = "Hippocratic-3.0"
|
12
|
+
|
13
|
+
spec.metadata = {
|
14
|
+
"bug_tracker_uri" => "https://github.com/bkuhlmann/milestoner/issues",
|
15
|
+
"changelog_uri" => "https://www.alchemists.io/projects/milestoner/versions",
|
16
|
+
"documentation_uri" => "https://www.alchemists.io/projects/milestoner",
|
17
|
+
"label" => "Milestoner",
|
18
|
+
"rubygems_mfa_required" => "true",
|
19
|
+
"source_code_uri" => "https://github.com/bkuhlmann/milestoner"
|
20
|
+
}
|
21
|
+
|
22
|
+
spec.signing_key = Gem.default_key_path
|
23
|
+
spec.cert_chain = [Gem.default_cert_path]
|
24
|
+
|
25
|
+
spec.required_ruby_version = "~> 3.1"
|
26
|
+
spec.add_dependency "dry-container", "~> 0.8"
|
27
|
+
spec.add_dependency "git_plus", "~> 1.1"
|
28
|
+
spec.add_dependency "pastel", "~> 0.8"
|
29
|
+
spec.add_dependency "refinements", "~> 9.1"
|
30
|
+
spec.add_dependency "runcom", "~> 8.0"
|
31
|
+
spec.add_dependency "versionaire", "~> 10.0"
|
32
|
+
spec.add_dependency "zeitwerk", "~> 2.5"
|
33
|
+
|
34
|
+
spec.bindir = "exe"
|
35
|
+
spec.executables << "milestoner"
|
36
|
+
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
37
|
+
spec.files = Dir["*.gemspec", "lib/**/*"]
|
38
|
+
spec.require_paths = ["lib"]
|
39
|
+
end
|
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: 13.0
|
4
|
+
version: 13.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-01-
|
31
|
+
date: 2022-01-23 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.1'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
60
|
+
version: '1.1'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: pastel
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '9.
|
81
|
+
version: '9.1'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '9.
|
88
|
+
version: '9.1'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: runcom
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,11 +155,11 @@ files:
|
|
155
155
|
- lib/milestoner/configuration/loader.rb
|
156
156
|
- lib/milestoner/container.rb
|
157
157
|
- lib/milestoner/error.rb
|
158
|
-
- lib/milestoner/identity.rb
|
159
158
|
- lib/milestoner/presenters/commit.rb
|
160
159
|
- lib/milestoner/tags/creator.rb
|
161
160
|
- lib/milestoner/tags/publisher.rb
|
162
161
|
- lib/milestoner/tags/pusher.rb
|
162
|
+
- milestoner.gemspec
|
163
163
|
homepage: https://www.alchemists.io/projects/milestoner
|
164
164
|
licenses:
|
165
165
|
- Hippocratic-3.0
|
@@ -167,6 +167,7 @@ metadata:
|
|
167
167
|
bug_tracker_uri: https://github.com/bkuhlmann/milestoner/issues
|
168
168
|
changelog_uri: https://www.alchemists.io/projects/milestoner/versions
|
169
169
|
documentation_uri: https://www.alchemists.io/projects/milestoner
|
170
|
+
label: Milestoner
|
170
171
|
rubygems_mfa_required: 'true'
|
171
172
|
source_code_uri: https://github.com/bkuhlmann/milestoner
|
172
173
|
post_install_message:
|
@@ -184,9 +185,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
185
|
- !ruby/object:Gem::Version
|
185
186
|
version: '0'
|
186
187
|
requirements: []
|
187
|
-
rubygems_version: 3.3.
|
188
|
+
rubygems_version: 3.3.5
|
188
189
|
signing_key:
|
189
190
|
specification_version: 4
|
190
|
-
summary: A command line interface for crafting Git
|
191
|
-
|
191
|
+
summary: A command line interface for crafting Git semantically versioned repository
|
192
|
+
tags.
|
192
193
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
data/lib/milestoner/identity.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Milestoner
|
4
|
-
# Gem identity information.
|
5
|
-
module Identity
|
6
|
-
NAME = "milestoner"
|
7
|
-
LABEL = "Milestoner"
|
8
|
-
VERSION = "13.0.1"
|
9
|
-
VERSION_LABEL = "#{LABEL} #{VERSION}".freeze
|
10
|
-
SUMMARY = "A command line interface for crafting Git repository tags using semantic versions."
|
11
|
-
end
|
12
|
-
end
|