tocer 16.0.3 → 16.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +1 -14
- data/lib/tocer.rb +4 -1
- data/tocer.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -3
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7afea3d89a91dbb7116d3b55887693564357a7af319f0085c5b477fd3d13b4d8
|
4
|
+
data.tar.gz: b9551d6bd956a7398b154952e2710653ea807fbf5e36a30153437ba6f7c48368
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2489bc0f471ecfa3afb5b3a85616b003e6107ee97fc27d0ce35710acc5157c9f032cda4b01312bb8581c2f7547b3fe6d5f462346f8cc4d3ace7241bda19ad76f
|
7
|
+
data.tar.gz: afae292f8a1306e7e33c9c3529dccc7cd7d043d762a57bd00a925cca53658a51983c3fbd535e5b722ffb0a46c2410f15c5a49ebcc502772432679d6b56402c5a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -57,20 +57,7 @@ bundle add tocer
|
|
57
57
|
|
58
58
|
From the command line, run: `tocer --help`
|
59
59
|
|
60
|
-
|
61
|
-
USAGE
|
62
|
-
tocer [OPTIONS]
|
63
|
-
tocer COMMAND [OPTIONS]
|
64
|
-
|
65
|
-
OPTIONS
|
66
|
-
-v, --version Show version.
|
67
|
-
-h, --help [COMMAND] Show this message.
|
68
|
-
|
69
|
-
COMMANDS
|
70
|
-
config Manage configuration.
|
71
|
-
Path is dynamic per current directory.
|
72
|
-
upsert Update/insert table of contents.
|
73
|
-
....
|
60
|
+
image:https://alchemists.io/images/projects/tocer/screenshots/usage.png[Usage,width=581,height=326,role=focal_point]
|
74
61
|
|
75
62
|
To generate the table of contents at a specific position within your Markdown files, add the
|
76
63
|
following lines to your file(s) prior to generation:
|
data/lib/tocer.rb
CHANGED
@@ -2,12 +2,15 @@
|
|
2
2
|
|
3
3
|
require "zeitwerk"
|
4
4
|
|
5
|
-
Zeitwerk::Loader.
|
5
|
+
Zeitwerk::Loader.new.then do |loader|
|
6
6
|
loader.inflector.inflect "cli" => "CLI"
|
7
|
+
loader.tag = File.basename __FILE__, ".rb"
|
7
8
|
loader.ignore "#{__dir__}/tocer/rake"
|
9
|
+
loader.push_dir __dir__
|
8
10
|
loader.setup
|
9
11
|
end
|
10
12
|
|
11
13
|
# Main namespace.
|
12
14
|
module Tocer
|
15
|
+
def self.loader(registry = Zeitwerk::Registry) = registry.loader_for __FILE__
|
13
16
|
end
|
data/tocer.gemspec
CHANGED
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
|
4
|
+
version: 16.1.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-
|
38
|
+
date: 2023-10-01 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: cogger
|
@@ -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.
|
254
|
+
rubygems_version: 3.4.20
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: A command line interface for generating Markdown table of contents.
|
metadata.gz.sig
CHANGED
Binary file
|