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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4f9a0ee9b693d4deefef11c3796836eb6a8b005cd05fceefdb94de06136383c
4
- data.tar.gz: 73b94f1b13302644bac07a2eeb9fe31af2f7d4e8684ba991f6dc6d7246911541
3
+ metadata.gz: 106fe66e91b4c302490857f948a672413a10e7729d56af5800964a3409fcfb17
4
+ data.tar.gz: b1569fe8b8ef51f0f2174d2506c8f1cba3b2180bdc47c8c60c28c0a6712e2e78
5
5
  SHA512:
6
- metadata.gz: 5bde200579f6defddd5c7e95a1b2f513e787faf308c7afdcd21f1e5aa84025cd81a4448487e40e8bf66373901094ceee7c3edef6fce0d2c00034c638d6ee2e24
7
- data.tar.gz: 1ac27f2f664c353fb48386407fd4a0370f50d5a9b412a0bcb3c7b969d348c6c2d57fec15cce93dac568da57a3b7111bb1e015a18c3dc4f4d9139206af5f11f74
6
+ metadata.gz: 7574ea429e82b68a289e7c9c288b417d87a7d93f0a9b123766e2579c90eca585e63b97c1c41947f03696e430ec183112ff04d38095b7b4b98f34e269692b7a5d
7
+ data.tar.gz: 10378c3612273946c194e6a414c614ad4bb47dde72aa1c407cadc9122f9549eb939e223f059acdce5cf904be7be2fb11424627792c0db18871c11551829d0481
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- q�ۏ�A$�g�q�`��Cx�u�>N��0��;n�('�R��L*��f{>"����D��wXR?�w�ݥ�W�f�7��}�hEW����T&&�P|P��*:���x���Ģg�وn�}p�`���m7x]f�9<,jup��B�g��؝')
2
- ��Zb�JG]�����V�o�:&�f��K����$�6^���:�8L+\�I����8��ؕ3lӞ�ȦA(��57���>�q^�j�*��DgֲE-]
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�&�gxP���#�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.
@@ -20,7 +20,7 @@ module Tocer
20
20
  end
21
21
 
22
22
  def call arguments = []
23
- client.banner = "Tocer - #{specification.summary}"
23
+ client.banner = specification.labeled_summary
24
24
  client.separator "\nUSAGE:\n"
25
25
  collate
26
26
  client.parse arguments
@@ -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 { "Tocer #{specification.version}" }
29
+ in action_version: true then logger.info { specification.labeled_version }
30
30
  else usage
31
31
  end
32
32
  end
@@ -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) { Gem::Specification.load SPEC_PATH }
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.1.0"
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.0"
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.1.0
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-01-23 00:00:00.000000000 Z
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.0'
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.0'
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.5
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