anycable-rails 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -0
- data/CHANGELOG.md +4 -0
- data/anycable-rails.gemspec +1 -0
- data/gemfiles/rails5.gemfile +2 -2
- data/lib/anycable-rails.rb +1 -0
- data/lib/anycable/rails.rb +2 -3
- data/lib/anycable/rails/actioncable/channel.rb +1 -0
- data/lib/anycable/rails/actioncable/connection.rb +0 -2
- data/lib/anycable/rails/actioncable/server.rb +1 -0
- data/lib/anycable/rails/activerecord/release_connection.rb +1 -0
- data/lib/anycable/rails/engine.rb +1 -0
- data/lib/anycable/rails/refinements/subscriptions.rb +1 -0
- data/lib/anycable/rails/version.rb +2 -1
- data/lib/generators/anycable/anycable_generator.rb +1 -0
- data/lib/generators/anycable/templates/script +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7b9447d2754976500f75cf5544947ed086b3259
|
4
|
+
data.tar.gz: 306070a5d753988544515a876a271ddf7d1032cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3cdb613732eeec3f2a6c3c1bea1f14ac9cd4fd2037a026075dc0ddd41b6150abeb21bcc4fdd31f5af1f09a9860b7af60fc1a7de2485a7cff9aca97d335e713
|
7
|
+
data.tar.gz: 022af2cb8de1cb703c91e0f7fb8312098b40af99bf819b73088108822121a5c473001a2f5c10f9c6e802fcfb46c4bcb718ae7628fa16c3eb622d3c3558713e92
|
data/.rubocop.yml
CHANGED
@@ -5,11 +5,14 @@ AllCops:
|
|
5
5
|
- 'lib/**/*.rake'
|
6
6
|
- 'spec/**/*.rb'
|
7
7
|
Exclude:
|
8
|
+
- '*.gemspec'
|
8
9
|
- 'bin/**/*'
|
9
10
|
- 'spec/dummy/**/*'
|
10
11
|
- 'tmp/**/*'
|
11
12
|
- 'bench/**/*'
|
12
13
|
- 'lib/anycable/rpc/**/*'
|
14
|
+
- 'Rakefile'
|
15
|
+
- 'Gemfile'
|
13
16
|
DisplayCopNames: true
|
14
17
|
StyleGuideCopsOnly: false
|
15
18
|
TargetRubyVersion: 2.3
|
@@ -34,6 +37,12 @@ Style/BlockDelimiters:
|
|
34
37
|
Exclude:
|
35
38
|
- 'spec/**/*.rb'
|
36
39
|
|
40
|
+
Style/PercentLiteralDelimeters:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Lint/ScriptPermission:
|
44
|
+
Enabled: false
|
45
|
+
|
37
46
|
Lint/AmbiguousRegexpLiteral:
|
38
47
|
Enabled: false
|
39
48
|
|
data/CHANGELOG.md
CHANGED
data/anycable-rails.gemspec
CHANGED
data/gemfiles/rails5.gemfile
CHANGED
data/lib/anycable-rails.rb
CHANGED
data/lib/anycable/rails.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
|
-
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
2
|
+
|
4
3
|
require "anycable"
|
5
4
|
require "anycable/rails/version"
|
6
5
|
|
@@ -17,7 +16,7 @@ module Anycable
|
|
17
16
|
@logger.warn "Tagged logger is not supported by AnyCable. Skip"
|
18
17
|
end
|
19
18
|
|
20
|
-
%i
|
19
|
+
%i[debug info warn error fatal unknown].each do |severity|
|
21
20
|
define_method(severity) do |message|
|
22
21
|
@logger.send severity, message
|
23
22
|
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.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- palkan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|