yabeda-graphql 0.2.2 → 0.2.3

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: c20464a4af09f93903f183db49444de64e2271b32c5b64b1006bdf957097cb99
4
- data.tar.gz: b3e99429dc2d3f8d8484d89816c31c0f90e2136eae9936785da4a0a9763f3c8c
3
+ metadata.gz: aed4d5c392c099fb7d0bdab25c1489b637cceec7d442739c26a940ebcfcbc42d
4
+ data.tar.gz: e1f3a58216e42a3c114a4321b6f1deeaaaffef424be728ad1aee2d2010fff6e7
5
5
  SHA512:
6
- metadata.gz: e8855101b02efb9cf195dd76967c37331ff83726369bab33e3982ef093f18f90e3e34cbc817b0d8f2f600d551cccbefd11bde963ff60f3e3af77d26e9e2805ff
7
- data.tar.gz: 888fc148f9d812a62914945f22340d39397016ecbcce565119c98debbc23fbd277095365ee21f1bc34a8b7b156b7503954097c4d4dd2774e4ef5e68397e6ff53
6
+ metadata.gz: e3b0ee1cf572e2c23f13a3ec32a64d574726d28728ed20df6bd3145845ab03ecba0e7881bb40bc1ed4f505f8b9b9cc5598af3ec20f1f1e7fa4e2693c399a720e
7
+ data.tar.gz: 42a57d68c11cdbacee24f6ac04a871bf4af3b242fcd5ba6c09cdf1b6ea8e43d025081febc0a63839a6748b42a3f3bbb96c55b5c7df69ab34ac62a9739b5e18dd
@@ -16,6 +16,8 @@ jobs:
16
16
  fail-fast: false
17
17
  matrix:
18
18
  include:
19
+ - ruby: "3.2"
20
+ graphql-ruby: "2.0"
19
21
  - ruby: "3.1"
20
22
  graphql-ruby: "2.0"
21
23
  - ruby: "3.0"
@@ -24,10 +26,6 @@ jobs:
24
26
  graphql-ruby: "1.12"
25
27
  - ruby: "2.6"
26
28
  graphql-ruby: "1.11"
27
- - ruby: "2.5"
28
- graphql-ruby: "1.10"
29
- - ruby: "2.5"
30
- graphql-ruby: "1.9"
31
29
  container:
32
30
  image: ruby:${{ matrix.ruby }}
33
31
  env:
data/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 0.2.3 - 2023-05-29
9
+
10
+ ### Fixed
11
+
12
+ - Compatibility with GraphQL-Ruby 2.0 tracing API. [#5](https://github.com/yabeda-rb/yabeda-graphql/pull/5) by [@skateman]
13
+
8
14
  ## 0.2.2 - 2022-04-04
9
15
 
10
16
  ### Fixed
@@ -29,3 +35,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
29
35
  - Initial release of yabeda-graphql gem. [@Envek]
30
36
 
31
37
  [@Envek]: https://github.com/Envek "Andrey Novikov"
38
+ [@skateman]: https://github.com/skateman "Halász Dávid"
@@ -1,5 +1,5 @@
1
1
  module Yabeda
2
2
  module GraphQL
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@ require "graphql/tracing/platform_tracing"
2
2
 
3
3
  module Yabeda
4
4
  module GraphQL
5
- class Tracing < ::GraphQL::Tracing::PlatformTracing
5
+ class YabedaTracing < ::GraphQL::Tracing::PlatformTracing
6
6
 
7
7
  self.platform_keys = {
8
8
  'lex' => "graphql.lex",
@@ -1,6 +1,6 @@
1
1
  require "yabeda"
2
2
  require "yabeda/graphql/version"
3
- require "yabeda/graphql/tracing"
3
+ require "yabeda/graphql/yabeda_tracing"
4
4
  require "yabeda/graphql/instrumentation"
5
5
 
6
6
  module Yabeda
@@ -31,7 +31,7 @@ module Yabeda
31
31
 
32
32
  def self.use(schema)
33
33
  schema.instrument(:query, Instrumentation.new)
34
- schema.use Tracing, trace_scalars: true
34
+ schema.use YabedaTracing, trace_scalars: true
35
35
  end
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yabeda-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-04 00:00:00.000000000 Z
11
+ date: 2023-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yabeda
@@ -137,8 +137,8 @@ files:
137
137
  - grafana-dashboard.json
138
138
  - lib/yabeda/graphql.rb
139
139
  - lib/yabeda/graphql/instrumentation.rb
140
- - lib/yabeda/graphql/tracing.rb
141
140
  - lib/yabeda/graphql/version.rb
141
+ - lib/yabeda/graphql/yabeda_tracing.rb
142
142
  - yabeda-graphql-logo.png
143
143
  - yabeda-graphql.gemspec
144
144
  homepage: http://github.com/yabeda-rb/yabeda-graphql