rsec 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 +5 -5
- data/lib/rsec.rb +1 -1
- data/lib/rsec/helpers.rb +1 -1
- data/readme.rdoc +3 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '0729a60e389265baab9ff529159db7a7027c4b0635640ecfb50cf83c2cc2a0db'
|
4
|
+
data.tar.gz: d74e398d26955b73151494f55b3315e06f61483dbedd5136076bb90164e3f24d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c81b3f0727c69ff705dcbd0aa077eed43a1f99c7d760e60c49dd4a4a98fd3417c86987a65776f0c88279c1c636cb3812e0be3693d0d3d871653ccee2437251
|
7
|
+
data.tar.gz: 468b07ca8e630158a0605315b381ab40df83c0a4a3bab56e92d60868ddcfcc5fec4e83cc944efdb63e7bd609240fd384f459b3e8204fc8e990363e133fe1fca3
|
data/lib/rsec.rb
CHANGED
data/lib/rsec/helpers.rb
CHANGED
@@ -87,7 +87,7 @@ module Rsec #:nodoc:
|
|
87
87
|
raise 'Floating points does not allow :base'
|
88
88
|
end
|
89
89
|
base ||= 10
|
90
|
-
Rsec.assert_type base,
|
90
|
+
Rsec.assert_type base, Integer
|
91
91
|
unless (2..36).include? base
|
92
92
|
raise RangeError, ":base should be in 2..36, but got #{base}"
|
93
93
|
end
|
data/readme.rdoc
CHANGED
@@ -1,17 +1,15 @@
|
|
1
1
|
== Parser / Regexp Combinator for Ruby.
|
2
2
|
|
3
|
-
|
3
|
+
PEG grammar for Ruby, based on StringScanner. Consistently superior speed: up to 10 times faster than Treetop[https://github.com/nathansobo/treetop], and twice the speed of rex+racc.
|
4
4
|
|
5
|
-
|
5
|
+
Compatible with Ruby v1.9 and above.
|
6
6
|
|
7
7
|
== License
|
8
8
|
|
9
|
-
|
9
|
+
Same license as for Ruby.
|
10
10
|
|
11
11
|
== Install
|
12
12
|
|
13
|
-
The pure Ruby gem is fast enough (about 10+x faster than treetop generated code):
|
14
|
-
|
15
13
|
gem in rsec
|
16
14
|
|
17
15
|
== Doc
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsec
|
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
|
- NS
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Easy and extreme fast dynamic PEG parser combinator.
|
14
14
|
email:
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version:
|
74
|
+
rubygems_version: 3.0.0.beta1
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Extreme Fast Parser Combinator for Ruby
|