anycable-rails 0.5.0.rc2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/anycable-rails.gemspec +2 -1
- data/lib/anycable/rails.rb +1 -1
- data/lib/anycable/rails/config.rb +2 -2
- data/lib/anycable/rails/{engine.rb → railtie.rb} +1 -1
- data/lib/anycable/rails/version.rb +1 -1
- metadata +23 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: befe1ee696c2e92b1b9b6a862a9b9c5e024dbbfb
|
4
|
+
data.tar.gz: c0a573fbc413d53840f7bfd11d3cd5ea860f8e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e56fb8e4f7baad3a1e2a73a798f84883b195796ceb9b112b927343434f97b66875f5df13e7b3fa099d73d7f73a08659a66ba6896f41c7f83fc690f68a6a174
|
7
|
+
data.tar.gz: 8448424ff837cbb57a6ac4ba1aa6c165dcf544e9ca4e0dd53e278cb591b72fdcb440b692f6465f0edfd4174d5742e4bd4151da408504b493a9a83f52d03d7de4
|
data/README.md
CHANGED
@@ -108,12 +108,12 @@ if Anycable.config.debug
|
|
108
108
|
end
|
109
109
|
```
|
110
110
|
|
111
|
-
You can also turn
|
111
|
+
You can also turn on access logging (`Started <request data>` / `Finished <request data>`):
|
112
112
|
|
113
113
|
```ruby
|
114
114
|
# in anycable.yml
|
115
115
|
production:
|
116
|
-
access_logs_disabled:
|
116
|
+
access_logs_disabled: false
|
117
117
|
```
|
118
118
|
|
119
119
|
|
data/anycable-rails.gemspec
CHANGED
@@ -19,11 +19,12 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency "rails", "~> 5"
|
22
|
-
spec.add_dependency "anycable", "0.5.0
|
22
|
+
spec.add_dependency "anycable", "~> 0.5.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
26
|
spec.add_development_dependency "rspec", ">= 3.4"
|
27
|
+
spec.add_development_dependency "ammeter", "~> 1.1"
|
27
28
|
spec.add_development_dependency "simplecov", ">= 0.3.8"
|
28
29
|
spec.add_development_dependency "rubocop", ">= 0.50"
|
29
30
|
spec.add_development_dependency "pry-byebug"
|
data/lib/anycable/rails.rb
CHANGED
@@ -7,7 +7,7 @@ require "anycable/rails/config"
|
|
7
7
|
module Anycable
|
8
8
|
# Rails handler for AnyCable
|
9
9
|
module Rails
|
10
|
-
require "anycable/rails/
|
10
|
+
require "anycable/rails/railtie"
|
11
11
|
require "anycable/rails/actioncable/server"
|
12
12
|
require "anycable/rails/actioncable/connection"
|
13
13
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
# Extend Anycable configuration with
|
4
|
-
# `access_logs_disabled` options (defaults to
|
5
|
-
Anycable::Config.attr_config access_logs_disabled:
|
4
|
+
# `access_logs_disabled` options (defaults to true)
|
5
|
+
Anycable::Config.attr_config access_logs_disabled: true
|
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.5.0
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: anycable
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.5.0
|
33
|
+
version: 0.5.0
|
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: 0.5.0
|
40
|
+
version: 0.5.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.4'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: ammeter
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.1'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.1'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: simplecov
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,7 +165,7 @@ files:
|
|
151
165
|
- lib/anycable/rails/actioncable/server.rb
|
152
166
|
- lib/anycable/rails/activerecord/release_connection.rb
|
153
167
|
- lib/anycable/rails/config.rb
|
154
|
-
- lib/anycable/rails/
|
168
|
+
- lib/anycable/rails/railtie.rb
|
155
169
|
- lib/anycable/rails/refinements/subscriptions.rb
|
156
170
|
- lib/anycable/rails/version.rb
|
157
171
|
- lib/generators/anycable/USAGE
|
@@ -172,9 +186,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
186
|
version: '0'
|
173
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
188
|
requirements:
|
175
|
-
- - "
|
189
|
+
- - ">="
|
176
190
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
191
|
+
version: '0'
|
178
192
|
requirements: []
|
179
193
|
rubyforge_project:
|
180
194
|
rubygems_version: 2.6.13
|