anycable 0.4.5 → 0.4.6

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: 4ab56eee345bc6b0c502974d06eacc65ebccd1fa
4
- data.tar.gz: 64770278435a2aeacfb095ff8be673c05cf9f573
3
+ metadata.gz: 54ab3e54c4fae8665342c024ebd87b6eba1dbf24
4
+ data.tar.gz: b137ecc42083c6bf34cf8e91cfb8644bac32a385
5
5
  SHA512:
6
- metadata.gz: b848d8af5718da5f3a9095363afb09f0107cb93ae247e65fb16ece9aaee88758b2d4f62df075a7ae63534b818f88243644d54ba026fb912bc5fc3067c87552d1
7
- data.tar.gz: da396f7401187ca4cfe1dcbf47e5e2991c1f6769ef1b743c1bd29ba155d53a0792adf7e8926c60ec44e0cde76ccd27459770cbc702cb6786f414cc11eb063cb6
6
+ metadata.gz: c052ba9b5aa8d283ae5da3e55bc538b9de144d8c8fadf6f768d22160a00c2ea566382b2dcb04157e00f2c3e76d08b0fb680acf055a50d183a1bf4184c8aea192
7
+ data.tar.gz: 950b9c4ba2f6abf5857f3d9abbeb9183bce9b9b5a524d89c2b002294a06bc7d10a06d9a36573684a1bf6b11a759f0897ff7b09764c3d6805fb40a72636118f18
@@ -1,6 +1,9 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
 
4
+ dist: trusty
5
+ sudo: false
6
+
4
7
  matrix:
5
8
  include:
6
9
  - rvm: 2.3.3
@@ -1,5 +1,9 @@
1
1
  # Change log
2
2
 
3
+ ## 0.4.6 (2017-05-20)
4
+
5
+ - Add `Anycable::Server#stop` method. ([@sadovnik][])
6
+
3
7
  ## 0.4.5 (2017-03-17)
4
8
 
5
9
  - Fixed #11. ([@palkan][])
@@ -49,3 +53,4 @@ All Rails specifics now live here https://github.com/anycable/anycable-rails.
49
53
  Implement `Disconnect` handler, which invokes `Connection#disconnect` (along with `Channel#unsubscribed` for each subscription).
50
54
 
51
55
  [@palkan]: https://github.com/palkan
56
+ [@sadovnik]: https://github.com/sadovnik
data/README.md CHANGED
@@ -20,7 +20,7 @@ Rails plug-n-play integration has been extracted to [anycable-rails](https://git
20
20
 
21
21
  ## How It Works?
22
22
 
23
- ![](https://cdn.evilmartians.com/front/posts/anycable-actioncable-on-steroids/Scheme2-f432434.png)
23
+ ![](https://s3.amazonaws.com/anycable/Scheme.png)
24
24
 
25
25
  Read our [Wiki](https://github.com/anycable/anycable/wiki) for more.
26
26
 
@@ -18,11 +18,11 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency "anyway_config", "~>0.5.0"
21
- spec.add_dependency "grpc", "~> 1.1.0"
21
+ spec.add_dependency "grpc", "~> 1.1"
22
22
  spec.add_dependency "redis", "~> 3.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1"
25
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rake", ">= 10.0"
26
26
  spec.add_development_dependency "rack", "~> 2.0"
27
27
  spec.add_development_dependency "rspec", ">= 3.5"
28
28
  spec.add_development_dependency "simplecov", ">= 0.3.8"
@@ -22,6 +22,10 @@ module Anycable
22
22
  Anycable.logger.info "RPC server is listening on #{Anycable.config.rpc_host}"
23
23
  grpc_server.run_till_terminated
24
24
  end
25
+
26
+ def stop
27
+ @grpc_server.stop
28
+ end
25
29
  end
26
30
  end
27
31
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Anycable
3
- VERSION = "0.4.5"
3
+ VERSION = "0.4.6"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - palkan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2017-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: anyway_config
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.0
33
+ version: '1.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.1.0
40
+ version: '1.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: redis
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '10.0'
83
83
  - !ruby/object:Gem::Dependency