milestoner 15.2.0 → 15.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d76ed92c747fbb6d7c87d77550cfce65b482b792001588d512673a7b500e950
4
- data.tar.gz: 3671dbc65826e3b1e94f1ea19f0e511c27f2f666eff4f3c3506ed8aecdd1431f
3
+ metadata.gz: 45eb4b399cf52ba0775abe8d806bf899da644da7944c3c258be30bf3b0df39da
4
+ data.tar.gz: 43ad5b21b06bd32816d55788167b2df40eb8c8620638459abb69a5d4fae9f25b
5
5
  SHA512:
6
- metadata.gz: c46ad87265e73aed77549cfaf640fc92787698af2946c2e05d18be1594a341eb1d60fa80e45b34bbc8ca297c47ba6966d504bc84412b836c9d95f42ac19e4484
7
- data.tar.gz: d10cd3cc14498e17d670457e96738127d94f3e8baf59ab7bb07bc83cd827bc58df7ae2fdef63dd5927eafdbc899d78203d39dbd2ac27e684c0c77b571b63be7d
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 configuration: Configuration::Loader::CLIENT, **dependencies
11
- super(**dependencies)
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 presenter: Presenters::Commit,
11
- categorizer: Commits::Categorizer.new,
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 sections: SECTIONS, client: CLIENT, **dependencies
16
- super(**dependencies)
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 configuration = Container[:configuration],
20
- client: Parser::CLIENT,
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
@@ -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 parser: Parser.new, **dependencies
12
- super(**dependencies)
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
- perform parser.call(arguments)
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 perform configuration
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
@@ -8,8 +8,8 @@ module Milestoner
8
8
  class Categorizer
9
9
  include Import[:git]
10
10
 
11
- def initialize expression: Regexp, **dependencies
12
- super(**dependencies)
11
+ def initialize(expression: Regexp, **)
12
+ super(**)
13
13
  @expression = expression
14
14
  end
15
15
 
@@ -13,8 +13,8 @@ module Milestoner
13
13
 
14
14
  delegate [*Gitt::Models::Commit.members, :amend?, :fixup?, :squash?, :prefix?] => :record
15
15
 
16
- def initialize record, **dependencies
17
- super(**dependencies)
16
+ def initialize(record, **)
17
+ super(**)
18
18
  @record = record
19
19
  end
20
20
 
@@ -11,10 +11,8 @@ module Milestoner
11
11
 
12
12
  using Versionaire::Cast
13
13
 
14
- def initialize categorizer: Commits::Categorizer.new,
15
- presenter: Presenters::Commit,
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 creator: Tags::Creator.new, pusher: Tags::Pusher.new, **dependencies
10
- super(**dependencies)
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,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "milestoner"
5
- spec.version = "15.2.0"
5
+ spec.version = "15.2.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/milestoner"
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.0
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-01-08 00:00:00.000000000 Z
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.2
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���sl{D���fƓ�U1Z��T���V�����}yp����a��iEj`�?�QpkY��9[ ��ĉ��8�_4m�'cA��"�C}m.��BP���6_r��%���[Fq�?Z��5iW�j4S-6��fH��T\N�HIWv������$�HJ�Fre6�j.ivcǝ:]�� �|����;$0�����<1{���W
2
- A�Z�`��T���׷�\�F�/���鐗;�)
1
+ ƅ��_��O`8{]�y� W�a���1��>.�{����I��ߋy5*uv|���Zv�vn�Ϝ.�mo�x:�KR������"1��-��"j�FN S�%�kT����|�FŴ�\qp|f��N� 3�ެfz�J�V}���zdtEhG����(�� 4�Ci矹|
2
+ �2װ�?~�L