language-ruby 1.2.0 → 2.0.0
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/.node-version +1 -1
- data/.npm-version +1 -1
- data/.rubocop.yml +23 -1
- data/.ruby-version +1 -1
- data/.tool-versions +2 -3
- data/Gemfile +1 -1
- data/Gemfile.lock +82 -77
- data/VERSION +1 -1
- data/language-ruby.gemspec +1 -1
- data/package-lock.json +3 -3
- data/package.json +3 -3
- data/spec/language_spec.rb +4 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '012934bac2654038f8d30254e7be0f65d506236f1535bd2bc47accf81003e731'
|
|
4
|
+
data.tar.gz: 2d18e473b4142fc2dca7c59638a458f59fee25f3ff916c5377f985ad60ec7ee4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7d8604b4734674575f653aa4693eaa0a0fb7d8921ce8543b4b2b45df2409405e5dda2b98453c17e64673a7c80e19e62fd69b34ae455c686fc6ffeb74bdbd401
|
|
7
|
+
data.tar.gz: a4f2744ded6dcc2c2969a5780181d1ac91ad8cfb0b9e57bcd2ca046f56f0858f851993d37891fcdbc1a027fb3ca1cc12dd533027b17e87db99f61363ca314e7d
|
data/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
26.3.1
|
data/.npm-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.17.0
|
data/.rubocop.yml
CHANGED
|
@@ -5,15 +5,21 @@ AllCops:
|
|
|
5
5
|
- "**/vendor/**/*"
|
|
6
6
|
- "**/db/schema.rb"
|
|
7
7
|
NewCops: enable
|
|
8
|
-
TargetRubyVersion:
|
|
8
|
+
TargetRubyVersion: 4.0
|
|
9
9
|
Layout/ClosingHeredocIndentation:
|
|
10
10
|
Enabled: false
|
|
11
|
+
Layout/ElseAlignment:
|
|
12
|
+
Enabled: false
|
|
13
|
+
Layout/EndAlignment:
|
|
14
|
+
Enabled: false
|
|
11
15
|
Layout/FirstArgumentIndentation:
|
|
12
16
|
Enabled: false
|
|
13
17
|
Layout/HashAlignment:
|
|
14
18
|
Enabled: false
|
|
15
19
|
Layout/HeredocIndentation:
|
|
16
20
|
Enabled: false
|
|
21
|
+
Layout/IndentationWidth:
|
|
22
|
+
Enabled: false
|
|
17
23
|
Layout/LineEndStringConcatenationIndentation:
|
|
18
24
|
Enabled: false
|
|
19
25
|
Layout/LineLength:
|
|
@@ -22,14 +28,20 @@ Layout/MultilineMethodCallIndentation:
|
|
|
22
28
|
Enabled: false
|
|
23
29
|
Layout/MultilineOperationIndentation:
|
|
24
30
|
Enabled: false
|
|
31
|
+
Layout/SpaceAroundKeyword:
|
|
32
|
+
Enabled: false
|
|
25
33
|
Layout/SpaceInsideHashLiteralBraces:
|
|
26
34
|
Enabled: false
|
|
35
|
+
Lint/ConstantDefinitionInBlock:
|
|
36
|
+
Enabled: false
|
|
27
37
|
Lint/EmptyClass:
|
|
28
38
|
Enabled: false
|
|
29
39
|
Lint/MissingSuper:
|
|
30
40
|
Enabled: false
|
|
31
41
|
Lint/PercentStringArray:
|
|
32
42
|
Enabled: false
|
|
43
|
+
Lint/SafeNavigationChain:
|
|
44
|
+
Enabled: false
|
|
33
45
|
Lint/ShadowingOuterLocalVariable:
|
|
34
46
|
Enabled: false
|
|
35
47
|
Lint/SuppressedException:
|
|
@@ -44,6 +56,8 @@ Metrics/BlockLength:
|
|
|
44
56
|
Enabled: false
|
|
45
57
|
Metrics/ClassLength:
|
|
46
58
|
Enabled: false
|
|
59
|
+
Metrics/CollectionLiteralLength:
|
|
60
|
+
Enabled: false
|
|
47
61
|
Metrics/CyclomaticComplexity:
|
|
48
62
|
Enabled: false
|
|
49
63
|
Metrics/MethodLength:
|
|
@@ -58,6 +72,8 @@ Naming/FileName:
|
|
|
58
72
|
Enabled: false
|
|
59
73
|
Naming/MethodParameterName:
|
|
60
74
|
Enabled: false
|
|
75
|
+
Naming/PredicateMethod:
|
|
76
|
+
Enabled: false
|
|
61
77
|
Naming/VariableNumber:
|
|
62
78
|
Enabled: false
|
|
63
79
|
Performance/Sum:
|
|
@@ -80,6 +96,8 @@ RSpec/NoExpectationExample:
|
|
|
80
96
|
Enabled: false
|
|
81
97
|
RSpec/PendingWithoutReason:
|
|
82
98
|
Enabled: false
|
|
99
|
+
Rails/BulkChangeTable:
|
|
100
|
+
Enabled: false
|
|
83
101
|
Rails/Delegate:
|
|
84
102
|
Enabled: false
|
|
85
103
|
Rails/DynamicFindBy:
|
|
@@ -94,6 +112,8 @@ Rails/Presence:
|
|
|
94
112
|
Enabled: false
|
|
95
113
|
Rails/Present:
|
|
96
114
|
Enabled: false
|
|
115
|
+
Rails/SkipsModelValidations:
|
|
116
|
+
Enabled: false
|
|
97
117
|
Rails/ThreeStateBooleanColumn:
|
|
98
118
|
Enabled: false
|
|
99
119
|
Rails/TimeZone:
|
|
@@ -110,6 +130,8 @@ Style/EmptyMethod:
|
|
|
110
130
|
Enabled: false
|
|
111
131
|
Style/IfUnlessModifier:
|
|
112
132
|
Enabled: false
|
|
133
|
+
Style/Lambda:
|
|
134
|
+
Enabled: false
|
|
113
135
|
Style/MultilineBlockChain:
|
|
114
136
|
Enabled: false
|
|
115
137
|
Style/NestedTernaryOperator:
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4.0.5
|
data/.tool-versions
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
ruby
|
|
2
|
-
|
|
3
|
-
nodejs 23.11.0
|
|
1
|
+
ruby 4.0.5
|
|
2
|
+
nodejs 26.3.1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,41 +1,40 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
language-ruby (
|
|
4
|
+
language-ruby (2.0.0)
|
|
5
5
|
dorian-arguments
|
|
6
6
|
zeitwerk
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activesupport (8.
|
|
11
|
+
activesupport (8.1.3)
|
|
12
12
|
base64
|
|
13
|
-
benchmark (>= 0.3)
|
|
14
13
|
bigdecimal
|
|
15
14
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
16
15
|
connection_pool (>= 2.2.5)
|
|
17
16
|
drb
|
|
18
17
|
i18n (>= 1.6, < 2)
|
|
18
|
+
json
|
|
19
19
|
logger (>= 1.4.2)
|
|
20
20
|
minitest (>= 5.1)
|
|
21
21
|
securerandom (>= 0.3)
|
|
22
22
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
23
23
|
uri (>= 0.13.1)
|
|
24
|
-
addressable (2.
|
|
25
|
-
public_suffix (>= 2.0.2, <
|
|
24
|
+
addressable (2.9.0)
|
|
25
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
26
26
|
ast (2.4.3)
|
|
27
|
-
base64 (0.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
bundler (>= 1.2.0, < 3)
|
|
27
|
+
base64 (0.3.0)
|
|
28
|
+
bigdecimal (4.1.2)
|
|
29
|
+
bundler-audit (0.9.3)
|
|
30
|
+
bundler (>= 1.2.0)
|
|
32
31
|
thor (~> 1.0)
|
|
33
32
|
cmdparse (3.0.7)
|
|
34
|
-
concurrent-ruby (1.3.
|
|
35
|
-
connection_pool (
|
|
36
|
-
csv (3.3.
|
|
37
|
-
diff-lcs (1.6.
|
|
38
|
-
dorian (2.6.
|
|
33
|
+
concurrent-ruby (1.3.7)
|
|
34
|
+
connection_pool (3.0.2)
|
|
35
|
+
csv (3.3.5)
|
|
36
|
+
diff-lcs (1.6.2)
|
|
37
|
+
dorian (2.6.8)
|
|
39
38
|
csv
|
|
40
39
|
dorian-arguments
|
|
41
40
|
dorian-eval
|
|
@@ -53,112 +52,116 @@ GEM
|
|
|
53
52
|
terminal-table
|
|
54
53
|
w_syntax_tree-erb
|
|
55
54
|
yaml
|
|
56
|
-
dorian-arguments (1.2.
|
|
57
|
-
bigdecimal
|
|
58
|
-
dorian-eval (1.5.
|
|
59
|
-
yaml
|
|
60
|
-
dorian-progress (1.1.
|
|
61
|
-
ruby-progressbar
|
|
62
|
-
dorian-to_struct (2.0.
|
|
63
|
-
drb (2.2.
|
|
55
|
+
dorian-arguments (1.2.3)
|
|
56
|
+
bigdecimal (>= 3.1, < 5)
|
|
57
|
+
dorian-eval (1.5.1)
|
|
58
|
+
yaml (>= 0.3, < 1)
|
|
59
|
+
dorian-progress (1.1.3)
|
|
60
|
+
ruby-progressbar (>= 1.13, < 2)
|
|
61
|
+
dorian-to_struct (2.0.3)
|
|
62
|
+
drb (2.2.3)
|
|
64
63
|
geom2d (0.4.1)
|
|
65
|
-
git (3.
|
|
64
|
+
git (4.3.2)
|
|
66
65
|
activesupport (>= 5.0)
|
|
67
66
|
addressable (~> 2.8)
|
|
68
|
-
process_executer (~>
|
|
67
|
+
process_executer (~> 4.0)
|
|
69
68
|
rchardet (~> 1.9)
|
|
70
|
-
haml (
|
|
69
|
+
haml (7.2.0)
|
|
71
70
|
temple (>= 0.8.2)
|
|
72
71
|
thor
|
|
73
72
|
tilt
|
|
74
|
-
hexapdf (1.
|
|
73
|
+
hexapdf (1.9.1)
|
|
75
74
|
cmdparse (~> 3.0, >= 3.0.3)
|
|
76
75
|
geom2d (~> 0.4, >= 0.4.1)
|
|
77
76
|
openssl (>= 2.2.1)
|
|
78
77
|
strscan (>= 3.1.2)
|
|
79
|
-
i18n (1.
|
|
78
|
+
i18n (1.15.2)
|
|
80
79
|
concurrent-ruby (~> 1.0)
|
|
81
|
-
json (2.
|
|
82
|
-
language_server-protocol (3.17.0.
|
|
83
|
-
libv8-node (
|
|
84
|
-
libv8-node (
|
|
80
|
+
json (2.20.0)
|
|
81
|
+
language_server-protocol (3.17.0.5)
|
|
82
|
+
libv8-node (24.12.0.1-arm64-darwin)
|
|
83
|
+
libv8-node (24.12.0.1-x86_64-linux)
|
|
85
84
|
lint_roller (1.1.0)
|
|
86
85
|
logger (1.7.0)
|
|
87
|
-
mini_racer (0.
|
|
88
|
-
libv8-node (~>
|
|
89
|
-
minitest (
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
mini_racer (0.21.4)
|
|
87
|
+
libv8-node (~> 24.12.0.1)
|
|
88
|
+
minitest (6.0.6)
|
|
89
|
+
drb (~> 2.0)
|
|
90
|
+
prism (~> 1.5)
|
|
91
|
+
openssl (4.0.2)
|
|
92
|
+
ostruct (0.6.3)
|
|
93
|
+
parallel (2.1.0)
|
|
94
|
+
parser (3.3.11.1)
|
|
94
95
|
ast (~> 2.4.1)
|
|
95
96
|
racc
|
|
96
97
|
prettier_print (1.2.1)
|
|
97
|
-
prism (1.
|
|
98
|
-
process_executer (
|
|
99
|
-
|
|
98
|
+
prism (1.9.0)
|
|
99
|
+
process_executer (4.0.4)
|
|
100
|
+
track_open_instances (~> 0.1)
|
|
101
|
+
public_suffix (7.0.5)
|
|
100
102
|
racc (1.8.1)
|
|
101
|
-
rack (3.
|
|
103
|
+
rack (3.2.6)
|
|
102
104
|
rainbow (3.1.1)
|
|
103
|
-
rchardet (1.
|
|
104
|
-
regexp_parser (2.
|
|
105
|
-
rspec (3.13.
|
|
105
|
+
rchardet (1.10.2)
|
|
106
|
+
regexp_parser (2.12.0)
|
|
107
|
+
rspec (3.13.2)
|
|
106
108
|
rspec-core (~> 3.13.0)
|
|
107
109
|
rspec-expectations (~> 3.13.0)
|
|
108
110
|
rspec-mocks (~> 3.13.0)
|
|
109
|
-
rspec-core (3.13.
|
|
111
|
+
rspec-core (3.13.6)
|
|
110
112
|
rspec-support (~> 3.13.0)
|
|
111
|
-
rspec-expectations (3.13.
|
|
113
|
+
rspec-expectations (3.13.5)
|
|
112
114
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
113
115
|
rspec-support (~> 3.13.0)
|
|
114
|
-
rspec-mocks (3.13.
|
|
116
|
+
rspec-mocks (3.13.8)
|
|
115
117
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
116
118
|
rspec-support (~> 3.13.0)
|
|
117
|
-
rspec-support (3.13.
|
|
118
|
-
rubocop (1.
|
|
119
|
+
rspec-support (3.13.7)
|
|
120
|
+
rubocop (1.88.0)
|
|
119
121
|
json (~> 2.3)
|
|
120
122
|
language_server-protocol (~> 3.17.0.2)
|
|
121
123
|
lint_roller (~> 1.1.0)
|
|
122
|
-
parallel (
|
|
124
|
+
parallel (>= 1.10)
|
|
123
125
|
parser (>= 3.3.0.2)
|
|
124
126
|
rainbow (>= 2.2.2, < 4.0)
|
|
125
127
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
126
|
-
rubocop-ast (>= 1.
|
|
128
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
127
129
|
ruby-progressbar (~> 1.7)
|
|
128
130
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
129
|
-
rubocop-ast (1.
|
|
131
|
+
rubocop-ast (1.49.1)
|
|
130
132
|
parser (>= 3.3.7.2)
|
|
131
|
-
prism (~> 1.
|
|
132
|
-
rubocop-capybara (
|
|
133
|
+
prism (~> 1.7)
|
|
134
|
+
rubocop-capybara (3.0.0)
|
|
133
135
|
lint_roller (~> 1.1)
|
|
134
|
-
rubocop (~> 1.
|
|
135
|
-
rubocop-factory_bot (2.
|
|
136
|
+
rubocop (~> 1.81)
|
|
137
|
+
rubocop-factory_bot (2.28.0)
|
|
136
138
|
lint_roller (~> 1.1)
|
|
137
139
|
rubocop (~> 1.72, >= 1.72.1)
|
|
138
|
-
rubocop-performance (1.
|
|
140
|
+
rubocop-performance (1.26.1)
|
|
139
141
|
lint_roller (~> 1.1)
|
|
140
142
|
rubocop (>= 1.75.0, < 2.0)
|
|
141
|
-
rubocop-ast (>= 1.
|
|
142
|
-
rubocop-rails (2.
|
|
143
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
144
|
+
rubocop-rails (2.35.5)
|
|
143
145
|
activesupport (>= 4.2.0)
|
|
144
146
|
lint_roller (~> 1.1)
|
|
145
147
|
rack (>= 1.1)
|
|
146
148
|
rubocop (>= 1.75.0, < 2.0)
|
|
147
|
-
rubocop-ast (>= 1.
|
|
149
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
148
150
|
rubocop-rake (0.7.1)
|
|
149
151
|
lint_roller (~> 1.1)
|
|
150
152
|
rubocop (>= 1.72.1)
|
|
151
|
-
rubocop-rspec (3.
|
|
153
|
+
rubocop-rspec (3.10.2)
|
|
152
154
|
lint_roller (~> 1.1)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
regexp_parser (>= 2.0)
|
|
156
|
+
rubocop (~> 1.86, >= 1.86.2)
|
|
157
|
+
rubocop-rspec_rails (2.32.0)
|
|
155
158
|
lint_roller (~> 1.1)
|
|
156
159
|
rubocop (~> 1.72, >= 1.72.1)
|
|
157
160
|
rubocop-rspec (~> 3.5)
|
|
158
161
|
ruby-progressbar (1.13.0)
|
|
159
162
|
securerandom (0.4.1)
|
|
160
|
-
strscan (3.1.
|
|
161
|
-
syntax_tree (6.
|
|
163
|
+
strscan (3.1.8)
|
|
164
|
+
syntax_tree (6.3.0)
|
|
162
165
|
prettier_print (>= 1.2.0)
|
|
163
166
|
syntax_tree-haml (4.0.3)
|
|
164
167
|
haml (>= 5.2)
|
|
@@ -167,27 +170,29 @@ GEM
|
|
|
167
170
|
syntax_tree-xml (0.1.0)
|
|
168
171
|
prettier_print
|
|
169
172
|
syntax_tree (>= 2.0.1)
|
|
170
|
-
temple (0.10.
|
|
173
|
+
temple (0.10.4)
|
|
171
174
|
terminal-table (4.0.0)
|
|
172
175
|
unicode-display_width (>= 1.1.1, < 4)
|
|
173
|
-
thor (1.
|
|
174
|
-
tilt (2.
|
|
176
|
+
thor (1.5.0)
|
|
177
|
+
tilt (2.7.0)
|
|
178
|
+
track_open_instances (0.1.15)
|
|
175
179
|
tzinfo (2.0.6)
|
|
176
180
|
concurrent-ruby (~> 1.0)
|
|
177
|
-
unicode-display_width (3.
|
|
178
|
-
unicode-emoji (~> 4.
|
|
179
|
-
unicode-emoji (4.0
|
|
180
|
-
uri (1.
|
|
181
|
+
unicode-display_width (3.2.0)
|
|
182
|
+
unicode-emoji (~> 4.1)
|
|
183
|
+
unicode-emoji (4.2.0)
|
|
184
|
+
uri (1.1.1)
|
|
181
185
|
w_syntax_tree-erb (0.12.0)
|
|
182
186
|
prettier_print (~> 1.2, >= 1.2.0)
|
|
183
187
|
syntax_tree (~> 6.1, >= 6.1.1)
|
|
184
188
|
yaml (0.4.0)
|
|
185
|
-
zeitwerk (2.
|
|
189
|
+
zeitwerk (2.8.2)
|
|
186
190
|
|
|
187
191
|
PLATFORMS
|
|
188
192
|
arm64-darwin-22
|
|
189
193
|
arm64-darwin-23
|
|
190
194
|
arm64-darwin-24
|
|
195
|
+
arm64-darwin-25
|
|
191
196
|
x86_64-linux
|
|
192
197
|
|
|
193
198
|
DEPENDENCIES
|
|
@@ -204,7 +209,7 @@ DEPENDENCIES
|
|
|
204
209
|
rubocop-rspec_rails
|
|
205
210
|
|
|
206
211
|
RUBY VERSION
|
|
207
|
-
|
|
212
|
+
ruby 4.0.5
|
|
208
213
|
|
|
209
214
|
BUNDLED WITH
|
|
210
|
-
|
|
215
|
+
4.0.15
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2.0.0
|
data/language-ruby.gemspec
CHANGED
data/package-lock.json
CHANGED
data/package.json
CHANGED
data/spec/language_spec.rb
CHANGED
|
@@ -35,8 +35,10 @@ class Code
|
|
|
35
35
|
|
|
36
36
|
class BooleanPresent < Language
|
|
37
37
|
def root
|
|
38
|
-
|
|
39
|
-
str("
|
|
38
|
+
(
|
|
39
|
+
str("t").aka(:boolean) << str(" ").present << str(" ") <<
|
|
40
|
+
str("rest").aka(:string)
|
|
41
|
+
) | str("trest").aka(:string)
|
|
40
42
|
end
|
|
41
43
|
end
|
|
42
44
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: language-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dorian Marié
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: dorian-arguments
|
|
@@ -108,14 +108,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
108
108
|
requirements:
|
|
109
109
|
- - ">="
|
|
110
110
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '
|
|
111
|
+
version: '4.0'
|
|
112
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
114
|
- - ">="
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
116
|
version: '0'
|
|
117
117
|
requirements: []
|
|
118
|
-
rubygems_version:
|
|
118
|
+
rubygems_version: 4.0.15
|
|
119
119
|
specification_version: 4
|
|
120
120
|
summary: parser dsl
|
|
121
121
|
test_files: []
|