graphql-client 0.11.1 → 0.11.2

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: d61e0c76bd9b0a1399a8dc46f38bdb1e1bc894fe
4
- data.tar.gz: e4db7d3d02dbeefad9704a6dc8ae6ae951ec4753
3
+ metadata.gz: e16a0bd7e5a96cd51a7beaba34c16f42d18b584e
4
+ data.tar.gz: 64a8e730f5c3079bdf472b2931165b7c9da27f1a
5
5
  SHA512:
6
- metadata.gz: cc3888e41dc5d7c4881373011bbcd3d72f7b0ca929a172b59320ac5aad3648e2094279244ac1e927faa02ceca66042e07fb817c8e8f1950a4a7db0234b4a2ec6
7
- data.tar.gz: 88175d34d57de1b9478a6e800eb2b0fffee3617d1acd4217eaa384a9b18fd941ca31a69db1172f478093ad546901107ad8fee6887a46f543a942abe16989b378
6
+ metadata.gz: 33f7cf43e6b04b5205eb9bcacc4223b84f0da3abd5bcb140c7c346fa25c64113bf9f977b8777c508963b04764996c39116e9708a452a91601531913e6a2a3934
7
+ data.tar.gz: 4722c40b42e578fc3c1943539fa9c1dfe94e3218c87314fde34ee8a4173133943f2f6dd61cad64551c31f512a8494ecff4f42c4a4daff280b38f1281fca0ae3c
@@ -32,7 +32,8 @@ module GraphQL
32
32
  define_fields(fields)
33
33
 
34
34
  if definition.client.enforce_collocated_callers
35
- Client.enforce_collocated_callers(self, fields.keys, definition.source_location[0])
35
+ keys = fields.keys.map { |key| ActiveSupport::Inflector.underscore(key) }
36
+ Client.enforce_collocated_callers(self, keys, definition.source_location[0])
36
37
  end
37
38
 
38
39
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-23 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport