jekyll-toc 0.4.0.rc2 → 0.4.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: 81dc11ec036241d6eed38ef5cddd5014ed2d12d7
4
- data.tar.gz: 98c037df71e8684555a75f36fb29bdddf4826189
3
+ metadata.gz: 4ee3560e2836d7f495f8fe64f4c69edaf6e49c20
4
+ data.tar.gz: cd52bc52d78d47eb963c8e6f9161e0398f478ca7
5
5
  SHA512:
6
- metadata.gz: 532db0dafa5253716f397e257b5256091e826a98be80644d5b089809e124bc5c9ab76f339786840f54259443ab821fee9ce6d4863c2f331aabda75dcad9e9a1c
7
- data.tar.gz: bfd2b4fc0a808179e2e5d1caf2e535610e4ae6702733706b9e5e83e327c11d89a7aca5cb8d4d313d6e4e7388a10bc73b8423392cb931f89b1be03122657dc6ab
6
+ metadata.gz: bebc90760a20a6d048930811d15e5fb8c9f0913a6dcc15493a898671ea904e7a3cc604f837b9c8308b6f584f8f9d9db443565fad1adf27ca7e3e76dbd0f91193
7
+ data.tar.gz: 56db9b9ef09e981f8eb91c7e2587ca7756492dd3500238726e3174078253da5159b88c6f54aa6f356a43f7cf88cbe8d14e9ce749087c4f39f5a05d574912c743
@@ -13,7 +13,6 @@ gemfile:
13
13
  - gemfiles/jekyll_3.3.gemfile
14
14
  - gemfiles/jekyll_3.2.gemfile
15
15
  - gemfiles/jekyll_3.1.gemfile
16
- - gemfiles/jekyll_3.gemfile
17
16
  addons:
18
17
  code_climate:
19
18
  repo_token: 6b81e393ea6ad38560386f650ea2fb0e57a7beb5e20f8c8364fabee30d5bff07
data/Appraisals CHANGED
@@ -3,25 +3,21 @@ appraise "jekyll-3.6" do
3
3
  end
4
4
 
5
5
  appraise "jekyll-3.5" do
6
- gem "jekyll", "3.5.1"
6
+ gem "jekyll", "3.5"
7
7
  end
8
8
 
9
9
  appraise "jekyll-3.4" do
10
- gem "jekyll", "3.4.3"
10
+ gem "jekyll", "3.4"
11
11
  end
12
12
 
13
13
  appraise "jekyll-3.3" do
14
- gem "jekyll", "3.3.1"
14
+ gem "jekyll", "3.3"
15
15
  end
16
16
 
17
17
  appraise "jekyll-3.2" do
18
- gem "jekyll", "3.2.1"
18
+ gem "jekyll", "3.2"
19
19
  end
20
20
 
21
21
  appraise "jekyll-3.1" do
22
- gem "jekyll", "3.1.2"
23
- end
24
-
25
- appraise "jekyll-3" do
26
- gem "jekyll", "3.0.3"
22
+ gem "jekyll", "3.1"
27
23
  end
data/README.md CHANGED
@@ -17,10 +17,12 @@ gem 'jekyll-toc'
17
17
  Add jekyll-toc to the `gems:` section in your site's `_config.yml`.
18
18
 
19
19
  ```yml
20
- gems:
20
+ plugins:
21
21
  - jekyll-toc
22
22
  ```
23
23
 
24
+ **NOTE: If you're using older Jekyll version(v3.4 or earlier), use `gems` instead of `plugins`.**
25
+
24
26
  Set `toc: true` in posts for which you want the TOC to appear.
25
27
 
26
28
  ```yml
@@ -76,8 +78,6 @@ location with the `toc_only` filter.
76
78
 
77
79
  jekyll-toc generates an unordered list. The final output is as follows.
78
80
 
79
- **Heads-up**: As of v0.3, nested toc has been supported. If you update jekyll-toc from 0.2 to 0.3, please check [upgrade guide](https://github.com/toshimaru/jekyll-toc/wiki/0.3-Upgrade-Guide)
80
-
81
81
  ```html
82
82
  <ul class="section-nav">
83
83
  <li class="toc-entry toc-h1"><a href="#heading1">Heading.1</a>
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "jekyll", "3.1.2"
5
+ gem "jekyll", "3.1"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "jekyll", "3.2.1"
5
+ gem "jekyll", "3.2"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "jekyll", "3.3.1"
5
+ gem "jekyll", "3.3"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "jekyll", "3.4.3"
5
+ gem "jekyll", "3.4"
6
6
 
7
7
  gemspec :path => "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "jekyll", "3.5.1"
5
+ gem "jekyll", "3.5"
6
6
 
7
7
  gemspec :path => "../"
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency 'appraisal'
23
23
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
24
- spec.add_development_dependency 'jekyll', '>= 3.0'
24
+ spec.add_development_dependency 'jekyll', '>= 3.1'
25
25
  spec.add_development_dependency 'minitest', '~> 5.0'
26
26
  spec.add_development_dependency 'pry'
27
27
  spec.add_development_dependency 'rake'
@@ -1,3 +1,3 @@
1
1
  module JekyllToc
2
- VERSION = '0.4.0.rc2'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-toc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.rc2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - toshimaru
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-10-08 00:00:00.000000000 Z
12
+ date: 2017-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -59,14 +59,14 @@ dependencies:
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: '3.0'
62
+ version: '3.1'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.0'
69
+ version: '3.1'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: minitest
72
72
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +129,6 @@ files:
129
129
  - gemfiles/jekyll_3.4.gemfile
130
130
  - gemfiles/jekyll_3.5.gemfile
131
131
  - gemfiles/jekyll_3.6.gemfile
132
- - gemfiles/jekyll_3.gemfile
133
132
  - jekyll-toc.gemspec
134
133
  - lib/jekyll-toc.rb
135
134
  - lib/table_of_contents/parser.rb
@@ -155,9 +154,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
154
  version: 2.1.0
156
155
  required_rubygems_version: !ruby/object:Gem::Requirement
157
156
  requirements:
158
- - - ">"
157
+ - - ">="
159
158
  - !ruby/object:Gem::Version
160
- version: 1.3.1
159
+ version: '0'
161
160
  requirements: []
162
161
  rubyforge_project:
163
162
  rubygems_version: 2.6.13
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "jekyll", "3.0.3"
6
-
7
- gemspec :path => "../"