graphql-query-resolver 0.1.1 → 0.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 +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +5 -0
- data/README.md +4 -2
- data/graphql-query-resolver.gemspec +2 -2
- data/lib/graphql/query_resolver/version.rb +1 -1
- metadata +11 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 429a72429319c57704d27e0184b3b2e669395791
|
|
4
|
+
data.tar.gz: 585ba11a9b7aeb30c936c56072bca5f0515e3852
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f95bdb5bda299d7fc64a41ca438b4af5a19ce4afacb38cabafbf1357d859f238c43bc5a04e85ccb9f80650450b073fa8faf2a277d11781835c17ae5a045d1f9
|
|
7
|
+
data.tar.gz: ebc1dc739958c988e0c0d99e2b5201b3988eb15ea5f158417f4558969eefba5d513c04b764dbb7b4ac9b43ddf0989d53af119135785c570e86c6735b5818a7ea
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
# GraphQL::QueryResolver
|
|
2
|
+
[](https://travis-ci.org/nettofarah/graphql-query-resolver)
|
|
3
|
+
|
|
2
4
|
GraphQL::QueryResolver is an add-on to [graphql-ruby](https://github.com/rmosologo/graphql-ruby)
|
|
3
5
|
that allows your field resolvers to minimize N+1 SELECTS issued by ActiveRecord.
|
|
4
6
|
|
|
@@ -62,11 +64,11 @@ end
|
|
|
62
64
|
|
|
63
65
|
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.
|
|
64
66
|
|
|
65
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
67
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
66
68
|
|
|
67
69
|
## Contributing
|
|
68
70
|
|
|
69
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
71
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nettofarah/graphql-query-resolver. 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.
|
|
70
72
|
|
|
71
73
|
To run the specs across all supported versions of ActiveRecord, check out the repo and follow these steps:
|
|
72
74
|
```bash
|
|
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["nettofarah"]
|
|
10
10
|
spec.email = ["nettofarah@gmail.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = %q{
|
|
12
|
+
spec.summary = %q{Minimize N+1 queries generated by GraphQL}
|
|
13
13
|
spec.description = %q{GraphQL::QueryResolver is an add-on to graphql-ruby that allows your field resolvers to minimize N+1 SELECTS issued by ActiveRecord. }
|
|
14
14
|
spec.homepage = "https://github.com/nettofarah"
|
|
15
15
|
spec.license = "MIT"
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
spec.add_runtime_dependency "graphql",
|
|
22
|
+
spec.add_runtime_dependency "graphql", '~> 1.0', '>= 1.0.0'
|
|
23
23
|
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.11"
|
|
25
25
|
spec.add_development_dependency "sqlite3", "~> 1.3", ">= 1.3.12"
|
metadata
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-query-resolver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nettofarah
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-04-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.0'
|
|
20
|
+
- - ">="
|
|
18
21
|
- !ruby/object:Gem::Version
|
|
19
22
|
version: 1.0.0
|
|
20
23
|
type: :runtime
|
|
@@ -22,6 +25,9 @@ dependencies:
|
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
27
|
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '1.0'
|
|
30
|
+
- - ">="
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
32
|
version: 1.0.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
@@ -152,6 +158,7 @@ files:
|
|
|
152
158
|
- ".rspec"
|
|
153
159
|
- ".travis.yml"
|
|
154
160
|
- Appraisals
|
|
161
|
+
- CHANGELOG.md
|
|
155
162
|
- CODE_OF_CONDUCT.md
|
|
156
163
|
- Gemfile
|
|
157
164
|
- LICENSE.txt
|
|
@@ -188,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
188
195
|
version: '0'
|
|
189
196
|
requirements: []
|
|
190
197
|
rubyforge_project:
|
|
191
|
-
rubygems_version: 2.
|
|
198
|
+
rubygems_version: 2.6.11
|
|
192
199
|
signing_key:
|
|
193
200
|
specification_version: 4
|
|
194
|
-
summary:
|
|
201
|
+
summary: Minimize N+1 queries generated by GraphQL
|
|
195
202
|
test_files: []
|