tocer 2.1.0 → 2.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
  SHA1:
3
- metadata.gz: ac24c13d33c311c26f78a2d2ff7e0b1879530229
4
- data.tar.gz: 5cfd0003a9c25046810c964f2e1e98ce9ccdb23b
3
+ metadata.gz: 6d6f4de19e4a6403124960e9d375e198fa9daf06
4
+ data.tar.gz: e3464b89eea4e39e59dcdd0ade592a4b844360e3
5
5
  SHA512:
6
- metadata.gz: 6357230e4a39dca32f34b7faf1629937e7aaf6d20a324f779a2d5ffd91755622c03a4ca6038989cb26d9a0c73d8ff7459e4b5c282b8b44bdd796f9c3f3e8b95c
7
- data.tar.gz: 5decd7f245812cc95155330896e2f9cb3c8c3ff26fb7a490a42fd122e282d19a119f4fffad2aaae329c3445fa2547691da78bc7322ec27e78f6fd666c7cbd269
6
+ metadata.gz: e7f9f7a37e026ead4ae41befac1fdf90bc816b8de15c54bdad195c731ca61331f8619ed2a19cf318b8b0a170ce79e7b767792434be7c51733df65258b92afc51
7
+ data.tar.gz: 0fb4dd79a0a936951e58be3fa261f881223bb0770e89d26531539ec2a8136bd6b5294672b3989d6981a6970ca7ea7cb99348c7968fa6edb54dc3bdfd23084bcb
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -46,7 +46,7 @@ Tocer (a.k.a. Table of Contenter) is command line interface for generating table
46
46
 
47
47
  For a secure install, type the following (recommended):
48
48
 
49
- gem cert --add <(curl -Ls https://www.my-website.com/gem-public.pem)
49
+ gem cert --add <(curl --location --silent https://www.alchemists.io/gem-public.pem)
50
50
  gem install tocer --trust-policy MediumSecurity
51
51
 
52
52
  NOTE: A HighSecurity trust policy would be best but MediumSecurity enables signed gem verification while
@@ -62,10 +62,10 @@ For an insecure install, type the following (not recommended):
62
62
 
63
63
  From the command line, type: `tocer help`
64
64
 
65
- tocer -e, [--edit] # Edit Tocer settings in default editor.
65
+ tocer -e, [--edit] # Edit gem settings in default editor.
66
66
  tocer -g, [--generate=GENERATE] # Generate table of contents.
67
67
  tocer -h, [--help=HELP] # Show this message or get help for a command.
68
- tocer -v, [--version] # Show Tocer version.
68
+ tocer -v, [--version] # Show gem version.
69
69
 
70
70
  To add Tocer support, add the following at the correct position within your Markdown files:
71
71
 
@@ -19,7 +19,7 @@ module Tocer
19
19
  end
20
20
 
21
21
  desc "-g, [--generate=GENERATE]", "Generate table of contents."
22
- map %w(-g --generate) => :generate
22
+ map %w[-g --generate] => :generate
23
23
  method_option :label, aliases: "-l", desc: "Custom label", type: :string, default: "# Table of Contents"
24
24
  def generate file_path
25
25
  update_configuration! options
@@ -27,24 +27,24 @@ module Tocer
27
27
  say "Generated table of contents: #{file_path}."
28
28
  end
29
29
 
30
- desc "-e, [--edit]", "Edit #{Tocer::Identity.label} settings in default editor."
31
- map %w(-e --edit) => :edit
30
+ desc "-e, [--edit]", "Edit gem settings in default editor."
31
+ map %w[-e --edit] => :edit
32
32
  def edit
33
33
  resource_file = File.join ENV["HOME"], Tocer::Identity.file_name
34
34
  info "Editing: #{resource_file}..."
35
35
  `#{editor} #{resource_file}`
36
36
  end
37
37
 
38
- desc "-v, [--version]", "Show #{Tocer::Identity.label} version."
39
- map %w(-v --version) => :version
38
+ desc "-v, [--version]", "Show gem version."
39
+ map %w[-v --version] => :version
40
40
  def version
41
41
  say Tocer::Identity.version_label
42
42
  end
43
43
 
44
44
  desc "-h, [--help=HELP]", "Show this message or get help for a command."
45
- map %w(-h --help) => :help
45
+ map %w[-h --help] => :help
46
46
  def help task = nil
47
- say && super
47
+ say and super
48
48
  end
49
49
 
50
50
  private
@@ -12,7 +12,7 @@ module Tocer
12
12
  end
13
13
 
14
14
  def self.version
15
- "2.1.0"
15
+ "2.2.0"
16
16
  end
17
17
 
18
18
  def self.version_label
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: 2.1.0
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -30,7 +30,7 @@ cert_chain:
30
30
  aSif+qBc6oHD7EQWPF5cZkzkIURuwNwPBngZGxIKaMAgRhjGFXzUMAaq++r59cS9
31
31
  xTfQ4k6fglKEgpnLAXiKdo2c8Ym+X4rIKFfedQ==
32
32
  -----END CERTIFICATE-----
33
- date: 2016-01-21 00:00:00.000000000 Z
33
+ date: 2016-04-24 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: thor
@@ -66,14 +66,14 @@ dependencies:
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
69
+ version: '2.2'
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: '2.0'
76
+ version: '2.2'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rake
79
79
  requirement: !ruby/object:Gem::Requirement
@@ -186,6 +186,62 @@ dependencies:
186
186
  - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
+ - !ruby/object:Gem::Dependency
190
+ name: bond
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ - !ruby/object:Gem::Dependency
204
+ name: wirb
205
+ requirement: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ - !ruby/object:Gem::Dependency
218
+ name: hirb
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ type: :development
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ - !ruby/object:Gem::Dependency
232
+ name: awesome_print
233
+ requirement: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ type: :development
239
+ prerelease: false
240
+ version_requirements: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
189
245
  - !ruby/object:Gem::Dependency
190
246
  name: rspec
191
247
  requirement: !ruby/object:Gem::Requirement
@@ -345,7 +401,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
345
401
  version: '0'
346
402
  requirements: []
347
403
  rubyforge_project:
348
- rubygems_version: 2.5.1
404
+ rubygems_version: 2.6.3
349
405
  signing_key:
350
406
  specification_version: 4
351
407
  summary: A command line interface for generating table of contents for Markdown files.
metadata.gz.sig CHANGED
Binary file