fdcart 0.2.0 → 0.2.2

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: df19f6c67dba1d352401c7a3cf601038c654e43b332f660ef4aca3b3ded60c1a
4
- data.tar.gz: 7d397b3e28a7a64387d85044f3118e285f7de97bfc8c80911b5cc7c4a26ac350
3
+ metadata.gz: 110e78680dfc930816204030d61828c2c80e615b04f44cf8fdf1022168d4e734
4
+ data.tar.gz: f599448cc9bc307c0652e41297a33f7d5e66cfe299fd59836decd5a05b73971d
5
5
  SHA512:
6
- metadata.gz: 15c02d4b67acfc77f44c5b8a4fefc101f5da6061406a56976fb5591df11f852ea02fa862eee071d26ebded7c1f4ea8ba4ced78e6a4efb266b44ac7025044443c
7
- data.tar.gz: 64ee23cdf04564c2ef3d2a671dafaaa219eab73e037d1a82a1fc2646ae50432efc6e9ff936a1a292f551f5d2cffb5ff9c19fa7ef1bedd50d2fb746bd8149c739
6
+ metadata.gz: a9fbff6440922fc7f502cd3242610c53a001916595983d2472e6733878996d42f2d83fb705cf5b9755392d5f3689af094bbdbc95df5d308dafc1e63a43310375
7
+ data.tar.gz: 45834c203e26a23edcd19dc617938acd35ed89b9e038fd7ae20da0c954009d45200337a1ceb69c34a4e190de3eee78e3b2754b0d937dbec322868615d536d303
@@ -1,3 +1,3 @@
1
1
  class Fdcart
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.2'
3
3
  end
data/lib/fdcart.rb CHANGED
@@ -13,7 +13,7 @@ class Fdcart
13
13
  extra.each do |val|
14
14
  if val
15
15
  if !val[:externo].blank?
16
- cart[:externo] = val[:externo]
16
+ cart[:proveedor_externo] = val[:externo]
17
17
  elsif val.is_a?(Almacen)
18
18
  cart[:part_owner] = val
19
19
  elsif val.is_a?(PluginVentaPrecio)
@@ -46,5 +46,8 @@ class Fdcart
46
46
  :belongs_id.in => ids
47
47
  )
48
48
  end
49
+
50
+
51
+
49
52
  private
50
53
  end
data/lib/models/cart.rb CHANGED
@@ -20,6 +20,12 @@ class Cart
20
20
  belongs_to :belongs,
21
21
  polymorphic: true,
22
22
  required: false
23
+
24
+
25
+ ## Processs paymnet
26
+ belongs_to :payment,
27
+ polymorphic: true,
28
+ required: false
23
29
 
24
30
 
25
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fdcart
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - afuenteposadilla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2022-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.0.8
74
+ rubygems_version: 3.0.9
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Summary of Fdcart.