graphql 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: 8e06bd99f6bb6350c2d7111d5014ef9c71154f8a
4
- data.tar.gz: 1b90cfb31081700c64abab2f8f26a665bd2fe6fa
3
+ metadata.gz: fe7641dffd14c00880e603f8184ad21a9611d83c
4
+ data.tar.gz: 321e498e40d82ef2e693fc5ed75873af5b252620
5
5
  SHA512:
6
- metadata.gz: d8c0847198e4c6403cffac42b6cf8ab3cf1446d04ebcb91d2cb916244e170f0072d6ef9ee1ac355c4585ab62d0eac73048d34cb89e990b0cf62bde639d8fd166
7
- data.tar.gz: ce1ea3d57512c38593c50ba2531994b5ce5ed83b0cb91ee13e4e78402d3ed4494c8d8ec88db2c037460e0379820b47821c0fcdb03a18cc804de17157fc252acd
6
+ metadata.gz: abc31a8400a6552e47c9d0c1f91f4808e677a7d7686c0081953c2120c462b5293c5b9502e3e0dcf7d1795d1f526645f81b74ea9b9c124c4f0ad665abbbaf43a3
7
+ data.tar.gz: aff0d44780415b85bc2fa2a4652a26698e253e897e671135d41ff2036a712d2a486db63696ef56d8370aa2c63d7cd8ab76ec00dd474a9f8165e8da3f5e94c8c7
@@ -4,6 +4,8 @@ module GraphQL
4
4
  # It delegates `[]` to the hash that's passed to `GraphQL::Query#initialize`.
5
5
  class Context
6
6
  attr_reader :execution_strategy
7
+ # `strategy` is required by GraphQL::Batch
8
+ alias_method :strategy, :execution_strategy
7
9
 
8
10
  def execution_strategy=(new_strategy)
9
11
  # GraphQL::Batch re-assigns this value but it was previously not used
@@ -72,7 +74,7 @@ module GraphQL
72
74
  @irep_node = irep_node
73
75
  end
74
76
 
75
- def_delegators :@context, :[], :[]=, :spawn, :query, :schema, :warden, :errors, :execution_strategy
77
+ def_delegators :@context, :[], :[]=, :spawn, :query, :schema, :warden, :errors, :execution_strategy, :strategy
76
78
 
77
79
  # @return [GraphQL::Language::Nodes::Field] The AST node for the currently-executing field
78
80
  def ast_node
@@ -1,3 +1,3 @@
1
1
  module GraphQL
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo