webflow_sync 0.2.5 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/webflow_sync/callbacks.rb +3 -3
- data/lib/webflow_sync/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 462ca934ced66c135d9737e6d3a488d93e26c90b4a3e48e1e0b5b8a87c710fb4
|
4
|
+
data.tar.gz: 9473b40c6a4bc830a864902c013de92936edfd3b81985a77353c90dae481b905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74d85eea27d5d66ddc36ae45c336422f64dc447a83d82a0764abcdcb470f6148732d60b76ac2209b6d9d37bab07e5fc28281c961f2e6d9bdf380dd5c8c6bc15e
|
7
|
+
data.tar.gz: ebec0cbb65c0f521724366c3fe85be6b0f4c4e17939d62c5f3a0ffc3639a0003161e1d3c05676bf72af9a7e55816e03aa9e9f4c3afe81c1c4bc1149a03144a4b
|
@@ -8,9 +8,9 @@ module WebflowSync
|
|
8
8
|
included do
|
9
9
|
attr_accessor :skip_webflow_sync
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
|
11
|
+
after_commit :create_webflow_item, on: :create
|
12
|
+
after_commit :update_webflow_item, on: :update
|
13
|
+
after_commit :destroy_webflow_item, on: :destroy
|
14
14
|
|
15
15
|
def create_webflow_item
|
16
16
|
return if self.skip_webflow_sync || WebflowSync.configuration.skip_webflow_sync
|
data/lib/webflow_sync/version.rb
CHANGED