workarea-cart_sharing 1.0.3.pre → 1.0.4.pre
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbe726eaa37413f51a3e04755241559219989a629efecc4dc876fc5d16d6a8d6
|
4
|
+
data.tar.gz: 0def09540b25d100b799f97e4e5c9e22b7688cdd03eb10e15613ca922c3fd528
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9a78490117c5f07f40801525ecf7f8753dcacd22969c67cb3fe0e47ed4fa6159731f5d539517d0fd77169fe0dc5861725e71b7f0d034b01e900e3fba879d618
|
7
|
+
data.tar.gz: 4cdc383532a948c596d8e004400c6bc5c6aff6e9e53869289eb207dff1bbda334575955a664d7b4f0d8a5ef7b8a110b469f861ef0302d856b631be5a7514b213
|
@@ -23,7 +23,7 @@ module Workarea
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def set_sharable_token
|
26
|
-
return true if self.current_order.sharable_token.present?
|
26
|
+
return true if self.current_order.sharable_token.present? || self.current_order.items.blank?
|
27
27
|
self.current_order.sharable_token = Workarea::Order.generate_unique_secure_token
|
28
28
|
self.current_order.save
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-cart_sharing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gunasekaran.r
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|