milestoner 15.2.0 → 15.2.1
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/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 +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45eb4b399cf52ba0775abe8d806bf899da644da7944c3c258be30bf3b0df39da
|
4
|
+
data.tar.gz: 43ad5b21b06bd32816d55788167b2df40eb8c8620638459abb69a5d4fae9f25b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57ddb5e0b51612d3bbe2adc38c2aae314a5add46d355b7568dcb13c9d2ee5b9755075eb1c1bb734e619a370aee3f86b06329f5091d52582281d48773cf187f0c
|
7
|
+
data.tar.gz: ec1a4d0c26558c5adfbbbb1af393171def3ddf6cad17aa93f000c5eee86f270aa6c9b4457fa6dd56989e42ef27bb25902f274aa099218be143337aedae168a47
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -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
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
|
29
29
|
RFE=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2023-
|
31
|
+
date: 2023-02-05 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: cogger
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
244
244
|
- !ruby/object:Gem::Version
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
|
-
rubygems_version: 3.4.
|
247
|
+
rubygems_version: 3.4.6
|
248
248
|
signing_key:
|
249
249
|
specification_version: 4
|
250
250
|
summary: A command line interface for crafting Git semantically versioned repository
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
y
|
2
|
-
|
1
|
+
ƅ��_��O`8{]�y��W�a���1��>.�{����I��ߋy5*uv|���Z�v�vn�Ϝ.�mo�x:�KR������"1��-��"�j�FN� �S�%�kT����|�FŴ�\q�p|f��N��3�ެfz�J�V}���zdtEhG����(�� 4�C�i矹|
|
2
|
+
�2װ�?~�L
|