dynarex-blog 0.3.8 → 0.3.9

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 +2 -2
  2. metadata +1 -1
data/lib/dynarex-blog.rb CHANGED
@@ -123,12 +123,12 @@ class DynarexBlog
123
123
  result = @hc_result.read(lookup + number.to_s) do
124
124
 
125
125
  if (number == 1) and (lookup == '_entry_lookup.xml') and (@index.records.length == 10) then
126
- doc = @hc_lookup.read('_entry_lookup.xml')
126
+ doc = @hc_lookup.refresh('_entry_lookup.xml')
127
127
  r = Document.new(File.open(@file_path + 'index.xml','r').read)
128
128
  else
129
129
  doc = @hc_lookup.read(lookup) { Document.new File.open(@file_path + lookup,'r').read }
130
130
  r = select_page(doc, number)
131
- @hc_lookup.read('_entry_lookup.xml') # refresh to maintain @current_lookup in the cache
131
+ @hc_lookup.refresh('_entry_lookup.xml') # refresh to maintain @current_lookup in the cache
132
132
  end
133
133
 
134
134
  [
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.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors: []
7
7