shoppe-paypal 1.2.0 → 1.2.1

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: 149ca45ed4702ca50cfff2797012414742c1abbc
4
- data.tar.gz: 5c2f756d6083746302853be9c82b194a64c495c8
3
+ metadata.gz: a33cb06a9ad3857a382b1684c9b1be0ae24a278e
4
+ data.tar.gz: 2e99557c36798258d7f197ff3d19475b45ee0f34
5
5
  SHA512:
6
- metadata.gz: 8e365a8c07a0e96a645978d476ff65ba2f1c826de902b28e85a540f91a4860fe8c15f6c2066f723fa3bab285c1aae5b9ef2da5bf0e3585c9f36bb330d6382641
7
- data.tar.gz: d326770f05c6c9e5a937f4e90783f2df4dd28ac4fd2b6ece740f9ba2712f7792aaa6dd502838c2a6ce8f32fdc3c33bbb80742afd6d20a298179bc0198359414b
6
+ metadata.gz: 6c699cd83f4db247bc6d50e2c1be5a428510aae36fbcac25f04ba9d6737b06576620acbc22dc89ee1ff707c92c7c0c177d48f83e6a430e15de0bd228e8d632d9
7
+ data.tar.gz: bc063e585c6fb72862088ff578546ff9783e1f95a80c0a6a2f9b70560be21aae5d6c2238cc8ad88faaa1faaca0fc3945f45a5a70f9f933a9d12fee65a53d7d04
data/README.md CHANGED
@@ -21,8 +21,9 @@ For the latest up to date documentation, please see the [Shoppe tutorial page](h
21
21
  + Redirected to success URL and payment details are stored with the order
22
22
  + Complete order
23
23
  + When the order is accepted in the Shoppe admin, the payment will be executed/captured
24
+ + When the order is rejected, the payment is refunded
25
+ + Refund payments from the Shoppe admin
24
26
 
25
27
  ## To Do
26
28
 
27
29
  + Tests!
28
- + When rejecting an order, payment is not refunded
@@ -1,7 +1,10 @@
1
1
  module Shoppe
2
2
  module Paypal
3
3
  class Engine < Rails::Engine
4
-
4
+ config.before_initialize do
5
+ config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
6
+ end
7
+
5
8
  initializer "shoppe.paypal.initializer" do
6
9
  Shoppe::Paypal.setup
7
10
  end
@@ -10,7 +13,6 @@ module Shoppe
10
13
  Shoppe::Order.send :include, Shoppe::Paypal::OrderExtensions
11
14
  Shoppe::Payment.send :include, Shoppe::Paypal::PaymentExtensions
12
15
  end
13
-
14
16
  end
15
17
  end
16
18
  end
@@ -1,5 +1,5 @@
1
1
  module Shoppe
2
2
  module Paypal
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoppe-paypal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-06 00:00:00.000000000 Z
11
+ date: 2015-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: shoppe
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.2.2
81
+ rubygems_version: 2.4.5
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: A PayPal payment module for Shoppe.