webflow_sync 3.1.0 → 3.1.1
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 -1
- data/lib/webflow_sync/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: 071c32fa2d8e2e8cd05717a410d44b382b52487f00111113dbbecdb4de1c5280
|
4
|
+
data.tar.gz: 15deffb7ed2f04269423ec82498160afb8a928e26b9021a085b6e433a1a52bb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8aeed4c68a939a8a377a5c1e6eee0154fa19778c0b5f1ac725ad36df80d8bcd8f4505bd07c48c6d44dcc3c71b26166a833e512fa7af801da8fc7fcd7f9ff6ad
|
7
|
+
data.tar.gz: 307d91073258ab1f08c1d47d47d6126f315ee2be9ed9781dc6ba05e299f846a483843798d2c80cff902767995677e99632e0bb1fb5efb0d38ff63e3883e41975
|
@@ -26,8 +26,10 @@ module WebflowSync
|
|
26
26
|
|
27
27
|
def destroy_webflow_item
|
28
28
|
return if self.skip_webflow_sync || WebflowSync.configuration.skip_webflow_sync
|
29
|
+
# Make sure slug is in the pulural form, and multiple words slug separated by dashes
|
30
|
+
collection_slug = self.model_name.collection.underscore.dasherize
|
29
31
|
|
30
|
-
WebflowSync::DestroyItemJob.perform_later(collection_slug:
|
32
|
+
WebflowSync::DestroyItemJob.perform_later(collection_slug: collection_slug,
|
31
33
|
webflow_site_id: self.webflow_site_id,
|
32
34
|
webflow_item_id: self.webflow_item_id)
|
33
35
|
end
|
data/lib/webflow_sync/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webflow_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Viktor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|