dynarex 0.1.7 → 0.1.8

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.rb +1 -1
  2. metadata +1 -1
@@ -74,7 +74,7 @@ class Dynarex
74
74
  end
75
75
 
76
76
  def records_to_h
77
- ah = XPath.match(doc.root, 'records/*').map do |row|
77
+ ah = XPath.match(@doc.root, 'records/*').map do |row|
78
78
  timestamp = Time.now.to_s; id = ''
79
79
  id = row.attribute('id').value.to_s if row.attribute('id')
80
80
  timestamp = row.attribute('timestamp').value.to_s if row.attribute('timestamp')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors: []
7
7