tocer 15.1.0 → 15.1.2

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: de1ff1beeccbc0c7aec3406d0ff33ebf20c26d0e0777be5fe33dc37c6ddc345e
4
- data.tar.gz: 96066c0c0be259676da512cd3d6f204ac0e23441f10c10051297930f9919dffb
3
+ metadata.gz: b2f83114e81d42e9a9ecf75882638aa429b6410378ae094f9b20ec4997aea614
4
+ data.tar.gz: 99f969f100d87661f8f3928efe3fb6fd5dc0712987377566e18b516ed24ddee2
5
5
  SHA512:
6
- metadata.gz: 81ea0e85b0c3cdf5746c634b7490612aa94295268a4cc1248a507b7942e103615048daac79007c5e9b588ae664794f3382254e5610d4ea42efeda17f28a8256f
7
- data.tar.gz: 7d21dc4e246edab4c8770031d90b2de847a042e27756933d499afdd42b5c383153d97aea20c9ae6c31475b16af07a38e23850698d995c10a16ee7fb52bccca7e
6
+ metadata.gz: 9626eebe778cbefa8f1127f17f3ed6a3bcae0ab85d12e609b40c8df3ade998e74654f3969aa874540675b556725d2100923c776181ca8062b3066a89735f97ba
7
+ data.tar.gz: c6a4f9b2e8d216d164dba9205b64a541f2a5b83eea3780144a1d9995da55beae2b8ddb8f2698921919a10ffcce273d8cea656845e4646d9cf21034bd1e5cf0ae
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -70,7 +70,7 @@ re-run Tocer on that file to auto-update it with new table of contents.
70
70
 
71
71
  This gem can be configured via a global configuration: `~/.config/tocer/configuration.yml`.
72
72
 
73
- It can also be configured via link:https://www.alchemists.io/projects/xdg[XDG] environment
73
+ It can also be configured via link:https://alchemists.io/projects/xdg[XDG] environment
74
74
  variables.
75
75
 
76
76
  The default configuration is as follows:
@@ -168,22 +168,22 @@ To test, run:
168
168
 
169
169
  [source,bash]
170
170
  ----
171
- bundle exec rake
171
+ bin/rake
172
172
  ----
173
173
 
174
- == link:https://www.alchemists.io/policies/license[License]
174
+ == link:https://alchemists.io/policies/license[License]
175
175
 
176
- == link:https://www.alchemists.io/policies/security[Security]
176
+ == link:https://alchemists.io/policies/security[Security]
177
177
 
178
- == link:https://www.alchemists.io/policies/code_of_conduct[Code of Conduct]
178
+ == link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
179
179
 
180
- == link:https://www.alchemists.io/policies/contributions[Contributions]
180
+ == link:https://alchemists.io/policies/contributions[Contributions]
181
181
 
182
- == link:https://www.alchemists.io/projects/tocer/versions[Versions]
182
+ == link:https://alchemists.io/projects/tocer/versions[Versions]
183
183
 
184
- == link:https://www.alchemists.io/community[Community]
184
+ == link:https://alchemists.io/community[Community]
185
185
 
186
186
  == Credits
187
187
 
188
- * Built with link:https://www.alchemists.io/projects/gemsmith[Gemsmith].
189
- * Engineered by link:https://www.alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
188
+ * Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].
189
+ * Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
@@ -7,8 +7,8 @@ module Tocer
7
7
  class Config
8
8
  include Tocer::Import[:kernel, :logger]
9
9
 
10
- def initialize client: Configuration::Loader::CLIENT, **dependencies
11
- super(**dependencies)
10
+ def initialize(client: Configuration::Loader::CLIENT, **)
11
+ super(**)
12
12
  @client = client
13
13
  end
14
14
 
@@ -7,8 +7,8 @@ module Tocer
7
7
  class Insert
8
8
  include Tocer::Import[:logger]
9
9
 
10
- def initialize runner: Runner.new, **dependencies
11
- super(**dependencies)
10
+ def initialize(runner: Runner.new, **)
11
+ super(**)
12
12
  @runner = runner
13
13
  end
14
14
 
@@ -12,8 +12,8 @@ module Tocer
12
12
  CLIENT = OptionParser.new nil, 40, " "
13
13
  SECTIONS = [Parsers::Core, Parsers::Flag].freeze # Order matters.
14
14
 
15
- def initialize sections: SECTIONS, client: CLIENT, **dependencies
16
- super(**dependencies)
15
+ def initialize(sections: SECTIONS, client: CLIENT, **)
16
+ super(**)
17
17
  @sections = sections
18
18
  @client = client
19
19
  @configuration_duplicate = configuration.dup
@@ -14,10 +14,8 @@ module Tocer
14
14
 
