milestoner 17.3.0 → 17.5.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: d7027ad522cc7149e12c2de7ab2a34427beae018e85f44c06771af2862467a36
4
- data.tar.gz: d2903fbbae6d90863813b0e57fe53a6b38f1525ebf79682e4c259eab1f9bb79b
3
+ metadata.gz: 1d2ce9743140ecd24100c4577695dfa98e692a2228e9a9985780ed59692e65f1
4
+ data.tar.gz: 19dae1577e990dd365ecb3359eacf64018c968f0393c3535f4b2f20b2d607893
5
5
  SHA512:
6
- metadata.gz: b4335b7e1709e44952dedec9055479c5a66070d5638fd1dfd699693471cc6b76099e821ea649ad499d1fa920583781bad65679298a4b1c9d94b23621e72bfac6
7
- data.tar.gz: 601d814dcf64acf99b47d20f33bd81416cb4f385e250c10bb7b756e2b36eb1c0bf20977fe5fb3f38b1864ec7e191ee8b1e1a3e7fff2b1620e6c2650c6fe7867a
6
+ metadata.gz: 900f2c4137deded4ae6c1a7797042b1fee34547bde2e2ecc98a1716ed596cb5b3dac8271816c66f65d700076b714b7be871d4824259d0431f5f553fbffc7dc68
7
+ data.tar.gz: 200966fb73151b785d95b437c440354c4243096c395b5592dd00d63a796015c0e19033290adb4aaecdac1a2c0d2c860c29890229e2102571a48fc335d9aea0ec
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,17 +1,17 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry-container"
3
+ require "containable"
4
4
 
5
5
  module Milestoner
6
6
  module Builders
7
7
  # Registers all builders for injection.
8
8
  module Container
9
- extend Dry::Container::Mixin
9
+ extend Containable
10
10
 
11
- register(:ascii_doc, memoize: true) { ASCIIDoc.new }
12
- register(:markdown, memoize: true) { Markdown.new }
13
- register(:stream, memoize: true) { Stream.new }
14
- register(:web, memoize: true) { Web.new }
11
+ register(:ascii_doc) { ASCIIDoc.new }
12
+ register(:markdown) { Markdown.new }
13
+ register(:stream) { Stream.new }
14
+ register(:web) { Web.new }
15
15
  end
16
16
  end
17
17
  end
@@ -4,6 +4,6 @@ require "infusible"
4
4
 
5
5
  module Milestoner
6
6
  module Builders
7
- Import = Infusible.with Container
7
+ Import = Infusible[Container]
8
8
  end
9
9
  end
@@ -1,24 +1,24 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "dry-container"
3
+ require "containable"
4
4
 
5
5
  module Milestoner
6
6
  module Commits
7
7
  module Enrichers
8
8
  # Registers all enrichers for injection.
9
9
  module Container
10
- extend Dry::Container::Mixin
10
+ extend Containable
11
11
 
12
- register(:author, memoize: true) { Author.new }
13
- register(:body, memoize: true) { Body.new }
14
- register(:collaborators, memoize: true) { Colleague.new key: "Co-authored-by" }
15
- register(:format, memoize: true) { Format.new }
16
- register(:issue, memoize: true) { Issue.new }
12
+ register(:author) { Author.new }
13
+ register(:body) { Body.new }
14
+ register(:collaborators) { Colleague.new key: "Co-authored-by" }
15
+ register(:format) { Format.new }
16
+ register(:issue) { Issue.new }
17
17
  register(:milestone) { Milestone.new }
18
- register(:notes, memoize: true) { Note.new }
19
- register(:review, memoize: true) { Review.new }
20
- register(:signers, memoize: true) { Colleague.new key: "Signed-off-by" }
21
- register(:uri, memoize: true) { URI.new }
18
+ register(:notes) { Note.new }
19
+ register(:review) { Review.new }
20
+ register(:signers) { Colleague.new key: "Signed-off-by" }
21
+ register(:uri) { URI.new }
22
22
  end
