Skip to content

Commit 7e91a75

Browse files
committed
0.2.1: Ruby 3.0 compatibility
1 parent d02f9af commit 7e91a75

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 0.2.1 - 2021-02-09
9+
10+
### Fixed
11+
12+
- Ruby 3.0 compatibility. [@Envek]
13+
814
## 0.2.0 - 2020-03-21
915

1016
### Changed

lib/yabeda/graphql/instrumentation.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ def before_query(query)
66
end
77

88
def after_query(query)
9-
cache(query).each do |_path, tags:, duration:|
10-
Yabeda.graphql.field_resolve_runtime.measure(tags, duration)
11-
Yabeda.graphql.fields_request_count.increment(tags)
9+
cache(query).each do |_path, options|
10+
Yabeda.graphql.field_resolve_runtime.measure(options[:tags], options[:duration])
11+
Yabeda.graphql.fields_request_count.increment(options[:tags])
1212
end
1313
end
1414

lib/yabeda/graphql/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Yabeda
22
module GraphQL
3-
VERSION = "0.2.0"
3+
VERSION = "0.2.1"
44
end
55
end

0 commit comments

Comments
 (0)