jekyll-tabs 1.1.0 → 1.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b542d01f26e5f9cc72769abff7065838da5c59b4aa4044d02abaa92c8a45ee44
4
- data.tar.gz: 396d97d17d7e3ba0680a08dc6f43aa52c64ae06dbee1223fd37b685b910bce7a
3
+ metadata.gz: 6c266623f115ba3a1622127faa6198a519ec07f088acf63eda6f3699ddcedc9d
4
+ data.tar.gz: 41a9a2a5a7900e78b74b26bf251ff78a997fd62bb4992e9b2adf37d7a57421aa
5
5
  SHA512:
6
- metadata.gz: ff42e2a0cb9ea91627c1979fa56ef54ab85492057d08350653ea52feabba4eb513519bb579deb0ad2395b0f49084283dacc445347363cfc7e2006b13d83d2ccf
7
- data.tar.gz: 261a87fd226df8a5d644386e63ba61c430e9ae9ef0bd130ca8a96d194505062cb20f0dee9b4191fff7f4f5e7332e8e6cdb09c0d9219c9a90e03b0cc0f1cba9f7
6
+ metadata.gz: a528f0a8014d0fa8c623fc364cd8d9a617d37a6fdd319c8fcbfd53580fb1e87e6e226e995bc2ad4c5a4c26acd7021ceb47fcbe04e8eb7a5412c80c200c116d6b
7
+ data.tar.gz: 712766d195a12f7db59a4fb78d086cd6199b9d50a392afc396f4c8cd4d372aec83a714a5dac6b70efc0ca0eaaa0193a4a8746a130b079e05edd7ea5d120e88de
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Baptiste Bouchereau
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -57,7 +57,7 @@ Include the script in your layout, for instance in **_layouts_/default.html**
57
57
 
58
58
  Feel free to style it the way you want. Here is an example.
59
59
 
60
- Create a file called **custom.css** in **public/css** with [this content](docs/tabs.css). Include it in **_include/head.html*
60
+ Create a file called **custom.css** in **public/css** with [this content](docs/tabs.css). Include it in **_include/head.html**
61
61
 
62
62
  ```html
63
63
  <link rel="stylesheet" href="/public/css/custom.css">
data/jekyll-tabs.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.description = 'Generate a tabbed interface on top of markup'
10
10
  spec.version = Jekyll::Tabs::VERSION
11
11
 
12
- spec.authors = ['Baptiste Bouchereau']
12
+ spec.authors = ['Nejc Zdovc', 'Baptiste Bouchereau']
13
13
  spec.email = ['baptiste.bouchereau@gmail.com']
14
14
  spec.homepage = 'https://github.com/ovski4/jekyll-tabs'
15
15
  spec.licenses = ['MIT']
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Tabs
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  end
data/lib/template.erb CHANGED
@@ -1,12 +1,12 @@
1
- <ul class="tab" data-tab="<%= uuid %>">
2
- <% environment["tabs-#{@name}"].each_with_index do |(key, value), index| %>
3
- <li<%= index == 0 ? ' class="active"' : ''%>>
4
- <a href=""><%= key %></a>
5
- </li>
6
- <% end %>
7
- </ul>
8
- <ul class="tab-content" id="<%= uuid %>">
9
- <% environment["tabs-#{@name}"].each_with_index do |(key, value), index| %>
10
- <li<%= index == 0 ? ' class="active"' : ''%>><%= value %></li>
11
- <% end %>
1
+ <ul class="tab" data-tab="<%= uuid %>" data-name="<%= @name %>">
2
+ <% environment["tabs-#{@name}"].each_with_index do |(key, value), index| %>
3
+ <li<%= index == 0 ? ' class="active"' : ''%>>
4
+ <a href="#"><%= key %></a>
5
+ </li>
6
+ <% end %>
7
+ </ul>
8
+ <ul class="tab-content" id="<%= uuid %>" data-name="<%= @name %>">
9
+ <% environment["tabs-#{@name}"].each_with_index do |(key, value), index| %>
10
+ <li<%= index == 0 ? ' class="active"' : ''%>><%= value %></li>
11
+ <% end %>
12
12
  </ul>
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-tabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
+ - Nejc Zdovc
7
8
  - Baptiste Bouchereau
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2020-02-03 00:00:00.000000000 Z
12
+ date: 2022-02-25 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: jekyll
@@ -38,6 +39,7 @@ extensions: []
38
39
  extra_rdoc_files: []
39
40
  files:
40
41
  - Gemfile
42
+ - LICENSE
41
43
  - README.md
42
44
  - docs/tabs-example.png
43
45
  - docs/tabs.css
@@ -65,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
67
  - !ruby/object:Gem::Version
66
68
  version: '0'
67
69
  requirements: []
68
- rubygems_version: 3.0.1
70
+ rubygems_version: 3.1.2
69
71
  signing_key:
70
72
  specification_version: 4
71
73
  summary: A Jekyll plugin to add tabs