dynarex 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dynarex.rb +1 -1
- metadata +2 -2
data/lib/dynarex.rb
CHANGED
@@ -376,7 +376,7 @@ EOF
|
|
376
376
|
|
377
377
|
id = (@doc.root.xpath('max(records/*/attribute::id)') || '0').succ unless id
|
378
378
|
|
379
|
-
attributes = {id: id, created: Time.now.to_s, last_modified: nil}
|
379
|
+
attributes = {id: id.to_s, created: Time.now.to_s, last_modified: nil}
|
380
380
|
attributes.each {|k,v| record.add_attribute(k, v)}
|
381
381
|
if @order == 'descending' then
|
382
382
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dynarex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- James Robertson
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-30 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rexle
|