graphql-hive 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/benchmark.yml +25 -17
- data/.github/workflows/ci.yml +14 -6
- data/.rubocop.yml +3 -0
- data/Gemfile.lock +44 -33
- data/examples/simple-api/Gemfile.lock +2 -2
- data/examples/simple-api/schema.rb +8 -3
- data/graphql-hive.gemspec +5 -5
- data/k6/graphql-api/Gemfile +5 -4
- data/k6/graphql-api/Gemfile.lock +27 -23
- data/k6/graphql-api/app.rb +4 -0
- data/k6/graphql-api/schema.rb +9 -3
- data/k6/usage-api.js +4 -0
- data/lib/graphql-hive/printer.rb +47 -24
- data/lib/graphql-hive/usage_reporter.rb +4 -4
- data/lib/graphql-hive/version.rb +1 -1
- metadata +21 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 106c7046e201f4d021220655ad1154600715f32f0f9e7d59aacd395967ce9927
|
4
|
+
data.tar.gz: 998bebf3e0c0fecdb349726cc44e4ffd262e5c2178977c5f9cf5d779c779376c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32fda0f43ef90c4d583ca1dd2017cfc1388ff5750b02962a2f0e883602b40bfb40b332661b437361c985fe016223ae8d04dde96aeb7c5eb6b4fc6d7438c4e1cc
|
7
|
+
data.tar.gz: b762a1a23d6cae5f226a2bf33acfc9f7a998214028e9f88524374e69c4168db3192ae4432138b7a76cd9ff42bac911f0472155a37ec262641e919517d40c4106
|
@@ -9,27 +9,28 @@ jobs:
|
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
steps:
|
11
11
|
- name: Checkout Repository
|
12
|
-
uses: actions/checkout@
|
12
|
+
uses: actions/checkout@v4
|
13
13
|
|
14
14
|
- name: Use Node
|
15
|
-
uses: actions/setup-node@
|
15
|
+
uses: actions/setup-node@v4
|
16
16
|
with:
|
17
|
-
node-version:
|
17
|
+
node-version: 22
|
18
18
|
cache: 'yarn'
|
19
19
|
cache-dependency-path: 'k6/yarn.lock'
|
20
20
|
|
21
21
|
- name: Use Ruby
|
22
|
-
uses: ruby/setup-ruby@
|
22
|
+
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
|
23
23
|
with:
|
24
24
|
working-directory: ./k6/graphql-api
|
25
|
-
ruby-version:
|
25
|
+
ruby-version: '3.3'
|
26
26
|
bundler-cache: true
|
27
27
|
|
28
28
|
- name: Start GraphQL API with hive enabled
|
29
29
|
working-directory: ./k6/graphql-api
|
30
30
|
run: |
|
31
31
|
bundle
|
32
|
-
bundle exec puma -t 0:1 -p 9292 &
|
32
|
+
bundle exec puma -t 0:1 -p 9292 &
|
33
|
+
npx wait-on http://localhost:9292 --timeout 5s
|
33
34
|
env:
|
34
35
|
HIVE_ENABLED: 'true'
|
35
36
|
|
@@ -37,7 +38,8 @@ jobs:
|
|
37
38
|
working-directory: ./k6/graphql-api
|
38
39
|
run: |
|
39
40
|
bundle
|
40
|
-
bundle exec puma -t 0:1 -p 9291 &
|
41
|
+
bundle exec puma -t 0:1 -p 9291 &
|
42
|
+
npx wait-on http://localhost:9291 --timeout 5s
|
41
43
|
env:
|
42
44
|
HIVE_ENABLED: 'false'
|
43
45
|
|
@@ -45,15 +47,21 @@ jobs:
|
|
45
47
|
working-directory: ./k6/
|
46
48
|
run: |
|
47
49
|
yarn
|
48
|
-
node usage-api.js &
|
50
|
+
node usage-api.js &
|
51
|
+
npx wait-on http://localhost:8888 --timeout 5s
|
49
52
|
|
50
|
-
- name:
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
- name: Install k6
|
54
|
+
working-directory: ./k6
|
55
|
+
env:
|
56
|
+
K6_RELEASE_ARTIFACT_URL:
|
57
|
+
https://github.com/grafana/k6/releases/download/v0.37.0/k6-v0.37.0-linux-amd64.tar.gz
|
58
|
+
run: curl "${K6_RELEASE_ARTIFACT_URL}" -L | tar xvz --strip-components 1
|
56
59
|
|
57
|
-
- name:
|
58
|
-
working-directory: ./k6
|
59
|
-
run:
|
60
|
+
- name: Run Benchmark
|
61
|
+
working-directory: ./k6
|
62
|
+
run: |
|
63
|
+
./k6 \
|
64
|
+
-e GITHUB_PR=${{ github.event.number }} \
|
65
|
+
-e GITHUB_SHA=${{ github.sha }} \
|
66
|
+
-e GITHUB_TOKEN=${{secrets.GH_PA_TOKEN}} \
|
67
|
+
run k6.js
|
data/.github/workflows/ci.yml
CHANGED
@@ -11,22 +11,30 @@ jobs:
|
|
11
11
|
rubocop:
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
steps:
|
14
|
-
- uses: actions/checkout@
|
15
|
-
|
14
|
+
- uses: actions/checkout@v4
|
15
|
+
|
16
|
+
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
|
16
17
|
with:
|
17
|
-
ruby-version:
|
18
|
+
ruby-version: '3.3'
|
18
19
|
bundler-cache: true
|
20
|
+
|
19
21
|
- run: bundle exec rake rubocop
|
22
|
+
|
20
23
|
test:
|
21
24
|
strategy:
|
22
25
|
fail-fast: false
|
23
26
|
matrix:
|
24
|
-
ruby-version:
|
27
|
+
ruby-version:
|
28
|
+
- '3.1'
|
29
|
+
- '3.2'
|
30
|
+
- '3.3'
|
25
31
|
runs-on: ubuntu-latest
|
26
32
|
steps:
|
27
|
-
- uses: actions/checkout@
|
28
|
-
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
|
35
|
+
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
|
29
36
|
with:
|
30
37
|
ruby-version: ${{ matrix.ruby-version }}
|
31
38
|
bundler-cache: true
|
39
|
+
|
32
40
|
- run: bundle exec rake spec
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,58 +1,69 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
graphql-hive (0.3.
|
5
|
-
graphql (
|
4
|
+
graphql-hive (0.3.4)
|
5
|
+
graphql (>= 2.3, < 3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.2)
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
base64 (0.2.0)
|
12
|
+
diff-lcs (1.5.1)
|
13
|
+
graphql (2.3.7)
|
14
|
+
base64
|
15
|
+
json (2.7.2)
|
16
|
+
language_server-protocol (3.17.0.3)
|
17
|
+
parallel (1.25.1)
|
18
|
+
parser (3.3.3.0)
|
15
19
|
ast (~> 2.4.1)
|
20
|
+
racc
|
21
|
+
racc (1.8.0)
|
16
22
|
rainbow (3.1.1)
|
17
|
-
rake (
|
18
|
-
regexp_parser (2.
|
19
|
-
rexml (3.
|
20
|
-
|
21
|
-
|
22
|
-
rspec-
|
23
|
-
rspec-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
rake (13.2.1)
|
24
|
+
regexp_parser (2.9.2)
|
25
|
+
rexml (3.3.1)
|
26
|
+
strscan
|
27
|
+
rspec (3.13.0)
|
28
|
+
rspec-core (~> 3.13.0)
|
29
|
+
rspec-expectations (~> 3.13.0)
|
30
|
+
rspec-mocks (~> 3.13.0)
|
31
|
+
rspec-core (3.13.0)
|
32
|
+
rspec-support (~> 3.13.0)
|
33
|
+
rspec-expectations (3.13.1)
|
27
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
28
|
-
rspec-support (~> 3.
|
29
|
-
rspec-mocks (3.
|
35
|
+
rspec-support (~> 3.13.0)
|
36
|
+
rspec-mocks (3.13.1)
|
30
37
|
diff-lcs (>= 1.2.0, < 2.0)
|
31
|
-
rspec-support (~> 3.
|
32
|
-
rspec-support (3.
|
33
|
-
rubocop (1.
|
38
|
+
rspec-support (~> 3.13.0)
|
39
|
+
rspec-support (3.13.1)
|
40
|
+
rubocop (1.64.1)
|
41
|
+
json (~> 2.3)
|
42
|
+
language_server-protocol (>= 3.17.0)
|
34
43
|
parallel (~> 1.10)
|
35
|
-
parser (>= 3.
|
44
|
+
parser (>= 3.3.0.2)
|
36
45
|
rainbow (>= 2.2.2, < 4.0)
|
37
46
|
regexp_parser (>= 1.8, < 3.0)
|
38
47
|
rexml (>= 3.2.5, < 4.0)
|
39
|
-
rubocop-ast (>= 1.
|
48
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
40
49
|
ruby-progressbar (~> 1.7)
|
41
|
-
unicode-display_width (>=
|
42
|
-
rubocop-ast (1.
|
43
|
-
parser (>= 3.
|
44
|
-
ruby-progressbar (1.
|
45
|
-
|
50
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
51
|
+
rubocop-ast (1.31.3)
|
52
|
+
parser (>= 3.3.1.0)
|
53
|
+
ruby-progressbar (1.13.0)
|
54
|
+
strscan (3.1.0)
|
55
|
+
unicode-display_width (2.5.0)
|
46
56
|
|
47
57
|
PLATFORMS
|
58
|
+
arm64-darwin-23
|
48
59
|
ruby
|
49
60
|
|
50
61
|
DEPENDENCIES
|
51
|
-
bundler (~>
|
62
|
+
bundler (~> 2)
|
52
63
|
graphql-hive!
|
53
|
-
rake (~>
|
54
|
-
rspec (~> 3
|
55
|
-
rubocop (~> 1
|
64
|
+
rake (~> 13)
|
65
|
+
rspec (~> 3)
|
66
|
+
rubocop (~> 1)
|
56
67
|
|
57
68
|
BUNDLED WITH
|
58
|
-
|
69
|
+
2.5.15
|
@@ -41,7 +41,12 @@ end
|
|
41
41
|
class Schema < GraphQL::Schema
|
42
42
|
query QueryType
|
43
43
|
|
44
|
-
use(
|
45
|
-
|
46
|
-
|
44
|
+
use(
|
45
|
+
GraphQL::Hive,
|
46
|
+
buffer_size: 2,
|
47
|
+
token: 'YOUR_TOKEN',
|
48
|
+
debug: true,
|
49
|
+
reporting: { author: 'Charly Poly', commit: '109bb1e748bae21bdfe663c0ffc7e830' },
|
50
|
+
client_info: proc { |context|{ name: context[:client_name], version: context[:client_version] }}
|
51
|
+
)
|
47
52
|
end
|
data/graphql-hive.gemspec
CHANGED
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
|
|
24
24
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
|
25
25
|
end
|
26
26
|
|
27
|
-
spec.add_dependency 'graphql', '
|
27
|
+
spec.add_dependency 'graphql', '>= 2.3', '< 3'
|
28
28
|
|
29
|
-
spec.add_development_dependency 'bundler', '~>
|
30
|
-
spec.add_development_dependency 'rake', '~>
|
31
|
-
spec.add_development_dependency 'rspec', '~> 3
|
32
|
-
spec.add_development_dependency 'rubocop', '~> 1
|
29
|
+
spec.add_development_dependency 'bundler', '~> 2'
|
30
|
+
spec.add_development_dependency 'rake', '~> 13'
|
31
|
+
spec.add_development_dependency 'rspec', '~> 3'
|
32
|
+
spec.add_development_dependency 'rubocop', '~> 1'
|
33
33
|
end
|
data/k6/graphql-api/Gemfile
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'graphql'
|
3
|
+
gem 'graphql', '~> 2'
|
4
4
|
gem 'graphql-hive', path: '../../'
|
5
|
-
gem 'puma'
|
6
|
-
gem '
|
7
|
-
gem '
|
5
|
+
gem 'puma', '~> 6'
|
6
|
+
gem 'racc'
|
7
|
+
gem 'rack-contrib', '~> 2'
|
8
|
+
gem 'sinatra', '~> 2'
|
8
9
|
gem 'sinatra-contrib'
|
data/k6/graphql-api/Gemfile.lock
CHANGED
@@ -1,48 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
graphql-hive (0.3.
|
5
|
-
graphql (
|
4
|
+
graphql-hive (0.3.4)
|
5
|
+
graphql (>= 2.3, < 3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
10
|
+
base64 (0.2.0)
|
11
|
+
graphql (2.3.7)
|
12
|
+
base64
|
11
13
|
multi_json (1.15.0)
|
12
|
-
mustermann (
|
14
|
+
mustermann (2.0.2)
|
13
15
|
ruby2_keywords (~> 0.0.1)
|
14
|
-
nio4r (2.
|
15
|
-
puma (
|
16
|
+
nio4r (2.7.3)
|
17
|
+
puma (6.4.2)
|
16
18
|
nio4r (~> 2.0)
|
17
|
-
|
18
|
-
rack
|
19
|
-
|
20
|
-
|
19
|
+
racc (1.8.0)
|
20
|
+
rack (2.2.9)
|
21
|
+
rack-contrib (2.5.0)
|
22
|
+
rack (< 4)
|
23
|
+
rack-protection (2.2.4)
|
21
24
|
rack
|
22
25
|
ruby2_keywords (0.0.5)
|
23
|
-
sinatra (2.2.
|
24
|
-
mustermann (~>
|
26
|
+
sinatra (2.2.4)
|
27
|
+
mustermann (~> 2.0)
|
25
28
|
rack (~> 2.2)
|
26
|
-
rack-protection (= 2.2.
|
29
|
+
rack-protection (= 2.2.4)
|
27
30
|
tilt (~> 2.0)
|
28
|
-
sinatra-contrib (2.2.
|
31
|
+
sinatra-contrib (2.2.4)
|
29
32
|
multi_json
|
30
|
-
mustermann (~>
|
31
|
-
rack-protection (= 2.2.
|
32
|
-
sinatra (= 2.2.
|
33
|
+
mustermann (~> 2.0)
|
34
|
+
rack-protection (= 2.2.4)
|
35
|
+
sinatra (= 2.2.4)
|
33
36
|
tilt (~> 2.0)
|
34
|
-
tilt (2.0
|
37
|
+
tilt (2.4.0)
|
35
38
|
|
36
39
|
PLATFORMS
|
37
40
|
ruby
|
38
41
|
|
39
42
|
DEPENDENCIES
|
40
|
-
graphql
|
43
|
+
graphql (~> 2)
|
41
44
|
graphql-hive!
|
42
|
-
puma
|
43
|
-
|
44
|
-
|
45
|
+
puma (~> 6)
|
46
|
+
racc
|
47
|
+
rack-contrib (~> 2)
|
48
|
+
sinatra (~> 2)
|
45
49
|
sinatra-contrib
|
46
50
|
|
47
51
|
BUNDLED WITH
|
48
|
-
|
52
|
+
2.5.15
|
data/k6/graphql-api/app.rb
CHANGED
data/k6/graphql-api/schema.rb
CHANGED
@@ -29,7 +29,13 @@ end
|
|
29
29
|
class Schema < GraphQL::Schema
|
30
30
|
query QueryType
|
31
31
|
|
32
|
-
use(
|
33
|
-
|
34
|
-
|
32
|
+
use(
|
33
|
+
GraphQL::Hive,
|
34
|
+
enabled: ENV['HIVE_ENABLED'] === 'true',
|
35
|
+
endpoint: 'localhost',
|
36
|
+
debug: true,
|
37
|
+
port: 8888,
|
38
|
+
token: 'stress-token',
|
39
|
+
report_schema: false
|
40
|
+
)
|
35
41
|
end
|
data/k6/usage-api.js
CHANGED
data/lib/graphql-hive/printer.rb
CHANGED
@@ -6,32 +6,43 @@ module GraphQL
|
|
6
6
|
# - removes aliases
|
7
7
|
# - sort nodes and directives (files, arguments, variables)
|
8
8
|
class Printer < GraphQL::Language::Printer
|
9
|
+
def print_string(str)
|
10
|
+
@out.append(str)
|
11
|
+
end
|
12
|
+
|
9
13
|
def print_node(node, indent: '')
|
10
14
|
case node
|
11
15
|
when Float, Integer
|
12
|
-
'0'
|
16
|
+
print_string '0'
|
13
17
|
when String
|
14
|
-
''
|
18
|
+
print_string ''
|
15
19
|
else
|
16
|
-
super
|
20
|
+
super
|
17
21
|
end
|
18
22
|
end
|
19
23
|
|
20
|
-
#
|
24
|
+
# from GraphQL::Language::Printer with sort_by name
|
25
|
+
# ignores aliases
|
21
26
|
def print_field(field, indent: '')
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
27
|
+
print_string(indent)
|
28
|
+
print_string(field.name)
|
29
|
+
if field.arguments.any?
|
30
|
+
print_string('(')
|
31
|
+
field.arguments.sort_by(&:name).each_with_index do |a, i|
|
32
|
+
print_argument(a)
|
33
|
+
print_string(', ') if i < field.arguments.size - 1
|
34
|
+
end
|
35
|
+
print_string(')')
|
36
|
+
end
|
37
|
+
print_directives(field.directives)
|
38
|
+
print_selections(field.selections, indent: indent)
|
28
39
|
end
|
29
|
-
# rubocop:enable Style/RedundantInterpolation
|
30
40
|
|
31
41
|
def print_directives(directives)
|
32
42
|
super(directives.sort_by(&:name))
|
33
43
|
end
|
34
44
|
|
45
|
+
# from GraphQL::Language::Printer with sort_by name
|
35
46
|
def print_selections(selections, indent: '')
|
36
47
|
sorted_nodes = selections.sort_by do |s|
|
37
48
|
next s.name if s.respond_to?(:name)
|
@@ -42,29 +53,41 @@ module GraphQL
|
|
42
53
|
super(sorted_nodes, indent: indent)
|
43
54
|
end
|
44
55
|
|
56
|
+
# from GraphQL::Language::Printer with sort_by name
|
45
57
|
def print_directive(directive)
|
46
|
-
|
58
|
+
print_string('@')
|
59
|
+
print_string(directive.name)
|
47
60
|
|
48
|
-
if directive.arguments.
|
49
|
-
out << "(#{directive.arguments.sort_by(&:name).map { |a| print_argument(a) }.join(', ')})"
|
50
|
-
end
|
61
|
+
return if directive.arguments.blank?
|
51
62
|
|
52
|
-
|
63
|
+
print_string('(')
|
64
|
+
directive.arguments.sort_by(&:name).each_with_index do |a, i|
|
65
|
+
print_argument(a)
|
66
|
+
print_string(', ') if i < directive.arguments.size - 1
|
67
|
+
end
|
68
|
+
print_string(')')
|
53
69
|
end
|
54
70
|
|
71
|
+
# from GraphQL::Language::Printer with sort_by name
|
55
72
|
def print_operation_definition(operation_definition, indent: '')
|
56
|
-
|
57
|
-
|
73
|
+
print_string(indent)
|
74
|
+
print_string(operation_definition.operation_type)
|
75
|
+
if operation_definition.name
|
76
|
+
print_string(' ')
|
77
|
+
print_string(operation_definition.name)
|
78
|
+
end
|
58
79
|
|
59
|
-
# rubocop:disable Layout/LineLength
|
60
80
|
if operation_definition.variables.any?
|
61
|
-
|
81
|
+
print_string('(')
|
82
|
+
operation_definition.variables.sort_by(&:name).each_with_index do |v, i|
|
83
|
+
print_variable_definition(v)
|
84
|
+
print_string(', ') if i < operation_definition.variables.size - 1
|
85
|
+
end
|
86
|
+
print_string(')')
|
62
87
|
end
|
63
|
-
# rubocop:enable Layout/LineLength
|
64
88
|
|
65
|
-
|
66
|
-
|
67
|
-
out
|
89
|
+
print_directives(operation_definition.directives)
|
90
|
+
print_selections(operation_definition.selections, indent: indent)
|
68
91
|
end
|
69
92
|
end
|
70
93
|
end
|
@@ -65,7 +65,7 @@ module GraphQL
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
end
|
68
|
-
unless buffer.
|
68
|
+
unless buffer.empty?
|
69
69
|
@options[:logger].debug('shuting down with buffer, sending!')
|
70
70
|
process_operations(buffer)
|
71
71
|
end
|
@@ -111,12 +111,12 @@ module GraphQL
|
|
111
111
|
analyzers: [analyzer]
|
112
112
|
)
|
113
113
|
|
114
|
-
visitor.visit
|
114
|
+
result = visitor.visit
|
115
115
|
|
116
116
|
fields.merge(analyzer.result)
|
117
117
|
|
118
118
|
operation += "\n" unless operation.empty?
|
119
|
-
operation += GraphQL::Hive::Printer.new.print(
|
119
|
+
operation += GraphQL::Hive::Printer.new.print(result)
|
120
120
|
end
|
121
121
|
|
122
122
|
md5 = Digest::MD5.new
|
@@ -154,7 +154,7 @@ module GraphQL
|
|
154
154
|
errors = result.to_h.fetch('errors', [])
|
155
155
|
errors.each do |error|
|
156
156
|
acc[:errorsTotal] += 1
|
157
|
-
acc[:errors] << { message: error['message'], path: error['path']
|
157
|
+
acc[:errors] << { message: error['message'], path: error['path']&.join('.') }
|
158
158
|
end
|
159
159
|
end
|
160
160
|
acc
|
data/lib/graphql-hive/version.rb
CHANGED
metadata
CHANGED
@@ -1,85 +1,91 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-hive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charly POLY
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: '3'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '2.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: '3'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - "~>"
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
39
|
+
version: '2'
|
34
40
|
type: :development
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - "~>"
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
46
|
+
version: '2'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: rake
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
53
|
+
version: '13'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
58
|
- - "~>"
|
53
59
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
60
|
+
version: '13'
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: rspec
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|
58
64
|
requirements:
|
59
65
|
- - "~>"
|
60
66
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3
|
67
|
+
version: '3'
|
62
68
|
type: :development
|
63
69
|
prerelease: false
|
64
70
|
version_requirements: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3
|
74
|
+
version: '3'
|
69
75
|
- !ruby/object:Gem::Dependency
|
70
76
|
name: rubocop
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '1
|
81
|
+
version: '1'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
86
|
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '1
|
88
|
+
version: '1'
|
83
89
|
description: '"Monitor operations, inspect your queries and publish your GraphQL schema
|
84
90
|
with GraphQL Hive"'
|
85
91
|
email:
|
@@ -142,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
148
|
- !ruby/object:Gem::Version
|
143
149
|
version: '0'
|
144
150
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
151
|
+
rubygems_version: 3.5.9
|
146
152
|
signing_key:
|
147
153
|
specification_version: 4
|
148
154
|
summary: '"GraphQL Hive integration for `graphql-ruby`"'
|