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 +4 -4
- data/lib/fdcart/version.rb +1 -1
- data/lib/fdcart.rb +4 -1
- data/lib/models/cart.rb +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 110e78680dfc930816204030d61828c2c80e615b04f44cf8fdf1022168d4e734
|
4
|
+
data.tar.gz: f599448cc9bc307c0652e41297a33f7d5e66cfe299fd59836decd5a05b73971d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9fbff6440922fc7f502cd3242610c53a001916595983d2472e6733878996d42f2d83fb705cf5b9755392d5f3689af094bbdbc95df5d308dafc1e63a43310375
|
7
|
+
data.tar.gz: 45834c203e26a23edcd19dc617938acd35ed89b9e038fd7ae20da0c954009d45200337a1ceb69c34a4e190de3eee78e3b2754b0d937dbec322868615d536d303
|
data/lib/fdcart/version.rb
CHANGED
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[:
|
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
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.
|
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:
|
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.
|
74
|
+
rubygems_version: 3.0.9
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Summary of Fdcart.
|