action_cable_notifications 0.1.7 → 0.1.8

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: 6c8e7ba114ebff5d2eca6ceba782d0042520d217
4
- data.tar.gz: 55dc2f2c8487a35e4badb789778a98ca2b8415bd
3
+ metadata.gz: 5a5b294019da537a20da5de08471a9c7bff2de04
4
+ data.tar.gz: 386bb05710c8c1c8857c65a8576895e0bc712359
5
5
  SHA512:
6
- metadata.gz: 4bf60c8c5c3cf4c349149975e1f80106546ed76cbcd915adf72757c3276ecf7e8f76aa85cba2c062e5629661d8a953839b0ac1a0bc9e51811340bda6f45addc0
7
- data.tar.gz: 21bca2c64cb4ef8c83c257aac7fe873c391c607e7baebc806a267a65e1c77cff7a267ced3f90c186936aeaff730f492f6bce360ab1676b966ca0b3493fcb854b
6
+ metadata.gz: 131a9ecbf7b35f060de693e6cb0f71fee8f3a88c5a3f2985d061c6749f363a3c64c03a8e8ed37d45ff32272d85eef42077c0c8b4dcb7943f86adea99eb2efe2c
7
+ data.tar.gz: 5166a418c3c85c6b0b3fff2dbdf2b4f50d227c0ba8b2b94b4cfa9bd88f733c1a32da51523090b57951161a7097c653b4316cfd29226297143e9b3d56e9a3f78b
@@ -21,7 +21,7 @@ module ActionCableNotifications
21
21
  # @param [sym] broadcasting Topic name to broadcast in
22
22
  # @param [hash] options Hash containing notification options
23
23
  #
24
- def broadcast_notifications_from ( broadcasting, options = nil )
24
+ def broadcast_notifications_from ( broadcasting, options = {} )
25
25
  # Default options
26
26
  options = {
27
27
  actions: [:create, :update, :destroy],
@@ -39,7 +39,7 @@ module ActionCableNotifications
39
39
  #
40
40
  # @return [ActiveRecordRelation] Results fetched from the database
41
41
  #
42
- def scoped_collection ( scope=:all )
42
+ def scoped_collection ( scope = :all )
43
43
  Array(scope).inject(self) {|o, a| o.try(*a)}
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  module ActionCableNotifications
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_cable_notifications
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ByS Sistemas de Control