dynarex-blog 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/lib/dynarex-blog.rb +1 -1
- metadata +2 -2
data/lib/dynarex-blog.rb
CHANGED
|
@@ -147,7 +147,7 @@ class DynarexBlog
|
|
|
147
147
|
|
|
148
148
|
temp_doc = Document.new '<root/>'
|
|
149
149
|
a.map{|x| x.text('file').to_s}.uniq.each do |file|
|
|
150
|
-
doc_entryx = Document.new File.open(file,'r').read
|
|
150
|
+
doc_entryx = Document.new File.open(@file_path + file,'r').read
|
|
151
151
|
XPath.each(doc_entryx.root,'records/entry') do |entry|
|
|
152
152
|
temp_doc.root.add entry
|
|
153
153
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dynarex-blog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors: []
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-
|
|
12
|
+
date: 2010-07-13 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|