dynarex-blog 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +5 -3
- metadata +2 -2
data/lib/dynarex-blog.rb
CHANGED
@@ -39,10 +39,12 @@ class DynarexBlog
|
|
39
39
|
@index.save @file_path + 'index.xml'
|
40
40
|
|
41
41
|
create_record(record, @id.to_s, name='_entry', type='main')
|
42
|
-
record[:tags]
|
43
|
-
|
42
|
+
if record[:tags] then
|
43
|
+
record[:tags].split(/\s/).each do |tag|
|
44
|
+
create_record(record, @id.to_s, name=tag, type='tags')
|
45
|
+
end
|
44
46
|
end
|
45
|
-
|
47
|
+
|
46
48
|
end
|
47
49
|
|
48
50
|
def entry(id)
|
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.4.
|
4
|
+
version: 0.4.6
|
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-07-
|
12
|
+
date: 2010-07-30 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|