wasabi 3.4.0 → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f66ad8775172c65f8828a5273a3faa9f9de6ff4a
4
- data.tar.gz: 78420f0513c6702edd3e7b65252e0a4b1719980b
3
+ metadata.gz: c358184f6005750e6da0da030f411e2cc0470bbf
4
+ data.tar.gz: 1e3ca2ceed20e54cf520855073559f3eee5ab60e
5
5
  SHA512:
6
- metadata.gz: 1b4aa7ab5dd34587354179d0d9256f28290a1d1bd211b51eb22b85e204a6a73e24591be616a1a8e4e0674b183894b9327168602c09070c9177598759d02f907f
7
- data.tar.gz: 976611e67d55d01b1e488b33ef7ba49e5ecc0cf968e96be93b7433ec1bd6cc9afa8c350f29d1245d9c7168a8332e8e04dc8cb68c512c26db4395e35d31717432
6
+ metadata.gz: aa3ef854250004ebeebc5ce88ac25c60e7af2634ad68001434d84f47d647776ae546c65cc8d85b42c8b66e5074e75f2cbc2dc28311e5eacd636b5a90445e3b6f
7
+ data.tar.gz: a131579113b4e33726d1985f66b58428cc0773a735b901a576cfee788988ded1bb29b1824b4a93db0f77c68569f2bfb79fa185f4f24486444e22ca579a274a28
@@ -1,3 +1,7 @@
1
+ # 3.5.0 (2015-03-31)
2
+
3
+ * Formally drop support for ruby 1.8.7
4
+
1
5
  # 3.4.0 (2015-03-02)
2
6
 
3
7
  * Fix: [#634](https://github.com/savonrb/savon/issues/634) Reverts PR #46, generates *most* operation names correctly.
@@ -42,7 +42,7 @@ module Wasabi
42
42
  request.url = document
43
43
  response = HTTPI.get(request, adapter)
44
44
 
45
- raise HTTPError.new("Error: #{response.code}", response) if response.error?
45
+ raise HTTPError.new("Error: #{response.code} for url #{request.url}", response) if response.error?
46
46
 
47
47
  response.body
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Wasabi
2
- VERSION = '3.4.0'
2
+ VERSION = '3.5.0'
3
3
  end
@@ -37,12 +37,16 @@ describe Wasabi::Resolver do
37
37
  }
38
38
  body = "<html><head><title>404 Not Found</title></head><body>Oops!</body></html>"
39
39
  failed_response = HTTPI::Response.new(code, headers, body)
40
+
40
41
  HTTPI.stub(:get => failed_response)
42
+
43
+ url = "http://example.com?wsdl"
44
+
41
45
  expect do
42
- Wasabi::Resolver.new("http://example.com?wsdl").resolve
46
+ Wasabi::Resolver.new(url).resolve
43
47
  end.to raise_error { |ex|
44
48
  expect(ex).to be_a(Wasabi::Resolver::HTTPError)
45
- expect(ex.message).to eq("Error: #{code}")
49
+ expect(ex.message).to eq("Error: #{code} for url #{url}")
46
50
  expect(ex.response).to eq(failed_response)
47
51
  }
48
52
  end
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.homepage = "https://github.com/savonrb/#{s.name}"
11
11
  s.summary = "A simple WSDL parser"
12
12
  s.description = s.summary
13
+ s.required_ruby_version = '>= 1.9.2'
13
14
 
14
15
  s.rubyforge_project = s.name
15
16
  s.license = 'MIT'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasabi
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Harrington
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpi
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  requirements:
151
151
  - - ">="
152
152
  - !ruby/object:Gem::Version
153
- version: '0'
153
+ version: 1.9.2
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - ">="