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 +4 -4
- data/.github/workflows/test.yml +2 -4
- data/CHANGELOG.md +7 -0
- data/lib/yabeda/graphql/version.rb +1 -1
- data/lib/yabeda/graphql/{tracing.rb → yabeda_tracing.rb} +1 -1
- data/lib/yabeda/graphql.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aed4d5c392c099fb7d0bdab25c1489b637cceec7d442739c26a940ebcfcbc42d
|
4
|
+
data.tar.gz: e1f3a58216e42a3c114a4321b6f1deeaaaffef424be728ad1aee2d2010fff6e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3b0ee1cf572e2c23f13a3ec32a64d574726d28728ed20df6bd3145845ab03ecba0e7881bb40bc1ed4f505f8b9b9cc5598af3ec20f1f1e7fa4e2693c399a720e
|
7
|
+
data.tar.gz: 42a57d68c11cdbacee24f6ac04a871bf4af3b242fcd5ba6c09cdf1b6ea8e43d025081febc0a63839a6748b42a3f3bbb96c55b5c7df69ab34ac62a9739b5e18dd
|
data/.github/workflows/test.yml
CHANGED
@@ -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"
|
data/lib/yabeda/graphql.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require "yabeda"
|
2
2
|
require "yabeda/graphql/version"
|
3
|
-
require "yabeda/graphql/
|
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
|
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.
|
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:
|
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
|