dynarex-blog 0.7.1 → 0.7.2

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 +3 -0
  2. metadata +2 -2
data/lib/dynarex-blog.rb CHANGED
@@ -45,6 +45,7 @@ class DynarexBlog
45
45
 
46
46
  create_record(record, @id.to_s, name='_entry', type='main')
47
47
 
48
+
48
49
  if record[:tags] then
49
50
  record[:tags].split(/\s/).each do |tag|
50
51
  create_record(record, @id.to_s, name=tag, type='tags')
@@ -329,6 +330,8 @@ class DynarexBlog
329
330
 
330
331
  @entities.id('tags').create.entity(name: name, count: '1', entry_count: '1')
331
332
  entry_count = @entities.element "records/section[summary/name='#{type}']/records/entity/summary[name='#{name}']/count"
333
+ @entities.save #@file_path + ENTITIES
334
+
332
335
  dynarex = Dynarex.new('entries/entry(title,body,tags,user)')
333
336
 
334
337
  dynarex.summary[:format_mask].gsub!(/\s/,'; ')
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.7.1
4
+ version: 0.7.2
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: 2011-01-13 00:00:00 +00:00
12
+ date: 2011-01-15 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency