graphql-batch 0.2.3 → 0.2.4

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: 4e77963ea5a8725ac853785527d846124905e7df
4
- data.tar.gz: 22b03ac3a94f6a790cf1415970eb99c738c3b5e7
3
+ metadata.gz: e858070a0f23a5d42dc654bbc6760974bce89b24
4
+ data.tar.gz: d4771d661e223aced98ffaac3bf0314251274806
5
5
  SHA512:
6
- metadata.gz: 01003e5050f187156315c06d83386a2851baaaae370900f38b410c0dba9121feaac1ea10027a65a4448e3a7c757a74e639d88662838bd670d38a2a700f29d949
7
- data.tar.gz: 102b45b5b6db3d71509d5fa8d9ac1f409d7b29418823493e8ac198cc258245d43bc5c7851f6be71b7b3d34cbe8e19e9bdad90e4f5fa1a8e1720132c4164e4d64
6
+ metadata.gz: 898be9f7e40085e62777a1ed73b89149104b7b95c202201862f1f218d751815384521900eac19dad215cb4ba7b714cc093f48de0c5ae1054966d469a8c7996f8
7
+ data.tar.gz: 2800cf159f9441d9d88b03ccfb9239a1217349cf177e3477a23946440b41752b58de716b03811fe7928bfb546192feca9031967fa7e88399b8c13e9467fd21e8
@@ -1,7 +1,8 @@
1
1
  module GraphQL::Batch
2
2
  class Loader
3
3
  def self.for(*group_args)
4
- Executor.current.loaders[group_args] ||= new(*group_args)
4
+ loader_key = [self].concat(group_args)
5
+ Executor.current.loaders[loader_key] ||= new(*group_args)
5
6
  end
6
7
 
7
8
  def promises_by_key
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Batch
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dylan Thacker-Smith
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql