rexleparser 0.6.8 → 0.6.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32a6446ba06959d7a1a08de1534740243b18d76f
4
- data.tar.gz: ab584adbd62f514620b0e7c0aeaaf94681a5ff3f
3
+ metadata.gz: 5b55185bf7aa82e200fd328510a09831c577dc80
4
+ data.tar.gz: a4fda100e5dc77da4854d9c2c085d10701e5e6c7
5
5
  SHA512:
6
- metadata.gz: 0450ddc245605d5353ece7b54904add27e8aed304ab5eaf82ecd21c5b1eebc6ce6550b3c4e9b5fb28d67516f7dcab38e07ce8019f450d6e1bde55937b048cfb5
7
- data.tar.gz: 69452cb6ebf4faa8c58b0a25cc4bb516d654400e158a1117ca32b18b8a4c35927e6453e173307304a5788c44f4df5aeb90bb101e213f868486976da91342ef52
6
+ metadata.gz: 851cb58d17fae7e3fbba858c037280c9ad687abcf90284fed6e1b74191490b5d1065fe07a22d47b389bc47d1dde5b02c7ab3024dadb98800b517e4f6ca48050d
7
+ data.tar.gz: 26b02f8fee737aea86078845a053cadeb78ad5243618c0f63309ccf31be6e1ccc04a5175f80fcdf4e068518174438281481a5d5d878b136d26e1dad6fdd1b5c0
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexleparser.rb CHANGED
@@ -11,7 +11,7 @@ class RexleParser
11
11
  attr_reader :instructions, :doctype, :to_a
12
12
 
13
13
  def initialize(raw_s)
14
-
14
+
15
15
  super()
16
16
  s = raw_s.clone
17
17
  return if s.empty?
@@ -123,7 +123,8 @@ class RexleParser
123
123
  start_tag, children, end_tag = tag, [], nil
124
124
 
125
125
  unless start_tag[1..-3][/\w+$/] then
126
- raise RexleParserException, 'invalid tag found ' + start_tag
126
+ raise RexleParserException, 'invalid closing tag found ' + \
127
+ start_tag.reverse + '; context: ' + r[0..120].reverse.inspect
127
128
  end
128
129
 
129
130
  until end_tag do
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexleparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  CkjTMLaPwIQI6dsbG4bVJ7/XzL7c8niqJSF7M0yr1+2kUrWFUZMBMrUUxgZxSkjL
32
32
  Cgd76bp2zjiyCw==
33
33
  -----END CERTIFICATE-----
34
- date: 2015-02-22 00:00:00.000000000 Z
34
+ date: 2015-03-03 00:00:00.000000000 Z
35
35
  dependencies: []
36
36
  description:
37
37
  email: james@r0bertson.co.uk
metadata.gz.sig CHANGED
Binary file