savon 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,9 @@ RSpec.configure do |config|
5
5
  config.mock_with :mocha
6
6
  end
7
7
 
8
- # Disable logging for specs.
9
- Savon.log = false
8
+ # Silence log output
9
+ $stdout = StringIO.new
10
+ HTTPI.log = false
10
11
 
11
12
  require "support/endpoint"
12
13
  require "support/fixture"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: savon
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 9
10
- version: 0.9.9
9
+ - 10
10
+ version: 0.9.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Harrington
@@ -15,12 +15,10 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-17 00:00:00 Z
18
+ date: 2012-06-06 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
24
  - - ">="
@@ -31,12 +29,12 @@ dependencies:
31
29
  - 1
32
30
  - 2
33
31
  version: 2.1.2
34
- version_requirements: *id001
35
32
  name: builder
36
- - !ruby/object:Gem::Dependency
37
- prerelease: false
38
33
  type: :runtime
39
- requirement: &id002 !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ requirement: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
40
38
  none: false
41
39
  requirements:
42
40
  - - ~>
@@ -46,12 +44,12 @@ dependencies:
46
44
  - 1
47
45
  - 1
48
46
  version: "1.1"
49
- version_requirements: *id002
50
47
  name: nori
51
- - !ruby/object:Gem::Dependency
52
- prerelease: false
53
48
  type: :runtime
54
- requirement: &id003 !ruby/object:Gem::Requirement
49
+ prerelease: false
50
+ requirement: *id002
51
+ - !ruby/object:Gem::Dependency
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
55
53
  none: false
56
54
  requirements:
57
55
  - - ~>
@@ -61,12 +59,12 @@ dependencies:
61
59
  - 0
62
60
  - 9
63
61
  version: "0.9"
64
- version_requirements: *id003
65
62
  name: httpi
66
- - !ruby/object:Gem::Dependency
67
- prerelease: false
68
63
  type: :runtime
69
- requirement: &id004 !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: *id003
66
+ - !ruby/object:Gem::Dependency
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
70
68
  none: false
71
69
  requirements:
72
70
  - - ~>
@@ -76,12 +74,12 @@ dependencies:
76
74
  - 2
77
75
  - 1
78
76
  version: "2.1"
79
- version_requirements: *id004
80
77
  name: wasabi
81
- - !ruby/object:Gem::Dependency
82
- prerelease: false
83
78
  type: :runtime
84
- requirement: &id005 !ruby/object:Gem::Requirement
79
+ prerelease: false
80
+ requirement: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
85
83
  none: false
86
84
  requirements:
87
85
  - - ~>
@@ -91,12 +89,12 @@ dependencies:
91
89
  - 1
92
90
  - 0
93
91
  version: "1.0"
94
- version_requirements: *id005
95
92
  name: akami
96
- - !ruby/object:Gem::Dependency
97
- prerelease: false
98
93
  type: :runtime
99
- requirement: &id006 !ruby/object:Gem::Requirement
94
+ prerelease: false
95
+ requirement: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ version_requirements: &id006 !ruby/object:Gem::Requirement
100
98
  none: false
101
99
  requirements:
102
100
  - - ">="
@@ -107,12 +105,12 @@ dependencies:
107
105
  - 4
108
106
  - 0
109
107
  version: 0.4.0
110
- version_requirements: *id006
111
108
  name: gyoku
112
- - !ruby/object:Gem::Dependency
113
- prerelease: false
114
109
  type: :runtime
115
- requirement: &id007 !ruby/object:Gem::Requirement
110
+ prerelease: false
111
+ requirement: *id006
112
+ - !ruby/object:Gem::Dependency
113
+ version_requirements: &id007 !ruby/object:Gem::Requirement
116
114
  none: false
117
115
  requirements:
118
116
  - - ">="
@@ -123,102 +121,70 @@ dependencies:
123
121
  - 4
124
122
  - 0
125
123
  version: 1.4.0
126
- version_requirements: *id007
127
124
  name: nokogiri
128
- - !ruby/object:Gem::Dependency
125
+ type: :runtime
129
126
  prerelease: false
130
- type: :development
131
- requirement: &id008 !ruby/object:Gem::Requirement
127
+ requirement: *id007
128
+ - !ruby/object:Gem::Dependency
129
+ version_requirements: &id008 !ruby/object:Gem::Requirement
132
130
  none: false
133
131
  requirements:
134
132
  - - ~>
135
133
  - !ruby/object:Gem::Version
136
- hash: 49
134
+ hash: 25
137
135
  segments:
138
136
  - 0
139
- - 8
140
- - 7
141
- version: 0.8.7
142
- version_requirements: *id008
137
+ - 9
138
+ version: "0.9"
143
139
  name: rake
144
- - !ruby/object:Gem::Dependency
145
- prerelease: false
146
140
  type: :development
147
- requirement: &id009 !ruby/object:Gem::Requirement
141
+ prerelease: false
142
+ requirement: *id008
143
+ - !ruby/object:Gem::Dependency
144
+ version_requirements: &id009 !ruby/object:Gem::Requirement
148
145
  none: false
149
146
  requirements:
150
147
  - - ~>
151
148
  - !ruby/object:Gem::Version
152
- hash: 27
149
+ hash: 23
153
150
  segments:
154
151
  - 2
