dynarex-blog 0.3.1 → 0.3.2
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 +6 -1
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -116,7 +116,12 @@ class DynarexBlog
|
|
116
116
|
def page(number=1)
|
117
117
|
current_lookup = @current_lookup
|
118
118
|
@current_lookup = '_entry_lookup.xml'
|
119
|
-
|
119
|
+
|
120
|
+
if current_lookup == '_entry_lookup.xml' and @index.records.length == 10 then
|
121
|
+
Document.new(@index.to_xml)
|
122
|
+
else
|
123
|
+
@hc_result.read(current_lookup + number.to_s) { select_page(current_lookup, number) }
|
124
|
+
end
|
120
125
|
end
|
121
126
|
|
122
127
|
def tag(tag)
|