paypal-express 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paypal-express (0.5.0)
4
+ paypal-express (0.5.2)
5
5
  activesupport (>= 2.3)
6
6
  attr_required (>= 0.0.5)
7
7
  i18n
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- activesupport (3.2.8)
13
+ activesupport (3.2.9)
14
14
  i18n (~> 0.6)
15
15
  multi_json (~> 1.0)
16
16
  attr_required (0.0.5)
@@ -24,23 +24,23 @@ GEM
24
24
  fakeweb (1.3.0)
25
25
  hashie (1.2.0)
26
26
  i18n (0.6.1)
27
- jruby-openssl (0.7.7)
27
+ jruby-openssl (0.8.2)
28
28
  bouncy-castle-java (>= 1.5.0146.1)
29
29
  mime-types (1.19)
30
- multi_json (1.3.6)
31
- rake (0.9.2.2)
30
+ multi_json (1.5.0)
31
+ rake (10.0.3)
32
32
  rest-client (1.6.7)
33
33
  mime-types (>= 1.16)
34
34
  restclient_with_cert (0.0.8)
35
35
  rest-client (>= 1.6)
36
- rspec (2.11.0)
37
- rspec-core (~> 2.11.0)
38
- rspec-expectations (~> 2.11.0)
39
- rspec-mocks (~> 2.11.0)
40
- rspec-core (2.11.1)
41
- rspec-expectations (2.11.2)
36
+ rspec (2.12.0)
37
+ rspec-core (~> 2.12.0)
38
+ rspec-expectations (~> 2.12.0)
39
+ rspec-mocks (~> 2.12.0)
40
+ rspec-core (2.12.2)
41
+ rspec-expectations (2.12.1)
42
42
  diff-lcs (~> 1.1.3)
43
- rspec-mocks (2.11.2)
43
+ rspec-mocks (2.12.0)
44
44
  yamler (0.1.0)
45
45
 
46
46
  PLATFORMS
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -14,11 +14,12 @@ module Paypal
14
14
  params[:NOSHIPPING] = 1
15
15
  end
16
16
  {
17
- :solution_type => :SOLUTIONTYPE,
18
- :landing_page => :LANDINGPAGE,
19
- :email => :EMAIL,
20
- :brand => :BRANDNAME,
21
- :locale => :LOCALECODE
17
+ :solution_type => :SOLUTIONTYPE,
18
+ :landing_page => :LANDINGPAGE,
19
+ :email => :EMAIL,
20
+ :brand => :BRANDNAME,
21
+ :locale => :LOCALECODE,
22
+ :invoice_number => :INVNUM
22
23
  }.each do |option_key, param_key|
23
24
  params[param_key] = options[option_key] if options[option_key]
24
25
  end
@@ -129,7 +129,10 @@ describe Paypal::Express::Request do
129
129
  {
130
130
  :solution_type => :SOLUTIONTYPE,
131
131
  :landing_page => :LANDINGPAGE,
132
- :email => :EMAIL
132
+ :email => :EMAIL,
133
+ :brand => :BRANDNAME,
134
+ :locale => :LOCALECODE,
135
+ :invoice_number => :INVNUM
133
136
  }.each do |option_key, param_key|
134
137
  it "should support #{option_key} option" do
135
138
  expect do
@@ -107,7 +107,7 @@ describe Paypal::NVP::Request do
107
107
  )
108
108
  end
109
109
 
110
- it 'should raise Paypal::Exception::APIError' do
110
+ it 'should raise Paypal::Exception::HttpError' do
111
111
  expect do
112
112
  instance.request :SetExpressCheckout
113
113
  end.to raise_error(Paypal::Exception::HttpError)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-express
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-10 00:00:00.000000000 Z
12
+ date: 2012-12-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -243,6 +243,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
243
  - - ! '>='
244
244
  - !ruby/object:Gem::Version
245
245
  version: '0'
246
+ segments:
247
+ - 0
248
+ hash: -2376280360694754319
246
249
  required_rubygems_version: !ruby/object:Gem::Requirement
247
250
  none: false
248
251
  requirements: