graphql-anycable 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0aa2aec6c0bf750d4c8aef9f0041bfb9020c99aff49bf4306455e84281324405
4
- data.tar.gz: e99960f25c0c3f19e3fa178b03dabf567332d54d946fb16f64d0e10faf12e406
3
+ metadata.gz: 8f43d8941cd7af501d59ba278700ab982c8b7d261d4932d5ae09696533daeb9e
4
+ data.tar.gz: f4e95708adc2f337356dbad4529e5d0ae6230c46919ce22d06f6b6278f5575d1
5
5
  SHA512:
6
- metadata.gz: 63f95c27386dab3c22f4cb8e839f8acc22feab67fa52c57c77e026f4cb73c0f454cd75cd6be78751493a37ae64ecf8c949bdc89cdb8724ec0f6ba96e772eda56
7
- data.tar.gz: 25276a243be92a58ff6206b9d001a6b8b91ad9f73f9e60096c8ffa5345a56b9de7d1f50cc4ab0a559a928b1df554e5588a9f07d72bcc9716f09344df3f895302
6
+ metadata.gz: e32732357bcba4ce95912c3a81ee4b9c828049de6ec7b7f80174b173cc930ae1fa84bac1bf0259e2b1c8704e847790d6942c6b76a90c716fcf2026222a12d87b
7
+ data.tar.gz: 4d8a726b1844408dcc54d66748368f14e94ff3412eea30f768f56d076a78de73e6fcee84eb20b51175784a5eb13c806c666b50c39aca01f3d1a35c26d8c23646
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module Anycable
5
- VERSION = "0.3.0"
5
+ VERSION = "0.3.1"
6
6
  end
7
7
  end
@@ -119,6 +119,7 @@ module GraphQL
119
119
  ).tap do |subscription|
120
120
  subscription[:context] = @serializer.load(subscription[:context])
121
121
  subscription[:variables] = JSON.parse(subscription[:variables])
122
+ subscription[:operation_name] = nil if subscription[:operation_name].strip == ""
122
123
  end
123
124
  end
124
125
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-anycable
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
  - Andrey Novikov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anycable
@@ -153,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubyforge_project:
157
- rubygems_version: 2.7.6
156
+ rubygems_version: 3.0.3
158
157
  signing_key:
159
158
  specification_version: 4
160
159
  summary: A drop-in replacement for GraphQL ActionCable subscriptions for AnyCable.