graphql-paging 0.1.0.beta1

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1e5c25945713db86cedc652bfc5290e463d7c977b0f4cd6fc93f1b1a8d36b5c3
4
+ data.tar.gz: 17474d9bda3ded042b3ecd7a4732e909be074ae193cfb77cf0e07205b6e6b81e
5
+ SHA512:
6
+ metadata.gz: 9b78076deebb534435a5cb5d0a52e0afe2ebc6e93d6f289e4fb98166b56d96326ae1af32398efef53d17a520ec862ba9e4c213277eeb79e0de8f6db655c6e30a
7
+ data.tar.gz: 5f0286f4522900e4dee2c0453cbb0a4b33e16ea9a97545454d4fafe04d492d7abbe700f702e7c1f1729716ae153be0c8aea1df2092f76d7ab99704b793ec5a39
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.3
7
+ before_install: gem install bundler -v 1.17.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 bastengao@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,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in graphql-paging.gemspec
6
+ gemspec
@@ -0,0 +1,89 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ graphql-paging (0.1.0.beta1)
5
+ graphql (>= 1.8, < 2)
6
+ kaminari (>= 1.0.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionview (6.0.0)
12
+ activesupport (= 6.0.0)
13
+ builder (~> 3.1)
14
+ erubi (~> 1.4)
15
+ rails-dom-testing (~> 2.0)
16
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
17
+ activemodel (6.0.0)
18
+ activesupport (= 6.0.0)
19
+ activerecord (6.0.0)
20
+ activemodel (= 6.0.0)
21
+ activesupport (= 6.0.0)
22
+ activesupport (6.0.0)
23
+ concurrent-ruby (~> 1.0, >= 1.0.2)
24
+ i18n (>= 0.7, < 2)
25
+ minitest (~> 5.1)
26
+ tzinfo (~> 1.1)
27
+ zeitwerk (~> 2.1, >= 2.1.8)
28
+ builder (3.2.3)
29
+ concurrent-ruby (1.1.5)
30
+ crass (1.0.4)
31
+ diff-lcs (1.3)
32
+ erubi (1.8.0)
33
+ graphql (1.9.10)
34
+ i18n (1.6.0)
35
+ concurrent-ruby (~> 1.0)
36
+ kaminari (1.1.1)
37
+ activesupport (>= 4.1.0)
38
+ kaminari-actionview (= 1.1.1)
39
+ kaminari-activerecord (= 1.1.1)
40
+ kaminari-core (= 1.1.1)
41
+ kaminari-actionview (1.1.1)
42
+ actionview
43
+ kaminari-core (= 1.1.1)
44
+ kaminari-activerecord (1.1.1)
45
+ activerecord
46
+ kaminari-core (= 1.1.1)
47
+ kaminari-core (1.1.1)
48
+ loofah (2.2.3)
49
+ crass (~> 1.0.2)
50
+ nokogiri (>= 1.5.9)
51
+ mini_portile2 (2.4.0)
52
+ minitest (5.11.3)
53
+ nokogiri (1.10.4)
54
+ mini_portile2 (~> 2.4.0)
55
+ rails-dom-testing (2.0.3)
56
+ activesupport (>= 4.2.0)
57
+ nokogiri (>= 1.6)
58
+ rails-html-sanitizer (1.2.0)
59
+ loofah (~> 2.2, >= 2.2.2)
60
+ rake (10.5.0)
61
+ rspec (3.8.0)
62
+ rspec-core (~> 3.8.0)
63
+ rspec-expectations (~> 3.8.0)
64
+ rspec-mocks (~> 3.8.0)
65
+ rspec-core (3.8.2)
66
+ rspec-support (~> 3.8.0)
67
+ rspec-expectations (3.8.4)
68
+ diff-lcs (>= 1.2.0, < 2.0)
69
+ rspec-support (~> 3.8.0)
70
+ rspec-mocks (3.8.1)
71
+ diff-lcs (>= 1.2.0, < 2.0)
72
+ rspec-support (~> 3.8.0)
73
+ rspec-support (3.8.2)
74
+ thread_safe (0.3.6)
75
+ tzinfo (1.2.5)
76
+ thread_safe (~> 0.1)
77
+ zeitwerk (2.1.9)
78
+
79
+ PLATFORMS
80
+ ruby
81
+
82
+ DEPENDENCIES
83
+ bundler (~> 1.17)
84
+ graphql-paging!
85
+ rake (~> 10.0)
86
+ rspec (~> 3.0)
87
+
88
+ BUNDLED WITH
89
+ 1.17.2
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 bastengao
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.
@@ -0,0 +1,141 @@
1
+ # Graphql::Paging
2
+
3
+ NOTE: If you need cursor-based pagination, [relay connection](https://graphql-ruby.org/relay/connections.html) is good for you.
4
+
5
+ A page-based pagination extension for graphql gem, only support kaminari currently.
6
+
7
+ * [x] support kaminari
8
+ * [ ] support will_paginate
9
+
10
+ ## Installation
11
+
12
+ Add this line to your application's Gemfile:
13
+
14
+ ```ruby
15
+ gem 'graphql-paging'
16
+ ```
17
+
18
+ And then execute:
19
+
20
+ $ bundle
21
+
22
+ Or install it yourself as:
23
+
24
+ $ gem install graphql-paging
25
+
26
+ ## Usage
27
+
28
+ Include `GraphQL::Paging::ResolverExtension` in resolver and use `paginate` method.
29
+
30
+ ```ruby
31
+ class UserType < GraphQL::Schema::Object
32
+ graphql_name "User"
33
+
34
+ field :id, ID, null: false
35
+ field :name, String, null: false
36
+ end
37
+
38
+ class UserResolver < GraphQL::Schema::Resolver
39
+ include GraphQL::Paging::ResolverExtension
40
+
41
+ paginate UserType
42
+
43
+ def resolve(**args)
44
+ User.page(args[:page]).per(args[:perPage])
45
+ end
46
+ end
47
+
48
+ class QueryType < GraphQL::Schema::Object
49
+ field :users, resolver: UserResolver
50
+ end
51
+ ```
52
+
53
+ These code will generate the schema below.
54
+
55
+ ```graphql
56
+ type PageInfo {
57
+ currentPage: Int!
58
+ per: Int!
59
+ totalCount: Int!
60
+ totalPages: Int!
61
+ }
62
+
63
+ type Query {
64
+ users(page: Int, per: Int): UserPagination!
65
+ }
66
+
67
+ type User {
68
+ id: ID!
69
+ name: String!
70
+ }
71
+
72
+ type UserPagination {
73
+ nodes: [User!]
74
+ pageInfo: PageInfo!
75
+ }
76
+ ```
77
+
78
+ ### Custom fields
79
+
80
+ ```ruby
81
+ class UserResolver < GraphQL::Schema::Resolver
82
+ include GraphQL::Paging::ResolverExtension
83
+
84
+ paginate UserType do
85
+ field :count, Int, null: false
86
+
87
+ def count
88
+ all_data.count
89
+ end
90
+ end
91
+
92
+ def resolve(**args)
93
+ all_data = User.all
94
+ paged_data = all_data.page(args[:page]).per(args[:per_page])
95
+ [all_data, paged_data]
96
+ end
97
+ end
98
+ ```
99
+
100
+ Pagination object will like this.
101
+
102
+ ```graphql
103
+ type UserPagination {
104
+ count: Int!
105
+ nodes: [User!]
106
+ pageInfo: PageInfo!
107
+ }
108
+ ```
109
+
110
+ ### Generate another pagination
111
+
112
+ `paginate` will generate `#{graphql_name}Pagination` object default and cache it by name. If pagination has different custom fields, specify a name to avoid cache same pagination object.
113
+
114
+ ```ruby
115
+ paginate UserType, "AliasUser"
116
+ ```
117
+
118
+ ```ruby
119
+ type AliasUserPagination {
120
+ nodes: [User!]
121
+ pageInfo: PageInfo!
122
+ }
123
+ ```
124
+
125
+ ## Development
126
+
127
+ 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.
128
+
129
+ 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).
130
+
131
+ ## Contributing
132
+
133
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[bastengao]/graphql-paging. 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.
134
+
135
+ ## License
136
+
137
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
138
+
139
+ ## Code of Conduct
140
+
141
+ Everyone interacting in the Graphql::Paging project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[bastengao]/graphql-paging/blob/master/CODE_OF_CONDUCT.md).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "graphql/paging"
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__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,31 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "graphql/paging/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "graphql-paging"
8
+ spec.version = Graphql::Paging::VERSION
9
+ spec.authors = ["bastengao"]
10
+ spec.email = ["bastengao@gmail.com"]
11
+
12
+ spec.summary = %q{A page-based pagination extension for graphql gem}
13
+ spec.homepage = "https://github.com/bastengao/graphql-paging"
14
+ spec.license = "MIT"
15
+
16
+ # Specify which files should be added to the gem when it is released.
17
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ end
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_dependency "graphql", ">= 1.8", "< 2"
26
+ spec.add_dependency "kaminari", ">= 1.0.0"
27
+
28
+ spec.add_development_dependency "bundler", "~> 1.17"
29
+ spec.add_development_dependency "rake", "~> 10.0"
30
+ spec.add_development_dependency "rspec", "~> 3.0"
31
+ end
@@ -0,0 +1,8 @@
1
+ require 'graphql'
2
+ require_relative "paging/version"
3
+ require_relative "paging/resolver_extension"
4
+
5
+ module Graphql
6
+ module Paging
7
+ end
8
+ end
@@ -0,0 +1,12 @@
1
+ module GraphQL
2
+ module Paging
3
+ class PageInfo < GraphQL::Schema::Object
4
+ graphql_name "PageInfo"
5
+
6
+ field :total_count, Integer, method: :total_count, null: false
7
+ field :total_pages, Integer, method: :total_pages, null: false
8
+ field :current_page, Integer, method: :current_page, null: false
9
+ field :per, Integer, method: :limit_value, null: false
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,79 @@
1
+ require 'kaminari'
2
+ require_relative 'page_info'
3
+
4
+ module GraphQL
5
+ module Paging
6
+ module ResolverExtension
7
+ def self.included(klass)
8
+ klass.extend(ClassMethods)
9
+ end
10
+
11
+ module ClassMethods
12
+ include GraphQL::Schema::Member::GraphQLTypeNames
13
+
14
+ @cached_pagination_types ||= {}
15
+
16
+ def self.cached_pagination_types
17
+ @cached_pagination_types
18
+ end
19
+
20
+ def paginate(wrapped_type, pagination_options = {}, &block)
21
+ pagination = pagination_type(wrapped_type, **pagination_options)
22
+ pagination.class_eval(&block) if block
23
+
24
+ type pagination, null: false
25
+
26
+ argument :page, Int, "return _n_ th page", required: false
27
+ argument :per, Int, "return _n_ elements per page", required: false
28
+ end
29
+
30
+ private
31
+
32
+ def pagination_type(wrapped_type, name: nil)
33
+ @@cached_pagination_types ||= {}
34
+
35
+ name ||= wrapped_type.graphql_name
36
+ pagination_name = "#{name}Pagination"
37
+
38
+ @@cached_pagination_types[pagination_name] ||= begin
39
+ klass = Class.new(_object_class) do
40
+ graphql_name(pagination_name)
41
+
42
+ field :page_info, PageInfo, null: false
43
+ field :nodes, [wrapped_type], null: true
44
+
45
+ def page_info
46
+ paged_data
47
+ end
48
+
49
+ def nodes
50
+ paged_data
51
+ end
52
+
53
+ def all_data
54
+ if object.is_a?(Array) && !object.is_a?(Kaminari::PaginatableArray)
55
+ object.first
56
+ else
57
+ object
58
+ end
59
+ end
60
+
61
+ def paged_data
62
+ if object.is_a?(Array) && !object.is_a?(Kaminari::PaginatableArray)
63
+ object.last
64
+ else
65
+ object
66
+ end
67
+ end
68
+ end
69
+ GraphQL::Paging.const_set(pagination_name, klass)
70
+ end
71
+ end
72
+
73
+ def _object_class
74
+ GraphQL::Schema::Object
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,5 @@
1
+ module Graphql
2
+ module Paging
3
+ VERSION = "0.1.0.beta1"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: graphql-paging
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.beta1
5
+ platform: ruby
6
+ authors:
7
+ - bastengao
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: graphql
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.8'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.8'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2'
33
+ - !ruby/object:Gem::Dependency
34
+ name: kaminari
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 1.0.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.0.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.17'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.17'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '10.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '10.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '3.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '3.0'
89
+ description:
90
+ email:
91
+ - bastengao@gmail.com
92
+ executables: []
93
+ extensions: []
94
+ extra_rdoc_files: []
95
+ files:
96
+ - ".gitignore"
97
+ - ".rspec"
98
+ - ".travis.yml"
99
+ - CODE_OF_CONDUCT.md
100
+ - Gemfile
101
+ - Gemfile.lock
102
+ - LICENSE.txt
103
+ - README.md
104
+ - Rakefile
105
+ - bin/console
106
+ - bin/setup
107
+ - graphql-paging.gemspec
108
+ - lib/graphql/paging.rb
109
+ - lib/graphql/paging/page_info.rb
110
+ - lib/graphql/paging/resolver_extension.rb
111
+ - lib/graphql/paging/version.rb
112
+ homepage: https://github.com/bastengao/graphql-paging
113
+ licenses:
114
+ - MIT
115
+ metadata: {}
116
+ post_install_message:
117
+ rdoc_options: []
118
+ require_paths:
119
+ - lib
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">"
128
+ - !ruby/object:Gem::Version
129
+ version: 1.3.1
130
+ requirements: []
131
+ rubygems_version: 3.0.3
132
+ signing_key:
133
+ specification_version: 4
134
+ summary: A page-based pagination extension for graphql gem
135
+ test_files: []