jeql 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +99 -0
- data/LICENSE.txt +21 -0
- data/README.md +108 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/jeql.gemspec +38 -0
- data/lib/jeql.rb +9 -0
- data/lib/jeql/graphql_block.rb +25 -0
- data/lib/jeql/query.rb +30 -0
- data/lib/jeql/version.rb +3 -0
- metadata +145 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 4f6883fcb841dfb62585b86c98a77fa5b48ad7b8fe6ae481e43ac421f33c8883
|
4
|
+
data.tar.gz: 58bc0495a082837c99b26dc5d4b41c2335885feb4cb82930b7597187101a1f33
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5b3a6e05f3e77609cdf8035a7f47e98cab9b5ffafaecaf6650b1c63ad93ed2ebc35724953a1d249c964d4b20ebc2bb0173d16bf3a1acc1416d7ffd3b095ee0db
|
7
|
+
data.tar.gz: 7ebc446ad799e0f02bdb72da1ddb4e17f6611b0cc52f226b96f368c2004ff1de73d2f8c8d01c1fc3779396c678acd65e90f5980d24ca8387f9fd59ceb67d1508
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -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 flo@florianthomas.net. 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
data/Gemfile.lock
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
jeql (0.1.2)
|
5
|
+
faraday
|
6
|
+
jekyll (~> 3.7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
addressable (2.5.2)
|
12
|
+
public_suffix (>= 2.0.2, < 4.0)
|
13
|
+
colorator (1.1.0)
|
14
|
+
concurrent-ruby (1.0.5)
|
15
|
+
crack (0.4.3)
|
16
|
+
safe_yaml (~> 1.0.0)
|
17
|
+
diff-lcs (1.3)
|
18
|
+
em-websocket (0.5.1)
|
19
|
+
eventmachine (>= 0.12.9)
|
20
|
+
http_parser.rb (~> 0.6.0)
|
21
|
+
eventmachine (1.2.5)
|
22
|
+
faraday (0.14.0)
|
23
|
+
multipart-post (>= 1.2, < 3)
|
24
|
+
ffi (1.9.23)
|
25
|
+
forwardable-extended (2.6.0)
|
26
|
+
hashdiff (0.3.7)
|
27
|
+
http_parser.rb (0.6.0)
|
28
|
+
i18n (0.9.5)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
jekyll (3.7.2)
|
31
|
+
addressable (~> 2.4)
|
32
|
+
colorator (~> 1.0)
|
33
|
+
em-websocket (~> 0.5)
|
34
|
+
i18n (~> 0.7)
|
35
|
+
jekyll-sass-converter (~> 1.0)
|
36
|
+
jekyll-watch (~> 2.0)
|
37
|
+
kramdown (~> 1.14)
|
38
|
+
liquid (~> 4.0)
|
39
|
+
mercenary (~> 0.3.3)
|
40
|
+
pathutil (~> 0.9)
|
41
|
+
rouge (>= 1.7, < 4)
|
42
|
+
safe_yaml (~> 1.0)
|
43
|
+
jekyll-sass-converter (1.5.2)
|
44
|
+
sass (~> 3.4)
|
45
|
+
jekyll-watch (2.0.0)
|
46
|
+
listen (~> 3.0)
|
47
|
+
kramdown (1.16.2)
|
48
|
+
liquid (4.0.0)
|
49
|
+
listen (3.1.5)
|
50
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
51
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
52
|
+
ruby_dep (~> 1.2)
|
53
|
+
mercenary (0.3.6)
|
54
|
+
multipart-post (2.0.0)
|
55
|
+
pathutil (0.16.1)
|
56
|
+
forwardable-extended (~> 2.6)
|
57
|
+
public_suffix (3.0.2)
|
58
|
+
rake (10.5.0)
|
59
|
+
rb-fsevent (0.10.3)
|
60
|
+
rb-inotify (0.9.10)
|
61
|
+
ffi (>= 0.5.0, < 2)
|
62
|
+
rouge (3.1.1)
|
63
|
+
rspec (3.7.0)
|
64
|
+
rspec-core (~> 3.7.0)
|
65
|
+
rspec-expectations (~> 3.7.0)
|
66
|
+
rspec-mocks (~> 3.7.0)
|
67
|
+
rspec-core (3.7.1)
|
68
|
+
rspec-support (~> 3.7.0)
|
69
|
+
rspec-expectations (3.7.0)
|
70
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
+
rspec-support (~> 3.7.0)
|
72
|
+
rspec-mocks (3.7.0)
|
73
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
+
rspec-support (~> 3.7.0)
|
75
|
+
rspec-support (3.7.0)
|
76
|
+
ruby_dep (1.5.0)
|
77
|
+
safe_yaml (1.0.4)
|
78
|
+
sass (3.5.6)
|
79
|
+
sass-listen (~> 4.0.0)
|
80
|
+
sass-listen (4.0.0)
|
81
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
82
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
83
|
+
webmock (3.3.0)
|
84
|
+
addressable (>= 2.3.6)
|
85
|
+
crack (>= 0.3.2)
|
86
|
+
hashdiff
|
87
|
+
|
88
|
+
PLATFORMS
|
89
|
+
ruby
|
90
|
+
|
91
|
+
DEPENDENCIES
|
92
|
+
bundler (~> 1.16)
|
93
|
+
jeql!
|
94
|
+
rake (~> 10.0)
|
95
|
+
rspec (~> 3.0)
|
96
|
+
webmock
|
97
|
+
|
98
|
+
BUNDLED WITH
|
99
|
+
1.16.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Florian Thomas
|
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,108 @@
|
|
1
|
+
# jeql [![Build Status](https://travis-ci.org/Crunch09/jeql.svg?branch=master)](https://travis-ci.org/Crunch09/jeql)
|
2
|
+
|
3
|
+
## Installation
|
4
|
+
|
5
|
+
Add this to to your site's `Gemfile`:
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'jeql'
|
9
|
+
```
|
10
|
+
|
11
|
+
Add the following to your site's config file (usually `_config.yml`):
|
12
|
+
|
13
|
+
```yml
|
14
|
+
plugins:
|
15
|
+
- jeql
|
16
|
+
```
|
17
|
+
After this run `bundle install` within your site's directory.
|
18
|
+
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
### GraphQL endpoints
|
23
|
+
|
24
|
+
You need to define graphQL endpoints within your jekyll config. Within the key
|
25
|
+
`jeql` list all your providers in the format:
|
26
|
+
```yml
|
27
|
+
jeql:
|
28
|
+
provider_name:
|
29
|
+
url: "API_ENDPOINT_URL"
|
30
|
+
header:
|
31
|
+
Authorization: "HTTP AUTHORIZATION HEADER - SECRET"
|
32
|
+
```
|
33
|
+
An example config to access the graphQL - API from github would look like this:
|
34
|
+
```yml
|
35
|
+
jeql:
|
36
|
+
github:
|
37
|
+
url: "https://api.github.com/graphql"
|
38
|
+
header:
|
39
|
+
Authorization: "bearer my-secret-header"
|
40
|
+
```
|
41
|
+
**Attention**: Make sure to *not* commit authorization tokens in a public repository.
|
42
|
+
Instead make use of jekyll's multiple-config-file feature and add these tokens to a
|
43
|
+
private config file which is not checked into your version control system.
|
44
|
+
|
45
|
+
### GraphQL queries
|
46
|
+
|
47
|
+
Queries in `jeql` are specified as *json* files and live within the `_jeql` directory
|
48
|
+
of your jekyll site.
|
49
|
+
An example query file would have the following content:
|
50
|
+
```json
|
51
|
+
{
|
52
|
+
"query": "query { viewer { name repositories(last: 3){ nodes { name }} }}"
|
53
|
+
}
|
54
|
+
```
|
55
|
+
and would e.g. be stored as `/_jeql/last_touched_repositories.json`.
|
56
|
+
|
57
|
+
### Using it in liquid
|
58
|
+
|
59
|
+
After all this setup has been done you can now use the `graphql` block tag in your
|
60
|
+
template files.
|
61
|
+
The `graphql` tag expects two parameters:
|
62
|
+
- endpoint
|
63
|
+
- query
|
64
|
+
|
65
|
+
`endpoint` is the name of the graphQL - API endpoint as you have it defined in your
|
66
|
+
jekyll config file. `query` is the name of the file under `_jeql` in which you stored
|
67
|
+
the graphQL query that should be executed against the endpoint (withou the *.json* extension).
|
68
|
+
|
69
|
+
An example which uses the settings and query from the paragraphs above would look like this:
|
70
|
+
```html
|
71
|
+
{% graphql endpoint: "github", query: "last_touched_repositories" %}
|
72
|
+
...
|
73
|
+
{% endgraphql %}
|
74
|
+
```
|
75
|
+
Between the opening and closing `graphql` tag you have access to the variable `data`
|
76
|
+
which will contain the response of the graphQL query:
|
77
|
+
```html
|
78
|
+
<ul>
|
79
|
+
{% graphql endpoint: "github", query: "last_touched_repositories" %}
|
80
|
+
{% for repo in data["viewer"]["repositories"]["nodes"] %}
|
81
|
+
<li>{{repo["name"]}}</li>
|
82
|
+
{% endfor %}
|
83
|
+
{% endgraphql %}
|
84
|
+
</ul>
|
85
|
+
```
|
86
|
+
|
87
|
+
## Development
|
88
|
+
|
89
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
90
|
+
|
91
|
+
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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
92
|
+
|
93
|
+
## Contributing
|
94
|
+
|
95
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Crunch09/jeql. 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.
|
96
|
+
|
97
|
+
## License
|
98
|
+
|
99
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
100
|
+
|
101
|
+
## Code of Conduct
|
102
|
+
|
103
|
+
Everyone interacting in the jeql project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/Crunch09/jeql/blob/master/CODE_OF_CONDUCT.md).
|
104
|
+
|
105
|
+
## Inspirations
|
106
|
+
|
107
|
+
This gem was inspired by [github-metadata](https://github.com/jekyll/github-metadata) and
|
108
|
+
[jekyll-seo-tag](https://github.com/jekyll/jekyll-seo-tag).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "jeql"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/jeql.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "jeql/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "jeql"
|
8
|
+
spec.version = Jeql::VERSION
|
9
|
+
spec.authors = ["Florian Thomas"]
|
10
|
+
spec.email = ["flo@florianthomas.net"]
|
11
|
+
|
12
|
+
spec.summary = %q{jeql is a GraphQL plugin for jekyll}
|
13
|
+
spec.homepage = "https://github.com/Crunch09/jeql"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# To allow pushes either set the 'allowed_push_host'
|
17
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
18
|
+
if spec.respond_to?(:metadata)
|
19
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
20
|
+
else
|
21
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
22
|
+
"public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
f.match(%r{^(test|spec|features)/})
|
27
|
+
end
|
28
|
+
spec.bindir = "exe"
|
29
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
30
|
+
spec.require_paths = ["lib"]
|
31
|
+
|
32
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
33
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
34
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
35
|
+
spec.add_development_dependency "webmock"
|
36
|
+
spec.add_dependency "faraday"
|
37
|
+
spec.add_dependency "jekyll", "~> 3.7"
|
38
|
+
end
|
data/lib/jeql.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
class Jeql::GraphqlBlock < Liquid::Block
|
2
|
+
GraphQlError = Class.new(Jekyll::Errors::FatalException)
|
3
|
+
|
4
|
+
def initialize(tag_name, text, tokens)
|
5
|
+
super
|
6
|
+
@params = text.strip.split(',').map(&:strip).map{|s| s.gsub(%r!['"]!, '').split(':').map(&:strip)}
|
7
|
+
@text = text
|
8
|
+
end
|
9
|
+
|
10
|
+
def render(context)
|
11
|
+
hash_params = {}
|
12
|
+
@params.each {|k, v| hash_params[k] = v}
|
13
|
+
|
14
|
+
endpoint_config = context.registers[:site].config["jeql"][hash_params["endpoint"]]
|
15
|
+
query = Jeql::Query.new(hash_params["query"], context.registers[:site].config["source"], endpoint_config)
|
16
|
+
if query.response.success?
|
17
|
+
context['data'] = JSON.parse(query.response.body)['data']
|
18
|
+
super
|
19
|
+
else
|
20
|
+
raise GraphQlError, "The query #{query.query_name} failed"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
Liquid::Template.register_tag('graphql', Jeql::GraphqlBlock)
|
data/lib/jeql/query.rb
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
module Jeql
|
2
|
+
class Query
|
3
|
+
attr_reader :query_name
|
4
|
+
|
5
|
+
def initialize(query_name, source_dir, endpoint_config)
|
6
|
+
@query_name = query_name
|
7
|
+
@query_file = File.read File.expand_path "./_graphql/#{query_name}.json", source_dir
|
8
|
+
@endpoint_config = endpoint_config
|
9
|
+
end
|
10
|
+
|
11
|
+
def response
|
12
|
+
@memoized_responses ||= {}
|
13
|
+
@memoized_responses[@query_name] ||= execute
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def execute
|
19
|
+
conn = Faraday.new(url: @endpoint_config["url"], request: timeout_settings)
|
20
|
+
response = conn.post do |req|
|
21
|
+
req.headers = (@endpoint_config["header"] || {}).merge('Content-Type' => 'application/json')
|
22
|
+
req.body = @query_file
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def timeout_settings
|
27
|
+
{open_timeout: 2, timeout: 2}
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
data/lib/jeql/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jeql
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Florian Thomas
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-04-03 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: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: webmock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: jekyll
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.7'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.7'
|
97
|
+
description:
|
98
|
+
email:
|
99
|
+
- flo@florianthomas.net
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".travis.yml"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE.txt
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/console
|
114
|
+
- bin/setup
|
115
|
+
- jeql.gemspec
|
116
|
+
- lib/jeql.rb
|
117
|
+
- lib/jeql/graphql_block.rb
|
118
|
+
- lib/jeql/query.rb
|
119
|
+
- lib/jeql/version.rb
|
120
|
+
homepage: https://github.com/Crunch09/jeql
|
121
|
+
licenses:
|
122
|
+
- MIT
|
123
|
+
metadata:
|
124
|
+
allowed_push_host: https://rubygems.org
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options: []
|
127
|
+
require_paths:
|
128
|
+
- lib
|
129
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - ">="
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
requirements: []
|
140
|
+
rubyforge_project:
|
141
|
+
rubygems_version: 2.7.3
|
142
|
+
signing_key:
|
143
|
+
specification_version: 4
|
144
|
+
summary: jeql is a GraphQL plugin for jekyll
|
145
|
+
test_files: []
|