lzell-mapricot 0.0.2.1 → 0.0.3

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
@@ -12,4 +12,8 @@ Mapricot.parser = :nokogiri
12
12
  Mapricot.parser = :libxml
13
13
  Mapricot.parser = :hpricot
14
14
 
15
- Hpricot will be used by default
15
+ Hpricot will be used by default
16
+
17
+ == 0.0.3 2009-03-22
18
+
19
+ Can parse from url with Nokogiri
data/lib/abstract_doc.rb CHANGED
@@ -32,7 +32,7 @@ module Mapricot
32
32
  @udoc = LibXML::XML::Parser.file(url).parse
33
33
  elsif Mapricot.parser == :hpricot
34
34
  @udoc = Hpricot::XML(open(url))
35
- elsif Mapricot.paser == :nokogiri
35
+ elsif Mapricot.parser == :nokogiri
36
36
  @udoc = Nokogiri::HTML(open(url))
37
37
  end
38
38
  end
data/lib/mapricot.rb CHANGED
@@ -3,7 +3,7 @@ require 'active_support/inflector'
3
3
  require File.expand_path(File.dirname(__FILE__) + "/abstract_doc")
4
4
 
5
5
  module Mapricot
6
-
6
+ VERSION = "0.0.2"
7
7
 
8
8
  # Inherit from base, e.g. class Animal < Mapricot::Base
9
9
  # Use either a string of xml or a url to initialize
data/mapricot.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "mapricot"
3
- s.version = "0.0.2.1"
3
+ s.version = "0.0.3"
4
4
  s.date = "2009-03-17"
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.summary = "XML to object mapper"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lzell-mapricot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Zell