effective_orders 1.2.7 → 1.2.8

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: 9e77f25b6d0e0a68b65f915274bac55854e97671
4
- data.tar.gz: a7b178984581033d45d4bebacc8be65700b9609b
3
+ metadata.gz: 5b058a8018b04bba6d153a9b184a47785cddeac3
4
+ data.tar.gz: 40fa1ec6cbfdda59ef1d8d7e85715de2e84a0e78
5
5
  SHA512:
6
- metadata.gz: 9049fbc41f9edb0792e992b1376ce845f28c73499d3764972a665abbb1faf94f775d2b7eb763270b96bdf7423e1877d5d013ed8df533887020df3f25700914a9
7
- data.tar.gz: 3f89d86ee7cdc7ef9e479805d08962df11ae7e239058154a1e7baa3f90d847892dc7b04c4f3b47169ad5be3df8df0168a886d12bdf85228dfc723479f291055a
6
+ metadata.gz: d7c937a0a8222f86c9e3eeb4924e56b1ef9a0761cfa091c07c9b15e475f5b514b89bcc5001b6d68afde394ae9af17e2c519c3462c3fefd4d97ac2b6ed3aebed4
7
+ data.tar.gz: 11da35e58807fb36ae04f3e0e915413148a3f73140ab03ebbfd56dc798f0dd95a920b396a4cb3a6a7189ab60254a18f3cbd5e998a1242c3f7a333b62f74ebbb2
@@ -154,7 +154,7 @@ module Effective
154
154
  def order_declined(details = nil, redirect_url = nil)
155
155
  @order.decline!(details) rescue nil
156
156
 
157
- flash[:danger] = "Unable to process your order. Your Cart items have been restored."
157
+ flash[:danger] = "Unable to purchase order. Your credit card was declined by the payment processor. Your cart items have been restored. Please try again."
158
158
 
159
159
  redirect_to (redirect_url.presence || effective_orders.order_declined_path(@order)).gsub(':id', @order.id.to_s)
160
160
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '1.2.7'.freeze
2
+ VERSION = '1.2.8'.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.2.7
4
+ version: 1.2.8
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-01-27 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails