fdcart 0.2.1 → 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: 6b563e7621cc8102fe7375895e3ad16865dc056886ef7ba00c5ed62f8dc387dd
4
- data.tar.gz: 9a1dd23c0827154ee11dbf7336c962ecb40ab126b93ffa7aab063cfd5150c816
3
+ metadata.gz: 110e78680dfc930816204030d61828c2c80e615b04f44cf8fdf1022168d4e734
4
+ data.tar.gz: f599448cc9bc307c0652e41297a33f7d5e66cfe299fd59836decd5a05b73971d
5
5
  SHA512:
6
- metadata.gz: 2a05f5e5fde23b7909e0d27ba6e5d917c07f408c587641640c7f3bfd4c18953a7be9ce68afc7391b20a2ca8f0a5af6459ad09ceacd6c51a36e0d91af3120cc64
7
- data.tar.gz: 902ff66fa4468c87216335706e637663e3a980f4e860aaefa5d89fb864de117ccfa8318901a326031863261b49ca40de5bda071a11b26960e3cde72b9f68cec0
6
+ metadata.gz: a9fbff6440922fc7f502cd3242610c53a001916595983d2472e6733878996d42f2d83fb705cf5b9755392d5f3689af094bbdbc95df5d308dafc1e63a43310375
7
+ data.tar.gz: 45834c203e26a23edcd19dc617938acd35ed89b9e038fd7ae20da0c954009d45200337a1ceb69c34a4e190de3eee78e3b2754b0d937dbec322868615d536d303
@@ -1,3 +1,3 @@
1
1
  class Fdcart
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
data/lib/fdcart.rb CHANGED
@@ -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.1
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-05-27 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.