eezee_regexes 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eezee_regexes/liquidify_regex_rules.rb +2 -3
- data/lib/eezee_regexes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bf99b5125c4158c973bd35ae273101a66573eec53d060b2d5a4f3baf4540422
|
4
|
+
data.tar.gz: e40fbd2b246f45766754e66e43ca59612a60eac5af024ac6171bd18313265a44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e37fdcc62721db812be9483d2c459ee2e84c15d3eb8e6bc019b6f1f575c93f19b6e5aa356b6426d3b93523a34987f38d05281c62a9e2f2c1e76dc533a76038b
|
7
|
+
data.tar.gz: a4a66774cb89441494ab33edeacdf4fd8c1d0c04248f4e717ed97abea5bac2f107b929edfc598055e87c86277e971f2b5ddd57525c95b16f1a1007b267393ead
|
@@ -3,11 +3,10 @@ class RegexRulesCollector
|
|
3
3
|
attr_accessor :ast
|
4
4
|
|
5
5
|
def initialize(input = nil)
|
6
|
-
|
7
6
|
if input
|
8
|
-
self.ast = RubyVM::AbstractSyntaxTree.parse_file(regex_rule_file)
|
9
|
-
else
|
10
7
|
self.ast = RubyVM::AbstractSyntaxTree.parse(input)
|
8
|
+
else
|
9
|
+
self.ast = RubyVM::AbstractSyntaxTree.parse_file(regex_rule_file)
|
11
10
|
end
|
12
11
|
end
|
13
12
|
|