tocer 10.1.1 → 10.2.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 +0 -0
- data.tar.gz.sig +0 -0
- data/README.adoc +1 -1
- data/lib/tocer/elements/comment_block.rb +1 -1
- data/lib/tocer/identity.rb +1 -1
- metadata +12 -12
- 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: 7c8a7b02955ef0ddc8fb3d442cfc3619b17de8e4bbac7e3f2527ca9bb2408a9f
|
|
4
|
+
data.tar.gz: c16d0b17493e764753bd75c60e9b49e5b0e38eddbcc3850a698c635acd8ccf86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e424cb2110bcba92727364afe79fbf985b5bc82d3d2b4dd8f92516d5e552d4718e35f97276a57ff54b28bfcc7205e67ca3ecbb6a401f45c7fab9c15bcdea706f
|
|
7
|
+
data.tar.gz: 34375634ea14212202501c9e854337e1a618009aebe03f7220f3131cd227caae8d77bb0c1d0a98a630a3a189044a82df7c663c1e546ba5d9cb923d9302f8b7b9
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/README.adoc
CHANGED
|
@@ -5,7 +5,7 @@ module Tocer
|
|
|
5
5
|
# Represents a table of contents start and finish comment block.
|
|
6
6
|
class CommentBlock
|
|
7
7
|
def self.index lines, id
|
|
8
|
-
(lines.index { |line| line =~
|
|
8
|
+
(lines.index { |line| line =~ /<!--.*#{Regexp.escape id}.*-->/ }).to_i
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def initialize start_id: "Tocer[start]",
|
data/lib/tocer/identity.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tocer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 10.
|
|
4
|
+
version: 10.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brooke Kuhlmann
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
|
29
29
|
QWc=
|
|
30
30
|
-----END CERTIFICATE-----
|
|
31
|
-
date: 2020-
|
|
31
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
|
32
32
|
dependencies:
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: refinements
|
|
@@ -106,28 +106,28 @@ dependencies:
|
|
|
106
106
|
requirements:
|
|
107
107
|
- - "~>"
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '14.
|
|
109
|
+
version: '14.2'
|
|
110
110
|
type: :development
|
|
111
111
|
prerelease: false
|
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
114
|
- - "~>"
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '14.
|
|
116
|
+
version: '14.2'
|
|
117
117
|
- !ruby/object:Gem::Dependency
|
|
118
|
-
name: git-
|
|
118
|
+
name: git-lint
|
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
|
121
121
|
- - "~>"
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: '
|
|
123
|
+
version: '1.0'
|
|
124
124
|
type: :development
|
|
125
125
|
prerelease: false
|
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
|
127
127
|
requirements:
|
|
128
128
|
- - "~>"
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
|
-
version: '
|
|
130
|
+
version: '1.0'
|
|
131
131
|
- !ruby/object:Gem::Dependency
|
|
132
132
|
name: guard-rspec
|
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -282,7 +282,7 @@ dependencies:
|
|
|
282
282
|
- - "~>"
|
|
283
283
|
- !ruby/object:Gem::Version
|
|
284
284
|
version: '0.18'
|
|
285
|
-
description:
|
|
285
|
+
description:
|
|
286
286
|
email:
|
|
287
287
|
- brooke@alchemists.io
|
|
288
288
|
executables:
|
|
@@ -317,7 +317,7 @@ metadata:
|
|
|
317
317
|
changelog_uri: https://www.alchemists.io/projects/tocer/changes.html
|
|
318
318
|
documentation_uri: https://www.alchemists.io/projects/tocer
|
|
319
319
|
source_code_uri: https://github.com/bkuhlmann/tocer
|
|
320
|
-
post_install_message:
|
|
320
|
+
post_install_message:
|
|
321
321
|
rdoc_options: []
|
|
322
322
|
require_paths:
|
|
323
323
|
- lib
|
|
@@ -332,8 +332,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
332
332
|
- !ruby/object:Gem::Version
|
|
333
333
|
version: '0'
|
|
334
334
|
requirements: []
|
|
335
|
-
rubygems_version: 3.1.
|
|
336
|
-
signing_key:
|
|
335
|
+
rubygems_version: 3.1.4
|
|
336
|
+
signing_key:
|
|
337
337
|
specification_version: 4
|
|
338
338
|
summary: A command line interface for generating table of contents for Markdown files.
|
|
339
339
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|