effective_orders 1.3.4 → 1.3.5

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
  SHA1:
3
- metadata.gz: 774850d182ebadfca0aa4eebd1ec345be944bb07
4
- data.tar.gz: 1d6112128a019ec2818e210b99a98f97e6cf8dba
3
+ metadata.gz: 5056701f4a034dabf5156b21f5e6d02683869636
4
+ data.tar.gz: 57b623f37257910d6623a4391c71237fe87c45aa
5
5
  SHA512:
6
- metadata.gz: 9a495e6eb97854c65a7911314278c973ba376f99489add1aa6071745a1ae3071ac89ccfa215f93f1b2569b8e7b0cccfb7b0c14603b098724828a2177476e895d
7
- data.tar.gz: 8d26c685de6888af50e3820b2f439a3989f59c1c80b44b9c6a85ef2875c82df3a861fcd8ef7b5ac0fa93ce47688c2fbd0529bcf3919b5d10864bc14251050f7f
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:' + e.message
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: ' + e.message
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)
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '1.3.4'.freeze
2
+ VERSION = '1.3.5'.freeze
3
3
  end
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
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-16 00:00:00.000000000 Z
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.2.0
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