23
23
  end
24
24
  end
@@ -5,7 +5,7 @@ require "infusible"
5
5
  module Milestoner
6
6
  module Commits
7
7
  module Enrichers
8
- Import = Infusible.with Container
8
+ Import = Infusible[Container]
9
9
  end
10
10
  end
11
11
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "cogger"
4
- require "dry-container"
4
+ require "containable"
5
5
  require "etcher"
6
6
  require "gitt"
7
7
  require "lode"
@@ -12,14 +12,14 @@ require "spek"
12
12
  module Milestoner
13
13
  # Provides a global gem container for injection into other objects.
14
14
  module Container
15
- extend Dry::Container::Mixin
15
+ extend Containable
16
16
 
17
17
  namespace :xdg do
18
- register(:cache, memoize: true) { Runcom::Cache.new "milestoner/database.store" }
19
- register(:config, memoize: true) { Runcom::Config.new "milestoner/configuration.yml" }
18
+ register(:cache) { Runcom::Cache.new "milestoner/database.store" }
19
+ register(:config) { Runcom::Config.new "milestoner/configuration.yml" }
20
20
  end
21
21
 
22
- register :cache, memoize: true do
22
+ register :cache do
23
23
  # :nocov:
24
24
  Lode.new self["xdg.cache"].passive do |config|
25
25
  config.mode = :max
@@ -28,12 +28,12 @@ module Milestoner
28
28
  end
29
29
  end
30
30
 
31
- register :configuration, memoize: true do
31
+ register :configuration do
32
32
  self[:defaults].add_loader(Etcher::Loaders::YAML.new(self["xdg.config"].active))
33
33
  .then { |registry| Etcher.call registry }
34
34
  end
35
35
 
36
- register :defaults, memoize: true do
36
+ register :defaults do
37
37
  Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
38
38
  .add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
39
39
  .add_transformer(Configuration::Transformers::Build::Root)
@@ -57,19 +57,13 @@ module Milestoner
57
57
  .add_transformer(Configuration::Transformers::URI::Tracker)
58
58
  end
59
59
 
60
- register :specification, memoize: true do
61
- self[:spec_loader].call "#{__dir__}/../../milestoner.gemspec"
62
- end
63
-
64
- register :sanitizer, memoize: true do
65
- -> content { Sanitize.fragment content, Sanitize::Config::BASIC }
66
- end
67
-
68
- register(:spec_loader, memoize: true) { Spek::Loader.new }
69
- register(:git, memoize: true) { Gitt::Repository.new }
70
- register(:input, memoize: true) { self[:configuration].dup }
71
- register(:defaults_path, memoize: true) { Pathname(__dir__).join("configuration/defaults.yml") }
72
- register(:logger, memoize: true) { Cogger.new id: :milestoner }
60
+ register(:specification) { self[:spec_loader].call "#{__dir__}/../../milestoner.gemspec" }
61
+ register(:sanitizer) { -> content { Sanitize.fragment content, Sanitize::Config::BASIC } }
62
+ register(:spec_loader) { Spek::Loader.new }
63
+ register(:git) { Gitt::Repository.new }
64
+ register(:input) { self[:configuration].dup }
65
+ register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
66
+ register(:logger) { Cogger.new id: :milestoner }
73
67
  register :kernel, Kernel
74
68
  end
75
69
  end
@@ -3,5 +3,5 @@
3
3
  require "infusible"
4
4
 
5
5
  module Milestoner
6
- Import = Infusible.with Container
6
+ Import = Infusible[Container]
7
7
  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 = "17.3.0"
5
+ spec.version = "17.5.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/milestoner"
@@ -26,19 +26,19 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency "asciidoctor", "~> 2.0"
27
27
  spec.add_dependency "cff", "~> 1.1"
28
28
  spec.add_dependency "cogger", "~> 0.16"
29
- spec.add_dependency "dry-container", "~> 0.11"
29
+ spec.add_dependency "containable", "~> 0.0"
30
30
  spec.add_dependency "dry-monads", "~> 1.6"
