regexp_parser 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64caf66c58a7f537eb616c36ebe39525c9977a42
4
- data.tar.gz: abfa9f49bd37d2f03ad790244dfebf0ed6a2e6de
3
+ metadata.gz: 4faff23823636404ecb7dabbb13b2b2c5b101bec
4
+ data.tar.gz: d6684d91353d28ee9b423970335c2e59d3e6b6dd
5
5
  SHA512:
6
- metadata.gz: 96b55ce29f554b59027180962f26ce6b02725142495cbd637eec47f24c7f6866f5ba676105f5f1d689c8f35fe6923e3110032737642a3bf3b92a7277b23b4ab9
7
- data.tar.gz: edf5a0c7288a929318ce0c9451d934a992ab794fc8baf0e4ded0ad3761a65a6a8127485378033c1bdefa0447b7d07363b0dea7949a4c306495e736dabc1532aa
6
+ metadata.gz: a2e8cb0771dde3d53ea2d9cec0df669d6b17ac53855caf7ad841dc06b29dc25685e7a0b8524c180aa3364794feed306a2d173b9f985a52a0b3f77c5a3bd7764f
7
+ data.tar.gz: 6041cf135e1cb02f5038bad897d94334b1ca97cb603636905337e05712a779bc0a622dfabb285464138d51bd6b9df5ee1304c76ee2cbc039fcc8224ee00ecfb0
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Tue Nov 22 2016 Ammar Ali <ammarabuali@gmail.com>
2
+
3
+ * Updated ruby version file for 2.3.3
4
+ * Bumped version to 0.4.1
5
+
1
6
  Sun Nov 20 2016 Ammar Ali <ammarabuali@gmail.com>
2
7
 
3
8
  * Added Syntax.supported? method
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 _(1.8 still works, but is no being tested. It will be removed in 0.4.0)_
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
 
@@ -0,0 +1,13 @@
1
+ require File.expand_path('../2.3.2', __FILE__)
2
+
3
+ module Regexp::Syntax
4
+ module Ruby
5
+
6
+ class V233 < Regexp::Syntax::Ruby::V232
7
+ def initialize
8
+ super
9
+ end
10
+ end
11
+
12
+ end
13
+ end
@@ -1,8 +1,8 @@
1
- require File.expand_path('../2.3.2', __FILE__)
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::V232; end
6
+ class V23 < Regexp::Syntax::Ruby::V233; end
7
7
  end
8
8
  end
@@ -54,6 +54,7 @@ module Regexp::Syntax
54
54
  'ruby/2.3.0',
55
55
  'ruby/2.3.1',
56
56
  'ruby/2.3.2',
57
+ 'ruby/2.3.3',
57
58
 
58
59
  # alias for the latest 2.3 implementation
59
60
  'ruby/2.3',
@@ -1,5 +1,5 @@
1
1
  class Regexp
2
2
  module Parser
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  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::V232)
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.0
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-20 00:00:00.000000000 Z
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.6.4
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