rexle 0.9.17 → 0.9.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/rexle.rb +3 -1
  2. metadata +2 -2
data/lib/rexle.rb CHANGED
@@ -10,6 +10,7 @@ require 'cgi'
10
10
  include REXML
11
11
 
12
12
  # modifications:
13
+ # 22-Feb-2012: bug resolution: Deactivated the PolyrexParser; using RexleParser instead
13
14
  # 14-Jan-2012: Implemented Rexle::Elements#each
14
15
  # 21-Dec-2011: Bug fix: xpath modified to allow querying from the actual
15
16
  # root rather than the 1st child element from the root
@@ -613,7 +614,8 @@ class Rexle
613
614
  if recordx_type then
614
615
  procs = {
615
616
  'dynarex' => proc {|x| DynarexParser.new(x).to_a},
616
- 'polyrex' => proc {|x| PolyrexParser.new(x).to_a}
617
+ #jr210212 'polyrex' => proc {|x| PolyrexParser.new(x).to_a}
618
+ 'polyrex' => proc {|x| RexleParser.new(x).to_a}
617
619
  }
618
620
  procs[recordx_type].call(x)
619
621
  else
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.17
5
+ version: 0.9.18
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-01-14 00:00:00 +00:00
13
+ date: 2012-02-22 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency