regexp_parser 0.4.0 → 0.4.1
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 +4 -4
- data/ChangeLog +5 -0
- data/README.md +1 -1
- data/lib/regexp_parser/syntax/ruby/2.3.3.rb +13 -0
- data/lib/regexp_parser/syntax/ruby/2.3.rb +2 -2
- data/lib/regexp_parser/syntax/versions.rb +1 -0
- data/lib/regexp_parser/version.rb +1 -1
- data/test/syntax/ruby/test_files.rb +8 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4faff23823636404ecb7dabbb13b2b2c5b101bec
|
4
|
+
data.tar.gz: d6684d91353d28ee9b423970335c2e59d3e6b6dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2e8cb0771dde3d53ea2d9cec0df669d6b17ac53855caf7ad841dc06b29dc25685e7a0b8524c180aa3364794feed306a2d173b9f985a52a0b3f77c5a3bd7764f
|
7
|
+
data.tar.gz: 6041cf135e1cb02f5038bad897d94334b1ca97cb603636905337e05712a779bc0a622dfabb285464138d51bd6b9df5ee1304c76ee2cbc039fcc8224ee00ecfb0
|
data/ChangeLog
CHANGED
data/README.md
CHANGED
@@ -18,7 +18,7 @@ _For an example of regexp_parser in use, see the [meta_re project](https://githu
|
|
18
18
|
---
|
19
19
|
## Requirements
|
20
20
|
|
21
|
-
* Ruby >= 1.9
|
21
|
+
* Ruby >= 1.9
|
22
22
|
* Ragel >= 6.0, but only if you want to build the gem or work on the scanner.
|
23
23
|
|
24
24
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
require File.expand_path('../2.3.
|
1
|
+
require File.expand_path('../2.3.3', __FILE__)
|
2
2
|
|
3
3
|
module Regexp::Syntax
|
4
4
|
module Ruby
|
5
5
|
# uses the latest 2.3 release
|
6
|
-
class V23 < Regexp::Syntax::Ruby::
|
6
|
+
class V23 < Regexp::Syntax::Ruby::V233; end
|
7
7
|
end
|
8
8
|
end
|
@@ -205,9 +205,16 @@ class TestSyntaxFiles < Test::Unit::TestCase
|
|
205
205
|
assert syntax.kind_of?(Regexp::Syntax::Ruby::V232)
|
206
206
|
end
|
207
207
|
|
208
|
+
def test_syntax_file_2_3_3
|
209
|
+
syntax = Regexp::Syntax.new 'ruby/2.3.3'
|
210
|
+
|
211
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V232)
|
212
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V233)
|
213
|
+
end
|
214
|
+
|
208
215
|
def test_syntax_file_2_3_alias
|
209
216
|
syntax = Regexp::Syntax.new 'ruby/2.3'
|
210
217
|
|
211
|
-
assert syntax.kind_of?(Regexp::Syntax::Ruby::
|
218
|
+
assert syntax.kind_of?(Regexp::Syntax::Ruby::V233)
|
212
219
|
end
|
213
220
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ammar Ali
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
|
14
14
|
email:
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- lib/regexp_parser/syntax/ruby/2.3.0.rb
|
83
83
|
- lib/regexp_parser/syntax/ruby/2.3.1.rb
|
84
84
|
- lib/regexp_parser/syntax/ruby/2.3.2.rb
|
85
|
+
- lib/regexp_parser/syntax/ruby/2.3.3.rb
|
85
86
|
- lib/regexp_parser/syntax/ruby/2.3.rb
|
86
87
|
- lib/regexp_parser/syntax/tokens.rb
|
87
88
|
- lib/regexp_parser/syntax/tokens/anchor.rb
|
@@ -188,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
189
|
version: '0'
|
189
190
|
requirements: []
|
190
191
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.5.2
|
192
193
|
signing_key:
|
193
194
|
specification_version: 4
|
194
195
|
summary: Scanner, lexer, parser for ruby's regular expressions
|