graphql-extras 0.3.0 → 0.3.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
  SHA256:
3
- metadata.gz: 29213c20e07ca49b31f25ee4c66a1b60537c746ac3a66030eee023eb33d35f65
4
- data.tar.gz: 45694df9fb4e00159e7394bcab9f9253de8dd949b891cc6b78a6e28fa548a99e
3
+ metadata.gz: 0e3623c136fc05eae999805634c1b25872fdbe1948e57eb2bede7b420c50b45a
4
+ data.tar.gz: 3d779144687c43c43f2de6fbca4724f226a026da3c3c9555547a8d4e02b1a208
5
5
  SHA512:
6
- metadata.gz: 22ca80f894bdae011ee6707f35a43097b699534dfc4295e5369100f993dced3a6906df29518dff0729683320db7dd72d9186c0edc8d0378ffb2b5bee24941e0d
7
- data.tar.gz: e6df88738196ecf8b02b15fcad0da085ee6cfca9762a27dc06942458797b73a624fa300252338e3f04c92aff73a52a59543eeee29bc5f9ee2631c27563223423
6
+ metadata.gz: 667baac08b7eff4d2a81f520c81e2d3abecb7f0ca5ba19511c0a2d286f3a58698ba0d7747067b91ada5c61ea8fe3db15f0736259b47e30402c2c9f8a6a6dccbd
7
+ data.tar.gz: 8c8556f6ee4b8660ce3f07b0fe9c047c5c822ec9b1e7e0f9d0387f47e1a0f57167bf2ebad31c8f8a1ae47a76f57084994b2052a9e2d9a716b17471e3cca73d3f
@@ -1,6 +1,6 @@
1
1
  require "securerandom"
2
2
  require "active_support/inflector"
3
- require "active_support/core_ext/hash/deep_transform_values"
3
+ require "active_support/core_ext/hash"
4
4
  require "graphql/extras/test/loader"
5
5
  require "graphql/extras/test/response"
6
6
 
@@ -33,6 +33,10 @@ module GraphQL
33
33
  def __execute(schema, query, variables)
34
34
  uploads = {}
35
35
 
36
+ variables = variables.deep_transform_keys do |key|
37
+ key.to_s.camelize(:lower)
38
+ end
39
+
36
40
  variables = variables.deep_transform_values do |value|
37
41
  if value.respond_to? :tempfile
38
42
  id = SecureRandom.uuid
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Extras
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-extras
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane