camaleon_ecommerce 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 259fb7c0d7425357cf85f22b4dd36c09f0f793a1
4
- data.tar.gz: bca5fac0b47ff2f37795d54e7db45474bc6be598
3
+ metadata.gz: 6ea506472a65f6a1596da8c0eb7722d2d71fbe3c
4
+ data.tar.gz: e348504885f8e379a000c91a665c7965201a7f72
5
5
  SHA512:
6
- metadata.gz: faa588f0e928cac0e0432e3762ca57444b4cde51193eef635a882cd353828fb6cd325ef8825715ed21ebb79711222a33958b573f91f1a1ab4c20302c05b84c9e
7
- data.tar.gz: 64fb1190c45c2a0a1fc0207d24864914e57505f8892526006bb812d8488107f2cab49e542f3e2d884058ab78078b6e4dfb20b2931d1655d5c15ea8c849ac7657
6
+ metadata.gz: 07b7245a3ef128571d2334a5827cf4eddeeb4fa94e1c841f11fbb631991f2298782895848f11919e5131e75b3d8f48da3d6c94e5059f0b7bb3502cd07dfae281
7
+ data.tar.gz: 948759f3573f60dc0ca8bcebd24b08f2994382ee1c83937a80d34df3c575105e1af44eb9985d6b103591b7d2d1a8487aae9db2facbc690a88ead30319ef66d27
@@ -14,7 +14,7 @@ class Plugins::Ecommerce::Front::CheckoutController < Plugins::Ecommerce::FrontC
14
14
  def step_address
15
15
  @cart.set_meta("billing_address", params[:order][:billing_address])
16
16
  @cart.set_meta("shipping_address", params[:order][:shipping_address])
17
- render nothing: true
17
+ render inline: ''
18
18
  end
19
19
 
20
20
  def step_shipping
@@ -74,8 +74,8 @@ class Plugins::Ecommerce::Cart < ActiveRecord::Base
74
74
  res[:discount] = opts[:amount].to_f
75
75
  end
76
76
  end
77
- # else
78
- # res[:error] = 'coupon_not_found'
77
+ else
78
+ res[:error] = 'coupon_not_found'
79
79
  end
80
80
  res
81
81
  end
@@ -1,3 +1,3 @@
1
1
  module Ecommerce
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camaleon_ecommerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-02 00:00:00.000000000 Z
11
+ date: 2017-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: camaleon_cms
@@ -122,7 +122,9 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.3'
125
- description: ": Description of Ecommerce."
125
+ description: This is a simple E-Commerce plugin that permits to start selling in about
126
+ 10 minutes, because it takes advantage of all features of Camaleon CMS to easy management
127
+ by admin panel.
126
128
  email:
127
129
  - owenperedo@gmail.com
128
130
  executables: []
@@ -254,5 +256,7 @@ rubyforge_project:
254
256
  rubygems_version: 2.6.10
255
257
  signing_key:
256
258
  specification_version: 4
257
- summary: ": Summary of Ecommerce."
259
+ summary: This is a simple E-Commerce plugin that permits to start selling in about
260
+ 10 minutes, because it takes advantage of all features of Camaleon CMS to easy management
261
+ by admin panel.
258
262
  test_files: []