dynarex-blog 0.6.18 → 0.6.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +2 -2
- metadata +1 -1
data/lib/dynarex-blog.rb
CHANGED
@@ -239,7 +239,7 @@ class DynarexBlog
|
|
239
239
|
def delete_cache_entry(lookup_filename, file)
|
240
240
|
|
241
241
|
@hc_entry_file.delete(file)
|
242
|
-
pg = file[
|
242
|
+
pg = file[/(\d+)\.xml$/,1]
|
243
243
|
|
244
244
|
if pg then
|
245
245
|
@hc_result.delete(lookup_filename + pg)
|
@@ -252,7 +252,7 @@ class DynarexBlog
|
|
252
252
|
def reset_cache_entry(lookup_filename, file)
|
253
253
|
|
254
254
|
@hc_entry_file.delete(file)
|
255
|
-
pg = file[
|
255
|
+
pg = file[/(\d+)\.xml$/,1]
|
256
256
|
|
257
257
|
@hc_result.delete(lookup_filename + pg) if pg
|
258
258
|
|