dynarex-blog 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dynarex-blog.rb +1 -0
  2. metadata +1 -1
data/lib/dynarex-blog.rb CHANGED
@@ -329,6 +329,7 @@ class DynarexBlog
329
329
  end
330
330
 
331
331
  def refresh_index()
332
+ doc = Document.new File.open(@file_path + 'index.xml','r').read
332
333
  node_records = XPath.first(doc.root, 'records')
333
334
  node_records.parent.delete node_records
334
335
  records = Element.new 'records'
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors: []
7
7