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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9ae04f9598f3eff108b5370c1d173154bdab5d7e025a088a5b72375dc316db6
4
- data.tar.gz: 932eef1358398dd50d0347f7c16eadae2c3edd1ce431807c115dc3eed7480d5f
3
+ metadata.gz: cff0f2d872c485fc15f3046b2fdacbb9cfce2d3e7e312b8f0461dc20f2e52a41
4
+ data.tar.gz: 586fe6c97d6063512020bde66aaf3a0d8c2dc4a33ca508beb67295a18f121618
5
5
  SHA512:
6
- metadata.gz: 83a118f66c08b3555e5627973160d9f0c09c1796fb6f4f9b7157ed39be8f67cfdf735109d31b8e510b3ef4b6fa94427b9d178e37fb55edc416255763e190e99d
7
- data.tar.gz: 8df3faa61cbb9f6f36ca1f009842e5f14a1d68e775e2c670b952c61b20c564aad66807bd3c71f61e1895aa17953d365be90e2ca446fa275389c7ec8ad8d0f296
6
+ metadata.gz: f055860a0a5a10eb3954bc6dd5088e66cc948eefe3b853a6fee63ea9ed5e7fafa2827e4fda6f67eeca3efe6efccc2d69eb59f6e8ee11d969be4ef027e73727a8
7
+ data.tar.gz: c53d21ea1beb3443451839ceb69e318c840b04564e35379adebd65ccfc4f708666c8c78514a805f16e564508aa190ad81a27329334826016f2bc08bc5aa16fde
@@ -10,3 +10,7 @@ notifications:
10
10
  rvm:
11
11
  - 2.4.3
12
12
  - 2.5.1
13
+
14
+ before_install:
15
+ - gem update --system
16
+ - gem install bundler
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## master
4
4
 
5
- ## 0.6.0-dev
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
 
@@ -1,4 +1,4 @@
1
- Copyright 2017 palkan
1
+ Copyright 2017-2019 Vladimir Dementyev
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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)
@@ -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.1"
25
- spec.add_dependency "grpc", "~> 1.15"
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", "~> 1"
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"
@@ -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 ||= Config.new
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
@@ -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
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "webrick"
4
- require "anycable/server"
5
4
 
6
5
  module AnyCable
7
6
  # Server for HTTP healthchecks.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AnyCable
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  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.6.0
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: 2018-11-15 00:00:00.000000000 Z
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.1
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.1
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.15'
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.15'
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.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