dynarex-blog 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex-blog.rb +2 -1
- metadata +2 -2
data/lib/dynarex-blog.rb
CHANGED
@@ -169,7 +169,8 @@ class DynarexBlog
|
|
169
169
|
end
|
170
170
|
|
171
171
|
def tags
|
172
|
-
@entities.xpath "records/section[summary/name='tags']/records"
|
172
|
+
raw_tags = @entities.xpath "records/section[summary/name='tags']/records"
|
173
|
+
XPath.match(raw_tags, 'entity/summary').map{|tag| %w(name entry_count).map {|x| tag.text(x)} }
|
173
174
|
end
|
174
175
|
|
175
176
|
private
|
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.4
|
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-26 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|