forked from saharaying/graphql-result_cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphql-result_cache.gemspec
30 lines (23 loc) · 1.05 KB
/
graphql-result_cache.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', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'graphql/result_cache/version'
Gem::Specification.new do |spec|
spec.name = 'graphql-result_cache'
spec.version = GraphQL::ResultCache::VERSION
spec.authors = ['Ying Fu']
spec.email = ['[email protected]']
spec.summary = 'A result caching plugin for graphql-ruby'
spec.description = 'A result caching plugin for graphql-ruby'
spec.homepage = 'https://github.com/saharaying/graphql-result_cache'
spec.license = 'MIT'
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.16'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_dependency 'graphql', '~> 1.9'
# graphql v1.9 requires ruby >= 2.2.0
spec.required_ruby_version = '>= 2.2.0'
end