paypal-express 0.7.0 → 0.7.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: a7f72f535c8cd6e0b76346fb390c07371a0622c1
4
- data.tar.gz: 9028bbaaded2cd53c0f63b4b027ac8a0e228165a
3
+ metadata.gz: 1539da1b53882ad187f1f9e0198cf577bd2bd5f3
4
+ data.tar.gz: 09f4dd7537df29ad634638ee1638dadfc5cbae80
5
5
  SHA512:
6
- metadata.gz: defabc0e45346b1a6d2e0988caedfbe0312c3f85ac4381c9efbaf0db5a8209d967d3bb4a19c8d36cf17f8cd1ae41aaf97d2c4f6d9bc2315e363884755c1074d7
7
- data.tar.gz: 1398ae44f8c36d17778d832f264b12ba4c2d397ac56f11a4d428235bf250b7e8fb28c68d33060ef8751f787894b399752e32bdd28e263a883c478baba301d91c
6
+ metadata.gz: 593cb25deab96cefbaedc09afa44d6b9b97b59018d3dd18020c5ffab4372c0ffbddea931296c105ac84f7e00f0931dbac2897aa8041558e288360e38b3117e07
7
+ data.tar.gz: ac40a7d06778b13d7ef18bc46836798aa2a8982b8a512567c242891a532bac566607569a3edefee31e815810aec18a43be137f2f6cf4c21310840fe0b1dbea69
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.0
1
+ 0.7.1
@@ -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 'restclient_with_cert'
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 => :colleration_id,
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
@@ -7,7 +7,7 @@ module Paypal
7
7
  :BUILD => :build,
8
8
  :BILLINGAGREEMENTACCEPTEDSTATUS => :billing_agreement_accepted_status,
9
9
  :CHECKOUTSTATUS => :checkout_status,
10
- :CORRELATIONID => :colleration_id,
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
@@ -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 "restclient_with_cert"
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.0
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-13 00:00:00.000000000 Z
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: restclient_with_cert
28
+ name: rest-client
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="