tocer 6.2.0 → 6.3.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
  SHA1:
3
- metadata.gz: f311399be839a5bae6d2f917d2ba5e2c224d6c01
4
- data.tar.gz: 6bdfeef3efdb6f06779021dd8cecb6c3d6341d38
3
+ metadata.gz: e1ec7bfac6feab0d0229a73eb50093712ebb2fdf
4
+ data.tar.gz: 796e8b5634ddf019bccb9d28601118509c5b52cf
5
5
  SHA512:
6
- metadata.gz: b1aa972ddc987370440c2caa855afecb7ef6b39917760405584583f5a9e7d7af7a3cbb160368a217892d9e5705a8da9a4664a405a526f5056121c3bcec7c6045
7
- data.tar.gz: f6639d4927f8634a311f7a0fe65644266bc26640ebf36b06f2197601e0d1df49a04c6c34388a73a5c0a868406294bcedf7fc190e7cdca18281d3315cd39f0ec4
6
+ metadata.gz: 38b9dd085de3fc0032fab27808a1cc42806dd356b1daf797fa9699e41cdc258e8bc1aeb05fae5686703b2976b0f3fa434a012d95533d963d0f6774763b076343
7
+ data.tar.gz: 4883d2c6660a906e309b085c6b281b64996728a7c75d3fba911832de3dc0d602f6ed4655f5c19802ff63cdd44cbf8df678751f0a107dc9e5aa0295c30f1b7313
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/tocer/builder.rb CHANGED
@@ -19,6 +19,7 @@ module Tocer
19
19
  end
20
20
  end
21
21
 
22
+ # rubocop:disable Style/CommentedKeyword
22
23
  def initialize label: "## Table of Contents", comment_block: Elements::CommentBlock.new
23
24
  @label = label
24
25
  @comment_block = comment_block
@@ -12,7 +12,7 @@ module Tocer
12
12
  end
13
13
 
14
14
  def self.version
15
- "6.2.0"
15
+ "6.3.0"
16
16
  end
17
17
 
18
18
  def self.version_label
data/lib/tocer/writer.rb CHANGED
@@ -13,6 +13,7 @@ module Tocer
13
13
  lines.reject.with_index { |_, index| range.include? index }
14
14
  end
15
15
 
16
+ # rubocop:disable Style/CommentedKeyword
16
17
  def initialize file_path, label: "## Table of Contents", builder: Builder.new(label: label)
17
18
  @file_path = file_path
18
19
  @builder = builder
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: 6.2.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -12,224 +12,224 @@ cert_chain:
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
14
14
  a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
15
- aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
15
+ aW8wHhcNMTcxMDI5MjExMDE0WhcNMTgxMDI5MjExMDE0WjBBMQ8wDQYDVQQDDAZi
16
16
  cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
17
- GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
18
- fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
19
- zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
20
- nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
21
- oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
22
- 90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
23
- BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQD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dtgRCmWjtXeYYyb4z6NQQ==
26
+ 9w0BAQUFAAOCAQEAUlRO4tInUyc1/mZiYVkRiCEIiIwSXELsMKWh6m8DxAz+LX6E
27
+ f8h0dQjc3u/VLnaLvbyoOTREAWrH+Cw/YiYJQASiZlcxHFXW0Ot80oM1voUJz2Yx
28
+ 9VnYfwk9o8lnK/rlE+n76UctPqYC07etDZqEnPC+Znbn3/rQM8ZeUWQb3E/Dwg4e
29
+ 3f4nvMy3WbUv7zq8PrM64D+vQPvLrFwlrQkhHnd20IC6LTrInnr3TJybMnmho45j
30
+ MQXa5aqjoFEODxVbBBI6NyNVH4gMKDsILEFlH/mcBQKKQwXj2McJmB8jIG+WuKoE
31
+ GyTL6s+8CnN9sL2Spfh/YdRn/29r4g2qi6FomQ==
32
32
  -----END CERTIFICATE-----
