tocer 13.1.0 → 13.2.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 +3 -2
- data/README.adoc +0 -7
- data/lib/tocer/cli/parsers/core.rb +1 -1
- data/lib/tocer/cli/shell.rb +1 -1
- data/lib/tocer/container.rb +2 -3
- data/tocer.gemspec +3 -4
- data.tar.gz.sig +0 -0
- metadata +19 -5
- 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: 106fe66e91b4c302490857f948a672413a10e7729d56af5800964a3409fcfb17
|
4
|
+
data.tar.gz: b1569fe8b8ef51f0f2174d2506c8f1cba3b2180bdc47c8c60c28c0a6712e2e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7574ea429e82b68a289e7c9c288b417d87a7d93f0a9b123766e2579c90eca585e63b97c1c41947f03696e430ec183112ff04d38095b7b4b98f34e269692b7a5d
|
7
|
+
data.tar.gz: 10378c3612273946c194e6a414c614ad4bb47dde72aa1c407cadc9122f9549eb939e223f059acdce5cf904be7be2fb11424627792c0db18871c11551829d0481
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
%9��l�+mp���ص��=ۗ����nFx{R�4���|�Jc���s��H����L��`��m�:�E�:���B=�p�i&7lh��+JpvXPk������"�W
|
2
|
+
�!����u�ҭ��k�����B�A8���R�&�gx�P���#�k�@�����-�zf&�qø���(K��g19�+�A�r�
|
3
|
+
1��ڦt�x����BA )�v?c���������
|
data/README.adoc
CHANGED
@@ -4,13 +4,6 @@
|
|
4
4
|
|
5
5
|
= Tocer
|
6
6
|
|
7
|
-
[link=http://badge.fury.io/rb/tocer]
|
8
|
-
image::https://badge.fury.io/rb/tocer.svg[Gem Version]
|
9
|
-
[link=https://www.alchemists.io/projects/code_quality]
|
10
|
-
image::https://img.shields.io/badge/code_style-alchemists-brightgreen.svg[Alchemists Style Guide]
|
11
|
-
[link=https://circleci.com/gh/bkuhlmann/tocer]
|
12
|
-
image::https://circleci.com/gh/bkuhlmann/tocer.svg?style=svg[Circle CI Status]
|
13
|
-
|
14
7
|
Tocer (a.k.a. Table of Contenter) is a command line interface for generating table of contents for
|
15
8
|
Markdown files. Use this tool to automatically manage and update your documentation with minimal
|
16
9
|
effort. Works on single files or multiple files within nested directory structures.
|
data/lib/tocer/cli/shell.rb
CHANGED
@@ -26,7 +26,7 @@ module Tocer
|
|
26
26
|
case configuration
|
27
27
|
in action_config: Symbol => action then process_config action
|
28
28
|
in action_insert: true then process_insert configuration
|
29
|
-
in action_version: true then logger.info {
|
29
|
+
in action_version: true then logger.info { specification.labeled_version }
|
30
30
|
else usage
|
31
31
|
end
|
32
32
|
end
|
data/lib/tocer/container.rb
CHANGED
@@ -3,16 +3,15 @@
|
|
3
3
|
require "dry-container"
|
4
4
|
require "logger"
|
5
5
|
require "pastel"
|
6
|
+
require "spek"
|
6
7
|
|
7
8
|
module Tocer
|
8
9
|
# Provides a global gem container for injection into other objects.
|
9
10
|
module Container
|
10
11
|
extend Dry::Container::Mixin
|
11
12
|
|
12
|
-
SPEC_PATH = "#{__dir__}/../../tocer.gemspec".freeze
|
13
|
-
|
14
13
|
register(:configuration) { Configuration::Loader.call }
|
15
|
-
register(:specification) {
|
14
|
+
register(:specification) { Spek::Loader.call "#{__dir__}/../../tocer.gemspec" }
|
16
15
|
register(:colorizer) { Pastel.new enabled: $stdout.tty? }
|
17
16
|
register(:kernel) { Kernel }
|
18
17
|
|
data/tocer.gemspec
CHANGED
@@ -2,8 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "tocer"
|
5
|
-
spec.version = "13.
|
6
|
-
spec.platform = Gem::Platform::RUBY
|
5
|
+
spec.version = "13.2.0"
|
7
6
|
spec.authors = ["Brooke Kuhlmann"]
|
8
7
|
spec.email = ["brooke@alchemists.io"]
|
9
8
|
spec.homepage = "https://www.alchemists.io/projects/tocer"
|
@@ -26,12 +25,12 @@ Gem::Specification.new do |spec|
|
|
26
25
|
spec.add_dependency "dry-container", "~> 0.9"
|
27
26
|
spec.add_dependency "pastel", "~> 0.8"
|
28
27
|
spec.add_dependency "refinements", "~> 9.1"
|
29
|
-
spec.add_dependency "runcom", "~> 8.
|
28
|
+
spec.add_dependency "runcom", "~> 8.2"
|
29
|
+
spec.add_dependency "spek", "~> 0.0"
|
30
30
|
spec.add_dependency "zeitwerk", "~> 2.5"
|
31
31
|
|
32
32
|
spec.bindir = "exe"
|
33
33
|
spec.executables << "tocer"
|
34
34
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
35
35
|
spec.files = Dir["*.gemspec", "lib/**/*"]
|
36
|
-
spec.require_paths = ["lib"]
|
37
36
|
end
|
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: 13.
|
4
|
+
version: 13.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
|
29
29
|
W2A=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2022-
|
31
|
+
date: 2022-02-06 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: dry-container
|
@@ -78,14 +78,28 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '8.
|
81
|
+
version: '8.2'
|
82
82
|
type: :runtime
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '8.
|
88
|
+
version: '8.2'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: spek
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.0'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: zeitwerk
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
174
|
- !ruby/object:Gem::Version
|
161
175
|
version: '0'
|
162
176
|
requirements: []
|
163
|
-
rubygems_version: 3.3.
|
177
|
+
rubygems_version: 3.3.6
|
164
178
|
signing_key:
|
165
179
|
specification_version: 4
|
166
180
|
summary: A command line interface for generating table of contents for Markdown files.
|
metadata.gz.sig
CHANGED
Binary file
|