egauge 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Version.txt +1 -1
- data/lib/egauge/data.rb +1 -0
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 1.0.2 / 2012-11/14
|
2
|
+
|
3
|
+
* Fix case where we have multiple data nodes in an XML dump due to a change in timing intervals - Scott Klein
|
4
|
+
|
1
5
|
== 1.0.1 / 2012-10-09
|
2
6
|
|
3
7
|
* Update each_with_timestamp to more useful each_row that includes step size the row represents in seconds
|
data/Version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/egauge/data.rb
CHANGED
@@ -22,6 +22,7 @@ module EGauge
|
|
22
22
|
|
23
23
|
# Get first data segment, which sets the register info for all data segments
|
24
24
|
data = @xml.group.data
|
25
|
+
data = data.first if data.is_a?(Nokogiri::XML::NodeSet)
|
25
26
|
|
26
27
|
# Save off our starting timestamp for this whole group
|
27
28
|
@timestamp = EGauge::parse_time(data['time_stamp'])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egauge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|