31
31
  spec.add_dependency "dry-schema", "~> 1.13"
32
- spec.add_dependency "etcher", "~> 1.0"
32
+ spec.add_dependency "etcher", "~> 1.3"
33
33
  spec.add_dependency "gitt", "~> 3.2"
34
- spec.add_dependency "hanami-view", "~> 2.1.0.rc2"
35
- spec.add_dependency "infusible", "~> 3.1"
34
+ spec.add_dependency "hanami-view", "~> 2.1.0"
35
+ spec.add_dependency "infusible", "~> 3.5"
36
36
  spec.add_dependency "lode", "~> 1.0"
37
37
  spec.add_dependency "redcarpet", "~> 3.6"
38
38
  spec.add_dependency "refinements", "~> 12.1"
39
39
  spec.add_dependency "runcom", "~> 11.0"
40
40
  spec.add_dependency "sanitize", "~> 6.1"
41
- spec.add_dependency "sod", "~> 0.4"
41
+ spec.add_dependency "sod", "~> 0.8"
42
42
  spec.add_dependency "spek", "~> 3.0"
43
43
  spec.add_dependency "versionaire", "~> 13.0"
44
44
  spec.add_dependency "zeitwerk", "~> 2.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: 17.3.0
4
+ version: 17.5.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: 2024-03-03 00:00:00.000000000 Z
38
+ date: 2024-04-03 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: asciidoctor
@@ -80,19 +80,19 @@ dependencies:
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0.16'
82
82
  - !ruby/object:Gem::Dependency
83
- name: dry-container
83
+ name: containable
84
84
  requirement: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '0.11'
88
+ version: '0.0'
89
89
  type: :runtime
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: '0.11'
95
+ version: '0.0'
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: dry-monads
98
98
  requirement: !ruby/object:Gem::Requirement
@@ -127,14 +127,14 @@ dependencies:
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '1.0'
130
+ version: '1.3'
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '1.0'
137
+ version: '1.3'
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: gitt
140
140
  requirement: !ruby/object:Gem::Requirement
@@ -155,28 +155,28 @@ dependencies:
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 2.1.0.rc2
158
+ version: 2.1.0
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - "~>"
164
164
  - !ruby/object:Gem::Version
165
- version: 2.1.0.rc2
165
+ version: 2.1.0
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: infusible
168
168
  requirement: !ruby/object:Gem::Requirement
169
169
  requirements:
170
170
  - - "~>"
171
171
  - !ruby/object:Gem::Version
172
- version: '3.1'
172
+ version: '3.5'
173
173
  type: :runtime
174
174
  prerelease: false
175
175
  version_requirements: !ruby/object:Gem::Requirement
176
176
  requirements:
177
177
  - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '3.1'
179
+ version: '3.5'
180
180
  - !ruby/object:Gem::Dependency
181
181
  name: lode
182
182
  requirement: !ruby/object:Gem::Requirement
@@ -253,14 +253,14 @@ dependencies:
253
253
  requirements:
254
254
  - - "~>"
255
255
  - !ruby/object:Gem::Version
256
- version: '0.4'
256
+ version: '0.8'
257
257
  type: :runtime
258
258
  prerelease: false
259
259
  version_requirements: !ruby/object:Gem::Requirement
260
260
  requirements:
261
261
  - - "~>"
262
262
  - !ruby/object:Gem::Version
263
- version: '0.4'
263
+ version: '0.8'
264
264
  - !ruby/object:Gem::Dependency
265
265
  name: spek
266
266
  requirement: !ruby/object:Gem::Requirement
@@ -433,7 +433,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
433
433
  - !ruby/object:Gem::Version
434
434
  version: '0'
435
435
  requirements: []
436
- rubygems_version: 3.5.6
436
+ rubygems_version: 3.5.7
437
437
  signing_key:
438
438
  specification_version: 4
439
439
  summary: A command line interface for managing Git repository milestones.
metadata.gz.sig CHANGED
Binary file