language-ruby 0.8.3 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +1 -1
- data/.node-version +1 -0
- data/.rubocop.yml +8 -0
- data/.ruby-version +1 -1
- data/.tool-versions +3 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +26 -24
- data/LICENSE +19 -0
- data/language-ruby.gemspec +1 -4
- data/lib/language/atom/repeat.rb +1 -1
- data/lib/language/version.rb +1 -1
- data/package.json +8 -0
- metadata +12 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23aa8093d0def6916576d17ff85565ff939b5fa0ef0e98c5dac6213498ac3c3b
|
4
|
+
data.tar.gz: '0228c2735c450db9169755f798b12c259011bba15ba81cef01512908959bf476'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89be75b3afb9f7ff85f4db617330b5e1f971d1af375a133687d20b373bb18c8012e45ad4ac5d4a0c4d1e3a9e9b65e2dd7f795ec28b513edb772c138482be0da
|
7
|
+
data.tar.gz: 8c6ccb5d66c6d77aa2d7fc5c50feb80c97f55427b197ed2339964a0ef15266e258b0c490e2327d0bf5a20d82937559fc3c992184079cfaf3183e85e038e744d1
|
data/.github/workflows/ci.yml
CHANGED
data/.node-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
21.7.2
|
data/.rubocop.yml
ADDED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.3
|
data/.tool-versions
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
language-ruby (0.
|
5
|
-
zeitwerk
|
4
|
+
language-ruby (0.9.0)
|
5
|
+
zeitwerk
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
activesupport (7.1.3.
|
10
|
+
activesupport (7.1.3.4)
|
11
11
|
base64
|
12
12
|
bigdecimal
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -19,40 +19,41 @@ GEM
|
|
19
19
|
tzinfo (~> 2.0)
|
20
20
|
ast (2.4.2)
|
21
21
|
base64 (0.2.0)
|
22
|
-
bigdecimal (3.1.
|
23
|
-
concurrent-ruby (1.
|
22
|
+
bigdecimal (3.1.8)
|
23
|
+
concurrent-ruby (1.3.3)
|
24
24
|
connection_pool (2.4.1)
|
25
25
|
diff-lcs (1.5.1)
|
26
26
|
drb (2.2.1)
|
27
|
-
i18n (1.14.
|
27
|
+
i18n (1.14.5)
|
28
28
|
concurrent-ruby (~> 1.0)
|
29
|
-
json (2.7.
|
29
|
+
json (2.7.2)
|
30
30
|
language_server-protocol (3.17.0.3)
|
31
|
-
minitest (5.
|
31
|
+
minitest (5.24.1)
|
32
32
|
mutex_m (0.2.0)
|
33
|
-
parallel (1.
|
34
|
-
parser (3.3.0
|
33
|
+
parallel (1.25.1)
|
34
|
+
parser (3.3.3.0)
|
35
35
|
ast (~> 2.4.1)
|
36
36
|
racc
|
37
|
-
racc (1.
|
38
|
-
rack (3.
|
37
|
+
racc (1.8.0)
|
38
|
+
rack (3.1.6)
|
39
39
|
rainbow (3.1.1)
|
40
|
-
regexp_parser (2.9.
|
41
|
-
rexml (3.
|
40
|
+
regexp_parser (2.9.2)
|
41
|
+
rexml (3.3.1)
|
42
|
+
strscan
|
42
43
|
rspec (3.13.0)
|
43
44
|
rspec-core (~> 3.13.0)
|
44
45
|
rspec-expectations (~> 3.13.0)
|
45
46
|
rspec-mocks (~> 3.13.0)
|
46
47
|
rspec-core (3.13.0)
|
47
48
|
rspec-support (~> 3.13.0)
|
48
|
-
rspec-expectations (3.13.
|
49
|
+
rspec-expectations (3.13.1)
|
49
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
50
51
|
rspec-support (~> 3.13.0)
|
51
|
-
rspec-mocks (3.13.
|
52
|
+
rspec-mocks (3.13.1)
|
52
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
53
54
|
rspec-support (~> 3.13.0)
|
54
55
|
rspec-support (3.13.1)
|
55
|
-
rubocop (1.
|
56
|
+
rubocop (1.64.1)
|
56
57
|
json (~> 2.3)
|
57
58
|
language_server-protocol (>= 3.17.0)
|
58
59
|
parallel (~> 1.10)
|
@@ -63,15 +64,15 @@ GEM
|
|
63
64
|
rubocop-ast (>= 1.31.1, < 2.0)
|
64
65
|
ruby-progressbar (~> 1.7)
|
65
66
|
unicode-display_width (>= 2.4.0, < 3.0)
|
66
|
-
rubocop-ast (1.31.
|
67
|
-
parser (>= 3.3.0
|
67
|
+
rubocop-ast (1.31.3)
|
68
|
+
parser (>= 3.3.1.0)
|
68
69
|
rubocop-minitest (0.35.0)
|
69
70
|
rubocop (>= 1.61, < 2.0)
|
70
71
|
rubocop-ast (>= 1.31.1, < 2.0)
|
71
|
-
rubocop-performance (1.21.
|
72
|
+
rubocop-performance (1.21.1)
|
72
73
|
rubocop (>= 1.48.1, < 2.0)
|
73
74
|
rubocop-ast (>= 1.31.1, < 2.0)
|
74
|
-
rubocop-rails (2.
|
75
|
+
rubocop-rails (2.25.1)
|
75
76
|
activesupport (>= 4.2.0)
|
76
77
|
rack (>= 1.1)
|
77
78
|
rubocop (>= 1.33.0, < 2.0)
|
@@ -82,10 +83,11 @@ GEM
|
|
82
83
|
rubocop-performance
|
83
84
|
rubocop-rails
|
84
85
|
ruby-progressbar (1.13.0)
|
86
|
+
strscan (3.1.0)
|
85
87
|
tzinfo (2.0.6)
|
86
88
|
concurrent-ruby (~> 1.0)
|
87
89
|
unicode-display_width (2.5.0)
|
88
|
-
zeitwerk (2.6.
|
90
|
+
zeitwerk (2.6.16)
|
89
91
|
|
90
92
|
PLATFORMS
|
91
93
|
arm64-darwin-22
|
@@ -97,7 +99,7 @@ DEPENDENCIES
|
|
97
99
|
rubocop-rails-omakase
|
98
100
|
|
99
101
|
RUBY VERSION
|
100
|
-
ruby 3.3.
|
102
|
+
ruby 3.3.3p89
|
101
103
|
|
102
104
|
BUNDLED WITH
|
103
|
-
2.5.
|
105
|
+
2.5.14
|
data/LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
Copyright 2024 Dorian Marié <dorian@dorianmarie.com>
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4
|
+
this software and associated documentation files (the “Software”), to deal in
|
5
|
+
the Software without restriction, including without limitation the rights to
|
6
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
7
|
+
of the Software, and to permit persons to whom the Software is furnished to
|
8
|
+
do so, subject to the following conditions:
|
9
|
+
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
11
|
+
all copies or substantial portions of the Software.
|
12
|
+
|
13
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
16
|
+
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19
|
+
THE SOFTWARE.
|
data/language-ruby.gemspec
CHANGED
@@ -14,8 +14,5 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.require_paths = ["lib"]
|
15
15
|
s.homepage = "https://github.com/dorianmariecom/language-ruby"
|
16
16
|
s.license = "MIT"
|
17
|
-
|
18
|
-
s.add_dependency "zeitwerk", "~> 2"
|
19
|
-
|
20
|
-
s.required_ruby_version = ">= 3.3.0"
|
17
|
+
s.add_dependency "zeitwerk"
|
21
18
|
end
|
data/lib/language/atom/repeat.rb
CHANGED
@@ -30,7 +30,7 @@ class Language
|
|
30
30
|
minimum = @minimum.zero? ? "" : @minimum.to_s
|
31
31
|
maximum = @maximum.nil? ? "" : ", #{@maximum}"
|
32
32
|
parenthesis =
|
33
|
-
minimum.empty? && maximum.empty? ? "" : "(#{minimum}#{maximum})"
|
33
|
+
(minimum.empty? && maximum.empty?) ? "" : "(#{minimum}#{maximum})"
|
34
34
|
|
35
35
|
@parent ? "(#{@parent}).repeat#{parenthesis}" : "repeat#{parenthesis}"
|
36
36
|
end
|
data/lib/language/version.rb
CHANGED
data/package.json
ADDED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: language-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dorian Marié
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: zeitwerk
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
description: A Parsing Expression Grammar (PEG) for making parsers
|
28
28
|
email: dorian@dorianmarie.fr
|
29
29
|
executables: []
|
@@ -33,11 +33,14 @@ files:
|
|
33
33
|
- ".github/dependabot.yml"
|
34
34
|
- ".github/workflows/ci.yml"
|
35
35
|
- ".gitignore"
|
36
|
+
- ".node-version"
|
36
37
|
- ".rspec"
|
38
|
+
- ".rubocop.yml"
|
37
39
|
- ".ruby-version"
|
38
40
|
- ".tool-versions"
|
39
41
|
- Gemfile
|
40
42
|
- Gemfile.lock
|
43
|
+
- LICENSE
|
41
44
|
- README.md
|
42
45
|
- bin/rspec
|
43
46
|
- bin/test
|
@@ -65,6 +68,7 @@ files:
|
|
65
68
|
- lib/language/parser/str.rb
|
66
69
|
- lib/language/parser/str/not_found.rb
|
67
70
|
- lib/language/version.rb
|
71
|
+
- package.json
|
68
72
|
- spec/language_spec.rb
|
69
73
|
- spec/spec_helper.rb
|
70
74
|
- yarn.lock
|
@@ -80,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
84
|
requirements:
|
81
85
|
- - ">="
|
82
86
|
- !ruby/object:Gem::Version
|
83
|
-
version:
|
87
|
+
version: '0'
|
84
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
89
|
requirements:
|
86
90
|
- - ">="
|
87
91
|
- !ruby/object:Gem::Version
|
88
92
|
version: '0'
|
89
93
|
requirements: []
|
90
|
-
rubygems_version: 3.5.
|
94
|
+
rubygems_version: 3.5.11
|
91
95
|
signing_key:
|
92
96
|
specification_version: 4
|
93
97
|
summary: A Parsing Expression Grammar (PEG) for making parsers
|