-
Notifications
You must be signed in to change notification settings - Fork 15
/
graphql-pagination.gemspec
30 lines (24 loc) · 1.19 KB
/
graphql-pagination.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'graphql_pagination/version'
Gem::Specification.new do |spec|
spec.name = 'graphql-pagination'
spec.version = GraphqlPagination::VERSION
spec.authors = ['Krzysztof Knapik', 'RenoFi Engineering Team']
spec.email = ['[email protected]', '[email protected]']
spec.summary = 'Page-based kaminari pagination for graphql.'
spec.description = 'Page-based kaminari pagination for graphql returning collection and pagination metadata.'
spec.homepage = 'https://github.com/RenoFi/graphql-pagination'
spec.license = 'MIT'
spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/graphql-pagination'
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/graphql-pagination'
spec.metadata['rubygems_mfa_required'] = 'true'
spec.required_ruby_version = Gem::Requirement.new('>= 3.2.0')
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'graphql', '~> 2.0'
end