dynarex-blog 0.2.10 → 0.2.11

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 +2 -2
  2. metadata +1 -1
data/lib/dynarex-blog.rb CHANGED
@@ -146,7 +146,7 @@ class DynarexBlog
146
146
  #doc = Document.new File.open(@file_path + lookup,'r').read
147
147
  doc = @hc_lookup.read(lookup) { Document.new File.open(@file_path + lookup,'r').read }
148
148
 
149
- result = @hc_result.read(lookup + number.to_s) {
149
+ @hc_result.read(lookup + number.to_s) {
150
150
  x1 = (number - 1) * 10
151
151
  x2 = x1 + 9
152
152
 
@@ -167,9 +167,9 @@ class DynarexBlog
167
167
  XPath.each(temp_doc.root, xpath_ids) do |record|
168
168
  records.add record
169
169
  end
170
+ result
170
171
  }
171
172
 
172
- result
173
173
  end
174
174
 
175
175
  def new_blog_file(filename)
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.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors: []
7
7