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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79ed158f4e882659ca963af6a22fb66ce34dfa9a2e0f07de40f6331dd5865fb3
4
- data.tar.gz: 47a9a999c879d9a143d48fea3275573f557e0b33615038b0b6940c7743338939
3
+ metadata.gz: '004247714780caa6cff73438d8cbb797c87aa7fd8136a302eb55ac0ce1ea8c69'
4
+ data.tar.gz: 121edfdd3dbe9c8fd2fc6ac943c5bd0516f11ff98ff3e1aca3168bba102ba07e
5
5
  SHA512:
6
- metadata.gz: a960f6150eb79e81fe27c12a12d8fee66297aaac03184725df45f1c95abdc0274e211564cd4095c5e64a88ee8694ee7972f071834279022f1b779be9580ba7ec
7
- data.tar.gz: e98df2b3bb0770a0531b982002a319637821cc842be29ea832e916ffafbaf827ec1d9c275604ce13ecdcb278213d8bc9b54013981406f0d23ef95399bb552001
6
+ metadata.gz: b75a1491d23c2767ff6336db37613e54c056bbf8510b7ba08c7ccb988826ab28160d165a421821fb6e3da663d5341f4f86e40029c806658ac5941a897d19a326
7
+ data.tar.gz: 852bb3c618ad311b42be61254e54f178fd578a32c7ef52f5de309899cf010a58c22b2ddc445ff364f4af4bc3a890eede21458425e0436ebc5f141bdc7398d414
data/.gitignore CHANGED
@@ -8,5 +8,4 @@
8
8
  /tmp/
9
9
  Gemfile.lock
10
10
  .rspec_status
11
-
12
-
11
+ /gemfiles/*.lock
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,7 @@
1
+ appraise "graphql-1.9" do
2
+ gem "graphql", "~> 1.9.0"
3
+ end
4
+
5
+ appraise "graphql-1.10" do
6
+ gem "graphql", "~> 1.10.0"
7
+ end
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -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: "../"
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency "fakeredis"
35
35
  spec.add_development_dependency "rake", ">= 12.3.3"
36
36
  spec.add_development_dependency "rspec", "~> 3.0"
37
+ spec.add_development_dependency "appraisal"
37
38
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module Anycable
5
- VERSION = "0.3.2"
5
+ VERSION = "0.3.3"
6
6
  end
7
7
  end
@@ -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, *events.map(&:topic))
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.2
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-02 00:00:00.000000000 Z
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