paypal-sdk-core 0.1.5 → 0.2.0

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/spec/spec_helper.rb CHANGED
@@ -8,7 +8,10 @@ if ENV['COVERAGE']
8
8
  end
9
9
 
10
10
  Bundler.require :default, :test
11
+ require 'logger'
12
+
11
13
  PayPal::SDK::Core::Config.load('spec/config/paypal.yml', 'test')
14
+ PayPal::SDK::Core::Config.logger = Logger.new('spec/log/test.log')
12
15
 
13
16
  Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f }
14
17
 
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - PayPal
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
11
+ date: 2013-03-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: xml-simple
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: multi_json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -53,13 +48,14 @@ files:
53
48
  - spec/core/api/platform_spec.rb
54
49
  - spec/core/api/data_type_spec.rb
55
50
  - spec/core/api/ipn_spec.rb
51
+ - spec/core/api/rest_spec.rb
56
52
  - spec/core/api/merchant_spec.rb
57
53
  - spec/core/config_spec.rb
58
54
  - spec/core/logging_spec.rb
59
55
  - spec/support/sample_data.rb
60
56
  - spec/log/test.log
57
+ - spec/log/rest_http.log
61
58
  - spec/spec_helper.rb
62
- - spec/config/cacert.pem
63
59
  - spec/config/paypal.yml
64
60
  - spec/config/cert_key.pem
65
61
  - spec/config/sample_data.yml
@@ -68,8 +64,10 @@ files:
68
64
  - lib/generators/paypal/sdk/templates/paypal.yml
69
65
  - lib/generators/paypal/sdk/templates/paypal.rb
70
66
  - lib/generators/paypal/sdk/install_generator.rb
67
+ - lib/paypal-sdk/core/util/http_helper.rb
71
68
  - lib/paypal-sdk/core/util/oauth_signature.rb
72
69
  - lib/paypal-sdk/core/util/ordered_hash.rb
70
+ - lib/paypal-sdk/core/api/rest.rb
73
71
  - lib/paypal-sdk/core/api/merchant.rb
74
72
  - lib/paypal-sdk/core/api/ipn.rb
75
73
  - lib/paypal-sdk/core/api/platform.rb
@@ -81,56 +79,52 @@ files:
81
79
  - lib/paypal-sdk/core/authentication.rb
82
80
  - lib/paypal-sdk/core/config.rb
83
81
  - lib/paypal-sdk/core/version.rb
82
+ - lib/paypal-sdk/core/exceptions.rb
84
83
  - lib/paypal-sdk/core/logging.rb
85
84
  - lib/paypal-sdk/core/credential/third_party/subject.rb
86
85
  - lib/paypal-sdk/core/credential/third_party/token.rb
87
86
  - lib/paypal-sdk/core/credential/signature.rb
88
87
  - lib/paypal-sdk/core/credential/certificate.rb
89
88
  - lib/paypal-sdk/core/credential/base.rb
89
+ - data/paypal.crt
90
90
  - Rakefile
91
91
  - README.md
92
92
  - Gemfile
93
93
  homepage: https://www.x.com/
94
94
  licenses: []
95
+ metadata: {}
95
96
  post_install_message:
96
97
  rdoc_options: []
97
98
  require_paths:
98
99
  - lib
99
100
  required_ruby_version: !ruby/object:Gem::Requirement
100
- none: false
101
101
  requirements:
102
102
  - - ! '>='
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
- segments:
106
- - 0
107
- hash: 711724113
108
105
  required_rubygems_version: !ruby/object:Gem::Requirement
109
- none: false
110
106
  requirements:
111
107
  - - ! '>='
112
108
  - !ruby/object:Gem::Version
113
109
  version: '0'
114
- segments:
115
- - 0
116
- hash: 711724113
117
110
  requirements: []
118
111
  rubyforge_project:
119
- rubygems_version: 1.8.24
112
+ rubygems_version: 2.0.0
120
113
  signing_key:
121
- specification_version: 3
114
+ specification_version: 4
122
115
  summary: Core library for PayPal ruby SDK
123
116
  test_files:
124
117
  - spec/core/api/platform_spec.rb
125
118
  - spec/core/api/data_type_spec.rb
126
119
  - spec/core/api/ipn_spec.rb
120
+ - spec/core/api/rest_spec.rb
127
121
  - spec/core/api/merchant_spec.rb
128
122
  - spec/core/config_spec.rb
129
123
  - spec/core/logging_spec.rb
130
124
  - spec/support/sample_data.rb
131
125
  - spec/log/test.log
126
+ - spec/log/rest_http.log
132
127
  - spec/spec_helper.rb
133
- - spec/config/cacert.pem
134
128
  - spec/config/paypal.yml
135
129
  - spec/config/cert_key.pem
136
130
  - spec/config/sample_data.yml