regexp_parser 0.4.2 → 0.4.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0abb1f85512711fbf5a230b215344fd2b779dec
|
4
|
+
data.tar.gz: 99403e49367367adc300ca32b8136038dfe82862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 179d2559b61b029fa932e4e16d8d8d56b29f9bea3b9ade2733506fcd7b112b3cf29613401f8befd6fb0580ade522261cd3c61e45745515d235bf8b178a9c440d
|
7
|
+
data.tar.gz: a40d4e8ce5424f7398ddb436ef086c7d8e2fb2486f575f28b096c4e8d1c26ab1c2a7002f551b28c6af9c230384d39e79150266e6f9756dd9c81347754f070855
|
data/ChangeLog
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require File.expand_path('../2.4.
|
1
|
+
require File.expand_path('../2.4.1', __FILE__)
|
2
2
|
|
3
3
|
module Regexp::Syntax
|
4
4
|
module Ruby
|
5
5
|
# uses the latest 2.4 release
|
6
|
-
class V24 < Regexp::Syntax::Ruby::
|
6
|
+
class V24 < Regexp::Syntax::Ruby::V241; end
|
7
7
|
end
|
8
8
|
end
|
@@ -226,9 +226,16 @@ class TestSyntaxFiles < Test::Unit::TestCase
|
|
226
226
|
assert syntax.kind_of?(Regexp::Syntax::Ruby::V240)
|
227
227
|
end
|
228
228
|
|
229
|
+
def test_syntax_file_2_4_1
|
230
|
+
syntax = Regexp::Syntax.new 'ruby/2.4.1'
|
231
|
+
|
232
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V240)
|
233
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V241)
|
234
|
+
end
|
235
|
+
|
229
236
|
def test_syntax_file_2_4_alias
|
230
237
|
syntax = Regexp::Syntax.new 'ruby/2.4'
|
231
238
|
|
232
|
-
assert syntax.kind_of?(Regexp::Syntax::Ruby::
|
239
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V241)
|
233
240
|
end
|
234
241
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: regexp_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ammar Ali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
|
14
14
|
email:
|
@@ -85,6 +85,7 @@ files:
|
|
85
85
|
- lib/regexp_parser/syntax/ruby/2.3.3.rb
|
86
86
|
- lib/regexp_parser/syntax/ruby/2.3.rb
|
87
87
|
- lib/regexp_parser/syntax/ruby/2.4.0.rb
|
88
|
+
- lib/regexp_parser/syntax/ruby/2.4.1.rb
|
88
89
|
- lib/regexp_parser/syntax/ruby/2.4.rb
|
89
90
|
- lib/regexp_parser/syntax/tokens.rb
|
90
91
|
- lib/regexp_parser/syntax/tokens/anchor.rb
|
@@ -191,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
192
|
version: '0'
|
192
193
|
requirements: []
|
193
194
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.6.
|
195
|
+
rubygems_version: 2.6.11
|
195
196
|
signing_key:
|
196
197
|
specification_version: 4
|
197
198
|
summary: Scanner, lexer, parser for ruby's regular expressions
|