graphql 1.13.10 → 1.13.11

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: 5f0c0383f875c956752600647f437e48e61308c8f69384f8743ef91340c8e32a
4
- data.tar.gz: d6253ec483446638d4cb699b8f4375937166b46325b56f89566b7f8475f68b76
3
+ metadata.gz: 35f3cee96b43dd0aa0306c28a4c7261c76c5e0e0ff5dc0a78470a5b85d763725
4
+ data.tar.gz: e6729545ff0b5a7936144e21fe0976ea34270415cee90738de2ee47c3acb9e94
5
5
  SHA512:
6
- metadata.gz: 969ab4479ebbe513ca239d9713711885dea4285eaf0256ec6d8a39bf4799cd8c489f7ba041d303a4ee6143cd847f592fa94e95c4f9a9655af714bd1e1daedf98
7
- data.tar.gz: 5f8e5be245480970e62e7713989ba2170171c824682214b740481be02ccf6e8a8f2cd0f317ed2cf9154328115d65ba06569c576231634aea8909452577d84902
6
+ metadata.gz: ee21a26d3b66b2442aa4eb0eeac02ec38d8e5952d286cc7528842cbae690c7b2af1604b2212e856c44b4b8ff35662f8eb391b5119a46e66d77153d97202a90fd
7
+ data.tar.gz: b6af73d03526e261d3b36ebf4cd39b402e25f4d21294450005a4bd6319fa9f2b5fa592ca8af0014103d7fedcf45483e153187b99d87a4edf12d4105c69010ac5
@@ -35,6 +35,10 @@ module GraphQL
35
35
  # @param context [GraphQL::Query::Context] The surrounding `ctx`, will be passed to the connection if provided (this is required for cursor encoders)
36
36
  # @param edge_class [Class] The class to wrap `item` with (defaults to the connection's edge class)
37
37
  def initialize(collection:, item:, parent: nil, context: nil, edge_class: nil)
38
+ if context.nil?
39
+ caller_loc = caller(2, 1).first
40
+ GraphQL::Deprecation.warn("`context: ...` will be required by `RangeAdd.new` in GraphQL-Ruby 2.0. Add `context: context` to the call at #{caller_loc}.")
41
+ end
38
42
  if context && context.schema.new_connections?
39
43
  conn_class = context.schema.connections.wrapper_for(collection)
40
44
  # The rest will be added by ConnectionExtension
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "1.13.10"
3
+ VERSION = "1.13.11"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.10
4
+ version: 1.13.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips
@@ -707,7 +707,7 @@ metadata:
707
707
  source_code_uri: https://github.com/rmosolgo/graphql-ruby
708
708
  bug_tracker_uri: https://github.com/rmosolgo/graphql-ruby/issues
709
709
  mailing_list_uri: https://tinyletter.com/graphql-ruby
710
- post_install_message:
710
+ post_install_message:
711
711
  rdoc_options: []
712
712
  require_paths:
713
713
  - lib
@@ -722,8 +722,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
722
722
  - !ruby/object:Gem::Version
723
723
  version: '0'
724
724
  requirements: []
725
- rubygems_version: 3.1.6
726
- signing_key:
725
+ rubygems_version: 3.3.3
726
+ signing_key:
727
727
  specification_version: 4
728
728
  summary: A GraphQL language and runtime for Ruby
729
729
  test_files: []