tocer 16.0.0 → 16.0.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: 832f39f67b1d9fc4b4be22d308e7526cb16e2b7a4f352102e79636fc1e8299c9
4
- data.tar.gz: 5c7f2a4671d6b2b3f83dad7188d0e75b636911bfb9adc293996c9446d058f5f7
3
+ metadata.gz: a0d436c9b31e04495a19a9f7c5acc14e3e9ff6c367602ff4a9ca07aa10a4ea8d
4
+ data.tar.gz: 020ac653eb699ab2fba976834a433d0c87fa28a642c52580e0c38889a1ba8e5a
5
5
  SHA512:
6
- metadata.gz: adbd726db1d8b5dfe370c0436173513189fc730390e2b8dca8dac953aeea15d852425ddb35b7e74b9d7f36fa8ddcf9d501fc8210503538f46b2eaf34145d938a
7
- data.tar.gz: dc21ad6f148f3d1e9566fd842aeee2d9ce48db4a4a0c94b95f601709a2c9b6a9335563f52d18066c443b15d0dd85e68bc55d3a970e4a2879f492ecd64b3c7784
6
+ metadata.gz: 3a519423c227b8e3c839b9a6146e2f53ca390e768f97910860fbdc75e6859d9b0f243cd064037dcfcc8390a7bb82f47bca43f1c842ae3a069a2bf57a337c27ac
7
+ data.tar.gz: ff20d97e77e6eb0c05c7ab3234c15949905903ebd8774a8b5c719015966b1b3b878a9dac6b893ee8bb6ded1530071de6a521faad16e245cb5af85f113017971b
checksums.yaml.gz.sig CHANGED
Binary file
@@ -8,7 +8,7 @@ module Tocer
8
8
  module Actions
9
9
  # Stores table of contents label.
10
10
  class Label < Sod::Action
11
- include Import[:inputs]
11
+ include Import[:input]
12
12
 
13
13
  using Refinements::Structs
14
14
 
@@ -18,7 +18,7 @@ module Tocer
18
18
 
19
19
  default { Container[:configuration].label }
20
20
 
21
- def call(label = default) = inputs.merge!(label:)
21
+ def call(label = default) = input.merge!(label:)
22
22
  end
23
23
  end
24
24
  end
@@ -8,7 +8,7 @@ module Tocer
8
8
  module Actions
9
9
  # Stores table of contents file patterns.
10
10
  class Pattern < Sod::Action
11
- include Import[:inputs]
11
+ include Import[:input]
12
12
 
13
13
  using Refinements::Structs
14
14
 
@@ -18,7 +18,7 @@ module Tocer
18
18
 
19
19
  default { Container[:configuration].patterns }
20
20
 
21
- def call(patterns = default) = inputs.merge! patterns: Array(patterns)
21
+ def call(patterns = default) = input.merge! patterns: Array(patterns)
22
22
  end
23
23
  end
24
24
  end
@@ -8,7 +8,7 @@ module Tocer
8
8
  module Actions
9
9
  # Stores table of contents root path.
10
10
  class Root < Sod::Action
11
- include Import[:inputs]
11
+ include Import[:input]
12
12
 
13
13
  using Refinements::Structs
14
14
 
@@ -18,7 +18,7 @@ module Tocer
18
18
 
19
19
  default { Container[:configuration].root_dir }
20
20
 
21
- def call(path = default) = inputs.merge! root_dir: Pathname(path)
21
+ def call(path = default) = input.merge! root_dir: Pathname(path)
22
22
  end
23
23
  end
24
24
  end
@@ -9,7 +9,7 @@ module Tocer
9
9
  module Commands
10
10
  # Stores table of contents root path.
11
11
  class Upsert < Sod::Command
12
- include Import[:inputs, :kernel]
12
+ include Import[:input, :kernel]
13
13
 
14
14
  handle "upsert"
15
15
 
@@ -24,7 +24,7 @@ module Tocer
24
24
  @runner = runner
25
25
  end
26
26
 
27
- def call = runner.call inputs
27
+ def call = runner.call input
28
28
 
29
29
  private
30
30
 
@@ -21,7 +21,7 @@ module Tocer
21
21
  .add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
22
22
  end
23
23
 
24
- register(:inputs, memoize: true) { self[:configuration].dup }
24
+ register(:input, memoize: true) { self[:configuration].dup }
25
25
  register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
26
26
  register(:xdg_config) { Runcom::Config.new "tocer/configuration.yml" }
27
27
  register(:specification) { Spek::Loader.call "#{__dir__}/../../tocer.gemspec" }
data/tocer.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tocer"
5
- spec.version = "16.0.0"
5
+ spec.version = "16.0.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/tocer"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tocer
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.0.0
4
+ version: 16.0.1
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-06-16 00:00:00.000000000 Z
38
+ date: 2023-06-19 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: cogger
metadata.gz.sig CHANGED
Binary file