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: '03038bd1fc388a4aa6e727281b84eaa617b2b2b22f193ccd48f54d54e0968241'
4
- data.tar.gz: b5de9f7feb5d4e69d1b7d831d2da4020f3b8c832ab8bdc27b3249afadd90eb00
3
+ metadata.gz: bbe726eaa37413f51a3e04755241559219989a629efecc4dc876fc5d16d6a8d6
4
+ data.tar.gz: 0def09540b25d100b799f97e4e5c9e22b7688cdd03eb10e15613ca922c3fd528
5
5
  SHA512:
6
- metadata.gz: 82d865fefadc37dc75d3336226cfb37ec68dcce40ab8a828146c196e2dd0b768ee17323c09f89d2dd6ac7c101ee8fabaa9ab6160536dcedf3611172d7335d8ad
7
- data.tar.gz: 016b0dc2dd1e03210d961eaf20826fed321483b735eae562a07380034c7db0f5eb1f66bb33457d242987150c11c50f3ce9fd1c42fa2b0ddbe5319443e24099ef
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
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module CartSharing
3
- VERSION = "1.0.3.pre".freeze
3
+ VERSION = "1.0.4.pre".freeze
4
4
  end
5
5
  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.3.pre
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-19 00:00:00.000000000 Z
11
+ date: 2020-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea