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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a06a58701ba3765dfebe9dfa1a38a3dcfd033074007d7eed9a9f874101dab85
4
- data.tar.gz: 0a8bbfae27e91256dec594148f0d78f620669cb278268a97f3e79fd38eaa20b0
3
+ metadata.gz: 106c7046e201f4d021220655ad1154600715f32f0f9e7d59aacd395967ce9927
4
+ data.tar.gz: 998bebf3e0c0fecdb349726cc44e4ffd262e5c2178977c5f9cf5d779c779376c
5
5
  SHA512:
6
- metadata.gz: e9ebbabe3b6321cde6e1f2aee46a4f8d240eec1acc3a9622b11921bb44b09b8e16473e65a5d3146fcc9c397289ef4563b261bbaa8ac3d39749d8c11752cc6db1
7
- data.tar.gz: 96c8e202377d6e7ddfef13ee956482df5b61a285d188a10ed25e0752a285721cc09c1182c1317724e396e96d7143c9049417e9a08a695e754c0098685626edd9
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@v3
12
+ uses: actions/checkout@v4
13
13
 
14
14
  - name: Use Node
15
- uses: actions/setup-node@master
15
+ uses: actions/setup-node@v4
16
16
  with:
17
- node-version: 14
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@359bebbc29cbe6c87da6bc9ea3bc930432750108
22
+ uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
23
23
  with:
24
24
  working-directory: ./k6/graphql-api
25
- ruby-version: 2.6
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 & sleep 5
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 & sleep 5
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 & sleep 5s
50
+ node usage-api.js &
51
+ npx wait-on http://localhost:8888 --timeout 5s
49
52
 
50
- - name: Setup K6
51
- run: |
52
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69
53
- echo "deb https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list
54
- sudo apt-get update
55
- sudo apt-get install k6=0.37.0
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: Start and Report Benchmark
58
- working-directory: ./k6/
59
- run: k6 -e GITHUB_PR=${{ github.event.number }} -e GITHUB_SHA=${{ github.sha }} -e GITHUB_TOKEN=${{secrets.GH_PA_TOKEN}} run k6.js
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
@@ -11,22 +11,30 @@ jobs:
11
11
  rubocop:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
- - uses: actions/checkout@v3
15
- - uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
14
+ - uses: actions/checkout@v4
15
+
16
+ - uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f
16
17
  with:
17
- ruby-version: 2.6
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: ['3.1', '3.0', '2.7', '2.6']
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@v3
28
- - uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
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
@@ -36,3 +36,6 @@ Metrics/MethodLength:
36
36
 
37
37
  Metrics/ClassLength:
38
38
  Enabled: false
39
+
40
+ Gemspec/DevelopmentDependencies:
41
+ EnforcedStyle: 'gemspec'
data/Gemfile.lock CHANGED
@@ -1,58 +1,69 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- graphql-hive (0.3.3)
5
- graphql (~> 2.0.9)
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
- diff-lcs (1.5.0)
12
- graphql (2.0.21)
13
- parallel (1.22.1)
14
- parser (3.1.2.0)
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 (10.5.0)
18
- regexp_parser (2.5.0)
19
- rexml (3.2.5)
20
- rspec (3.11.0)
21
- rspec-core (~> 3.11.0)
22
- rspec-expectations (~> 3.11.0)
23
- rspec-mocks (~> 3.11.0)
24
- rspec-core (3.11.0)
25
- rspec-support (~> 3.11.0)
26
- rspec-expectations (3.11.0)
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.11.0)
29
- rspec-mocks (3.11.1)
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.11.0)
32
- rspec-support (3.11.0)
33
- rubocop (1.30.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.1.0.0)
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.18.0, < 2.0)
48
+ rubocop-ast (>= 1.31.1, < 2.0)
40
49
  ruby-progressbar (~> 1.7)
41
- unicode-display_width (>= 1.4.0, < 3.0)
42
- rubocop-ast (1.18.0)
43
- parser (>= 3.1.1.0)
44
- ruby-progressbar (1.11.0)
45
- unicode-display_width (2.1.0)
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 (~> 1.17)
62
+ bundler (~> 2)
52
63
  graphql-hive!
53
- rake (~> 10.0)
54
- rspec (~> 3.0)
55
- rubocop (~> 1.30)
64
+ rake (~> 13)
65
+ rspec (~> 3)
66
+ rubocop (~> 1)
56
67
 
57
68
  BUNDLED WITH
58
- 1.17.3
69
+ 2.5.15
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- graphql-hive (0.1.4)
4
+ graphql-hive (0.3.3)
5
5
  graphql (~> 2.0.9)
6
6
 
7
7
  GEM
@@ -45,4 +45,4 @@ DEPENDENCIES
45
45
  sinatra-contrib
46
46
 
47
47
  BUNDLED WITH
48
- 1.17.3
48
+ 2.5.15
@@ -41,7 +41,12 @@ end
41
41
  class Schema < GraphQL::Schema
42
42
  query QueryType
43
43
 
