dynarex-blog 0.2.1 → 0.2.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 +1 -1
  2. metadata +2 -2
data/lib/dynarex-blog.rb CHANGED
@@ -141,7 +141,7 @@ class DynarexBlog
141
141
  x1 = (number - 1) * 10
142
142
  x2 = x1 + 9
143
143
 
144
- a = XPath.match(doc.root,'records/entry')[x1..x2]
144
+ a = XPath.match(doc.root,'records/entry').reverse[x1..x2]
145
145
 
146
146
  xpath_ids = "entry[%s]" % a.map{|x| x.text('id').to_s}.map{|x| "@id='%s'" % x}.join(' or ')
147
147
 
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.2.1
4
+ version: 0.2.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: 2010-07-13 00:00:00 +01:00
12
+ date: 2010-07-14 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency