graphql_picker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -9
- data/graphql_picker.gemspec +1 -1
- data/lib/graphql_picker/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4894fee874b85bfc8424aebeb1e001b44e33109a502e3478f77a1eff4d349bd3
|
4
|
+
data.tar.gz: 17d3e4a20246463359d5f864e0dab49d1adf95338af2317281b233a51f9de2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55fddb11bbd5adb4af0afb8c814269b7b5d21c9df816c34f7426f8c432696fe5f53516370421c189d81bf3622e5d7edfdb60e55a91fc4722c4c778a5a7c7041d
|
7
|
+
data.tar.gz: cfa9527d2014e1179d34264e1c2424b21a28d9226ab16ba14d4e20a9734fa078d34ec0897c41e11c5f782146989e0f8e50df1e2f99b3f7b0ed2f9821e9eae1ae
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# GraphqlPicker
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
It is hard to find GraphQL queries and mutations created in Apollo in .graphql files.
|
4
|
+
There are many fragments used by Query and Mutation.
|
5
|
+
Then, it is problematic to create a query when you execute in GraphiQL etc.
|
6
|
+
GraphQL Picker can extract related fragments by specifying the Operation name.
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
|
@@ -14,25 +15,27 @@ gem 'graphql_picker'
|
|
14
15
|
|
15
16
|
And then execute:
|
16
17
|
|
17
|
-
$ bundle
|
18
|
+
$ bundle install
|
18
19
|
|
19
20
|
Or install it yourself as:
|
20
21
|
|
21
22
|
$ gem install graphql_picker
|
22
23
|
|
23
24
|
## Usage
|
25
|
+
You can search Operation name `User` use option `-n`
|
26
|
+
|
24
27
|
|
25
|
-
|
28
|
+
$ graphql_picker -n User
|
29
|
+
|
30
|
+
Option `-p` is used to limit search directory
|
26
31
|
|
27
|
-
## Development
|
28
32
|
|
29
|
-
|
33
|
+
$ graphql_picker -n User -p graphqls_directory
|
30
34
|
|
31
|
-
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).
|
32
35
|
|
33
36
|
## Contributing
|
34
37
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/yujikudo/graphql_picker. 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.
|
36
39
|
|
37
40
|
## License
|
38
41
|
|
data/graphql_picker.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Pickup Graphql query and mutaiton}
|
13
13
|
spec.description = %q{Pickup Graphql query and mutaito}
|
14
|
-
spec.homepage = "https://github.com/yujikudo/
|
14
|
+
spec.homepage = "https://github.com/yujikudo/graphql_picker"
|
15
15
|
spec.license = "MIT"
|
16
16
|
spec.required_ruby_version
|
17
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_picker
|
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
|
- yujikudo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -117,7 +117,7 @@ files:
|
|
117
117
|
- graphql_picker.gemspec
|
118
118
|
- lib/graphql_picker.rb
|
119
119
|
- lib/graphql_picker/version.rb
|
120
|
-
homepage: https://github.com/yujikudo/
|
120
|
+
homepage: https://github.com/yujikudo/graphql_picker
|
121
121
|
licenses:
|
122
122
|
- MIT
|
123
123
|
metadata: {}
|