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.
Files changed (2) hide show
  1. data/lib/dynarex-blog.rb +2 -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[/\d+\.xml$/]
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[/\d+\.xml$/]
255
+ pg = file[/(\d+)\.xml$/,1]
256
256
 
257
257
  @hc_result.delete(lookup_filename + pg) if pg
258
258
 
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.18
4
+ version: 0.6.19
5
5
  platform: ruby
6
6
  authors: []
7
7