forked from Shopify/graphql-batch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
graphql-batch.gemspec
30 lines (24 loc) · 1.15 KB
/
graphql-batch.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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'graphql/batch/version'
Gem::Specification.new do |spec|
spec.name = "graphql-batch"
spec.version = GraphQL::Batch::VERSION
spec.authors = ["Dylan Thacker-Smith"]
spec.email = ["gems@shopify.com"]
spec.summary = "A query batching executor for the graphql gem"
spec.homepage = "https://github.com/Shopify/graphql-batch"
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.metadata['allowed_push_host'] = "https://rubygems.org"
spec.add_runtime_dependency "graphql", ">= 1.3", "< 2"
spec.add_runtime_dependency "promise.rb", "~> 0.7.2"
spec.add_runtime_dependency "concurrent-ruby", "~> 1.1.0"
spec.add_development_dependency "byebug" if RUBY_ENGINE == 'ruby'
spec.add_development_dependency "rake", ">= 12.3.3"
spec.add_development_dependency "minitest"
end