dynarex-blog 0.7.0 → 0.7.1
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 +2 -2
data/lib/dynarex-blog.rb
CHANGED
@@ -84,7 +84,7 @@ class DynarexBlog
|
|
84
84
|
old_list = a - b # tags to be deleted
|
85
85
|
new_list = b - a # tags to be inserted
|
86
86
|
|
87
|
-
old_list.each {|
|
87
|
+
old_list.each {|tag_name| delete_entry(tag_name, id) }
|
88
88
|
common = a.to_set.intersection(b).to_a # tags to be updated
|
89
89
|
common.each {|name| update_entry(name, id, h) }
|
90
90
|
else
|
@@ -231,7 +231,7 @@ class DynarexBlog
|
|
231
231
|
private
|
232
232
|
|
233
233
|
def delete_entry(lookup_filename, id)
|
234
|
-
|
234
|
+
|
235
235
|
lookup_path = "%s%s_lookup.xml" % [@file_path, lookup_filename]
|
236
236
|
lookup = Dynarex.new lookup_path
|
237
237
|
|
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.
|
4
|
+
version: 0.7.1
|
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-
|
12
|
+
date: 2011-01-13 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|