dynarex-blog 0.6.6 → 0.6.7

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 +5 -1
  2. metadata +2 -2
data/lib/dynarex-blog.rb CHANGED
@@ -196,6 +196,10 @@ class DynarexBlog
196
196
  def tags
197
197
  @tags
198
198
  end
199
+
200
+ def rebuild_index()
201
+ refresh_index()
202
+ end
199
203
 
200
204
  private
201
205
 
@@ -343,7 +347,7 @@ class DynarexBlog
343
347
 
344
348
  File.open(@file_path + 'index.xml', 'w'){|f| doc_index.write f}
345
349
  @index = Dynarex.new @file_path + 'index.xml'
346
- end
350
+ end
347
351
 
348
352
  def index_include?(id)
349
353
  doc = Document.new File.open(@file_path + 'index.xml','r').read
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.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors: []
7
7
 
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-09-07 00:00:00 +01:00
12
+ date: 2010-09-09 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency