dynarex-blog 0.6.0 → 0.6.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.
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