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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b81b7503856b39d7f10d5ab46b9f6fbaf780f2f10a40ac8260ca28f0158fc77
4
- data.tar.gz: bc27ac7bc341273831b2d271919e5311945137f4ffd61f15a9fcd750d6dd5479
3
+ metadata.gz: 4894fee874b85bfc8424aebeb1e001b44e33109a502e3478f77a1eff4d349bd3
4
+ data.tar.gz: 17d3e4a20246463359d5f864e0dab49d1adf95338af2317281b233a51f9de2d1
5
5
  SHA512:
6
- metadata.gz: f3c905728b258a7c106d80fcaa4114769917e91e33277138dfa6169f1934677ac10f20f722e31873c26a1e3e440d8d1334a3870704a2d8e24124b0b65fc08af6
7
- data.tar.gz: '08672ea984858bc91c09240a2244935f3d589ab8130669d41e39e734a75eff061741fd3e69e3785e0c3d9ec2c3b02ce9674d714335a2a25df7d976d1d5e7db1f'
6
+ metadata.gz: 55fddb11bbd5adb4af0afb8c814269b7b5d21c9df816c34f7426f8c432696fe5f53516370421c189d81bf3622e5d7edfdb60e55a91fc4722c4c778a5a7c7041d
7
+ data.tar.gz: cfa9527d2014e1179d34264e1c2424b21a28d9226ab16ba14d4e20a9734fa078d34ec0897c41e11c5f782146989e0f8e50df1e2f99b3f7b0ed2f9821e9eae1ae
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql_picker (0.1.0)
4
+ graphql_picker (0.1.1)
5
5
  graphql (= 1.9.7)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # GraphqlPicker
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/graphql_picker`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
28
+ $ graphql_picker -n User
29
+
30
+ Option `-p` is used to limit search directory
26
31
 
27
- ## Development
28
32
 
29
- 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.
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/[USERNAME]/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.
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
 
@@ -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/memo"
14
+ spec.homepage = "https://github.com/yujikudo/graphql_picker"
15
15
  spec.license = "MIT"
16
16
  spec.required_ruby_version
17
17
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GraphqlPicker
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
5
5
  end
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.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-01 00:00:00.000000000 Z
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/memo
120
+ homepage: https://github.com/yujikudo/graphql_picker
121
121
  licenses:
122
122
  - MIT
123
123
  metadata: {}