jekyll_bootstrap5_tabs 1.0.0 → 1.1.2

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: 63ce06f23eb1d77f84b9d67685742a46d0eabc7adf6debb4eef596ba73681300
4
- data.tar.gz: e11c0c59467faa3d38f96006f7b5bb88ef980baac765f602414274f9bbfa760e
3
+ metadata.gz: 28fd4c1bfea6a0eaa6797e534f7d27306b2c5495b2ba0a1d46e9966c62d00a27
4
+ data.tar.gz: ac3490bae9d5687b9970e3cb1a86a967915d0f144aa3c6cffe886da5121cb4ae
5
5
  SHA512:
6
- metadata.gz: 83fdc5c10c81e75a6e97303888b2e09ea54f644722363c81d77b2b068310315377c770a81f95c526f1a32fbdbc93192f59f2c0cbff64706dc8ad0b38cad1d912
7
- data.tar.gz: c8f51ac97da8afee5d108b2d8b8d9bd27c3a801cc83db6b36d4d2b1213db04f3c52a9172b067cde867ad2c7947c54df3d43de2b909f27996c2e132f910b800ee
6
+ metadata.gz: 821bee28ac628ac5b21ad3d22318270cc37b95c6807229b636e2e0264069c775cf6f223bd23a6cf3cfb740a7dfb379be5f487cd444fd79c9b9e5d747b376dc82
7
+ data.tar.gz: f46f84f70228d8f545e25075e942c1d58fd42b1cd29c8dd5130570d80b52b5a7531bee01860aa9a325edbb854705146e8ac956ff7b2bc0ec07c27d24cfbe0a7d
data/.rubocop.yml ADDED
@@ -0,0 +1,16 @@
1
+ require: rubocop-jekyll
2
+ inherit_gem:
3
+ rubocop-jekyll: .rubocop.yml
4
+
5
+ AllCops:
6
+ Exclude:
7
+ - vendor/**/*
8
+ - Gemfile*
9
+ NewCops: enable
10
+ TargetRubyVersion: 2.6
11
+
12
+ Layout/LineLength:
13
+ Max: 150
14
+
15
+ Style/StringLiterals:
16
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,31 @@
1
+ ## 1.1.1 / 2022-03-14
2
+ * Using `Jekyll.logger` instead of `puts`
3
+
4
+ ## 1.1.0 / 2022-03-13
5
+ * Added support for controlling pretty-printed output in `_config.yml`:
6
+ ```yml
7
+ jekyll_bootstrap5_tabs
8
+ -pretty_print: true
9
+ ```
10
+
11
+ ## 1.0.0 / 2022-03-13
12
+ * Mike Slinn forked the project
13
+ * Made into a Ruby gem and published on RubyGems.org as [jekyll_pre](https://rubygems.org/gems/jekyll_pre).
14
+ * `bin/attach` script added for debugging
15
+ * Rubocop standards added
16
+ * Proper versioning and CHANGELOG.md added
17
+
18
+ ## 0.1.6 2021-02-28
19
+
20
+ ## 0.1.5 2021-02-28
21
+
22
+ ## 0.1.4 2021-02-28
23
+
24
+ ## 0.1.3 2021-02-28
25
+
26
+ ## 0.1.2 2021-02-28
27
+
28
+ ## 0.1.1 2021-02-28
29
+
30
+ ## 0.1.0 2021-02-28
31
+ * Initial version published
data/README.md CHANGED
@@ -2,15 +2,21 @@ Jekyll Bootstrap 5 Tabs
2
2
  [![Gem Version](https://badge.fury.io/rb/jekyll_bootstrap5_tabs.svg)](https://badge.fury.io/rb/jekyll_bootstrap5_tabs)
3
3
  ===========
4
4
 
5
+ <img src="docs/tabDemo.gif" width="500" height="auto" />
6
+
5
7
  The original version, written by Artur Gabitov, expected Markdown and Bootstrap 4.
6
- This version requires Bootstrap 5 and HTML, not Markdown.
8
+ [This version](https://rubygems.org/gems/jekyll_bootstrap5_tabs) requires Bootstrap 5 and HTML, not Markdown.
9
+
10
+ More information is available on my web site about
11
+ [this Jekyll plugin](https://www.mslinn.com/blog/2022/02/13/jekyll-gem.html)
12
+ and [my other Jekyll plugins](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).
7
13
 
8
14
 
9
15
  ## Installation
10
16
 
11
17
  Add this to your project's `Gemfile`:
12
18
  ```ruby
13
- gem "jekyll_bootstrap5_tabs"
19
+ gem 'jekyll_bootstrap5_tabs'
14
20
  ```
15
21
 
16
22
  Add this to your project's `_config.yml`:
@@ -26,40 +32,56 @@ And then execute:
26
32
 
27
33
  Or install it yourself as:
28
34
 
29
- $ gem install jekyll-simple-tab5
35
+ $ gem install jekyll_bootstrap5_tabs
30
36
 
31
37
 
32
38
  ## Usage
33
39
 
34
- Bootstrap 5 is required. One way to include Bootstrap 5 in your project is to add the following HTML into the &lt;head> tag:
40
+ Bootstrap 5 is required.
41
+ One way to include Bootstrap 5 into a page within your project is to add the following HTML into the `<head/>` tag:
35
42
  ```html
36
43
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
37
44
  integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
38
45
  ```
39
- ...and add this to the bottom of the HTML file:
46
+ ...and add this to the bottom of the HTML file, within the `<body/>` tag:
40
47
  ```html
41
48
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
42
49
  ```
43
50
 
44
51
  See this [working minimal Bootstrap 5 tab example](https://codepen.io/mslinn/pen/OJOjVPR)
45
52
 
46
- For example, given the following content in a Jekyll page:
53
+
54
+ ## Two New Liquid Tags
55
+ The `jekyll_bootstrap5_tabs` plugin provides two new Liquid tags: `tabs` and `tab`.
56
+ Jekyll interprets the Liquid language when embedded into HTML pages.
57
+
58
+ For example, given the following content in a Jekyll page that has
59
+ [minimal front matter](https://jekyllrb.com/docs/front-matter/):
47
60
  ```
48
61
  ---
49
62
  ---
50
- {% tabs test %}
51
- {% tab test#home %}
63
+ {% tabs demo %}
64
+ {% tab demo#Home %}
52
65
  Home at last!
53
66
  {% endtab %}
54
- {% tab test#profile %}
67
+ {% tab demo#Profile %}
55
68
  Profile meeee...
56
69
  {% endtab %}
57
- {% tab test#messages %}
70
+ {% tab demo#Messages %}
58
71
  Messages - I have none
59
72
  {% endtab %}
60
73
  {% endtabs %}
61
74
  ```
62
- The jekyll_bootstrap5_tabs plugin will generate code similar to this:
75
+ The outer tabs tag has a name: `demo`.
76
+ Conceptually, this name defines a namespace scope for the inner `tab` tags, but actually this version does not use the name for any purpose.
77
+ The inner `tab` tags reference the outer `tabs` tag (yes, this is redundant),
78
+ and introduces the name of the tab that it defines after the octothorpe (aka hash mark, number sign, and pound sign: #). A Bootstrap 5 tab is created for every `tab` tag, and the `id` for each `tag` is defined by the characters following the octothorpe.
79
+ This `id` is also displayed as the label for the `tab`, so if you want it capitalized a certain way, specify the tag capitalization in the `tab` tag.
80
+
81
+ The current implementation does not allow spaces within tab labels.
82
+ Instead, tab labels may only consist of one word each.
83
+
84
+ The `jekyll_bootstrap5_tabs` plugin will generate code similar to the following.
63
85
  ```html
64
86
  <ul class="nav nav-tabs">
65
87
  <li class="nav-item">
@@ -74,13 +96,38 @@ The jekyll_bootstrap5_tabs plugin will generate code similar to this:
74
96
  </ul>
75
97
 
76
98
  <div class="tab-content">
77
- <div class="tab-pane active" id="home" aria-labelledby="home-tab">Home at last!</div>
78
- <div class="tab-pane" id="profile" aria-labelledby="profile-tab">Profile meeee...</div>
79
- <div class="tab-pane" id="messages" aria-labelledby="messages-tab">Messages - I have none</div>
99
+ <div class="tab-pane active" id="home" aria-labelledby="home-tab">
100
+ <editor_fold Home>
101
+ Home at last!
102
+ </editor_fold>
103
+ </div>
104
+ <div class="tab-pane" id="profile" aria-labelledby="profile-tab">
105
+ <editor_fold Profile>
106
+ Profile meeee...
107
+ </editor_fold>
108
+ </div>
109
+ <div class="tab-pane" id="messages" aria-labelledby="messages-tab">
110
+ <editor_fold Messages>
111
+ Messages - I have none
112
+ </editor_fold>
113
+ </div>
80
114
  </div>
81
115
  ```
82
116
 
83
- ![Image](docs/tab-screen.gif)
117
+ ### New for Version 1.1.0
118
+ By default, the plugin output is not pretty-printed.
119
+ However, you can enable pretty-printing for a single set of tabs by including the `pretty` keyword in the `tabs` tag, like this:
120
+ ```
121
+ {% tabs demo pretty %}
122
+ ... tab tags go here
123
+ {% endtabs%}
124
+ ```
125
+
126
+ You can enable pretty-printing for the entire Jekyll site by adding the following to `_config.yaml`:
127
+ ```yaml
128
+ jekyll_bootstrap5_tabs:
129
+ - pretty: true
130
+ ```
84
131
 
85
132
 
86
133
  ## Building
@@ -114,17 +161,65 @@ Done installing documentation for temple, slim, jekyll_bootstrap5_tabs after 0 s
114
161
 
115
162
  Now go use the gem in a Jekyll project!
116
163
 
164
+ ## Companion Project: Slim Explorer
165
+ I (Mike Slinn) wanted to understand more about how Artur Gabitov got the Slim language part to work.
166
+ He only provided the end result, without any hint of how he had accomplished this.
167
+ I took on the discovery of implementing a minimal development scaffold for the Slim Language.
168
+ Check out the [Slim Explorer](https://github.com/mslinn/slim_explorer)!
169
+
117
170
 
118
171
  ## Development
119
172
 
120
- After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
173
+ After checking out the repo, run `bin/setup` to install dependencies.
174
+
175
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
176
+
177
+
178
+ ### Build and Install Locally
179
+ To install this gem onto your local machine, run:
180
+ ```shell
181
+ $ rake install:local
182
+ ```
183
+
184
+ The following also does the same thing:
185
+ ```shell
186
+ $ bundle exec rake install
187
+ ```
188
+
189
+ Examine the newly built gem:
190
+ ```shell
191
+ $ gem info jekyll_bootstrap5_tabs
192
+
193
+ *** LOCAL GEMS ***
194
+
195
+ jekyll_bootstrap5_tabs (1.0.0)
196
+ Author: Mike Slinn
197
+ Homepage:
198
+ https://github.com/mslinn/jekyll_bootstrap5_tabs
199
+ License: MIT
200
+ Installed at: /home/mslinn/.gems
201
+
202
+ Jekyll plugin that enables Bootstrap 5 tabs in Jekyll 4 websites.
203
+ ```
121
204
 
122
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
205
+ ### Build and Push to RubyGems
206
+ To release a new version,
207
+ 1. Update the version number in `version.rb`.
208
+ 2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.
209
+ 3. Run the following:
210
+ ```shell
211
+ $ bundle exec rake release
212
+ ```
213
+ The above creates a git tag for the version, commits the created tag,
214
+ and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).
123
215
 
124
216
 
125
217
  ## Contributing
126
218
 
127
- Bug reports and pull requests are welcome on GitHub at https://github.com/mslinn/jekyll-simple-tab5.
219
+ 1. Fork the project
220
+ 2. Create a descriptively named feature branch
221
+ 3. Add your feature
222
+ 4. Submit a pull request
128
223
 
129
224
 
130
225
  ## License
data/Rakefile CHANGED
@@ -1,4 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
- task default: %i[]
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task :default => :spec
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/jekyll_bootstrap5_tabs/version"
4
+
5
+ # rubocop:disable Metrics/BlockLength
6
+ Gem::Specification.new do |spec|
7
+ github = "https://github.com/mslinn/jekyll_bootstrap5_tabs"
8
+
9
+ spec.authors = ["Artur Gabitov", "Mike Slinn"]
10
+ spec.bindir = "bin"
11
+ spec.description = <<~END_DESC
12
+ This Jekyll plugin enables Bootstrap 5 tabs in Jekyll 4 websites.
13
+ Two new Liquid tags are provided: tabs and tab.
14
+ END_DESC
15
+ spec.email = ["applifort@gmail.com", "mslinn@mslinn.com"]
16
+ spec.files = Dir[".rubocop.yml", "LICENSE.*", "Rakefile", "{lib,spec}/**/*", "*.gemspec", "*.md"]
17
+ spec.homepage = "https://mslinn.com/blog/2022/02/13/jekyll-gem.html"
18
+ spec.license = "MIT"
19
+ spec.metadata = {
20
+ "allowed_push_host" => "https://rubygems.org",
21
+ "bug_tracker_uri" => "#{github}/issues",
22
+ "changelog_uri" => "#{github}/CHANGELOG.md",
23
+ "homepage_uri" => spec.homepage,
24
+ "source_code_uri" => github,
25
+ }
26
+ spec.name = "jekyll_bootstrap5_tabs"
27
+ spec.post_install_message = <<~END_MESSAGE
28
+
29
+ Thanks for installing #{spec.name}!
30
+
31
+ END_MESSAGE
32
+ spec.require_paths = ["lib"]
33
+ spec.required_ruby_version = ">= 2.6.0"
34
+ spec.summary = "Jekyll plugin that enables Bootstrap 5 tabs in Jekyll 4 websites."
35
+ spec.version = JekyllBootstrap5Tabs::VERSION
36
+
37
+ spec.add_dependency "jekyll", ">= 3.5.0"
38
+ spec.add_dependency "jekyll_plugin_logger"
39
+ spec.add_dependency "slim", "~> 3.0"
40
+
41
+ spec.add_development_dependency "debase"
42
+ # spec.add_development_dependency "rubocop-jekyll"
43
+ # spec.add_development_dependency "rubocop-rake"
44
+ # spec.add_development_dependency "rubocop-rspec"
45
+ spec.add_development_dependency "ruby-debug-ide"
46
+ end
47
+ # rubocop:enable Metrics/BlockLength
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JekyllBootstrap5Tabs
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.2"
5
5
  end
@@ -1,60 +1,101 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'slim'
3
+ require "liquid"
4
+ require "jekyll_plugin_logger"
5
+ require "slim"
4
6
  require_relative "jekyll_bootstrap5_tabs/version"
5
7
 
6
8
  DEFAULT_TEMPLATE = 'template.slim'
7
9
 
8
- module JekyllBootstrap5Tabs
9
- # Handles the outer {% tabs %}{% endtabs %} Liquid block for Bootstrap 5
10
- class TabsBlock < Liquid::Block
11
- def initialize(tag, args, _)
12
- super
10
+ module JekyllBootstrap5Name
11
+ PLUGIN_NAME = "jekyll_bootstrap5_tabs"
12
+ end
13
13
 
14
- raise SyntaxError.new("#{tag} requires name") if args.empty?
14
+ # Handles the outer {% tabs %}{% endtabs %} Liquid block for Bootstrap 5
15
+ class TabsBlock < Liquid::Block
16
+ def initialize(tag, args, _)
17
+ super
15
18
 
16
- @tab_name = args.strip
17
- end
19
+ raise SyntaxError, "#{tag} requires name" if args.empty?
18
20
 
19
- def template_path(template_name)
20
- dir = File.dirname(__FILE__)
21
- File.join(dir, template_name.to_s)
22
- end
21
+ @logger = PluginMetaLogger.instance.new_logger(self)
23
22
 
24
- def render(context)
25
- @environment = context.environments.first
26
- super
23
+ argv = args.strip.split
24
+ @tab_name = argv[0] # TODO @tab_name is never used. Should act as a namespace.
27
25
 
28
- template_file_path = template_path(DEFAULT_TEMPLATE)
29
- template = Slim::Template.new(template_file_path)
30
- template.render(self)
26
+ # Usage can override default and enable pretty-printing, not possible to disable per-tab
27
+ @pretty_print = false
28
+ if argv.length > 1 && argv[1].casecmp('pretty').zero?
29
+ @pretty_print = true
30
+ @logger.info { "Bootstrap tab pretty-printing is enabled for #{@tab_name}" }
31
31
  end
32
32
  end
33
33
 
34
- # Handles the inner {% tab %}{% endtab %} Liquid block for Bootstrap 5
35
- class TabBlock < Liquid::Block
36
- def initialize(tag, args, _)
37
- super
34
+ # @param config [YAML] Configuration data that might contain a entry for `jekyll_bootstrap5_tabs`
35
+ # @param progname [String] The name of the `option:` subentry to look for underneath the `jekyll_bootstrap5_tabs` entry
36
+ # @return [TrueClass, FalseClass]
37
+ def check_config_boolean(config, _option)
38
+ tabs_options = config['jekyll_bootstrap5_tabs']
39
+ return false if tabs_options.nil?
38
40
 
39
- @tabs_group, @tab = split_params(args.strip)
40
- raise SyntaxError.new("Block #{tag} requires tabs name") if @tabs_group.empty? || @tab.empty?
41
- end
41
+ hash = tabs_options.detect { |opt| opt["pretty"] }
42
+ @logger.debug { "tabs_options = #{tabs_options}" }
43
+ @logger.debug { "hash = #{hash}" }
44
+ !hash.nil? && hash['pretty']
45
+ end
42
46
 
43
- def render(context)
44
- content = super
47
+ def template_path(template_name)
48
+ dir = File.dirname(__FILE__)
49
+ File.join(dir, template_name.to_s)
50
+ end
45
51
 
46
- environment = context.environments.first
47
- environment["tabs-#{@tabs_group}"] ||= {}
48
- environment["tabs-#{@tabs_group}"][@tab] = content
52
+ def render(context)
53
+ site = context.registers[:site]
54
+ # Set the pretty-print option for the Slim engine
55
+ # Global configuration provides the default value of @pretty_print
56
+ if check_config_boolean(site.config, 'pretty')
57
+ @pretty_print = true
58
+ @logger.info { "Bootstrap tab pretty-printing is enabled by default for the entire Jekyll site." }
49
59
  end
50
60
 
51
- private
61
+ @environment = context.environments.first # Has type Jekyll::Drops::UnifiedPayloadDrop
62
+ @logger.debug { "TabsBlock.render: @environment = '#{@environment}'" }
63
+ super
52
64
 
53
- def split_params(params)
54
- params.split('#')
55
- end
65
+ template_file_path = template_path(DEFAULT_TEMPLATE)
66
+ Slim::Engine.set_options :pretty => @pretty_print
67
+ template = Slim::Template.new(template_file_path)
68
+ template.render(self)
69
+ end
70
+ end
71
+
72
+ # Handles the inner {% tab %}{% endtab %} Liquid block for Bootstrap 5
73
+ class TabBlock < Liquid::Block
74
+ def initialize(tag, args, _)
75
+ super
76
+
77
+ @logger = PluginMetaLogger.instance.new_logger(self)
78
+
79
+ @tabs_group, @tab = split_params(args.strip)
80
+ @logger.debug { "TabBlock: @tabs_group = '#{@tabs_group}', @tab = '#{@tab}'" }
81
+ raise SyntaxError, "Block #{tag} requires tabs name" if @tabs_group.empty? || @tab.empty?
82
+ end
83
+
84
+ def render(context)
85
+ content = super
86
+
87
+ environment = context.environments.first # Has type Jekyll::Drops::UnifiedPayloadDrop
88
+ environment["tabs-#{@tabs_group}"] ||= {}
89
+ environment["tabs-#{@tabs_group}"][@tab] = content
90
+ end
91
+
92
+ private
93
+
94
+ def split_params(params)
95
+ params.split('#')
56
96
  end
57
97
  end
58
98
 
59
- Liquid::Template.register_tag('tabs', JekyllBootstrap5Tabs::TabsBlock)
60
- Liquid::Template.register_tag('tab', JekyllBootstrap5Tabs::TabBlock)
99
+ PluginMetaLogger.instance.info { "Loaded #{JekyllBootstrap5Name::PLUGIN_NAME} v#{JekyllBootstrap5Tabs::VERSION} plugin." }
100
+ Liquid::Template.register_tag('tabs', TabsBlock)
101
+ Liquid::Template.register_tag('tab', TabBlock)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_bootstrap5_tabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Gabitov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-02-14 00:00:00.000000000 Z
12
+ date: 2022-03-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -17,14 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '3.0'
20
+ version: 3.5.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
- version: '3.0'
27
+ version: 3.5.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: jekyll_plugin_logger
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: slim
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +53,37 @@ dependencies:
39
53
  - - "~>"
40
54
  - !ruby/object:Gem::Version
41
55
  version: '3.0'
42
- description: Enables Bootstrap 5 tabs in Jekyll 4 websites.
56
+ - !ruby/object:Gem::Dependency
57
+ name: debase
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: ruby-debug-ide
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ description: |
85
+ This Jekyll plugin enables Bootstrap 5 tabs in Jekyll 4 websites.
86
+ Two new Liquid tags are provided: tabs and tab.
43
87
  email:
44
88
  - applifort@gmail.com
45
89
  - mslinn@mslinn.com
@@ -47,24 +91,28 @@ executables: []
47
91
  extensions: []
48
92
  extra_rdoc_files: []
49
93
  files:
50
- - Gemfile
51
- - Gemfile.lock
94
+ - ".rubocop.yml"
95
+ - CHANGELOG.md
52
96
  - LICENSE.txt
53
97
  - README.md
54
98
  - Rakefile
55
- - docs/tab-screen.gif
99
+ - jekyll_bootstrap5_tabs.gemspec
56
100
  - lib/jekyll_bootstrap5_tabs.rb
57
101
  - lib/jekyll_bootstrap5_tabs/version.rb
58
102
  - lib/template.slim
59
- - pkg/jekyll_bootstrap5_tabs-1.0.0.gem
60
- - sig/jekyll_bootstrap5_tabs.rbs
61
103
  homepage: https://mslinn.com/blog/2022/02/13/jekyll-gem.html
62
104
  licenses:
63
105
  - MIT
64
106
  metadata:
107
+ allowed_push_host: https://rubygems.org
108
+ bug_tracker_uri: https://github.com/mslinn/jekyll_bootstrap5_tabs/issues
109
+ changelog_uri: https://github.com/mslinn/jekyll_bootstrap5_tabs/CHANGELOG.md
65
110
  homepage_uri: https://mslinn.com/blog/2022/02/13/jekyll-gem.html
66
111
  source_code_uri: https://github.com/mslinn/jekyll_bootstrap5_tabs
67
- post_install_message:
112
+ post_install_message: |2+
113
+
114
+ Thanks for installing jekyll_bootstrap5_tabs!
115
+
68
116
  rdoc_options: []
69
117
  require_paths:
70
118
  - lib
@@ -79,8 +127,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
127
  - !ruby/object:Gem::Version
80
128
  version: '0'
81
129
  requirements: []
82
- rubygems_version: 3.2.5
130
+ rubygems_version: 3.1.4
83
131
  signing_key:
84
132
  specification_version: 4
85
- summary: Jekyll plugin for Bootstrap 5 tabs
133
+ summary: Jekyll plugin that enables Bootstrap 5 tabs in Jekyll 4 websites.
86
134
  test_files: []
data/Gemfile DELETED
@@ -1,10 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
- # The gem's dependencies are specified in jekyll_bootstrap5_tabs.gemspec
8
- gemspec
9
-
10
- gem "rake", "~> 13.0"
data/Gemfile.lock DELETED
@@ -1,81 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- jekyll_bootstrap5_tabs (1.0.0)
5
- jekyll (>= 3.0)
6
- slim (~> 3.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- addressable (2.8.0)
12
- public_suffix (>= 2.0.2, < 5.0)
13
- colorator (1.1.0)
14
- concurrent-ruby (1.1.9)
15
- em-websocket (0.5.3)
16
- eventmachine (>= 0.12.9)
17
- http_parser.rb (~> 0)
18
- eventmachine (1.2.7)
19
- ffi (1.15.5)
20
- forwardable-extended (2.6.0)
21
- http_parser.rb (0.8.0)
22
- i18n (1.9.1)
23
- concurrent-ruby (~> 1.0)
24
- jekyll (4.2.1)
25
- addressable (~> 2.4)
26
- colorator (~> 1.0)
27
- em-websocket (~> 0.5)
28
- i18n (~> 1.0)
29
- jekyll-sass-converter (~> 2.0)
30
- jekyll-watch (~> 2.0)
31
- kramdown (~> 2.3)
32
- kramdown-parser-gfm (~> 1.0)
33
- liquid (~> 4.0)
34
- mercenary (~> 0.4.0)
35
- pathutil (~> 0.9)
36
- rouge (~> 3.0)
37
- safe_yaml (~> 1.0)
38
- terminal-table (~> 2.0)
39
- jekyll-sass-converter (2.1.0)
40
- sassc (> 2.0.1, < 3.0)
41
- jekyll-watch (2.2.1)
42
- listen (~> 3.0)
43
- kramdown (2.3.1)
44
- rexml
45
- kramdown-parser-gfm (1.1.0)
46
- kramdown (~> 2.0)
47
- liquid (4.0.3)
48
- listen (3.7.1)
49
- rb-fsevent (~> 0.10, >= 0.10.3)
50
- rb-inotify (~> 0.9, >= 0.9.10)
51
- mercenary (0.4.0)
52
- pathutil (0.16.2)
53
- forwardable-extended (~> 2.6)
54
- public_suffix (4.0.6)
55
- rake (13.0.6)
56
- rb-fsevent (0.11.1)
57
- rb-inotify (0.10.1)
58
- ffi (~> 1.0)
59
- rexml (3.2.5)
60
- rouge (3.28.0)
61
- safe_yaml (1.0.5)
62
- sassc (2.4.0)
63
- ffi (~> 1.9)
64
- slim (3.0.9)
65
- temple (>= 0.7.6, < 0.9)
66
- tilt (>= 1.3.3, < 2.1)
67
- temple (0.8.2)
68
- terminal-table (2.0.0)
69
- unicode-display_width (~> 1.1, >= 1.1.1)
70
- tilt (2.0.10)
71
- unicode-display_width (1.8.0)
72
-
73
- PLATFORMS
74
- x86_64-linux
75
-
76
- DEPENDENCIES
77
- jekyll_bootstrap5_tabs!
78
- rake (~> 13.0)
79
-
80
- BUNDLED WITH
81
- 2.3.5
data/docs/tab-screen.gif DELETED
Binary file
Binary file
@@ -1,4 +0,0 @@
1
- module JekyllBootstrap5Tabs
2
- VERSION: String
3
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
- end