paypal-express 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/paypal.rb +2 -2
- data/lib/paypal/exception/api_error.rb +2 -1
- data/lib/paypal/nvp/response.rb +2 -1
- data/paypal-express.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1539da1b53882ad187f1f9e0198cf577bd2bd5f3
|
4
|
+
data.tar.gz: 09f4dd7537df29ad634638ee1638dadfc5cbae80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 593cb25deab96cefbaedc09afa44d6b9b97b59018d3dd18020c5ffab4372c0ffbddea931296c105ac84f7e00f0931dbac2897aa8041558e288360e38b3117e07
|
7
|
+
data.tar.gz: ac40a7d06778b13d7ef18bc46836798aa2a8982b8a512567c242891a532bac566607569a3edefee31e815810aec18a43be137f2f6cf4c21310840fe0b1dbea69
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/lib/paypal.rb
CHANGED
@@ -2,7 +2,7 @@ require 'logger'
|
|
2
2
|
require 'active_support/core_ext'
|
3
3
|
require 'attr_required'
|
4
4
|
require 'attr_optional'
|
5
|
-
require '
|
5
|
+
require 'rest_client'
|
6
6
|
|
7
7
|
module Paypal
|
8
8
|
|
@@ -79,4 +79,4 @@ require 'paypal/payment/response/address'
|
|
79
79
|
require 'paypal/payment/recurring'
|
80
80
|
require 'paypal/payment/recurring/activation'
|
81
81
|
require 'paypal/payment/recurring/billing'
|
82
|
-
require 'paypal/payment/recurring/summary'
|
82
|
+
require 'paypal/payment/recurring/summary'
|
@@ -24,7 +24,7 @@ module Paypal
|
|
24
24
|
@@attribute_mapping = {
|
25
25
|
:ACK => :ack,
|
26
26
|
:BUILD => :build,
|
27
|
-
:CORRELATIONID => :
|
27
|
+
:CORRELATIONID => :correlation_id,
|
28
28
|
:TIMESTAMP => :timestamp,
|
29
29
|
:VERSION => :version,
|
30
30
|
:ORDERTIME => :order_time,
|
@@ -36,6 +36,7 @@ module Paypal
|
|
36
36
|
}
|
37
37
|
attr_accessor *@@attribute_mapping.values
|
38
38
|
attr_accessor :raw, :details
|
39
|
+
alias_method :colleration_id, :correlation_id # NOTE: I made a typo :p
|
39
40
|
|
40
41
|
class Detail
|
41
42
|
cattr_reader :attribute_mapping
|
data/lib/paypal/nvp/response.rb
CHANGED
@@ -7,7 +7,7 @@ module Paypal
|
|
7
7
|
:BUILD => :build,
|
8
8
|
:BILLINGAGREEMENTACCEPTEDSTATUS => :billing_agreement_accepted_status,
|
9
9
|
:CHECKOUTSTATUS => :checkout_status,
|
10
|
-
:CORRELATIONID => :
|
10
|
+
:CORRELATIONID => :correlation_id,
|
11
11
|
:COUNTRYCODE => :country_code,
|
12
12
|
:CURRENCYCODE => :currency_code,
|
13
13
|
:DESC => :description,
|
@@ -40,6 +40,7 @@ module Paypal
|
|
40
40
|
attr_accessor :shipping_options_is_default, :success_page_redirect_requested, :insurance_option_selected
|
41
41
|
attr_accessor :amount, :description, :ship_to, :bill_to, :payer, :recurring, :billing_agreement, :refund
|
42
42
|
attr_accessor :payment_responses, :payment_info, :items
|
43
|
+
alias_method :colleration_id, :correlation_id # NOTE: I made a typo :p
|
43
44
|
|
44
45
|
def initialize(attributes = {})
|
45
46
|
attrs = attributes.dup
|
data/paypal-express.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
15
15
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
16
|
s.add_dependency "activesupport", ">= 2.3"
|
17
|
-
s.add_dependency "
|
17
|
+
s.add_dependency "rest-client"
|
18
18
|
s.add_dependency "attr_required", ">= 0.0.5"
|
19
19
|
s.add_development_dependency "rake", ">= 0.8"
|
20
20
|
s.add_development_dependency "simplecov"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paypal-express
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rest-client
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|