unlock_paypal 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dffba8577d3622fcbc7b987ac4a7b78a3ec34fe8
4
- data.tar.gz: d59503ef2d013979a5dc1425870ec01e0101c545
3
+ metadata.gz: a65af1d4188b89aa50c67dcc27c45faf92639877
4
+ data.tar.gz: 046a70f4f37e4ced378dadbd33c690f89b220f33
5
5
  SHA512:
6
- metadata.gz: a86b8d5a772582774735309780f47d8957b1b149a855f3199209d8916c37b4477fb68bb93e97c4211e6a8b940cf6ff4347aac322a3c28cd53a7c50f02354984b
7
- data.tar.gz: bab789ab003348f6bc05857a0f85d5b69fef30552bda133e43ec69807c49e0e59abdc770bbde4cb01480ec100180a1292495498bde754b4ce4ae7a171891b5d2
6
+ metadata.gz: e1e1b0a34cd69bac567592935806c230036cb351ac3cbc64fd761c52daa6e5436dc5a2a18f7538eae20f05589d5db431a00ae859ec51f2b25a9a84ebcab8f8d3
7
+ data.tar.gz: 7a360f2fefd6280b508b559f709aebee7303da7c45343383088af76108609d0c16c439df52088abc9d7d316982812c16accef9ffc1e5996ec7411ed978d2eb96
@@ -33,7 +33,7 @@ class UnlockPaypal::ContributionsController < ::ApplicationController
33
33
  def edit
34
34
  authorize @contribution
35
35
  @initiative = @contribution.initiative
36
- @gateways = @initiative.gateways.without_state(:draft).order(:ordering)
36
+ @gateways = @initiative.gateways.without_state(:draft).ordered
37
37
  paypal = PayPal::Recurring.new({token: params[:token]}.merge(@contribution.paypal_auth))
38
38
  details = paypal.checkout_details
39
39
  @contribution.gateway_data = {} unless @contribution.gateway_data
@@ -1,3 +1,3 @@
1
1
  module UnlockPaypal
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unlock_paypal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Weinmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2014-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0
33
+ version: 0.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.0
40
+ version: 0.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: paypal-recurring
43
43
  requirement: !ruby/object:Gem::Requirement