33
- date: 2017-08-20 00:00:00.000000000 Z
33
+ date: 2017-10-29 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
- name: thor
36
+ name: refinements
37
37
  requirement: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0.20'
41
+ version: '4.2'
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: '0.20'
48
+ version: '4.2'
49
49
  - !ruby/object:Gem::Dependency
50
- name: refinements
50
+ name: runcom
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '4.2'
55
+ version: '1.3'
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: '4.2'
62
+ version: '1.3'
63
63
  - !ruby/object:Gem::Dependency
64
- name: runcom
64
+ name: thor
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.3'
69
+ version: '0.20'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '1.3'
76
+ version: '0.20'
77
77
  - !ruby/object:Gem::Dependency
78
- name: rake
78
+ name: awesome_print
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '12.0'
83
+ version: '1.8'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '12.0'
90
+ version: '1.8'
91
91
  - !ruby/object:Gem::Dependency
92
- name: gemsmith
92
+ name: bond
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '10.2'
97
+ version: '0.5'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '10.2'
104
+ version: '0.5'
105
105
  - !ruby/object:Gem::Dependency
106
- name: pry
106
+ name: bundler-audit
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '0.10'
111
+ version: '0.6'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '0.10'
118
+ version: '0.6'
119
119
  - !ruby/object:Gem::Dependency
120
- name: pry-byebug
120
+ name: climate_control
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '3.4'
125
+ version: '0.1'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.4'
132
+ version: '0.1'
133
133
  - !ruby/object:Gem::Dependency
134
- name: pry-state
134
+ name: codeclimate-test-reporter
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '0.1'
139
+ version: '1.0'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - "~>"
145
145
  - !ruby/object:Gem::Version
146
- version: '0.1'
146
+ version: '1.0'
147
147
  - !ruby/object:Gem::Dependency
148
- name: bond
148
+ name: gemsmith
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - "~>"
152
152
  - !ruby/object:Gem::Version
153
- version: '0.5'
153
+ version: '10.4'
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0.5'
160
+ version: '10.4'
161
161
  - !ruby/object:Gem::Dependency
162
- name: wirb
162
+ name: git-cop
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '2.0'
167
+ version: '1.6'
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
172
  - - "~>"
173
173
  - !ruby/object:Gem::Version
174
- version: '2.0'
174
+ version: '1.6'
175
175
  - !ruby/object:Gem::Dependency
176
- name: hirb
176
+ name: guard-rspec
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - "~>"
180
180
  - !ruby/object:Gem::Version
181
- version: '0.7'
181
+ version: '4.7'
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
186
  - - "~>"
187
187
  - !ruby/object:Gem::Version
188
- version: '0.7'
188
+ version: '4.7'
189
189
  - !ruby/object:Gem::Dependency
190
- name: awesome_print
190
+ name: hirb
191
191
  requirement: !ruby/object:Gem::Requirement
192
192
  requirements:
193
193
  - - "~>"
194
194
  - !ruby/object:Gem::Version
195
- version: '1.8'
195
+ version: '0.7'
196
196
  type: :development
197
197
  prerelease: false
198
198
  version_requirements: !ruby/object:Gem::Requirement
199
199
  requirements:
200
200
  - - "~>"
201
201
  - !ruby/object:Gem::Version
202
- version: '1.8'
202
+ version: '0.7'
203
203
  - !ruby/object:Gem::Dependency
204
- name: rspec
204
+ name: pry
205
205
  requirement: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '3.6'
209
+ version: '0.10'
210
210
  type: :development
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - "~>"
215
215
  - !ruby/object:Gem::Version
216
- version: '3.6'
216
+ version: '0.10'
217
217
  - !ruby/object:Gem::Dependency
218
- name: guard-rspec
218
+ name: pry-byebug
219
219
  requirement: !ruby/object:Gem::Requirement
220
220
  requirements:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
- version: '4.7'
223
+ version: '3.5'
224
224
  type: :development
225
225
  prerelease: false
226
226
  version_requirements: !ruby/object:Gem::Requirement
227
227
  requirements:
228
228
  - - "~>"
229
229
  - !ruby/object:Gem::Version
230
- version: '4.7'
230
+ version: '3.5'
231
231
  - !ruby/object:Gem::Dependency
232
- name: climate_control
232
+ name: pry-state
233
233
  requirement: !ruby/object:Gem::Requirement
234
234
  requirements:
235
235
  - - "~>"
@@ -243,19 +243,19 @@ dependencies:
243
243
  - !ruby/object:Gem::Version
244
244
  version: '0.1'
245
245
  - !ruby/object:Gem::Dependency
246
- name: git-cop
246
+ name: rake
247
247
  requirement: !ruby/object:Gem::Requirement
248
248
  requirements:
249
249
  - - "~>"
250
250
  - !ruby/object:Gem::Version
251
- version: '1.5'
251
+ version: '12.0'
252
252
  type: :development
253
253
  prerelease: false
254
254
  version_requirements: !ruby/object:Gem::Requirement
255
255
  requirements:
256
256
  - - "~>"
257
257
  - !ruby/object:Gem::Version
258
- version: '1.5'
258
+ version: '12.0'
259
259
  - !ruby/object:Gem::Dependency
260
260
  name: reek
261
261
  requirement: !ruby/object:Gem::Requirement
@@ -270,34 +270,48 @@ dependencies:
270
270
  - - "~>"
271
271
  - !ruby/object:Gem::Version
272
272
  version: '4.7'
273
+ - !ruby/object:Gem::Dependency
274
+ name: rspec
275
+ requirement: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: '3.7'
280
+ type: :development
281
+ prerelease: false
282
+ version_requirements: !ruby/object:Gem::Requirement
283
+ requirements:
284
+ - - "~>"
285
+ - !ruby/object:Gem::Version
286
+ version: '3.7'
273
287
  - !ruby/object:Gem::Dependency
274
288
  name: rubocop
275
289
  requirement: !ruby/object:Gem::Requirement
276
290
  requirements:
277
291
  - - "~>"
278
292
  - !ruby/object:Gem::Version
279
- version: '0.49'
293
+ version: '0.51'
280
294
  type: :development
281
295
  prerelease: false
282
296
  version_requirements: !ruby/object:Gem::Requirement
283
297
  requirements:
284
298
  - - "~>"
285
299
  - !ruby/object:Gem::Version
286
- version: '0.49'
300
+ version: '0.51'
287
301
  - !ruby/object:Gem::Dependency
288
- name: codeclimate-test-reporter
302
+ name: wirb
289
303
  requirement: !ruby/object:Gem::Requirement
290
304
  requirements:
291
305
  - - "~>"
292
306
  - !ruby/object:Gem::Version
293
- version: '1.0'
307
+ version: '2.1'
294
308
  type: :development
295
309
  prerelease: false
296
310
  version_requirements: !ruby/object:Gem::Requirement
297
311
  requirements:
298
312
  - - "~>"
299
313
  - !ruby/object:Gem::Version
300
- version: '1.0'
314
+ version: '2.1'
301
315
  description:
302
316
  email:
303
317
  - brooke@alchemists.io
@@ -341,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
341
355
  version: '0'
342
356
  requirements: []
343
357
  rubyforge_project:
344
- rubygems_version: 2.6.12
358
+ rubygems_version: 2.6.14
345
359
  signing_key:
346
360
  specification_version: 4
347
361
  summary: A command line interface for generating table of contents for Markdown files.
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- �趒�@d�_�()M��ф��̑�ck
2
- J�PX�������T��4���WJ���`6Y>�eOvlst1Nr}o��
3
- ��9-PX4�k� c���[�ɽLvSLj���3�@�Ykj��G����U��V�&Z�^ �3*�P�p�U��S��&�Bϙ���}��-q�� �P��"*G��h�\B���X�%
1
+
2
+ ���� ���� ����֚#B)�Ќ�y��holP��Ë?'nO9+d��uҺ�*>JeFۯ�X{IQr��x���+����pj�&���) ���΁7C�Nw�yC����8���0%��z�#�?