anycable 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/CHANGELOG.md +5 -1
- data/MIT-LICENSE +1 -1
- data/README.md +2 -0
- data/anycable.gemspec +3 -3
- data/lib/anycable.rb +6 -2
- data/lib/anycable/cli.rb +2 -2
- data/lib/anycable/health_server.rb +0 -1
- data/lib/anycable/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cff0f2d872c485fc15f3046b2fdacbb9cfce2d3e7e312b8f0461dc20f2e52a41
|
4
|
+
data.tar.gz: 586fe6c97d6063512020bde66aaf3a0d8c2dc4a33ca508beb67295a18f121618
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f055860a0a5a10eb3954bc6dd5088e66cc948eefe3b853a6fee63ea9ed5e7fafa2827e4fda6f67eeca3efe6efccc2d69eb59f6e8ee11d969be4ef027e73727a8
|
7
|
+
data.tar.gz: c53d21ea1beb3443451839ceb69e318c840b04564e35379adebd65ccfc4f708666c8c78514a805f16e564508aa190ad81a27329334826016f2bc08bc5aa16fde
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
-
## 0.6.
|
5
|
+
## 0.6.1 (2019-01-05)
|
6
|
+
|
7
|
+
- [Fix #63](https://github.com/anycable/anycable-rails/issues/63) Load `anyway_config` after application boot to make sure that all frameworks dependent functionality is loaded. ([@palkan][])
|
8
|
+
|
9
|
+
## 0.6.0 (2018-11-15)
|
6
10
|
|
7
11
|
### Features
|
8
12
|
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -33,6 +33,8 @@ Check out our 📑 [Documentation](https://docs.anycable.io).
|
|
33
33
|
|
34
34
|
## Talks
|
35
35
|
|
36
|
+
- High-speed cables for Ruby, RubyConf 2018, [slides](https://speakerdeck.com/palkan/rubyconf-2018-high-speed-cables-for-ruby) and [video](https://www.youtube.com/watch?v=8XRcOZXOzV4) (EN)
|
37
|
+
|
36
38
|
- One cable to rule them all, RubyKaigi 2018, [slides](https://speakerdeck.com/palkan/rubykaigi-2018-anycable-one-cable-to-rule-them-all) and [video](https://www.youtube.com/watch?v=jXCPuNICT8s) (EN)
|
37
39
|
|
38
40
|
- Wroc_Love.rb 2018 [slides](https://speakerdeck.com/palkan/wroc-love-dot-rb-2018-cables-cables-cables) and [video](https://www.youtube.com/watch?v=AUxFFOehiy0) (EN)
|
data/anycable.gemspec
CHANGED
@@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.4.0'
|
23
23
|
|
24
|
-
spec.add_dependency "anyway_config", "~> 1.4.
|
25
|
-
spec.add_dependency "grpc", "~> 1.
|
24
|
+
spec.add_dependency "anyway_config", "~> 1.4.2"
|
25
|
+
spec.add_dependency "grpc", "~> 1.17"
|
26
26
|
|
27
27
|
spec.add_development_dependency "redis", ">= 4.0"
|
28
|
-
spec.add_development_dependency "bundler", "
|
28
|
+
spec.add_development_dependency "bundler", ">= 1"
|
29
29
|
spec.add_development_dependency "rake", ">= 10.0"
|
30
30
|
spec.add_development_dependency "rack", "~> 2.0"
|
31
31
|
spec.add_development_dependency "rspec", ">= 3.5"
|
data/lib/anycable.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "anycable/version"
|
4
|
-
require "anycable/config"
|
5
4
|
require "logger"
|
6
5
|
|
7
6
|
require "anycable/exceptions_handling"
|
@@ -39,7 +38,12 @@ module AnyCable
|
|
39
38
|
end
|
40
39
|
|
41
40
|
def config
|
42
|
-
@config ||=
|
41
|
+
@config ||= begin
|
42
|
+
# Load anyway_config as later as possible
|
43
|
+
# to make sure all framework-dependent patches are loaded
|
44
|
+
require "anycable/config"
|
45
|
+
Config.new
|
46
|
+
end
|
43
47
|
end
|
44
48
|
|
45
49
|
def configure
|
data/lib/anycable/cli.rb
CHANGED
@@ -34,14 +34,14 @@ module AnyCable
|
|
34
34
|
|
35
35
|
parse_gem_options!(extra_options)
|
36
36
|
|
37
|
+
configure_server!
|
38
|
+
|
37
39
|
logger.info "Starting AnyCable gRPC server (pid: #{Process.pid})"
|
38
40
|
|
39
41
|
print_versions!
|
40
42
|
|
41
43
|
logger.info "Serving #{defined?(::Rails) ? 'Rails ' : ''}application from #{boot_file}"
|
42
44
|
|
43
|
-
configure_server!
|
44
|
-
|
45
45
|
verify_connection_factory!
|
46
46
|
|
47
47
|
log_grpc! if config.log_grpc
|
data/lib/anycable/version.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anyway_config
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.4.
|
19
|
+
version: 1.4.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.4.
|
26
|
+
version: 1.4.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: grpc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.17'
|
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.
|
40
|
+
version: '1.17'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: redis
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,14 +56,14 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
249
249
|
version: '0'
|
250
250
|
requirements: []
|
251
251
|
rubyforge_project:
|
252
|
-
rubygems_version: 2.7.
|
252
|
+
rubygems_version: 2.7.6
|
253
253
|
signing_key:
|
254
254
|
specification_version: 4
|
255
255
|
summary: AnyCable is a polyglot replacement for ActionCable-compatible servers
|