graphql-anycable 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -2
- data/.travis.yml +9 -0
- data/Appraisals +7 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/graphql_1.10.gemfile +14 -0
- data/gemfiles/graphql_1.9.gemfile +14 -0
- data/graphql-anycable.gemspec +1 -0
- data/lib/graphql/anycable/version.rb +1 -1
- data/lib/graphql/subscriptions/anycable_subscriptions.rb +1 -1
- metadata +20 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '004247714780caa6cff73438d8cbb797c87aa7fd8136a302eb55ac0ce1ea8c69'
|
4
|
+
data.tar.gz: 121edfdd3dbe9c8fd2fc6ac943c5bd0516f11ff98ff3e1aca3168bba102ba07e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75a1491d23c2767ff6336db37613e54c056bbf8510b7ba08c7ccb988826ab28160d165a421821fb6e3da663d5341f4f86e40029c806658ac5941a897d19a326
|
7
|
+
data.tar.gz: 852bb3c618ad311b42be61254e54f178fd578a32c7ef52f5de309899cf010a58c22b2ddc445ff364f4af4bc3a890eede21458425e0436ebc5f141bdc7398d414
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
@@ -7,4 +7,13 @@ rvm:
|
|
7
7
|
- 2.6.5
|
8
8
|
- 2.5.7
|
9
9
|
- 2.4.9
|
10
|
+
gemfile:
|
11
|
+
- gemfiles/graphql_1.9.gemfile
|
12
|
+
- gemfiles/graphql_1.10.gemfile
|
10
13
|
before_install: gem install bundler -v "~> 2.0"
|
14
|
+
|
15
|
+
matrix:
|
16
|
+
exclude:
|
17
|
+
# grpc gem isn't ready for ruby 2.7 yet: https://github.com/grpc/grpc/issues/21514
|
18
|
+
# goole-protobuf gem isn't ready for ruby 2.7 yet: https://github.com/protocolbuffers/protobuf/issues/7070
|
19
|
+
- rvm: 2.7.0
|
data/Appraisals
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "graphql", "~> 1.10.0"
|
6
|
+
|
7
|
+
group :development, :test do
|
8
|
+
gem "pry"
|
9
|
+
gem "pry-byebug", platform: :mri
|
10
|
+
gem "rubocop"
|
11
|
+
gem "rubocop-rspec"
|
12
|
+
end
|
13
|
+
|
14
|
+
gemspec path: "../"
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "graphql", "~> 1.9.0"
|
6
|
+
|
7
|
+
group :development, :test do
|
8
|
+
gem "pry"
|
9
|
+
gem "pry-byebug", platform: :mri
|
10
|
+
gem "rubocop"
|
11
|
+
gem "rubocop-rspec"
|
12
|
+
end
|
13
|
+
|
14
|
+
gemspec path: "../"
|
data/graphql-anycable.gemspec
CHANGED
@@ -101,7 +101,7 @@ module GraphQL
|
|
101
101
|
redis.multi do
|
102
102
|
redis.sadd(CHANNEL_PREFIX + channel.params["channelId"], subscription_id)
|
103
103
|
redis.mapped_hmset(SUBSCRIPTION_PREFIX + subscription_id, data)
|
104
|
-
redis.sadd(SUBSCRIPTION_EVENTS_PREFIX + subscription_id,
|
104
|
+
redis.sadd(SUBSCRIPTION_EVENTS_PREFIX + subscription_id, events.map(&:topic))
|
105
105
|
events.each do |event|
|
106
106
|
redis.sadd(EVENT_PREFIX + event.topic, subscription_id)
|
107
107
|
end
|
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.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Novikov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anycable
|
@@ -120,6 +120,20 @@ dependencies:
|
|
120
120
|
- - "~>"
|
121
121
|
- !ruby/object:Gem::Version
|
122
122
|
version: '3.0'
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: appraisal
|
125
|
+
requirement: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - ">="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '0'
|
130
|
+
type: :development
|
131
|
+
prerelease: false
|
132
|
+
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
123
137
|
description:
|
124
138
|
email:
|
125
139
|
- envek@envek.name
|
@@ -131,12 +145,16 @@ files:
|
|
131
145
|
- ".rspec"
|
132
146
|
- ".rubocop.yml"
|
133
147
|
- ".travis.yml"
|
148
|
+
- Appraisals
|
134
149
|
- Gemfile
|
135
150
|
- LICENSE.txt
|
136
151
|
- README.md
|
137
152
|
- Rakefile
|
138
153
|
- bin/console
|
139
154
|
- bin/setup
|
155
|
+
- gemfiles/.bundle/config
|
156
|
+
- gemfiles/graphql_1.10.gemfile
|
157
|
+
- gemfiles/graphql_1.9.gemfile
|
140
158
|
- graphql-anycable.gemspec
|
141
159
|
- lib/Rakefile
|
142
160
|
- lib/graphql-anycable.rb
|