activegraphql 0.4.1 → 0.4.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: 0dcf1eed2bc27ed6ffc87cb190f2ee3a9fb4a0e1
4
- data.tar.gz: 8b339ecef3f057edf877421fa9e68617d51d8c25
3
+ metadata.gz: 51dcb23f45f29333e407e55f8777e95f3c1c985e
4
+ data.tar.gz: 32d4de12dcbe4472053d8b3396297fcaa1357526
5
5
  SHA512:
6
- metadata.gz: c5a57a0d3f79a8f02dd279bc80253737785c2ba08f181686151a22fd52a85b00cd82c415f7ff1ca6bd77eeee67f572ae298bf923f85f5af1428beba627aa1255
7
- data.tar.gz: c2ab6b725e9f4e2ccd29df991d687fa6a30aa7ec554ff2f9dddcae1354e0d52fef8fc9cd9bfa4cf0079ccb01d14510f4fb77cf390d80effa848ac589feccc863
6
+ metadata.gz: 767c81f7b1bd795ae1636701de170f8bd1941e378a330e186493a3eeec165b23b45080f0b5ad64ea4168e132fdc62d9bee4e13aa09dd1b82090e92725e7b1b40
7
+ data.tar.gz: 825867a7c3d2ed18658db76e4ae8b03957b64393dddfd726617d64c333b9a4d9d7199d161eeb1d819ee6a5ba2858ced561e953451634601c3fa61c6080974b3a
@@ -29,6 +29,8 @@ module ActiveGraphQL
29
29
  klass.new(response)
30
30
  when Array
31
31
  response.map { |h| klass.new(h) }
32
+ when NilClass
33
+ return nil
32
34
  else
33
35
  raise Error, "Unexpected response for query: #{response}"
34
36
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveGraphQL
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activegraphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wakoopa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-14 00:00:00.000000000 Z
11
+ date: 2017-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.5.1
154
+ rubygems_version: 2.6.10
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: Ruby client for GraphQL services