rexle 0.9.26 → 0.9.27

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 +2 -0
  2. metadata +2 -2
data/lib/rexle.rb CHANGED
@@ -272,6 +272,8 @@ class Rexle
272
272
  if raw_path[0,2] == '//'
273
273
  rs = scan_match(self, xpath_value).flatten.compact
274
274
  return rs
275
+ elsif raw_path == '.' then
276
+ return [self]
275
277
  else
276
278
 
277
279
  return_elements = @child_lookup.map.with_index.select do |x|
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.26
5
+ version: 0.9.27
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-06-14 00:00:00 Z
13
+ date: 2012-06-16 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rexleparser