workarea-paypal 3.0.3 → 3.0.4

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
  SHA256:
3
- metadata.gz: d56a6bbb39e0357ffa880a99749bf18d52baa6b2dade6b95c32faf821d9abacb
4
- data.tar.gz: df0d898d029a70f52ecc93d0a176aa032c382fb9684b85e9d1fe1fc7b30ec8a8
3
+ metadata.gz: 11b3db0ccfcaf33684bf21632d8a5ad2db9092f21993f68495b357b80962e1e3
4
+ data.tar.gz: 2fb729f7458c8d9925dfdf9f8728ccbd90eeccd0e8dada3384a76e5d47a697f9
5
5
  SHA512:
6
- metadata.gz: 59924950c8cf492d04107d95a8835cb1c008246904df6f651d2b4a88280b5f40f12458943b620757557b0aeb266643b433a374c940b3d3f31bd340fe7fb44657
7
- data.tar.gz: e4c66e7939c429a706063b346738520485a02e239cfe50aad505d49c88148a54926d180e459e8f97cb4eb63777fda85b3b385df7018fafd62e505298496028ed
6
+ metadata.gz: c3fd4c2e52cf635eb6460b02041cef631026b31f9358a16c6b7ec55b00a92ff3f89c8eeec4ea4d14d48041c31e680d07ad26cd0c2e68383bc94ee287087d1d12
7
+ data.tar.gz: a35ed6dfce864733502fe2eab4a688776d1b35e6c189bd54f2a42d5ab75369cd03f588514c3bf97e9805d66b6d61d9ce31e520bd8169e3eec8246abf5cbc68f1
@@ -1,3 +1,18 @@
1
+ Workarea Paypal 3.0.4 (2020-06-17)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Scope routes to include locale
5
+
6
+
7
+ Ben Crouse
8
+
9
+ * Corrected minor typo
10
+
11
+
12
+ JurgenHahn
13
+
14
+
15
+
1
16
  Workarea Paypal 3.0.3 (2020-05-26)
2
17
  --------------------------------------------------------------------------------
3
18
 
@@ -11,7 +11,7 @@
11
11
  %span.button-property__text= t('workarea.storefront.paypal.paypal')
12
12
  %p.checkout-payment__primary-method-description
13
13
  - if step.paypal? && step.payment.errors.none?
14
- %span= t('workarea.storefront.paypal.payment_recieved')
14
+ %span= t('workarea.storefront.paypal.payment_received')
15
15
  - elsif step.paypal? && step.payment.errors.present?
16
16
  %span= t('workarea.storefront.paypal.payment_failed')
17
17
  - else
@@ -23,7 +23,7 @@ en:
23
23
  on_continue: Select a PayPal payment option.
24
24
  paid_with_paypal: Paid with PayPal
25
25
  payment_failed: Your submitted PayPal payment could not be completed. Select a new method and try again.
26
- payment_recieved: Thank You! We have received your information back from PayPal.
26
+ payment_received: Thank You! We have received your information back from PayPal.
27
27
  Please confirm that the shipping address and shipping method are correct,
28
28
  then click on 'Place Order'.
29
29
  paypal: PayPal
@@ -1,5 +1,7 @@
1
1
  Workarea::Storefront::Engine.routes.draw do
2
- post 'paypal' => 'paypal#create'
3
- put 'paypal/:id/approved' => 'paypal#update', as: :paypal_approved
4
- post 'paypal/event' => 'paypal#event', as: :paypal_event
2
+ scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
3
+ post 'paypal' => 'paypal#create'
4
+ put 'paypal/:id/approved' => 'paypal#update', as: :paypal_approved
5
+ post 'paypal/event' => 'paypal#event', as: :paypal_event
6
+ end
5
7
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Paypal
3
- VERSION = '3.0.3'.freeze
3
+ VERSION = '3.0.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-paypal
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - bcrouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-26 00:00:00.000000000 Z
11
+ date: 2020-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea