tocer 6.3.1 → 7.0.0
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 +4 -4
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +0 -0
- data/LICENSE.md +163 -20
- data/README.md +13 -22
- data/lib/tocer/builder.rb +0 -1
- data/lib/tocer/cli.rb +5 -5
- data/lib/tocer/identity.rb +1 -1
- data/lib/tocer/runner.rb +4 -4
- data/lib/tocer/writer.rb +2 -3
- metadata +10 -52
- metadata.gz.sig +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3607ee1ffb70911e1c0b4df34b9e15a4ddb19aa025b64c31f91035b54bc54e19
|
|
4
|
+
data.tar.gz: bb12bf377e536893da71ebc38407ceb86433b4c0f03604abccf8870348900ec5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1e57c0e796fd8b31b01f4be28cf318ed82e2e318eec0169ae3856592b435d61c80857d09ea9c0880972e9c6954237d3e4aeaaced2228207e786defd01e005f8
|
|
7
|
+
data.tar.gz: de1fc23dc2a88637bc3bb13354417a93ba008145ab8629b2f628222e2f465ff2f1ee19154562077f154f368bc094177cdba7efbe2bade34d14b165fecaf34a5e
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
;åA�3�l�iq}�Ktߕ��{@/�^��P˼T� ��VK|���8�������:1GI;[x����ZK����5����oX|�&M�y�`�R��iG%q]n$����?��>S������Q��V�Yg#��8�aW3o����1\���-�@ !����N]�H�
|
|
1
|
+
k�%d�"l/�=y|���A;�x$�W!���?�ƶ�,�n��Y�K*l�����'�ȷ����������Cػ��N�D�OZz�f�T��6���Qw�ߋ!?�lAo?�e}�C�͚���<��
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/LICENSE.md
CHANGED
|
@@ -1,20 +1,163 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
# Apache License
|
|
2
|
+
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
|
|
5
|
+
http://www.apache.org/licenses
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
## 1. Definitions
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by
|
|
12
|
+
Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is
|
|
15
|
+
granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are
|
|
18
|
+
controlled by, or are under common control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the direction or management of such
|
|
20
|
+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this
|
|
24
|
+
License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications, including but not limited to
|
|
27
|
+
software source code, documentation source, and configuration files.
|
|
28
|
+
|
|
29
|
+
"Object" form shall mean any form resulting from mechanical transformation or translation of a
|
|
30
|
+
Source form, including but not limited to compiled object code, generated documentation, and
|
|
31
|
+
conversions to other media types.
|
|
32
|
+
|
|
33
|
+
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the
|
|
34
|
+
License, as indicated by a copyright notice that is included in or attached to the work (an example
|
|
35
|
+
is provided in the Appendix below).
|
|
36
|
+
|
|
37
|
+
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or
|
|
38
|
+
derived from) the Work and for which the editorial revisions, annotations, elaborations, or other
|
|
39
|
+
modifications represent, as a whole, an original work of authorship. For the purposes of this
|
|
40
|
+
License, Derivative Works shall not include works that remain separable from, or merely link (or
|
|
41
|
+
bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
|
42
|
+
|
|
43
|
+
"Contribution" shall mean any work of authorship, including the original version of the Work and any
|
|
44
|
+
modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted
|
|
45
|
+
to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity
|
|
46
|
+
authorized to submit on behalf of the copyright owner. For the purposes of this definition,
|
|
47
|
+
"submitted" means any form of electronic, verbal, or written communication sent to the Licensor or
|
|
48
|
+
its representatives, including but not limited to communication on electronic mailing lists, source
|
|
49
|
+
code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor
|
|
50
|
+
for the purpose of discussing and improving the Work, but excluding communication that is
|
|
51
|
+
conspicuously marked or otherwise designated in writing by the copyright owner as "Not a
|
|
52
|
+
Contribution."
|
|
53
|
+
|
|
54
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a
|
|
55
|
+
Contribution has been received by Licensor and subsequently incorporated within the Work.
|
|
56
|
+
|
|
57
|
+
## 2. Grant of Copyright License
|
|
58
|
+
|
|
59
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a
|
|
60
|
+
perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to
|
|
61
|
+
reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and
|
|
62
|
+
distribute the Work and such Derivative Works in Source or Object form.
|
|
63
|
+
|
|
64
|
+
## 3. Grant of Patent License
|
|
65
|
+
|
|
66
|
+
Subject to the terms and conditions of this License, each Contributor hereby grants to You a
|
|
67
|
+
perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
|
|
68
|
+
section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer
|
|
69
|
+
the Work, where such license applies only to those patent claims licensable by such Contributor that
|
|
70
|
+
are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s)
|
|
71
|
+
with the Work to which such Contribution(s) was submitted. If You institute patent litigation
|
|
72
|
+
against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or
|
|
73
|
+
a Contribution incorporated within the Work constitutes direct or contributory patent infringement,
|
|
74
|
+
then any patent licenses granted to You under this License for that Work shall terminate as of the
|
|
75
|
+
date such litigation is filed.
|
|
76
|
+
|
|
77
|
+
## 4. Redistribution
|
|
78
|
+
|
|
79
|
+
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with
|
|
80
|
+
or without modifications, and in Source or Object form, provided that You meet the following
|
|
81
|
+
conditions:
|
|
82
|
+
|
|
83
|
+
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
|
84
|
+
|
|
85
|
+
2. You must cause any modified files to carry prominent notices stating that You changed the
|
|
86
|
+
files; and
|
|
87
|
+
|
|
88
|
+
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright,
|
|
89
|
+
patent, trademark, and attribution notices from the Source form of the Work, excluding those
|
|
90
|
+
notices that do not pertain to any part of the Derivative Works; and
|
|
91
|
+
|
|
92
|
+
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative
|
|
93
|
+
Works that You distribute must include a readable copy of the attribution notices contained
|
|
94
|
+
within such NOTICE file, excluding those notices that do not pertain to any part of the
|
|
95
|
+
Derivative Works, in at least one of the following places: within a NOTICE text file
|
|
96
|
+
distributed as part of the Derivative Works; within the Source form or documentation, if
|
|
97
|
+
provided along with the Derivative Works; or, within a display generated by the Derivative
|
|
98
|
+
Works, if and wherever such third-party notices normally appear. The contents of the NOTICE
|
|
99
|
+
file are for informational purposes only and do not modify the License. You may add Your own
|
|
100
|
+
attribution notices within Derivative Works that You distribute, alongside or as an addendum to
|
|
101
|
+
the NOTICE text from the Work, provided that such additional attribution notices cannot be
|
|
102
|
+
construed as modifying the License.
|
|
103
|
+
|
|
104
|
+
You may add Your own copyright statement to Your modifications and may provide additional or
|
|
105
|
+
different license terms and conditions for use, reproduction, or distribution of Your modifications,
|
|
106
|
+
or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of
|
|
107
|
+
the Work otherwise complies with the conditions stated in this License.
|
|
108
|
+
|
|
109
|
+
## 5. Submission of Contributions
|
|
110
|
+
|
|
111
|
+
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the
|
|
112
|
+
Work by You to the Licensor shall be under the terms and conditions of this License, without any
|
|
113
|
+
additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify
|
|
114
|
+
the terms of any separate license agreement you may have executed with Licensor regarding such
|
|
115
|
+
Contributions.
|
|
116
|
+
|
|
117
|
+
## 6. Trademarks
|
|
118
|
+
|
|
119
|
+
This License does not grant permission to use the trade names, trademarks, service marks, or product
|
|
120
|
+
names of the Licensor, except as required for reasonable and customary use in describing the origin
|
|
121
|
+
of the Work and reproducing the content of the NOTICE file.
|
|
122
|
+
|
|
123
|
+
## 7. Disclaimer of Warranty
|
|
124
|
+
|
|
125
|
+
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each
|
|
126
|
+
Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
127
|
+
KIND, either express or implied, including, without limitation, any warranties or conditions of
|
|
128
|
+
TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
|
|
129
|
+
responsible for determining the appropriateness of using or redistributing the Work and assume any
|
|
130
|
+
risks associated with Your exercise of permissions under this License.
|
|
131
|
+
|
|
132
|
+
## 8. Limitation of Liability
|
|
133
|
+
|
|
134
|
+
In no event and under no legal theory, whether in tort (including negligence), contract, or
|
|
135
|
+
otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or
|
|
136
|
+
agreed to in writing, shall any Contributor be liable to You for damages, including any direct,
|
|
137
|
+
indirect, special, incidental, or consequential damages of any character arising as a result of this
|
|
138
|
+
License or out of the use or inability to use the Work (including but not limited to damages for
|
|
139
|
+
loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial
|
|
140
|
+
damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
|
141
|
+
|
|
142
|
+
## 9. Accepting Warranty or Additional Liability
|
|
143
|
+
|
|
144
|
+
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee
|
|
145
|
+
for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights
|
|
146
|
+
consistent with this License. However, in accepting such obligations, You may act only on Your own
|
|
147
|
+
behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You
|
|
148
|
+
agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or
|
|
149
|
+
claims asserted against, such Contributor by reason of your accepting any such warranty or
|
|
150
|
+
additional liability.
|
|
151
|
+
|
|
152
|
+
END OF TERMS AND CONDITIONS
|
|
153
|
+
|
|
154
|
+
Copyright 2015 [Alchemists](https://www.alchemists.io).
|
|
155
|
+
|
|
156
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
157
|
+
compliance with the License. You may obtain a [copy](http://www.apache.org/licenses/LICENSE-2.0) of
|
|
158
|
+
the License.
|
|
159
|
+
|
|
160
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
161
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
162
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
163
|
+
License.
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Tocer
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/tocer)
|
|
4
|
-
[](https://codeclimate.com/github/bkuhlmann/tocer/maintainability)
|
|
5
|
+
[](https://codeclimate.com/github/bkuhlmann/tocer/test_coverage)
|
|
6
6
|
[](https://gemnasium.com/bkuhlmann/tocer)
|
|
7
7
|
[](https://circleci.com/gh/bkuhlmann/tocer)
|
|
8
8
|
[](https://www.patreon.com/bkuhlmann)
|
|
@@ -37,27 +37,18 @@ Markdown files.
|
|
|
37
37
|
- Does not support header prefixes without spaces. Example: `#Header`.
|
|
38
38
|
- Supports table of contents generation for single or multiple files.
|
|
39
39
|
- Supports custom label. Default: "## Table of Contents".
|
|
40
|
-
- Supports
|
|
40
|
+
- Supports file list filtering. Default: "README.md".
|
|
41
41
|
- Prepends table of contents to Markdown documents that don't have table of contents.
|
|
42
42
|
- Rebuilds Markdown documents that have existing table of contents.
|
|
43
43
|
|
|
44
44
|
## Requirements
|
|
45
45
|
|
|
46
46
|
0. A UNIX-based system.
|
|
47
|
-
0. [Ruby 2.
|
|
47
|
+
0. [Ruby 2.5.x](https://www.ruby-lang.org).
|
|
48
48
|
|
|
49
49
|
## Setup
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
gem cert --add <(curl --location --silent https://www.alchemists.io/gem-public.pem)
|
|
54
|
-
gem install tocer --trust-policy MediumSecurity
|
|
55
|
-
|
|
56
|
-
NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification
|
|
57
|
-
while allowing the installation of unsigned dependencies since they are beyond the scope of this
|
|
58
|
-
gem.
|
|
59
|
-
|
|
60
|
-
For an insecure install, type the following (not recommended):
|
|
51
|
+
Type the following to install:
|
|
61
52
|
|
|
62
53
|
gem install tocer
|
|
63
54
|
|
|
@@ -76,7 +67,7 @@ For specific `--generate` options, run `tocer --help --generate` to see the foll
|
|
|
76
67
|
|
|
77
68
|
-l, [--label=LABEL] # Label
|
|
78
69
|
# Default: # Table of Contents
|
|
79
|
-
-w, [--
|
|
70
|
+
-w, [--includes=one two three] # File include list
|
|
80
71
|
# Default: ["README.md"]
|
|
81
72
|
|
|
82
73
|
To generate the table of contents at a specific position within your Markdown files, add the
|
|
@@ -107,7 +98,7 @@ as provided by the [Runcom](https://github.com/bkuhlmann/runcom) gem.
|
|
|
107
98
|
The default configuration is as follows:
|
|
108
99
|
|
|
109
100
|
:label: "## Table of Contents"
|
|
110
|
-
:
|
|
101
|
+
:includes: ["README.md"]
|
|
111
102
|
|
|
112
103
|
Feel free to take this default configuration, modify, and save as your own custom
|
|
113
104
|
`configuration.yml`.
|
|
@@ -115,27 +106,27 @@ Feel free to take this default configuration, modify, and save as your own custo
|
|
|
115
106
|
The `configuration.yml` file can be configured as follows:
|
|
116
107
|
|
|
117
108
|
- `label`: The header label for the table of contents. Default: "# Table of Contents".
|
|
118
|
-
- `
|
|
109
|
+
- `includes`: The list of included files. Default: "*.md".
|
|
119
110
|
|
|
120
|
-
There are multiple ways the
|
|
111
|
+
There are multiple ways the include list can be defined. Here are some examples:
|
|
121
112
|
|
|
122
113
|
# Use an empty array to ignore all files (a key with with no value would work too).
|
|
123
|
-
:
|
|
114
|
+
:includes: []
|
|
124
115
|
|
|
125
116
|
# Use an array of wildcards for groups of files with similar extensions:
|
|
126
|
-
:
|
|
117
|
+
:includes:
|
|
127
118
|
- *.md
|
|
128
119
|
- *.mkd
|
|
129
120
|
- *.markdown
|
|
130
121
|
|
|
131
122
|
# Use a mix of wild cards and relative names/paths to customized as necessary:
|
|
132
|
-
:
|
|
123
|
+
:includes:
|
|
133
124
|
- README.md
|
|
134
125
|
- docs/*.md
|
|
135
126
|
- *.markdown
|
|
136
127
|
|
|
137
128
|
# Use a recursive glob to traverse and update all sub-directories:
|
|
138
|
-
:
|
|
129
|
+
:includes:
|
|
139
130
|
- **/*.md
|
|
140
131
|
|
|
141
132
|
## Tests
|
data/lib/tocer/builder.rb
CHANGED
data/lib/tocer/cli.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Tocer
|
|
|
14
14
|
def self.configuration
|
|
15
15
|
Runcom::Configuration.new project_name: Identity.name, defaults: {
|
|
16
16
|
label: "## Table of Contents",
|
|
17
|
-
|
|
17
|
+
includes: ["README.md"]
|
|
18
18
|
}
|
|
19
19
|
end
|
|
20
20
|
|
|
@@ -32,14 +32,14 @@ module Tocer
|
|
|
32
32
|
desc: "Label",
|
|
33
33
|
type: :string,
|
|
34
34
|
default: configuration.to_h.fetch(:label)
|
|
35
|
-
method_option :
|
|
35
|
+
method_option :includes,
|
|
36
36
|
aliases: "-w",
|
|
37
|
-
desc: "File
|
|
37
|
+
desc: "File include list",
|
|
38
38
|
type: :array,
|
|
39
|
-
default: configuration.to_h.fetch(:
|
|
39
|
+
default: configuration.to_h.fetch(:includes)
|
|
40
40
|
# :reek:TooManyStatements
|
|
41
41
|
def generate path = "."
|
|
42
|
-
updated_configuration = configuration.merge label: options.label,
|
|
42
|
+
updated_configuration = configuration.merge label: options.label, includes: options.includes
|
|
43
43
|
runner = Runner.new path, configuration: updated_configuration
|
|
44
44
|
files = runner.files
|
|
45
45
|
|
data/lib/tocer/identity.rb
CHANGED
data/lib/tocer/runner.rb
CHANGED
|
@@ -12,8 +12,8 @@ module Tocer
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def files
|
|
15
|
-
return [] unless path.exist? && path.directory? && !
|
|
16
|
-
Pathname.glob(%(#{path}/{#{
|
|
15
|
+
return [] unless path.exist? && path.directory? && !includes.empty?
|
|
16
|
+
Pathname.glob(%(#{path}/{#{includes.join ","}})).select(&:file?)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def run
|
|
@@ -24,8 +24,8 @@ module Tocer
|
|
|
24
24
|
|
|
25
25
|
attr_reader :path, :configuration, :writer
|
|
26
26
|
|
|
27
|
-
def
|
|
28
|
-
Array configuration[:
|
|
27
|
+
def includes
|
|
28
|
+
Array configuration[:includes]
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
end
|
data/lib/tocer/writer.rb
CHANGED
|
@@ -13,7 +13,6 @@ module Tocer
|
|
|
13
13
|
lines.reject.with_index { |_, index| range.include? index }
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
# rubocop:disable Style/CommentedKeyword
|
|
17
16
|
def initialize file_path, label: "## Table of Contents", builder: Builder.new(label: label)
|
|
18
17
|
@file_path = file_path
|
|
19
18
|
@builder = builder
|
|
@@ -21,7 +20,7 @@ module Tocer
|
|
|
21
20
|
|
|
22
21
|
def write
|
|
23
22
|
lines = File.readlines file_path
|
|
24
|
-
body = builder.prependable?(lines) ?
|
|
23
|
+
body = builder.prependable?(lines) ? prepend(lines) : replace(lines)
|
|
25
24
|
File.open(file_path, "w") { |file| file.write body }
|
|
26
25
|
end
|
|
27
26
|
|
|
@@ -45,7 +44,7 @@ module Tocer
|
|
|
45
44
|
).join
|
|
46
45
|
end
|
|
47
46
|
|
|
48
|
-
def
|
|
47
|
+
def prepend lines
|
|
49
48
|
content(lines) + "\n" + lines.join
|
|
50
49
|
end
|
|
51
50
|
end
|
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:
|
|
4
|
+
version: 7.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
MQXa5aqjoFEODxVbBBI6NyNVH4gMKDsILEFlH/mcBQKKQwXj2McJmB8jIG+WuKoE
|
|
31
31
|
GyTL6s+8CnN9sL2Spfh/YdRn/29r4g2qi6FomQ==
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date:
|
|
33
|
+
date: 2018-01-01 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: refinements
|
|
@@ -38,28 +38,28 @@ dependencies:
|
|
|
38
38
|
requirements:
|
|
39
39
|
- - "~>"
|
|
40
40
|
- !ruby/object:Gem::Version
|
|
41
|
-
version: '
|
|
41
|
+
version: '5.0'
|
|
42
42
|
type: :runtime
|
|
43
43
|
prerelease: false
|
|
44
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '
|
|
48
|
+
version: '5.0'
|
|
49
49
|
- !ruby/object:Gem::Dependency
|
|
50
50
|
name: runcom
|
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '
|
|
55
|
+
version: '2.0'
|
|
56
56
|
type: :runtime
|
|
57
57
|
prerelease: false
|
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - "~>"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: '
|
|
62
|
+
version: '2.0'
|
|
63
63
|
- !ruby/object:Gem::Dependency
|
|
64
64
|
name: thor
|
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -144,34 +144,6 @@ dependencies:
|
|
|
144
144
|
- - "~>"
|
|
145
145
|
- !ruby/object:Gem::Version
|
|
146
146
|
version: '1.0'
|
|
147
|
-
- !ruby/object:Gem::Dependency
|
|
148
|
-
name: gemsmith
|
|
149
|
-
requirement: !ruby/object:Gem::Requirement
|
|
150
|
-
requirements:
|
|
151
|
-
- - "~>"
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: '10.4'
|
|
154
|
-
type: :development
|
|
155
|
-
prerelease: false
|
|
156
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
157
|
-
requirements:
|
|
158
|
-
- - "~>"
|
|
159
|
-
- !ruby/object:Gem::Version
|
|
160
|
-
version: '10.4'
|
|
161
|
-
- !ruby/object:Gem::Dependency
|
|
162
|
-
name: git-cop
|
|
163
|
-
requirement: !ruby/object:Gem::Requirement
|
|
164
|
-
requirements:
|
|
165
|
-
- - "~>"
|
|
166
|
-
- !ruby/object:Gem::Version
|
|
167
|
-
version: '1.7'
|
|
168
|
-
type: :development
|
|
169
|
-
prerelease: false
|
|
170
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
171
|
-
requirements:
|
|
172
|
-
- - "~>"
|
|
173
|
-
- !ruby/object:Gem::Version
|
|
174
|
-
version: '1.7'
|
|
175
147
|
- !ruby/object:Gem::Dependency
|
|
176
148
|
name: guard-rspec
|
|
177
149
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -228,20 +200,6 @@ dependencies:
|
|
|
228
200
|
- - "~>"
|
|
229
201
|
- !ruby/object:Gem::Version
|
|
230
202
|
version: '3.5'
|
|
231
|
-
- !ruby/object:Gem::Dependency
|
|
232
|
-
name: pry-state
|
|
233
|
-
requirement: !ruby/object:Gem::Requirement
|
|
234
|
-
requirements:
|
|
235
|
-
- - "~>"
|
|
236
|
-
- !ruby/object:Gem::Version
|
|
237
|
-
version: '0.1'
|
|
238
|
-
type: :development
|
|
239
|
-
prerelease: false
|
|
240
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
241
|
-
requirements:
|
|
242
|
-
- - "~>"
|
|
243
|
-
- !ruby/object:Gem::Version
|
|
244
|
-
version: '0.1'
|
|
245
203
|
- !ruby/object:Gem::Dependency
|
|
246
204
|
name: rake
|
|
247
205
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -290,14 +248,14 @@ dependencies:
|
|
|
290
248
|
requirements:
|
|
291
249
|
- - "~>"
|
|
292
250
|
- !ruby/object:Gem::Version
|
|
293
|
-
version: '0.
|
|
251
|
+
version: '0.52'
|
|
294
252
|
type: :development
|
|
295
253
|
prerelease: false
|
|
296
254
|
version_requirements: !ruby/object:Gem::Requirement
|
|
297
255
|
requirements:
|
|
298
256
|
- - "~>"
|
|
299
257
|
- !ruby/object:Gem::Version
|
|
300
|
-
version: '0.
|
|
258
|
+
version: '0.52'
|
|
301
259
|
- !ruby/object:Gem::Dependency
|
|
302
260
|
name: wirb
|
|
303
261
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -347,7 +305,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
347
305
|
requirements:
|
|
348
306
|
- - "~>"
|
|
349
307
|
- !ruby/object:Gem::Version
|
|
350
|
-
version: '2.
|
|
308
|
+
version: '2.5'
|
|
351
309
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
352
310
|
requirements:
|
|
353
311
|
- - ">="
|
|
@@ -355,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
355
313
|
version: '0'
|
|
356
314
|
requirements: []
|
|
357
315
|
rubyforge_project:
|
|
358
|
-
rubygems_version: 2.7.
|
|
316
|
+
rubygems_version: 2.7.4
|
|
359
317
|
signing_key:
|
|
360
318
|
specification_version: 4
|
|
361
319
|
summary: A command line interface for generating table of contents for Markdown files.
|
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
���۽�o�@�>;JQ�L!ݲG�ɷ������\2R�.����Gjn�7�}FBc>�v��Ŧ����c�+lγ;E�dz�=�����F$ȱ~)^��+8�'{��-������[���҇��G�_5�~-��utb"˶��9��:�$�0J�!����^^�XfRgf��`�~��סD<bڷ!�Y��i��?t��q�c�#g�ÄU�+^Je��i��e�Fᱏ�ɫAb
|
|
2
|
+
]�����Vh:ɵ�j�ʹ#�
|