paypal_nvp 0.1.1 → 0.1.2

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.
data/README.rdoc CHANGED
@@ -6,7 +6,7 @@ Paypal NVP allow to connect your Ruby on Rails application to the Paypal NVP API
6
6
 
7
7
  The recommended way is that you get the gem:
8
8
 
9
- sudo gem install paypal_nvp
9
+ $ sudo gem install paypal_nvp
10
10
 
11
11
  PaypalNVP need a paypal.yml file in your config directory.
12
12
 
@@ -33,4 +33,4 @@ PaypalNVP need a paypal.yml file in your config directory.
33
33
  # other params needed
34
34
  }
35
35
  result = p.call_paypal(data) # will return a hash
36
- puts result["ACK"] # Success
36
+ puts result["ACK"] # Success
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('paypal_nvp', '0.1.1') do |p|
5
+ Echoe.new('paypal_nvp', '0.1.2') do |p|
6
6
  p.description = "Paypal NVP API Class."
7
7
  p.url = "http://github.com/solisoft/paypal_nvp"
8
8
  p.author = "Olivier BONNAURE - Direct Interactive LLC"
data/lib/paypal_nvp.rb CHANGED
@@ -19,14 +19,14 @@ class PaypalNVP
19
19
  qs << "#{key.to_s.upcase}=#{url_encode(value)}"
20
20
  end
21
21
  qs = "?#{qs * "&"}"
22
-
22
+
23
23
  uri = URI.parse(@url)
24
24
  http = Net::HTTP.new(uri.host, uri.port)
25
25
  http.use_ssl = true
26
26
  http.verify_mode = OpenSSL::SSL::VERIFY_NONE
27
27
 
28
28
  response = http.start {
29
- http.request_get(uri.path) {|res|
29
+ http.request_get(uri.path + qs) {|res|
30
30
  res
31
31
  }
32
32
  }
data/paypal_nvp.gemspec CHANGED
@@ -2,26 +2,25 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{paypal_nvp}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Olivier BONNAURE - Direct Interactive LLC"]
9
- s.date = %q{2009-03-31}
9
+ s.date = %q{2009-11-16}
10
10
  s.description = %q{Paypal NVP API Class.}
11
11
  s.email = %q{o.bonnaure@directinteractive.com}
12
12
  s.extra_rdoc_files = ["lib/paypal_nvp.rb", "README.rdoc"]
13
13
  s.files = ["init.rb", "lib/paypal_nvp.rb", "Manifest", "Rakefile", "README.rdoc", "paypal_nvp.gemspec"]
14
- s.has_rdoc = true
15
14
  s.homepage = %q{http://github.com/solisoft/paypal_nvp}
16
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Paypal_nvp", "--main", "README.rdoc"]
17
16
  s.require_paths = ["lib"]
18
17
  s.rubyforge_project = %q{paypal_nvp}
19
- s.rubygems_version = %q{1.3.1}
18
+ s.rubygems_version = %q{1.3.5}
20
19
  s.summary = %q{Paypal NVP API Class.}
21
20
 
22
21
  if s.respond_to? :specification_version then
23
22
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
- s.specification_version = 2
23
+ s.specification_version = 3
25
24
 
26
25
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
26
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal_nvp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier BONNAURE - Direct Interactive LLC
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-31 00:00:00 +02:00
12
+ date: 2009-11-16 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -31,6 +31,8 @@ files:
31
31
  - paypal_nvp.gemspec
32
32
  has_rdoc: true
33
33
  homepage: http://github.com/solisoft/paypal_nvp
34
+ licenses: []
35
+
34
36
  post_install_message:
35
37
  rdoc_options:
36
38
  - --line-numbers
@@ -56,9 +58,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
58
  requirements: []
57
59
 
58
60
  rubyforge_project: paypal_nvp
59
- rubygems_version: 1.3.1
61
+ rubygems_version: 1.3.5
60
62
  signing_key:
61
- specification_version: 2
63
+ specification_version: 3
62
64
  summary: Paypal NVP API Class.
63
65
  test_files: []
64
66