anycable-rails 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -5
- data/CHANGELOG.md +12 -0
- data/lib/anycable/rails/config.rb +2 -0
- data/lib/anycable/rails/railtie.rb +8 -7
- data/lib/anycable/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e22c0242186344df43946087c788317e068f63f5405692ca1c1ea20c5446d505
|
4
|
+
data.tar.gz: 56eecb2616a52072c5184183e69f36c5e4a9342b7ab91fee660c9b58a8aa949d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68139e784f62c206badffb130eff677d7267dd11066c054e2faccc73b3bdb69dda3490800e04d355c4038fdb803c47d220972a35fcf6bd8130753f658546b578
|
7
|
+
data.tar.gz: f22a7128655c6ef8f73fd98baa5de443b224138d5737a77bc68aa6e82e9bd606d28eb19d73c3b9f3fbeb704b60eae6d5c8382a573a2e75b83927e047899b7a47
|
data/.travis.yml
CHANGED
@@ -4,13 +4,18 @@ cache: bundler
|
|
4
4
|
notifications:
|
5
5
|
email: false
|
6
6
|
|
7
|
+
before_install: gem install bundler -v '~> 1'
|
8
|
+
|
7
9
|
matrix:
|
8
10
|
include:
|
9
|
-
- rvm: 2.4.
|
11
|
+
- rvm: 2.4.5
|
10
12
|
gemfile: Gemfile
|
11
|
-
- rvm: 2.5.
|
13
|
+
- rvm: 2.5.3
|
12
14
|
gemfile: Gemfile
|
13
|
-
-
|
14
|
-
|
15
|
+
- rvm: 2.5.3
|
16
|
+
gemfile: gemfiles/rails5.gemfile
|
17
|
+
- rvm: 2.5.3
|
18
|
+
gemfile: gemfiles/railsmaster.gemfile
|
15
19
|
allow_failures:
|
16
|
-
-
|
20
|
+
- rvm: 2.5.3
|
21
|
+
gemfile: gemfiles/railsmaster.gemfile
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## 0.6.2 (2019-01-10)
|
6
|
+
|
7
|
+
- Fixed `anycable` 0.6.1 compatibility. ([@palkan][])
|
8
|
+
|
9
|
+
- Broadcast logs to STDOUT in development only when server is running. ([@palkan][])
|
10
|
+
|
11
|
+
Fixes #59.
|
12
|
+
|
13
|
+
## 0.6.1 (2018-11-15)
|
14
|
+
|
5
15
|
- Fix regression introduced in [e64a366e](https://github.com/anycable/anycable-rails/commit/e64a366ea21293925e0c5c0b8e6595d65d5d0981#diff-fd0e56a6e825002eac978507c3581af7R14) ([@palkan][])
|
6
16
|
|
7
17
|
`Connection` patch could be loaded after `identify_by` is called, thus breaking
|
@@ -9,6 +19,8 @@ identifiers.
|
|
9
19
|
|
10
20
|
## 0.6.0 (2018-11-15)
|
11
21
|
|
22
|
+
**NOTE**: this version has been yanked from RubyGems due to the regression bug. Use 0.6.1.
|
23
|
+
|
12
24
|
- [PR #56](https://github.com/anycable/anycable-rails/pull/56) Request verification based on ActionCable config. ([@DmitryTsepelev][])
|
13
25
|
|
14
26
|
- Add WS server session ID to log tags if present. ([@palkan][])
|
@@ -13,14 +13,15 @@ module AnyCable
|
|
13
13
|
initializer "anycable.logger", after: "action_cable.logger" do |_app|
|
14
14
|
AnyCable.logger = ActiveSupport::TaggedLogging.new(::ActionCable.server.config.logger)
|
15
15
|
|
16
|
-
# Broadcast logs to STDOUT in development
|
16
|
+
# Broadcast server logs to STDOUT in development
|
17
17
|
if ::Rails.env.development? &&
|
18
|
-
!ActiveSupport::Logger.logger_outputs_to?(::Rails.logger, STDOUT)
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
18
|
+
!ActiveSupport::Logger.logger_outputs_to?(::Rails.logger, STDOUT)
|
19
|
+
AnyCable.configure_server do
|
20
|
+
console = ActiveSupport::Logger.new(STDOUT)
|
21
|
+
console.formatter = ::Rails.logger.formatter
|
22
|
+
console.level = ::Rails.logger.level
|
23
|
+
AnyCable.logger.extend(ActiveSupport::Logger.broadcast(console))
|
24
|
+
end
|
24
25
|
end
|
25
26
|
|
26
27
|
# Add tagging middleware
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anycable-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
200
|
rubyforge_project:
|
201
|
-
rubygems_version: 2.7.
|
201
|
+
rubygems_version: 2.7.6
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Rails adapter for AnyCable
|