rexle 1.2.22 → 1.2.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b664283d849c45945f10e065ee402b5521a57141
4
- data.tar.gz: 4a7ea7ee481bcd1de620c080fb2ba04559528a96
3
+ metadata.gz: e8b88e2599dafffcfcf32beeff73f9b109bb124d
4
+ data.tar.gz: 7b3352a3add259367e6b6c388e7e2d5deeb3f55e
5
5
  SHA512:
6
- metadata.gz: 3e39b1fdd55613bc60cb9c76072eacaf70541becfda325140edc7dbbed0be65faf3199592027dcaafe7322579630234ad6be1b1a26d28bfdab0198cd5b9a70ea
7
- data.tar.gz: c87d8bbe384b81e7e2eee1d21feaaf62e76f9fb4121c2f64d92cac6a6f2557468f4ff7063c9f637622fe127680265825b6a64519222858b00fb008a151a0605c
6
+ metadata.gz: 98711a471bbe8da7372875676923cf1ff0be403296f3356daf0caeb7b2aca2c58a18f7e6e1d6a9c358631f9c9bf6fcee2361d5e91fc16c2a6490fabc19509421
7
+ data.tar.gz: 387c64ad771d0593cf125116dcd74af083f582780798b39019bb5b6d78c8bef099be28f42c9ad1f0dbe1b30d0eceb2d99f6c94bee2d984892a5a63099608ab9b
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rexle.rb CHANGED
@@ -11,6 +11,8 @@ require 'cgi'
11
11
 
12
12
  # modifications:
13
13
 
14
+ # 20-Mar-2015: bug fix: Dynarex documents which fail to parse properly with the
15
+ # Dynarex parser are now parsed by by the Rexle parser
14
16
  # 16-Mar-2015: feature: Implemented Rexle::Element#prepend
15
17
  # 09-Mar-2015: feature: Rexle::Element#attributes now returns object
16
18
  # Attributes instead of Hash
@@ -1308,7 +1310,11 @@ class Rexle
1308
1310
 
1309
1311
  if other_parser then
1310
1312
 
1311
- other_parser.call(x)
1313
+ begin
1314
+ other_parser.call(x)
1315
+ rescue
1316
+ parse_rexle x
1317
+ end
1312
1318
 
1313
1319
  else
1314
1320
 
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: 1.2.22
4
+ version: 1.2.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  Tkua07gB3/nVO3aPg7C3vEbDZCxT3WAMli2uZisYT6ozmdAlDsixLjipgFN4If3z
32
32
  Ej0QR3kvGcAvFQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-03-16 00:00:00.000000000 Z
34
+ date: 2015-03-20 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexleparser
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  version: '0'
161
161
  requirements: []
162
162
  rubyforge_project:
163
- rubygems_version: 2.2.2
163
+ rubygems_version: 2.4.6
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Rexle is an XML parser written purely in Ruby
metadata.gz.sig CHANGED
Binary file