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 CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.1.5 2009-01-05
2
+ * 1 major enhancement:
3
+ * Updated to latest version of libxml-ruby (lightningdb)
4
+
1
5
  == 0.1.4 2009-01-05
2
6
  * 1 major enhancement:
3
7
  * Fixed parsing when the object is the root node. (Garret Alfert)
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.8.3']
11
+ ['libxml-ruby', '>= 0.9.7']
12
12
  ]
13
13
 
14
14
  @config_file = "~/.rubyforge/user-config.yml"
data/happymapper.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{happymapper}
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["John Nunemaker"]
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.3'
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'
@@ -2,7 +2,7 @@ module HappyMapper
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -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 = namespace.detect { |n| n.to_s == nil }
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jnunemaker-happymapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker