regexp_parser 0.4.2 → 0.4.3

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: 59dfc938383fd09cfb7fe4cc78cb7b762c28ee3e
4
- data.tar.gz: d69a5a050bf003820bd2e1c1c813291057562a4b
3
+ metadata.gz: e0abb1f85512711fbf5a230b215344fd2b779dec
4
+ data.tar.gz: 99403e49367367adc300ca32b8136038dfe82862
5
5
  SHA512:
6
- metadata.gz: 0f35b419f4caa21cbe0efa651f1e1c008fbeef79e742283b86ba44bb0309f00b12dfa765ff0303446bda321a0134f38be1ff800151f2622829dcd59afc1e86b0
7
- data.tar.gz: fde4ffb9dc8e959271d013884d7c20b0b13cbed1c0145f7d1c2fdfd39f8b1f99eff758b44a6fd241723a822442ac6e49a1f752022f7c28fbd13c154ed7ac1983
6
+ metadata.gz: 179d2559b61b029fa932e4e16d8d8d56b29f9bea3b9ade2733506fcd7b112b3cf29613401f8befd6fb0580ade522261cd3c61e45745515d235bf8b178a9c440d
7
+ data.tar.gz: a40d4e8ce5424f7398ddb436ef086c7d8e2fb2486f575f28b096c4e8d1c26ab1c2a7002f551b28c6af9c230384d39e79150266e6f9756dd9c81347754f070855
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Fri Mar 24 2017 Ammar Ali <ammarabuali@gmail.com>
2
+
3
+ * Added ruby version file for 2.4.1
4
+ * Bumped version to 0.4.3
5
+
1
6
  Tue Jan 10 2017 Ammar Ali <ammarabuali@gmail.com>
2
7
 
3
8
  * Thanks to Janosch Müller (https://github.com/janosch-x):
@@ -0,0 +1,13 @@
1
+ require File.expand_path('../2.4.0', __FILE__)
2
+
3
+ module Regexp::Syntax
4
+ module Ruby
5
+
6
+ class V241 < Regexp::Syntax::Ruby::V240
7
+ def initialize
8
+ super
9
+ end
10
+ end
11
+
12
+ end
13
+ end
@@ -1,8 +1,8 @@
1
- require File.expand_path('../2.4.0', __FILE__)
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::V240; end
6
+ class V24 < Regexp::Syntax::Ruby::V241; end
7
7
  end
8
8
  end
@@ -61,6 +61,7 @@ module Regexp::Syntax
61
61
 
62
62
  # Ruby 2.4.x
63
63
  'ruby/2.4.0',
64
+ 'ruby/2.4.1',
64
65
 
65
66
  # alias for the latest 2.4 implementation
66
67
  'ruby/2.4',
@@ -1,5 +1,5 @@
1
1
  class Regexp
2
2
  module Parser
3
- VERSION = '0.4.2'
3
+ VERSION = '0.4.3'
4
4
  end
5
5
  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::V240)
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.2
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-01-10 00:00:00.000000000 Z
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.8
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