troelskn-handsoap 0.2.0 → 0.2.1

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/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 2
3
- :patch: 0
2
+ :patch: 1
4
3
  :major: 0
4
+ :minor: 2
@@ -3,15 +3,15 @@ require 'rubygems'
3
3
  require 'httpclient'
4
4
  require 'nokogiri'
5
5
  require 'curb'
6
- require 'handsoap/xml_mason'
7
6
  require 'time'
8
- require 'htmlentities'
7
+ require 'handsoap/xml_mason'
9
8
 
10
9
  # Nokogiri doesn't have a way of getting plain strings out,
11
10
  # so this monkeypatch adds that capability ..
12
11
  module Utf8StringPatch
13
12
  def to_utf8
14
- HTMLEntities.decode_entities(self.serialize('UTF-8'))
13
+ # HTMLEntities.decode_entities(self.serialize('UTF-8'))
14
+ self.serialize('UTF-8').gsub('&lt;', '<').gsub('&gt;', '>').gsub('&quot;', '"').gsub('&apos;', "'").gsub('&amp;', '&')
15
15
  end
16
16
  end
17
17
  Nokogiri::XML::Text.send :include, Utf8StringPatch
data/lib/handsoap.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
+ require 'rubygems'
3
+ require 'httpclient'
4
+ require 'nokogiri'
5
+ require 'curb'
6
+ require 'time'
7
+
2
8
  require 'handsoap/xml_mason'
3
9
  require 'handsoap/service'
4
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: troelskn-handsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-07 00:00:00 -07:00
12
+ date: 2009-06-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -61,7 +61,7 @@ files:
61
61
  - lib/handsoap/parser.rb
62
62
  - lib/handsoap/service.rb
63
63
  - lib/handsoap/xml_mason.rb
64
- has_rdoc: false
64
+ has_rdoc: true
65
65
  homepage: http://github.com/troelskn/handsoap
66
66
  post_install_message:
67
67
  rdoc_options:
@@ -85,7 +85,7 @@ requirements: []
85
85
  rubyforge_project:
86
86
  rubygems_version: 1.2.0
87
87
  signing_key:
88
- specification_version: 3
88
+ specification_version: 2
89
89
  summary: Handsoap is a library for creating SOAP clients in Ruby
90
90
  test_files: []
91
91