15
15
  def self.call(...) = new(...).call
16
16
 
17
- def initialize configuration = Container[:configuration],
18
- client: Parser::CLIENT,
19
- **dependencies
20
- super(**dependencies)
17
+ def initialize(configuration = Container[:configuration], client: Parser::CLIENT, **)
18
+ super(**)
21
19
  @configuration = configuration
22
20
  @client = client
23
21
  end
@@ -8,13 +8,13 @@ module Tocer
8
8
  class Shell
9
9
  include Actions::Import[:config, :insert, :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
19
19
  puts error.message
20
20
  end
@@ -23,7 +23,7 @@ module Tocer
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_insert: true then insert.call configuration
data/tocer.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "tocer"
5
- spec.version = "15.1.0"
5
+ spec.version = "15.1.2"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
- spec.homepage = "https://www.alchemists.io/projects/tocer"
8
+ spec.homepage = "https://alchemists.io/projects/tocer"
9
9
  spec.summary = "A command line interface for generating table of contents for Markdown files."
10
10
  spec.license = "Hippocratic-2.1"
11
11
 
12
12
  spec.metadata = {
13
13
  "bug_tracker_uri" => "https://github.com/bkuhlmann/tocer/issues",
14
- "changelog_uri" => "https://www.alchemists.io/projects/tocer/versions",
15
- "documentation_uri" => "https://www.alchemists.io/projects/tocer",
14
+ "changelog_uri" => "https://alchemists.io/projects/tocer/versions",
15
+ "documentation_uri" => "https://alchemists.io/projects/tocer",
16
16
  "funding_uri" => "https://github.com/sponsors/bkuhlmann",
17
17
  "label" => "Tocer",
18
18
  "rubygems_mfa_required" => "true",
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: 15.1.0
4
+ version: 15.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -10,25 +10,32 @@ bindir: exe
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIC/jCCAeagAwIBAgIBBTANBgkqhkiG9w0BAQsFADAlMSMwIQYDVQQDDBpicm9v
14
- a2UvREM9YWxjaGVtaXN0cy9EQz1pbzAeFw0yMjAzMTkxNzI0MzJaFw0yMzAzMTkx
15
- NzI0MzJaMCUxIzAhBgNVBAMMGmJyb29rZS9EQz1hbGNoZW1pc3RzL0RDPWlvMIIB
16
- IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6l1qpXTiomH1RfMRloyw7MiE
17
- xyVx/x8Yc3EupdH7uhNaTXQGyORN6aOY//1QXXMHIZ9tW74nZLhesWMSUMYy0XhB
18
- brs+KkurHnc9FnEJAbG7ebGvl/ncqZt72nQvaxpDxvuCBHgJAz+8i5wl6FhLw+oT
19
- 9z0A8KcGhz67SdcoQiD7qiCjL/2NTeWHOzkpPrdGlt088+VerEEGf5I13QCvaftP
20
- D5vkU0YlAm1r98BymuJlcQ1qdkVEI1d48ph4kcS0S0nv1RiuyVb6TCAR3Nu3VaVq
21
- 3fPzZKJLZBx67UvXdbdicWPiUR75elI4PXpLIic3xytaF52ZJYyKZCNZJhNwfQID
22
- AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU0nzow9vc
23
- 2CdikiiE3fJhP/gY4ggwDQ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  dependencies:
33
40
  - !ruby/object:Gem::Dependency
34
41
  name: cogger
@@ -179,13 +186,13 @@ files:
179
186
  - lib/tocer/transformers/text.rb
180
187
  - lib/tocer/writer.rb
181
188
  - tocer.gemspec
182
- homepage: https://www.alchemists.io/projects/tocer
189
+ homepage: https://alchemists.io/projects/tocer
183
190
  licenses:
184
191
  - Hippocratic-2.1
185
192
  metadata:
186
193
  bug_tracker_uri: https://github.com/bkuhlmann/tocer/issues
187
- changelog_uri: https://www.alchemists.io/projects/tocer/versions
188
- documentation_uri: https://www.alchemists.io/projects/tocer
194
+ changelog_uri: https://alchemists.io/projects/tocer/versions
195
+ documentation_uri: https://alchemists.io/projects/tocer
189
196
  funding_uri: https://github.com/sponsors/bkuhlmann
190
197
  label: Tocer
191
198
  rubygems_mfa_required: 'true'
@@ -205,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
212
  - !ruby/object:Gem::Version
206
213
  version: '0'
207
214
  requirements: []
208
- rubygems_version: 3.4.2
215
+ rubygems_version: 3.4.9
209
216
  signing_key:
210
217
  specification_version: 4
211
218
  summary: A command line interface for generating table of contents for Markdown files.
metadata.gz.sig CHANGED
Binary file