jnunemaker-happymapper 0.1.4 → 0.1.5
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/History.txt +4 -0
- data/config/hoe.rb +1 -1
- data/happymapper.gemspec +1 -1
- data/lib/happymapper.rb +2 -2
- data/lib/happymapper/version.rb +1 -1
- data/lib/libxml_ext/libxml_helper.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
data/config/hoe.rb
CHANGED
|
@@ -8,7 +8,7 @@ RUBYFORGE_PROJECT = 'happymapper' # The unix name for your project
|
|
|
8
8
|
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
|
9
9
|
DOWNLOAD_PATH = "http://rubyforge.org/projects/#{RUBYFORGE_PROJECT}"
|
|
10
10
|
EXTRA_DEPENDENCIES = [
|
|
11
|
-
['libxml-ruby', '>= 0.
|
|
11
|
+
['libxml-ruby', '>= 0.9.7']
|
|
12
12
|
]
|
|
13
13
|
|
|
14
14
|
@config_file = "~/.rubyforge/user-config.yml"
|
data/happymapper.gemspec
CHANGED
data/lib/happymapper.rb
CHANGED
|
@@ -5,7 +5,7 @@ require 'date'
|
|
|
5
5
|
require 'time'
|
|
6
6
|
require 'rubygems'
|
|
7
7
|
|
|
8
|
-
gem 'libxml-ruby', '>= 0.
|
|
8
|
+
gem 'libxml-ruby', '>= 0.9.7'
|
|
9
9
|
require 'xml'
|
|
10
10
|
require 'libxml_ext/libxml_helper'
|
|
11
11
|
|
|
@@ -120,4 +120,4 @@ end
|
|
|
120
120
|
|
|
121
121
|
require 'happymapper/item'
|
|
122
122
|
require 'happymapper/attribute'
|
|
123
|
-
require 'happymapper/element'
|
|
123
|
+
require 'happymapper/element'
|
data/lib/happymapper/version.rb
CHANGED
|
@@ -54,7 +54,7 @@ class XML::Node
|
|
|
54
54
|
|
|
55
55
|
# provide a name for the default namespace
|
|
56
56
|
def register_default_namespace(name)
|
|
57
|
-
default_namespace =
|
|
57
|
+
default_namespace = namespaces.default
|
|
58
58
|
|
|
59
59
|
if default_namespace
|
|
60
60
|
register_namespace("#{name}:#{default_namespace.href}")
|
|
@@ -90,4 +90,4 @@ class String
|
|
|
90
90
|
xp.string = self
|
|
91
91
|
return xp.parse
|
|
92
92
|
end
|
|
93
|
-
end
|
|
93
|
+
end
|