savon 0.8.5 → 0.8.6

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.
@@ -1,3 +1,8 @@
1
+ ## 0.8.6 (2011-02-15)
2
+
3
+ * Fix for issues [issue #147](https://github.com/rubiii/savon/issues/147) and [#151](https://github.com/rubiii/savon/issues/151)
4
+ ([771194](https://github.com/rubiii/savon/commit/771194)).
5
+
1
6
  ## 0.8.5 (2011-01-28)
2
7
 
3
8
  * Fix for [issue #146](https://github.com/rubiii/savon/issues/146) ([98655c](https://github.com/rubiii/savon/commit/98655c)).
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require "rake"
2
2
 
3
3
  begin
4
4
  require "yard"
5
-
5
+
6
6
  YARD::Rake::YardocTask.new do |t|
7
7
  t.files = ["README.md", "lib/**/*.rb"]
8
8
  end
@@ -11,9 +11,9 @@ rescue LoadError
11
11
  task("yard") { abort message }
12
12
  end
13
13
 
14
- begin
14
+ begin
15
15
  require "metric_fu"
16
-
16
+
17
17
  MetricFu::Configuration.run do |c|
18
18
  c.metrics = [:churn, :flog, :flay, :reek, :roodi, :saikuro] # :rcov seems to be broken
19
19
  c.graphs = [:flog, :flay, :reek, :roodi]
@@ -27,7 +27,7 @@ end
27
27
 
28
28
  begin
29
29
  require "rspec/core/rake_task"
30
-
30
+
31
31
  RSpec::Core::RakeTask.new do |t|
32
32
  t.rspec_opts = %w(-fd -c)
33
33
  end
@@ -37,3 +37,4 @@ rescue LoadError
37
37
  end
38
38
 
39
39
  task :default => :spec
40
+ task :test => :spec
@@ -19,7 +19,7 @@ module Savon
19
19
 
20
20
  # Returns whether a SOAP fault is present.
21
21
  def present?
22
- @present ||= http.code == 500 && http.body.include?("Fault>") && (soap1_fault? || soap2_fault?)
22
+ @present ||= http.body.include?("Fault>") && (soap1_fault? || soap2_fault?)
23
23
  end
24
24
 
25
25
  # Returns the SOAP fault message.
@@ -1,5 +1,5 @@
1
1
  module Savon
2
2
 
3
- Version = "0.8.5"
3
+ Version = "0.8.6"
4
4
 
5
5
  end
@@ -32,11 +32,6 @@ describe Savon::SOAP::Fault do
32
32
  it "should return false unless the HTTP response contains a SOAP fault" do
33
33
  no_fault.should_not be_present
34
34
  end
35
-
36
- it "should return false if the HTTP response code is not 500" do
37
- fault = Savon::SOAP::Fault.new new_response(:code => 200, :body => Fixture.response(:soap_fault))
38
- fault.should_not be_present
39
- end
40
35
  end
41
36
 
42
37
  [:message, :to_s].each do |method|
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: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 5
10
- version: 0.8.5
9
+ - 6
10
+ version: 0.8.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Harrington
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-28 00:00:00 +01:00
18
+ date: 2011-02-15 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  requirements: []
244
244
 
245
245
  rubyforge_project: savon
246
- rubygems_version: 1.4.1
246
+ rubygems_version: 1.4.2
247
247
  signing_key:
248
248
  specification_version: 3
249
249
  summary: Heavy metal Ruby SOAP client