rexle 0.5.6 → 0.5.7

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/rexle.rb +1 -1
  2. metadata +1 -1
data/lib/rexle.rb CHANGED
@@ -82,7 +82,7 @@ class Rexle
82
82
 
83
83
  if xpath_value[0,2] == '//'
84
84
  return_elements = scan_match(self, element_name, attr_search, condition, rlist)
85
- return (elmnt_path[/text\(\)$/] ? return_elements : return_elements.map(&:value))
85
+ return (xpath_value[/text\(\)$/] ? return_elements.map(&:value) : return_elements)
86
86
  end
87
87
 
88
88
  return_elements = @child_lookup.map.with_index.select do |x|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors: []
7
7