stream_rails 2.6.3 → 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream_rails/sync_policies.rb +2 -2
- data/lib/stream_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 377b89cf80c565ae9ffad3d5a91f4179af15e41ebcbf244e6d793fda2fa2ac64
|
4
|
+
data.tar.gz: fbc695b7236b8d0b4c88a460bd36bbd711de3427364d849b028b2a880ba8944d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77c57b7b549b918709047e15283866d3f5c77d00f3911f6b160d89c29d52ae3cfcb1ae3650219bb5c85159549e8197345d34041a387eb170a0e8b496f67f390
|
7
|
+
data.tar.gz: b4e11ac815abb93c49ce00e10697eef65c6bd9dd88aa663da0fed97c129bfeba2318eec5d6ac00a2e4b87367d500e1d597bb15c3966337613c6f3021f1c0b2b1
|
@@ -28,8 +28,8 @@ module StreamRails
|
|
28
28
|
|
29
29
|
module SyncDestroy
|
30
30
|
def self.included(base)
|
31
|
-
if base.respond_to? :
|
32
|
-
base.
|
31
|
+
if base.respond_to? :before_destroy
|
32
|
+
base.before_destroy :remove_from_feed
|
33
33
|
elsif Object.const_defined?('Sequel') && base < Sequel::Model
|
34
34
|
base.instance_eval do
|
35
35
|
define_method(:before_destroy) do |*args|
|
data/lib/stream_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tommaso Barbugli
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-08-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|