44
- use(GraphQL::Hive, { buffer_size: 2, token: 'YOUR_TOKEN', debug: true, reporting: { author: 'Charly Poly', commit: '109bb1e748bae21bdfe663c0ffc7e830' }, client_info: proc { |context|
45
- { name: context[:client_name], version: context[:client_version] }
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', '~> 2.0.9'
27
+ spec.add_dependency 'graphql', '>= 2.3', '< 3'
28
28
 
29
- spec.add_development_dependency 'bundler', '~> 1.17'
30
- spec.add_development_dependency 'rake', '~> 10.0'
31
- spec.add_development_dependency 'rspec', '~> 3.0'
32
- spec.add_development_dependency 'rubocop', '~> 1.30'
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
@@ -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 'rack-contrib'
7
- gem 'sinatra'
5
+ gem 'puma', '~> 6'
6
+ gem 'racc'
7
+ gem 'rack-contrib', '~> 2'
8
+ gem 'sinatra', '~> 2'
8
9
  gem 'sinatra-contrib'
@@ -1,48 +1,52 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- graphql-hive (0.3.3)
5
- graphql (~> 2.0.9)
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
- graphql (2.0.9)
10
+ base64 (0.2.0)
11
+ graphql (2.3.7)
12
+ base64
11
13
  multi_json (1.15.0)
12
- mustermann (1.1.1)
14
+ mustermann (2.0.2)
13
15
  ruby2_keywords (~> 0.0.1)
14
- nio4r (2.5.8)
15
- puma (5.6.4)
16
+ nio4r (2.7.3)
17
+ puma (6.4.2)
16
18
  nio4r (~> 2.0)
17
- rack (2.2.3.1)
18
- rack-contrib (2.3.0)
19
- rack (~> 2.0)
20
- rack-protection (2.2.0)
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.0)
24
- mustermann (~> 1.0)
26
+ sinatra (2.2.4)
27
+ mustermann (~> 2.0)
25
28
  rack (~> 2.2)
26
- rack-protection (= 2.2.0)
29
+ rack-protection (= 2.2.4)
27
30
  tilt (~> 2.0)
28
- sinatra-contrib (2.2.0)
31
+ sinatra-contrib (2.2.4)
29
32
  multi_json
30
- mustermann (~> 1.0)
31
- rack-protection (= 2.2.0)
32
- sinatra (= 2.2.0)
33
+ mustermann (~> 2.0)
34
+ rack-protection (= 2.2.4)
35
+ sinatra (= 2.2.4)
33
36
  tilt (~> 2.0)
34
- tilt (2.0.10)
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
- rack-contrib
44
- sinatra
45
+ puma (~> 6)
46
+ racc
47
+ rack-contrib (~> 2)
48
+ sinatra (~> 2)
45
49
  sinatra-contrib
46
50
 
47
51
  BUNDLED WITH
48
- 1.17.3
52
+ 2.5.15
@@ -7,6 +7,10 @@ require_relative 'schema'
7
7
  class DemoApp < Sinatra::Base
8
8
  use Rack::JSONBodyParser
9
9
 
10
+ get '/' do
11
+ status 200
12
+ end
13
+
10
14
  post '/graphql' do
11
15
  result = Schema.execute(
12
16
  params['query'],
@@ -29,7 +29,13 @@ end
29
29
  class Schema < GraphQL::Schema
30
30
  query QueryType
31
31
 
32
- use(GraphQL::Hive,
33
- { enabled: ENV['HIVE_ENABLED'] === 'true', endpoint: 'localhost', debug: true, port: 8888, token: 'stress-token',
34
- report_schema: false })
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
@@ -6,6 +6,10 @@ app.use(express.json());
6
6
 
7
7
  let count = 0;
8
8
 
9
+ app.get("/", (req, res) => {
10
+ res.status(200).send({ status: 'ok' })
11
+ });
12
+
9
13
  app.get("/count", (req, res) => {
10
14
  res.status(200).send({ count });
11
15
  });
@@ -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(node, indent: indent)
20
+ super
17
21
  end
18
22
  end
19
23
 
20
- # rubocop:disable Style/RedundantInterpolation
24
+ # from GraphQL::Language::Printer with sort_by name
25
+ # ignores aliases
21
26
  def print_field(field, indent: '')
22
- out = "#{indent}".dup
23
- out << "#{field.name}"
24
- out << "(#{field.arguments.sort_by(&:name).map { |a| print_argument(a) }.join(', ')})" if field.arguments.any?
25
- out << print_directives(field.directives)
26
- out << print_selections(field.selections, indent: indent)
27
- out
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
- out = "@#{directive.name}".dup
58
+ print_string('@')
59
+ print_string(directive.name)
47
60
 
48
- if directive.arguments.any?
49
- out << "(#{directive.arguments.sort_by(&:name).map { |a| print_argument(a) }.join(', ')})"
50
- end
61
+ return if directive.arguments.blank?
51
62
 
52
- out
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
- out = "#{indent}#{operation_definition.operation_type}".dup
57
- out << " #{operation_definition.name}" if operation_definition.name
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
- out << "(#{operation_definition.variables.sort_by(&:name).map { |v| print_variable_definition(v) }.join(', ')})"
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
- out << print_directives(operation_definition.directives)
66
- out << print_selections(operation_definition.selections, indent: indent)
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.size.zero?
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(visitor.result)
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'].join('.') }
157
+ acc[:errors] << { message: error['message'], path: error['path']&.join('.') }
158
158
  end
159
159
  end
160
160
  acc
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Graphql
4
4
  module Hive
5
- VERSION = '0.3.3'
5
+ VERSION = '0.3.4'
6
6
  end
7
7
  end
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.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: 2023-04-18 00:00:00.000000000 Z
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: 2.0.9
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: 2.0.9
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: '1.17'
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: '1.17'
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: '10.0'
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: '10.0'
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.0'
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.0'
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.30'
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.30'
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.3.7
151
+ rubygems_version: 3.5.9
146
152
  signing_key:
147
153
  specification_version: 4
148
154
  summary: '"GraphQL Hive integration for `graphql-ruby`"'