lardawge-rfm 1.2.0 → 1.2.1

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/rfm_result.rb +2 -2
  2. metadata +1 -1
data/lib/rfm_result.rb CHANGED
@@ -86,8 +86,8 @@ module Rfm::Result
86
86
  @timestamp_format = convertFormatString(datasource.attr('timestamp-format'))
87
87
 
88
88
  # process count metadata
89
- @total_count = datasource.attributes['total-count'].to_i
90
- @foundset_count = root.elements['resultset'].attributes['count'].to_i
89
+ @total_count = datasource.attr('total-count').to_i
90
+ @foundset_count = doc.search('resultset').attr('count').to_i
91
91
 
92
92
  # process field metadata
93
93
  doc.search('field-definition').each do |field|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lardawge-rfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoff Coffey