senotrusov-ruby-xml-mapper 1.0.5 → 1.0.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.
- data/lib/ruby-xml-mapper.rb +1 -2
- data/{test → lib/ruby-xml-mapper}/rss.rb +0 -0
- metadata +3 -3
data/lib/ruby-xml-mapper.rb
CHANGED
@@ -136,7 +136,6 @@ module RubyXmlMapper
|
|
136
136
|
|
137
137
|
module RubyXmlMapperClassMethods
|
138
138
|
def parse_xml_file(file_name)
|
139
|
-
check_file file_name
|
140
139
|
|
141
140
|
# NOTE: Don't know how to use XML::Document.file correctly.
|
142
141
|
# As in libxml-ruby-1.1.3 it does not close file descriptor, so you end up with "Error: Too many open files."
|
@@ -149,7 +148,7 @@ module RubyXmlMapper
|
|
149
148
|
doc.root
|
150
149
|
end
|
151
150
|
|
152
|
-
|
151
|
+
# TODO: URL must pass the check
|
153
152
|
def check_file file_name
|
154
153
|
unless File.file?(file_name)
|
155
154
|
raise "Unable to find file #{file_name.inspect}"
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: senotrusov-ruby-xml-mapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanislav Senotrusov
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-06 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -47,9 +47,9 @@ files:
|
|
47
47
|
- lib/ruby-xml-mapper
|
48
48
|
- lib/ruby-xml-mapper/file_cache_item.rb
|
49
49
|
- lib/ruby-xml-mapper/file_cache.rb
|
50
|
+
- lib/ruby-xml-mapper/rss.rb
|
50
51
|
- lib/ruby-xml-mapper/basic_containers.rb
|
51
52
|
- lib/ruby-xml-mapper.rb
|
52
|
-
- test/rss.rb
|
53
53
|
has_rdoc: false
|
54
54
|
homepage: http://github.com/senotrusov
|
55
55
|
licenses:
|