better_html 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/better_html/better_erb.rb +0 -13
- data/lib/better_html/errors.rb +11 -0
- data/lib/better_html/parser.rb +1 -0
- data/lib/better_html/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac75570144a95e0a5a28f54dc99f265192ec4727d96b960ada7a97fd47851194
|
4
|
+
data.tar.gz: a29a57f1969999dd394336dd785facc3ca5432e326397e0c4dcfb745f7df79b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0341b84eb8f09fe099f3aefe91edad0e99064113070336d76ebc6d4ffbd341189ee6c8cb41b2011c89ca1e42c63227d2fc41db736e3c3f3ac0474db071c02cf5
|
7
|
+
data.tar.gz: 725880baa643e0589c6a781dcb28f8437e3ccab29b58d7a460ea1ec4e4bb3320dc6d9ef1b1a770a40909a8c3adaacda623bdb163ef4fa96819a7ec3f40ebca0f
|
@@ -6,19 +6,6 @@ require "better_html_ext"
|
|
6
6
|
require "better_html/better_erb/erubi_implementation"
|
7
7
|
require "better_html/better_erb/validated_output_buffer"
|
8
8
|
|
9
|
-
module BetterHtml
|
10
|
-
class ParserError < RuntimeError
|
11
|
-
attr_reader :position, :line, :column
|
12
|
-
|
13
|
-
def initialize(message, position, line, column)
|
14
|
-
super(message)
|
15
|
-
@position = position
|
16
|
-
@line = line
|
17
|
-
@column = column
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
9
|
module BetterHtml
|
23
10
|
class BetterErb
|
24
11
|
cattr_accessor :content_types
|
data/lib/better_html/errors.rb
CHANGED
@@ -12,4 +12,15 @@ module BetterHtml
|
|
12
12
|
class Errors < Array
|
13
13
|
alias_method :add, :<<
|
14
14
|
end
|
15
|
+
|
16
|
+
class ParserError < RuntimeError
|
17
|
+
attr_reader :position, :line, :column
|
18
|
+
|
19
|
+
def initialize(message, position, line, column)
|
20
|
+
super(message)
|
21
|
+
@position = position
|
22
|
+
@line = line
|
23
|
+
@column = column
|
24
|
+
end
|
25
|
+
end
|
15
26
|
end
|
data/lib/better_html/parser.rb
CHANGED
data/lib/better_html/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: better_html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois Chagnon
|
@@ -168,7 +168,7 @@ licenses:
|
|
168
168
|
metadata:
|
169
169
|
bug_tracker_uri: https://github.com/Shopify/better-html/issues
|
170
170
|
changelog_uri: https://github.com/Shopify/better-html/releases
|
171
|
-
source_code_uri: https://github.com/Shopify/better-html/tree/v2.0.
|
171
|
+
source_code_uri: https://github.com/Shopify/better-html/tree/v2.0.1
|
172
172
|
allowed_push_host: https://rubygems.org
|
173
173
|
post_install_message:
|
174
174
|
rdoc_options: []
|