jekyll-react-component 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2e44c4e823fa84a4567f15e40288c8db710885bce4d95716f304caafd5e73e74
4
+ data.tar.gz: 31270a1e3017e51d709cb750717282234bc31963de78282e02d266279ceb2441
5
+ SHA512:
6
+ metadata.gz: 46b2cf9d2a5abf2244b9a042ecb5ae87652b22fd359176dd4561bc67ac77e81960d487b7bc45cf2c5458295aafff3931b1fa2359207f731828ec3e67f29b68c2
7
+ data.tar.gz: 38ce024efa0becc89b14628ced1fe6d96274c2ed2235e1eac225417925dcf8b406cc308549dad127eaa8420731db781889cb3d3a3b820e76649352698dd14430
@@ -0,0 +1,16 @@
1
+ name: Ruby
2
+
3
+ on: [push,pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - name: Set up Ruby
11
+ uses: ruby/setup-ruby@v1
12
+ with:
13
+ ruby-version: 3.0.2
14
+ bundler-cache: true
15
+ - name: Run the default task
16
+ run: bundle exec rake
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,16 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+ SuggestExtensions: false
4
+ NewCops: disable
5
+
6
+ Layout/LineLength:
7
+ Max: 100
8
+
9
+ Style/Documentation:
10
+ Enabled: false
11
+
12
+ Naming/FileName:
13
+ Exclude:
14
+ - lib/jekyll-react-component.rb
15
+
16
+ require: rubocop-rspec
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2021-08-28
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at grzegorz.jakubiak@outlook.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in jekyll-react-component.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rubocop', '~> 1.7'
11
+ gem 'rubocop-rspec', require: false
data/Gemfile.lock ADDED
@@ -0,0 +1,105 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jekyll-react-component (0.1.0)
5
+ activesupport (~> 6.1, >= 6.1.4.1)
6
+ jekyll
7
+ json-schema (~> 2.8, >= 2.8.1)
8
+ nokogiri (~> 1.12, >= 1.12.3)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ activesupport (6.1.4.1)
14
+ concurrent-ruby (~> 1.0, >= 1.0.2)
15
+ i18n (>= 1.6, < 2)
16
+ minitest (>= 5.1)
17
+ tzinfo (~> 2.0)
18
+ zeitwerk (~> 2.3)
19
+ addressable (2.8.0)
20
+ public_suffix (>= 2.0.2, < 5.0)
21
+ ast (2.4.2)
22
+ colorator (1.1.0)
23
+ concurrent-ruby (1.1.9)
24
+ ffi (1.15.3)
25
+ forwardable-extended (2.6.0)
26
+ i18n (1.8.10)
27
+ concurrent-ruby (~> 1.0)
28
+ jekyll (3.6.3)
29
+ addressable (~> 2.4)
30
+ colorator (~> 1.0)
31
+ jekyll-sass-converter (~> 1.0)
32
+ jekyll-watch (~> 1.1)
33
+ kramdown (~> 1.14)
34
+ liquid (~> 4.0)
35
+ mercenary (~> 0.3.3)
36
+ pathutil (~> 0.9)
37
+ rouge (>= 1.7, < 3)
38
+ safe_yaml (~> 1.0)
39
+ jekyll-sass-converter (1.5.2)
40
+ sass (~> 3.4)
41
+ jekyll-watch (1.5.1)
42
+ listen (~> 3.0)
43
+ json-schema (2.8.1)
44
+ addressable (>= 2.4)
45
+ kramdown (1.17.0)
46
+ liquid (4.0.3)
47
+ listen (3.7.0)
48
+ rb-fsevent (~> 0.10, >= 0.10.3)
49
+ rb-inotify (~> 0.9, >= 0.9.10)
50
+ mercenary (0.3.6)
51
+ minitest (5.14.4)
52
+ nokogiri (1.12.3-x86_64-linux)
53
+ racc (~> 1.4)
54
+ parallel (1.20.1)
55
+ parser (3.0.2.0)
56
+ ast (~> 2.4.1)
57
+ pathutil (0.16.2)
58
+ forwardable-extended (~> 2.6)
59
+ public_suffix (4.0.6)
60
+ racc (1.5.2)
61
+ rainbow (3.0.0)
62
+ rake (13.0.6)
63
+ rb-fsevent (0.11.0)
64
+ rb-inotify (0.10.1)
65
+ ffi (~> 1.0)
66
+ regexp_parser (2.1.1)
67
+ rexml (3.2.5)
68
+ rouge (2.2.1)
69
+ rubocop (1.20.0)
70
+ parallel (~> 1.10)
71
+ parser (>= 3.0.0.0)
72
+ rainbow (>= 2.2.2, < 4.0)
73
+ regexp_parser (>= 1.8, < 3.0)
74
+ rexml
75
+ rubocop-ast (>= 1.9.1, < 2.0)
76
+ ruby-progressbar (~> 1.7)
77
+ unicode-display_width (>= 1.4.0, < 3.0)
78
+ rubocop-ast (1.11.0)
79
+ parser (>= 3.0.1.1)
80
+ rubocop-rspec (2.4.0)
81
+ rubocop (~> 1.0)
82
+ rubocop-ast (>= 1.1.0)
83
+ ruby-progressbar (1.11.0)
84
+ safe_yaml (1.0.5)
85
+ sass (3.7.4)
86
+ sass-listen (~> 4.0.0)
87
+ sass-listen (4.0.0)
88
+ rb-fsevent (~> 0.9, >= 0.9.4)
89
+ rb-inotify (~> 0.9, >= 0.9.7)
90
+ tzinfo (2.0.4)
91
+ concurrent-ruby (~> 1.0)
92
+ unicode-display_width (2.0.0)
93
+ zeitwerk (2.4.2)
94
+
95
+ PLATFORMS
96
+ x86_64-linux
97
+
98
+ DEPENDENCIES
99
+ jekyll-react-component!
100
+ rake (~> 13.0)
101
+ rubocop (~> 1.7)
102
+ rubocop-rspec
103
+
104
+ BUNDLED WITH
105
+ 2.2.22
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Grzegorz Jakubiak
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
13
+ all 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
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # Jekyll React Component
2
+
3
+ Simple gem adding `react_component` tag to jekyll. It brings in React using import maps.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'jekyll-react-component'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install jekyll-react-component
20
+
21
+ ## Usage
22
+
23
+ Example Clock Component
24
+
25
+ ```
26
+ {% react_component {"name": "Clock", "props": {"dataTest": "test"}} %}
27
+ class Clock extends React.Component {
28
+ constructor(props) {
29
+ super(props);
30
+ this.state = {date: new Date()};
31
+ }
32
+
33
+ componentDidMount() {
34
+ this.timerID = setInterval(
35
+ () => this.tick(),
36
+ 1000
37
+ );
38
+ }
39
+
40
+ componentWillUnmount() {
41
+ clearInterval(this.timerID);
42
+ }
43
+
44
+ tick() {
45
+ this.setState({
46
+ date: new Date()
47
+ });
48
+ }
49
+
50
+ render() {
51
+ return html`
52
+ <div data-test="${this.props.dataTest}">
53
+ <h1>Witaj, świecie!</h1>
54
+ <h2>Aktualny czas: ${this.state.date.toLocaleTimeString()}.</h2>
55
+ </div>`;
56
+ }
57
+ }
58
+ {% endreact_component %}
59
+ ```
60
+
61
+ ## Contributing
62
+
63
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/jekyll-react-component. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/jekyll-react-component/blob/master/CODE_OF_CONDUCT.md).
64
+
65
+ ## License
66
+
67
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
68
+
69
+ ## Code of Conduct
70
+
71
+ Everyone interacting in the Jekyll::React::Components project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/jekyll-react-component/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+
5
+ require 'rubocop/rake_task'
6
+
7
+ RuboCop::RakeTask.new
8
+
9
+ task default: %i[rubocop]
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/jekyll-react-component/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'jekyll-react-component'
7
+ spec.version = Jekyll::ReactComponent::VERSION
8
+ spec.authors = ['Grzegorz Jakubiak']
9
+ spec.email = ['grzegorz.jakubiak@outlook.com']
10
+
11
+ spec.summary = 'Simple gem adding `react_component` tag to jekyll'
12
+ spec.homepage = 'https://github.com/grzegorz-jakubiak/jekyll-react-component'
13
+ spec.license = 'MIT'
14
+ spec.required_ruby_version = '>= 2.6.0'
15
+
16
+ spec.metadata['homepage_uri'] = spec.homepage
17
+ spec.metadata['source_code_uri'] = 'https://github.com/grzegorz-jakubiak/jekyll-react-component'
18
+ spec.metadata['changelog_uri'] = 'https://github.com/grzegorz-jakubiak/jekyll-react-component/blob/master/CHANGELOG.md'
19
+
20
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
22
+ end
23
+ spec.bindir = 'exe'
24
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ['lib']
26
+
27
+ spec.add_dependency 'activesupport', '~> 6.1', '>= 6.1.4.1'
28
+ spec.add_dependency 'jekyll'
29
+ spec.add_dependency 'json-schema', '~> 2.8', '>= 2.8.1'
30
+ spec.add_dependency 'nokogiri', '~> 1.12', '>= 1.12.3'
31
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'json'
4
+ require 'json-schema'
5
+ require 'active_support'
6
+ require 'active_support/core_ext/module'
7
+
8
+ class ReactComponent < Liquid::Block
9
+ class Params
10
+ COMPONENT_SCHEMA = JSON.parse(
11
+ File.open(
12
+ File.expand_path('../../../schemas/component.json', __dir__)
13
+ ).read
14
+ )
15
+ private_constant :COMPONENT_SCHEMA
16
+
17
+ delegate_missing_to :@params
18
+
19
+ def initialize(params)
20
+ JSON::Validator.validate!(COMPONENT_SCHEMA, params)
21
+ @params = JSON.parse(params, symbolize_names: true)
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support'
4
+ require 'active_support/core_ext/string'
5
+ require 'jekyll'
6
+ require 'json'
7
+ require_relative 'react_component/params'
8
+
9
+ class ReactComponent < Liquid::Block
10
+ def initialize(tag, params, tokens)
11
+ parse_params(params)
12
+ super
13
+ end
14
+
15
+ def render(context)
16
+ @code = super
17
+
18
+ <<~CODE
19
+ <div id="#{@id}"></div>
20
+ <script type="module">
21
+ import React from 'react';
22
+ import ReactDOM from 'react-dom';
23
+ import htm from 'htm';
24
+ const html = htm.bind(React.createElement);
25
+ #{@code}
26
+
27
+ ReactDOM.render(html`<${#{@name}} #{pass_props} />`, document.getElementById('#{@id}'));
28
+ </script>
29
+ CODE
30
+ end
31
+
32
+ private
33
+
34
+ def parse_params(params)
35
+ params = Params.new(params)
36
+ @name = params[:name]
37
+ @id = params.fetch(:id, @name.underscore.dasherize)
38
+ @props = params.fetch(:props, nil)
39
+ end
40
+
41
+ def pass_props
42
+ if @props.nil?
43
+ ''
44
+ else
45
+ "...${#{@props.to_json}}"
46
+ end
47
+ end
48
+ end
49
+
50
+ Liquid::Template.register_tag('react_component', ReactComponent)
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Jekyll
4
+ module ReactComponent
5
+ VERSION = '0.1.0'
6
+ end
7
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'jekyll'
4
+ require 'nokogiri'
5
+ require_relative 'jekyll-react-component/react_component'
6
+ require_relative 'jekyll-react-component/version'
7
+
8
+ Jekyll::Hooks.register [:pages, :posts], :post_render do |page|
9
+ html = page.output
10
+ doc = Nokogiri::HTML(html)
11
+ head = doc.at_css('head')
12
+ unless head.nil?
13
+ head << <<~CODE
14
+ <script async src="https://unpkg.com/es-module-shims@0.12.8/dist/es-module-shims.js"></script>
15
+ <script type="importmap">
16
+ {
17
+ "imports": {
18
+ "react": "https://esm.sh/react",
19
+ "react-dom": "https://esm.sh/react-dom",
20
+ "htm": "https://esm.sh/htm",
21
+ "assets/": "/assets/"
22
+ }
23
+ }
24
+ </script>
25
+ CODE
26
+ end
27
+
28
+ page.output = doc.to_html
29
+ end
@@ -0,0 +1,10 @@
1
+ {
2
+ "type": "object",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "properties": {
5
+ "name": { "type": "string" },
6
+ "id": { "type": "string" },
7
+ "props": { "type": "object" }
8
+ },
9
+ "required": ["name"]
10
+ }
metadata ADDED
@@ -0,0 +1,137 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-react-component
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Grzegorz Jakubiak
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '6.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 6.1.4.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '6.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 6.1.4.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: jekyll
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: json-schema
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.8'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.8.1
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - "~>"
62
+ - !ruby/object:Gem::Version
63
+ version: '2.8'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 2.8.1
67
+ - !ruby/object:Gem::Dependency
68
+ name: nokogiri
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '1.12'
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 1.12.3
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.12'
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: 1.12.3
87
+ description:
88
+ email:
89
+ - grzegorz.jakubiak@outlook.com
90
+ executables: []
91
+ extensions: []
92
+ extra_rdoc_files: []
93
+ files:
94
+ - ".github/workflows/main.yml"
95
+ - ".gitignore"
96
+ - ".rspec"
97
+ - ".rubocop.yml"
98
+ - CHANGELOG.md
99
+ - CODE_OF_CONDUCT.md
100
+ - Gemfile
101
+ - Gemfile.lock
102
+ - LICENSE.txt
103
+ - README.md
104
+ - Rakefile
105
+ - jekyll-react-component.gemspec
106
+ - lib/jekyll-react-component.rb
107
+ - lib/jekyll-react-component/react_component.rb
108
+ - lib/jekyll-react-component/react_component/params.rb
109
+ - lib/jekyll-react-component/version.rb
110
+ - schemas/component.json
111
+ homepage: https://github.com/grzegorz-jakubiak/jekyll-react-component
112
+ licenses:
113
+ - MIT
114
+ metadata:
115
+ homepage_uri: https://github.com/grzegorz-jakubiak/jekyll-react-component
116
+ source_code_uri: https://github.com/grzegorz-jakubiak/jekyll-react-component
117
+ changelog_uri: https://github.com/grzegorz-jakubiak/jekyll-react-component/blob/master/CHANGELOG.md
118
+ post_install_message:
119
+ rdoc_options: []
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: 2.6.0
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ requirements: []
133
+ rubygems_version: 3.2.22
134
+ signing_key:
135
+ specification_version: 4
136
+ summary: Simple gem adding `react_component` tag to jekyll
137
+ test_files: []