milestoner 15.2.2 → 15.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7c915314920285f3b012ec157bc34e696b5fcdd9c9ae63a8ad269406d72c8c8
4
- data.tar.gz: e1bb7ac8998eb9a4dd2d6d40148081c3af8977a8106fe045db53ff75e4e2dda8
3
+ metadata.gz: 4711636d774e0173cfac11128d0e4723037104419f15fdca2e297120c4229180
4
+ data.tar.gz: 002f4e7a93156a6f57e71aba9cae317bfe1908aaf69a760ef5ad93e2d269f4f7
5
5
  SHA512:
6
- metadata.gz: 8de47f9e2f67f602e5da2d47b1079b607fea8d374a81008c530a51ba731c0604e54b296447b922bbcc0545c24d8cf1f168e6cfcf70d2a21ec8f643462dbc7f1d
7
- data.tar.gz: c1577d7717a45a71a39df82f8e3f9ddd66cad8eeb351a9aa51df042ab05c5cb618bad1dc5b6cb7c046714f0f2e2ed3a24cc6faec81d5f1049cb3efeb64a78bb3
6
+ metadata.gz: 5cfec92e2450c2b94824ca9f2945f29ef0360354911abb76826c9cc24db7409486d1287640e3732cfc8b131a16ee0d56026e8383aca07fa4862632e3e5f978b7
7
+ data.tar.gz: 393184977a7bb20b2b5be79e87351452b3c964030fc7d090cc1911ab9242b2f3b1cef96bd80c0360b3bef149db068bd7a81d611a88dbc569fa33e5ef35b1d7f6
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -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
  ----
@@ -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| info line_item }
20
+ .each { |line_item| kernel.puts line_item }
21
21
  end
22
22
 
23
23
  private
@@ -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, :logger]
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 logger.info { specification.labeled_version }
32
- else logger.any { parser.to_s }
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
@@ -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::Client.new }
17
+ register(:logger) { Cogger.new formatter: :emoji }
18
18
  end
19
19
  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.2"
5
+ spec.version = "15.3.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/milestoner"
@@ -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.5"
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.2.2
4
+ version: 15.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-03-22 00:00:00.000000000 Z
38
+ date: 2023-04-13 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0.5'
46
+ version: '0.8'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.5'
53
+ version: '0.8'
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: core
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
251
  - !ruby/object:Gem::Version
252
252
  version: '0'
253
253
  requirements: []
254
- rubygems_version: 3.4.9
254
+ rubygems_version: 3.4.12
255
255
  signing_key:
256
256
  specification_version: 4
257
257
  summary: A command line interface for crafting Git semantically versioned repository
metadata.gz.sig CHANGED
Binary file