Skip to content

Commit e456268

Browse files
committed
Move Async up to Ruby 3.2+ because it doesn't support 3.1 anymore
1 parent e222f81 commit e456268

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if RUBY_VERSION >= "3.0"
1414
gem "evt"
1515
end
1616

17-
if RUBY_VERSION >= "3.1.1"
17+
if RUBY_VERSION >= "3.2.0"
1818
gem "async", "~>2.0"
1919
end
2020

spec/graphql/dataloader/async_dataloader_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22
require "spec_helper"
3-
if RUBY_VERSION >= "3.1.1"
3+
if RUBY_VERSION >= "3.2.0"
44
require "async"
55
describe GraphQL::Dataloader::AsyncDataloader do
66
class AsyncSchema < GraphQL::Schema

spec/graphql/query/partial_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ def run_partials(string, partial_configs, **query_kwargs)
393393
{ path: ["q1", "q2", "query", "currentPath"], object: ["injected", "path"] },
394394
])
395395

396-
pp results
397396
assert_equal({"q1" => { "q2" => { "query" => { "currentPath" => ["q1", "q2", "query", "currentPath"] } } } }, results[0]["data"])
398397
assert_equal [], results[0].partial.path
399398
assert_equal({"query" => {"currentPath" => ["q1", "q2", "query", "currentPath"]}}, results[1]["data"])

0 commit comments

Comments
 (0)