effective_orders 1.3.4 → 1.3.5
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 +4 -4
- data/app/controllers/effective/carts_controller.rb +2 -2
- data/lib/effective_orders/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5056701f4a034dabf5156b21f5e6d02683869636
|
|
4
|
+
data.tar.gz: 57b623f37257910d6623a4391c71237fe87c45aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f08fae3d4705001827f035985db3d3b4992b20f28b8f98fc62f627ab1bc9dda791a916033b5d16863212aa9de0ebcee01c5e9635c87ab06ff5945fed3f66a83
|
|
7
|
+
data.tar.gz: b65667174a2bfcfb902865abce8082b50e7c904e0dc0a915249ae0b823d4897956adc81c7bcbdea318042b620a941ee2dc98dc95b2b84984f5cb7eab38e4c9e3
|
|
@@ -17,7 +17,7 @@ module Effective
|
|
|
17
17
|
if @cart.destroy
|
|
18
18
|
flash[:success] = 'Successfully emptied cart'
|
|
19
19
|
else
|
|
20
|
-
flash[:danger] = 'Unable to destroy cart
|
|
20
|
+
flash[:danger] = 'Unable to destroy cart'
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
request.referrer ? (redirect_to :back) : (redirect_to effective_orders.cart_path)
|
|
@@ -50,7 +50,7 @@ module Effective
|
|
|
50
50
|
if @cart_item.destroy
|
|
51
51
|
flash[:success] = 'Successfully removed item from cart'
|
|
52
52
|
else
|
|
53
|
-
flash[:danger] = 'Unable to remove item from cart
|
|
53
|
+
flash[:danger] = 'Unable to remove item from cart'
|
|
54
54
|
end
|
|
55
55
|
|
|
56
56
|
request.referrer ? (redirect_to :back) : (redirect_to effective_orders.cart_path)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_orders
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -492,7 +492,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
492
492
|
version: '0'
|
|
493
493
|
requirements: []
|
|
494
494
|
rubyforge_project:
|
|
495
|
-
rubygems_version: 2.
|
|
495
|
+
rubygems_version: 2.4.3
|
|
496
496
|
signing_key:
|
|
497
497
|
specification_version: 4
|
|
498
498
|
summary: Quickly build an online store with carts, orders, automatic email receipts
|