jekyll-gists-meta 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3a0250bbb11f7c18a8c8fdce476dfaa167a1f13b
4
+ data.tar.gz: e84d5a9cd98230551acb4e5d11665070cd312ed4
5
+ SHA512:
6
+ metadata.gz: beebb47dc0d8f0dd8d1502cc56cc63b7244dc234a384a994e9c1378504a4c6db8d4ed2d6fcb0a0c3be9ca5c4bc0b567074173b68d3482f7392c198a64aea50f0
7
+ data.tar.gz: ad2959a65cfc02b1e2e24e9aa515217e0bd3a2aff3ed51651ddb88458f9c241e254cd272ca76b285fbaa92e1ab74649d2f0181cac68adfe792f79d18e086a3c9
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /scrap
10
+
11
+ # rspec failure tracking
12
+ .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,36 @@
1
+ inherit_gem:
2
+ jekyll: .rubocop.yml
3
+
4
+ AllCops:
5
+ TargetRubyVersion: 2.1
6
+ Include:
7
+ - lib/**/*.rb
8
+
9
+ Exclude:
10
+ - .gitignore
11
+ - .rspec
12
+ - .rubocop.yml
13
+ - .travis.yml
14
+ - History.md
15
+ - Gemfile.lock
16
+ - LICENSE.txt
17
+ - README.md
18
+ - script/**/*
19
+ - scrap/**/*
20
+
21
+ Lint/HandleExceptions:
22
+ Exclude:
23
+ - lib/jekyll/.rb
24
+
25
+ Metrics/BlockLength:
26
+ Exclude:
27
+ - spec/**/*
28
+
29
+ Metrics/LineLength:
30
+ Exclude:
31
+ - spec/**/*
32
+ - jekyll-gists-meta.gemspec
33
+
34
+ # has_key? and has_value? are more readable than key? and value?
35
+ Style/PreferredHashMethods:
36
+ Enabled: false
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.16.2
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at james.luberda@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,8 @@
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
+ # Specify your gem's dependencies in jekyll-gists-meta.gemspec
8
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,103 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jekyll-gists-meta (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ addressable (2.5.2)
10
+ public_suffix (>= 2.0.2, < 4.0)
11
+ ast (2.4.0)
12
+ colorator (1.1.0)
13
+ concurrent-ruby (1.0.5)
14
+ diff-lcs (1.3)
15
+ em-websocket (0.5.1)
16
+ eventmachine (>= 0.12.9)
17
+ http_parser.rb (~> 0.6.0)
18
+ eventmachine (1.2.7)
19
+ ffi (1.9.25)
20
+ forwardable-extended (2.6.0)
21
+ http_parser.rb (0.6.0)
22
+ i18n (0.9.5)
23
+ concurrent-ruby (~> 1.0)
24
+ jekyll (3.8.3)
25
+ addressable (~> 2.4)
26
+ colorator (~> 1.0)
27
+ em-websocket (~> 0.5)
28
+ i18n (~> 0.7)
29
+ jekyll-sass-converter (~> 1.0)
30
+ jekyll-watch (~> 2.0)
31
+ kramdown (~> 1.14)
32
+ liquid (~> 4.0)
33
+ mercenary (~> 0.3.3)
34
+ pathutil (~> 0.9)
35
+ rouge (>= 1.7, < 4)
36
+ safe_yaml (~> 1.0)
37
+ jekyll-sass-converter (1.5.2)
38
+ sass (~> 3.4)
39
+ jekyll-watch (2.0.0)
40
+ listen (~> 3.0)
41
+ kramdown (1.17.0)
42
+ liquid (4.0.0)
43
+ listen (3.1.5)
44
+ rb-fsevent (~> 0.9, >= 0.9.4)
45
+ rb-inotify (~> 0.9, >= 0.9.7)
46
+ ruby_dep (~> 1.2)
47
+ mercenary (0.3.6)
48
+ parallel (1.12.1)
49
+ parser (2.5.1.0)
50
+ ast (~> 2.4.0)
51
+ pathutil (0.16.1)
52
+ forwardable-extended (~> 2.6)
53
+ powerpack (0.1.2)
54
+ public_suffix (3.0.2)
55
+ rainbow (3.0.0)
56
+ rake (10.5.0)
57
+ rb-fsevent (0.10.3)
58
+ rb-inotify (0.9.10)
59
+ ffi (>= 0.5.0, < 2)
60
+ rouge (3.1.1)
61
+ rspec (3.7.0)
62
+ rspec-core (~> 3.7.0)
63
+ rspec-expectations (~> 3.7.0)
64
+ rspec-mocks (~> 3.7.0)
65
+ rspec-core (3.7.1)
66
+ rspec-support (~> 3.7.0)
67
+ rspec-expectations (3.7.0)
68
+ diff-lcs (>= 1.2.0, < 2.0)
69
+ rspec-support (~> 3.7.0)
70
+ rspec-mocks (3.7.0)
71
+ diff-lcs (>= 1.2.0, < 2.0)
72
+ rspec-support (~> 3.7.0)
73
+ rspec-support (3.7.1)
74
+ rubocop (0.55.0)
75
+ parallel (~> 1.10)
76
+ parser (>= 2.5)
77
+ powerpack (~> 0.1)
78
+ rainbow (>= 2.2.2, < 4.0)
79
+ ruby-progressbar (~> 1.7)
80
+ unicode-display_width (~> 1.0, >= 1.0.1)
81
+ ruby-progressbar (1.9.0)
82
+ ruby_dep (1.5.0)
83
+ safe_yaml (1.0.4)
84
+ sass (3.5.6)
85
+ sass-listen (~> 4.0.0)
86
+ sass-listen (4.0.0)
87
+ rb-fsevent (~> 0.9, >= 0.9.4)
88
+ rb-inotify (~> 0.9, >= 0.9.7)
89
+ unicode-display_width (1.4.0)
90
+
91
+ PLATFORMS
92
+ ruby
93
+
94
+ DEPENDENCIES
95
+ bundler (~> 1.16)
96
+ jekyll (~> 3.0)
97
+ jekyll-gists-meta!
98
+ rake (~> 10.0)
99
+ rspec (~> 3.0)
100
+ rubocop (~> 0.55.0)
101
+
102
+ BUNDLED WITH
103
+ 1.16.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 TODO: Write your name
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,69 @@
1
+ # Jekyll::Gists::Meta
2
+
3
+ A simple plugin for Jekyll that makes a call to the GitHub GraphQL API v4 to collect metadata for a user's gists and store it in a json file (`gists-meta-data.json`) in the Jekyll site `data_dir`.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'jekyll-gists-meta', group: :jekyll-plugins
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install jekyll-gists-meta
20
+
21
+ Then add the following to your site's `_config.yml`:
22
+
23
+ ```
24
+ plugins:
25
+ - jekyll-gists-meta
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ Because the GitHub GraphQL API requires an authorization token for access, you will need to ensure that the enviroment variable `JEKYLL_GITHUB_TOKEN` is set, i.e.
31
+
32
+ ```
33
+ JEKYLL_GITHUB_TOKEN=<token string here>
34
+ ```
35
+
36
+ in order for the query to work and make the metadata available.
37
+
38
+ By default the plugin will attempt to source a GitHub user login via the `github-metadata` plugin if installed. A user login may alternately be specified in the `_config.yml` file as `gists_user`. Any value here will supersede any value sourced from `github-metadata`.
39
+
40
+ The plugin will run when the server is started and create a JSON data file, `gists-meta-data.json`, of select GitHub metadata fields for a user's gists in the site's data directory, which is `./_data` by default. Gists appear in the file in descending order by creation date. The plugin overwrites any existing file of the same name.
41
+
42
+ Once the datafile is populated, you may access its contents within Jekyll using Liquid. For example, to list all gists in the file and linkify them:
43
+
44
+ ```liquid
45
+ {% if site.data.gists-meta-data %}
46
+ <section>
47
+ <h2>Gists</h2>
48
+ <ul>
49
+ {% for myedge in site.data.gists-meta-data.data.user.gists.edges %}
50
+ <li>
51
+ <a href="https://gist.github.com/{{ myedge.node.name }}">{{myedge.node.description}}</a>
52
+ </li>
53
+ {% endfor %}
54
+ </ul>
55
+ </section>
56
+ {% endif %}
57
+ ```
58
+
59
+ ## Contributing
60
+
61
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jamesluberda/jekyll-gists-meta. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
62
+
63
+ ## License
64
+
65
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
66
+
67
+ ## Code of Conduct
68
+
69
+ Everyone interacting in the Jekyll::Gists::Meta project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/jamesluberda/jekyll-gists-meta/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # frozen_string_literal: true
4
+
5
+ require "bundler/setup"
6
+ require "jekyll/gists/meta"
7
+
8
+ # (to use this, add pry to the Gemfile)
9
+ # require "pry"
10
+ # Pry.start
11
+
12
+ require "irb"
13
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+
3
+ # lib = File.expand_path("../lib", __FILE__)
4
+ lib = File.expand_path("lib", __dir__)
5
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
+ require "jekyll/gists/meta/version"
7
+
8
+ Gem::Specification.new do |spec|
9
+ spec.name = "jekyll-gists-meta"
10
+ spec.version = Jekyll::Gists::Meta::VERSION
11
+ spec.authors = ["James Luberda"]
12
+ spec.email = ["james.luberda@gmail.com"]
13
+
14
+ spec.summary = "Generates a json data file for Jekyll containing metadata about a user's gists"
15
+ spec.homepage = "https://github.com/jamesluberda/jekyll-gists-meta"
16
+ spec.license = "MIT"
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r!^(test|spec|features)/!) }
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r!^exe/!) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.16"
24
+ spec.add_development_dependency "jekyll", "~> 3.0"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec", "~> 3.0"
27
+ spec.add_development_dependency "rubocop", "~> 0.55.0"
28
+ end
@@ -0,0 +1,127 @@
1
+ # frozen_string_literal: true
2
+
3
+ # this started out as a Generator, but I quickly realized that
4
+ # the processing of the data directory takes place before any
5
+ # generators run, thus recast it with an after_init hook
6
+
7
+ # see how github-metadata fails gracefully when it cannot reach github
8
+
9
+ require "jekyll/gists/meta/version"
10
+ require "net/http"
11
+
12
+ NoUserError = Class.new(Jekyll::Errors::FatalException)
13
+ NoTokenError = Class.new(Jekyll::Errors::FatalException)
14
+ NoDataDirError = Class.new(Jekyll::Errors::FatalException)
15
+
16
+ module Jekyll
17
+ module Gists
18
+ module Meta
19
+ class << self
20
+ def generate(site)
21
+ validate_environment(site)
22
+ filename = "gists-meta-data.json"
23
+ file = File.new(File.join(site.config["data_dir"], filename), "w")
24
+ file.write fetch_data(build_gists_query(site))
25
+ file.close
26
+ end
27
+
28
+ private
29
+ def validate_environment(site)
30
+ if ENV["JEKYLL_GITHUB_TOKEN"].to_s.empty?
31
+ raise NoTokenError, "No GitHub Token found. Cannot query the API. " \
32
+ "Specify JEKYLL_GITHUB_TOKEN in environment."
33
+ end
34
+ unless Dir.exist?(site.config["data_dir"])
35
+ raise NoDataDirError, "Data directory does not exist. Jekyll reports " \
36
+ "directory should be: #{site.config["data_dir"]}."
37
+ end
38
+ end
39
+
40
+ private
41
+ def fetch_data(query)
42
+ url = "https://api.github.com/graphql"
43
+ uri = URI(url)
44
+ Net::HTTP.start(uri.host, uri.port,
45
+ :use_ssl => uri.scheme == "https",
46
+ :read_timeout => 3, :open_timeout => 3) do |http|
47
+ request = Net::HTTP::Post.new uri.to_s
48
+ request.add_field "Authorization", "bearer #{ENV["JEKYLL_GITHUB_TOKEN"]}"
49
+ request.body = query
50
+ response = http.request(request)
51
+ response.body
52
+ end
53
+ rescue Timeout::Error, SocketError, Net::HTTPError
54
+ nil
55
+ end
56
+
57
+ private
58
+ # rubocop:disable Metrics/MethodLength
59
+ def build_gists_query(site)
60
+ user = find_user(site)
61
+ query = +<<-EOS
62
+ {
63
+ "query": "query {
64
+ user (login: #{user} ) {
65
+ gists (first: 100, orderBy: {field: CREATED_AT, direction: DESC} ) {
66
+ edges {
67
+ node {
68
+ comments (first: 100) {
69
+ totalCount
70
+ }
71
+ createdAt
72
+ description
73
+ isPublic
74
+ name
75
+ pushedAt
76
+ stargazers (first: 100) {
77
+ totalCount
78
+ }
79
+ updatedAt
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }"
85
+ }
86
+ EOS
87
+ query.tr!("\n", " ").freeze
88
+ end
89
+ # rubocop:enable Metrics/MethodLength
90
+
91
+ private
92
+ def build_user_query
93
+ query = +<<-EOS
94
+ {
95
+ "query": "query {
96
+ viewer {
97
+ login
98
+ }
99
+ }"
100
+ }
101
+ EOS
102
+ query.tr!("\n", " ").freeze
103
+ end
104
+
105
+ private
106
+ # rubocop:disable Style/MultilineTernaryOperator
107
+ def find_user(site)
108
+ site.config["gists_user"] || \
109
+ (site.config.has_key?("github") ? \
110
+ site.config["github"]["contributors"][0]["login"] : nil) || \
111
+ proc do
112
+ raise NoUserError, "No user name found. " \
113
+ "Specify using 'gists_user' in your configuration, " \
114
+ "or ensure the github-metadata gem is installed. "
115
+ end.call
116
+ end
117
+ # rubocop:enable Style/MultilineTernaryOperator
118
+ end
119
+ end
120
+ end
121
+ end
122
+
123
+ Jekyll::Hooks.register :site, :after_init, :priority => :low do |site|
124
+ Jekyll.logger.debug "Jekyll-Gists-Meta:", \
125
+ "Generating gists data file in #{site.config["data_dir"]}"
126
+ Jekyll::Gists::Meta.generate(site)
127
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Jekyll
4
+ module Gists
5
+ module Meta
6
+ VERSION = "0.1.0".freeze
7
+ end
8
+ end
9
+ end
data/script/cibuild ADDED
@@ -0,0 +1,5 @@
1
+ #! /usr/bin/env bash
2
+ set -e
3
+
4
+ script/fmt
5
+ bundle exec rspec
data/script/fmt ADDED
@@ -0,0 +1,8 @@
1
+ #!/bin/bash
2
+ echo "Rubocop $(bundle exec rubocop --version)"
3
+ bundle exec rubocop -D $@
4
+ success=$?
5
+ if ((success != 0)); then
6
+ echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
7
+ fi
8
+ exit $success
metadata ADDED
@@ -0,0 +1,132 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-gists-meta
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - James Luberda
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-07-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: jekyll
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.55.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.55.0
83
+ description:
84
+ email:
85
+ - james.luberda@gmail.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - ".gitignore"
91
+ - ".rspec"
92
+ - ".rubocop.yml"
93
+ - ".travis.yml"
94
+ - CODE_OF_CONDUCT.md
95
+ - Gemfile
96
+ - Gemfile.lock
97
+ - LICENSE.txt
98
+ - README.md
99
+ - Rakefile
100
+ - bin/console
101
+ - bin/setup
102
+ - jekyll-gists-meta.gemspec
103
+ - lib/jekyll/gists/meta.rb
104
+ - lib/jekyll/gists/meta/version.rb
105
+ - script/cibuild
106
+ - script/fmt
107
+ homepage: https://github.com/jamesluberda/jekyll-gists-meta
108
+ licenses:
109
+ - MIT
110
+ metadata: {}
111
+ post_install_message:
112
+ rdoc_options: []
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ requirements: []
126
+ rubyforge_project:
127
+ rubygems_version: 2.6.14
128
+ signing_key:
129
+ specification_version: 4
130
+ summary: Generates a json data file for Jekyll containing metadata about a user's
131
+ gists
132
+ test_files: []