155
- - 5
156
- - 0
157
- version: 2.5.0
158
- version_requirements: *id009
152
+ - 10
153
+ version: "2.10"
159
154
  name: rspec
160
- - !ruby/object:Gem::Dependency
161
- prerelease: false
162
155
  type: :development
163
- requirement: &id010 !ruby/object:Gem::Requirement
156
+ prerelease: false
157
+ requirement: *id009
158
+ - !ruby/object:Gem::Dependency
159
+ version_requirements: &id010 !ruby/object:Gem::Requirement
164
160
  none: false
165
161
  requirements:
166
162
  - - ~>
167
163
  - !ruby/object:Gem::Version
168
- hash: 43
164
+ hash: 29
169
165
  segments:
170
166
  - 0
171
- - 9
172
- - 8
173
- version: 0.9.8
174
- version_requirements: *id010
167
+ - 11
168
+ version: "0.11"
175
169
  name: mocha
176
- - !ruby/object:Gem::Dependency
177
- prerelease: false
178
170
  type: :development
179
- requirement: &id011 !ruby/object:Gem::Requirement
171
+ prerelease: false
172
+ requirement: *id010
173
+ - !ruby/object:Gem::Dependency
174
+ version_requirements: &id011 !ruby/object:Gem::Requirement
180
175
  none: false
181
176
  requirements:
182
177
  - - ~>
183
178
  - !ruby/object:Gem::Version
184
- hash: 25
179
+ hash: 13
185
180
  segments:
186
181
  - 0
187
182
  - 3
188
- - 5
189
- version: 0.3.5
190
- version_requirements: *id011
183
+ version: "0.3"
191
184
  name: timecop
192
- - !ruby/object:Gem::Dependency
193
- prerelease: false
194
185
  type: :development
195
- requirement: &id012 !ruby/object:Gem::Requirement
196
- none: false
197
- requirements:
198
- - - ">="
199
- - !ruby/object:Gem::Version
200
- hash: 3
201
- segments:
202
- - 0
203
- version: "0"
204
- version_requirements: *id012
205
- name: autotest
206
- - !ruby/object:Gem::Dependency
207
186
  prerelease: false
208
- type: :development
209
- requirement: &id013 !ruby/object:Gem::Requirement
210
- none: false
211
- requirements:
212
- - - "="
213
- - !ruby/object:Gem::Version
214
- hash: 43
215
- segments:
216
- - 4
217
- - 5
218
- - 0
219
- version: 4.5.0
220
- version_requirements: *id013
221
- name: ZenTest
187
+ requirement: *id011
222
188
  description: Ruby's heavy metal SOAP client
223
189
  email: me@rubiii.com
224
190
  executables: []
@@ -240,12 +206,13 @@ files:
240
206
  - lib/savon.rb
241
207
  - lib/savon/client.rb
242
208
  - lib/savon/config.rb
243
- - lib/savon/core_ext/object.rb
244
209
  - lib/savon/core_ext/string.rb
245
210
  - lib/savon/error.rb
246
211
  - lib/savon/hooks/group.rb
247
212
  - lib/savon/hooks/hook.rb
248
213
  - lib/savon/http/error.rb
214
+ - lib/savon/log_message.rb
215
+ - lib/savon/logger.rb
249
216
  - lib/savon/model.rb
250
217
  - lib/savon/soap.rb
251
218
  - lib/savon/soap/fault.rb
@@ -270,10 +237,12 @@ files:
270
237
  - spec/fixtures/wsdl/multiple_namespaces.xml
271
238
  - spec/fixtures/wsdl/multiple_types.xml
272
239
  - spec/fixtures/wsdl/taxcloud.xml
240
+ - spec/integration/stockquote_spec.rb
273
241
  - spec/savon/client_spec.rb
274
- - spec/savon/core_ext/object_spec.rb
242
+ - spec/savon/config_spec.rb
275
243
  - spec/savon/core_ext/string_spec.rb
276
244
  - spec/savon/http/error_spec.rb
245
+ - spec/savon/logger_spec.rb
277
246
  - spec/savon/model_spec.rb
278
247
  - spec/savon/savon_spec.rb
279
248
  - spec/savon/soap/fault_spec.rb
@@ -314,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
283
  requirements: []
315
284
 
316
285
  rubyforge_project: savon
317
- rubygems_version: 1.8.10
286
+ rubygems_version: 1.8.21
318
287
  signing_key:
319
288
  specification_version: 3
320
289
  summary: Heavy metal Ruby SOAP client
@@ -1,14 +0,0 @@
1
- module Savon
2
- module CoreExt
3
- module Object
4
-
5
- # Returns +true+ if the Object is nil, false or empty. Implementation from ActiveSupport.
6
- def blank?
7
- respond_to?(:empty?) ? empty? : !self
8
- end unless method_defined?(:blank?)
9
-
10
- end
11
- end
12
- end
13
-
14
- Object.send :include, Savon::CoreExt::Object
@@ -1,19 +0,0 @@
1
- require "spec_helper"
2
-
3
- describe Object do
4
-
5
- describe "blank?" do
6
- it "returns true for Objects perceived to be blank" do
7
- ["", false, nil, [], {}].each do |object|
8
- object.should be_blank
9
- end
10
- end
11
-
12
- it "returns false for every other Object" do
13
- ["!blank", true, [:a], {:a => "b"}].each do |object|
14
- object.should_not be_blank
15
- end
16
- end
17
- end
18
-
19
- end