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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5264575754f2f9f51bb5912d943fad6b4778d6cc
4
- data.tar.gz: b53fa68a74dcfd6b6c6d7821d78321d7ca2d537f
3
+ metadata.gz: befe1ee696c2e92b1b9b6a862a9b9c5e024dbbfb
4
+ data.tar.gz: c0a573fbc413d53840f7bfd11d3cd5ea860f8e6f
5
5
  SHA512:
6
- metadata.gz: 0e3083ff2af4cf7a949fe26714e919eeacd485d24d9446723443aeaf9ab2fd4f91ced6813beef1680060fe59c37a48577d50aa948870a9f810e1101d164a6f6d
7
- data.tar.gz: a1d707ed183a07f41a3462cde10ec82968ad7aa6ac0ee52fedcf45c31e5ae8eda383ee126878289e6c6ab141edbe5e3e74cec33635861b8d6986ece6a8c75f71
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 off access logging (`Started <request data>` / `Finished <request data>`):
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: true
116
+ access_logs_disabled: false
117
117
  ```
118
118
 
119
119
 
@@ -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.rc1"
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"
@@ -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/engine"
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 false)
5
- Anycable::Config.attr_config access_logs_disabled: false
4
+ # `access_logs_disabled` options (defaults to true)
5
+ Anycable::Config.attr_config access_logs_disabled: true
@@ -19,7 +19,7 @@ module Anycable
19
19
  end
20
20
  end
21
21
 
22
- class Engine < ::Rails::Engine # :nodoc:
22
+ class Railtie < ::Rails::Railtie # :nodoc:
23
23
  initializer "disable built-in Action Cable mount" do |app|
24
24
  app.config.action_cable.mount_path = nil
25
25
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Anycable
4
4
  module Rails
5
- VERSION = "0.5.0.rc2"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
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.rc2
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-06 00:00:00.000000000 Z
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.rc1
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.rc1
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/engine.rb
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: 1.3.1
191
+ version: '0'
178
192
  requirements: []
179
193
  rubyforge_project:
180
194
  rubygems_version: 2.6.13