language-ruby 1.2.0 → 2.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a115d1bc42494deae4dfa239e73ef2a87ea724356530aebf399b972011dd361
4
- data.tar.gz: b49baefcdb25d34096dac0eeeb3d68f0868ceb80173cc287cab50c6661863d01
3
+ metadata.gz: 9b8b7a7f36e789cd1c856dbec1e279cc00e8d2aef226d0cc92535fdd4bc056d5
4
+ data.tar.gz: cfcb8f8753c3b6168f6000e98bed0bd71cfa01dc8d640c2d1b67e7c8cd4cb2c1
5
5
  SHA512:
6
- metadata.gz: fea53944f04ee2a2a70fd19d1aa78ea074f91deda0473daf11ba452e50c28b50587178e808981362eb742b43249a4a435bc891c095c07455b13fd19c83125cdf
7
- data.tar.gz: 9b20a292749126ba40fcfe1ae8dd9a7524636dbf81da1fa09d19a8ed0761d53a89bd657d3a64fce0618c4b29dcef15936e015dbc4406ee01d9564d4102ed303e
6
+ metadata.gz: 374555f4710c4bda62a3d1f7d811f8839d634fbfff43fbce527a5a553042dc76b580b0a141b42e957d1baf3cd545b61188cb87e395ed6523b0a4b53cb648fdae
7
+ data.tar.gz: 6a0a5c88408d05e8e69e559e12786c7f258202fdeec350ee424c7e1ed3aca8c05bce74f1a6630712fcebe8706f3f72828416e5e387b4ae8a0edbab1ddc44014a
data/.node-version CHANGED
@@ -1 +1 @@
1
- 23.11.0
1
+ 26.3.1
data/.npm-version CHANGED
@@ -1 +1 @@
1
- 11.2.0
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: 3.0
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:
@@ -121,7 +143,6 @@ Style/StringLiterals:
121
143
  Style/StringLiteralsInInterpolation:
122
144
  Enabled: false
123
145
  plugins:
124
- - rubocop-factory_bot
125
146
  - rubocop-performance
126
147
  - rubocop-rails
127
148
  - rubocop-rake
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.4.2
1
+ 4.0.5
data/.tool-versions CHANGED
@@ -1,3 +1,2 @@
1
- ruby 3.4.2
2
- yarn 1.22.22
3
- nodejs 23.11.0
1
+ ruby 4.0.5
2
+ nodejs 26.3.1
data/Gemfile CHANGED
@@ -4,13 +4,12 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- ruby "3.4.2"
7
+ ruby "4.0.5"
8
8
 
9
9
  gem "bundler-audit"
10
10
  gem "dorian"
11
11
  gem "rspec"
12
12
  gem "rubocop-capybara"
13
- gem "rubocop-factory_bot"
14
13
  gem "rubocop-performance"
15
14
  gem "rubocop-rails"
16
15
  gem "rubocop-rake"
data/Gemfile.lock CHANGED
@@ -1,164 +1,154 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- language-ruby (1.2.0)
4
+ language-ruby (2.0.1)
5
5
  dorian-arguments
6
6
  zeitwerk
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (8.0.2)
11
+ activesupport (8.1.3.1)
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.8.7)
25
- public_suffix (>= 2.0.2, < 7.0)
26
24
  ast (2.4.3)
27
- base64 (0.2.0)
28
- benchmark (0.4.0)
29
- bigdecimal (3.1.9)
30
- bundler-audit (0.9.2)
31
- bundler (>= 1.2.0, < 3)
25
+ base64 (0.3.0)
26
+ bigdecimal (4.1.2)
27
+ bundler-audit (0.9.3)
28
+ bundler (>= 1.2.0)
32
29
  thor (~> 1.0)
33
30
  cmdparse (3.0.7)
34
- concurrent-ruby (1.3.5)
35
- connection_pool (2.5.0)
36
- csv (3.3.3)
37
- diff-lcs (1.6.1)
38
- dorian (2.6.3)
39
- csv
40
- dorian-arguments
41
- dorian-eval
42
- dorian-progress
43
- dorian-to_struct
44
- git
45
- hexapdf
46
- json
47
- mini_racer
48
- ostruct
49
- parallel
50
- syntax_tree
51
- syntax_tree-haml
52
- syntax_tree-xml
53
- terminal-table
54
- w_syntax_tree-erb
55
- yaml
56
- dorian-arguments (1.2.2)
57
- bigdecimal
58
- dorian-eval (1.5.0)
59
- yaml
60
- dorian-progress (1.1.2)
61
- ruby-progressbar
62
- dorian-to_struct (2.0.2)
63
- drb (2.2.1)
31
+ concurrent-ruby (1.3.8)
32
+ connection_pool (3.0.2)
33
+ csv (3.3.6)
34
+ diff-lcs (1.6.2)
35
+ dorian (3.0.2)
36
+ csv (>= 3.3.6, < 4)
37
+ dorian-arguments (>= 2.0.1, < 3)
38
+ dorian-eval (>= 2.0.1, < 3)
39
+ dorian-progress (>= 2.0.1, < 3)
40
+ dorian-to_struct (>= 3.0.1, < 4)
41
+ haml (>= 7.5.1, < 8.0)
42
+ hexapdf (>= 1.10.0, < 2)
43
+ json (>= 2.21.2, < 3)
44
+ mini_racer (>= 0.22.1, < 1)
45
+ ostruct (>= 0.6.3, < 1)
46
+ parallel (>= 2.1.0, < 3.0)
47
+ syntax_tree (>= 6.3.0, < 7)
48
+ syntax_tree-haml (>= 4.0.3, < 5)
49
+ syntax_tree-xml (>= 0.1.0, < 1)
50
+ terminal-table (>= 4.0.0, < 5)
51
+ w_syntax_tree-erb (>= 0.12.0, < 1)
52
+ yaml (>= 0.4.0, < 1)
53
+ dorian-arguments (2.0.1)
54
+ bigdecimal (>= 3.1, < 5)
55
+ dorian-eval (2.0.1)
56
+ yaml (>= 0.3, < 1)
57
+ dorian-progress (2.0.1)
58
+ ruby-progressbar (>= 1.13, < 2)
59
+ dorian-to_struct (3.0.1)
60
+ drb (2.2.3)
64
61
  geom2d (0.4.1)
65
- git (3.0.0)
66
- activesupport (>= 5.0)
67
- addressable (~> 2.8)
68
- process_executer (~> 1.3)
69
- rchardet (~> 1.9)
70
- haml (6.3.0)
62
+ haml (7.5.1)
63
+ prism (>= 1.1.0)
71
64
  temple (>= 0.8.2)
72
65
  thor
73
66
  tilt
74
- hexapdf (1.2.0)
67
+ hexapdf (1.10.0)
75
68
  cmdparse (~> 3.0, >= 3.0.3)
76
69
  geom2d (~> 0.4, >= 0.4.1)
77
70
  openssl (>= 2.2.1)
78
71
  strscan (>= 3.1.2)
79
- i18n (1.14.7)
72
+ i18n (1.15.2)
80
73
  concurrent-ruby (~> 1.0)
81
- json (2.10.2)
82
- language_server-protocol (3.17.0.4)
83
- libv8-node (23.6.1.0-arm64-darwin)
84
- libv8-node (23.6.1.0-x86_64-linux)
74
+ json (2.21.2)
75
+ language_server-protocol (3.17.0.6)
76
+ libv8-node (24.12.0.1-arm64-darwin)
77
+ libv8-node (24.12.0.1-x86_64-linux)
85
78
  lint_roller (1.1.0)
86
79
  logger (1.7.0)
87
- mini_racer (0.18.1)
88
- libv8-node (~> 23.6.1.0)
89
- minitest (5.25.5)
90
- openssl (3.3.0)
91
- ostruct (0.6.1)
92
- parallel (1.26.3)
93
- parser (3.3.7.4)
80
+ mini_racer (0.22.1)
81
+ libv8-node (~> 24.12.0.1)
82
+ minitest (6.0.6)
83
+ drb (~> 2.0)
84
+ prism (~> 1.5)
85
+ openssl (4.0.2)
86
+ ostruct (0.6.3)
87
+ parallel (2.1.0)
88
+ parser (3.3.12.0)
94
89
  ast (~> 2.4.1)
95
90
  racc
96
91
  prettier_print (1.2.1)
97
- prism (1.4.0)
98
- process_executer (1.3.0)
99
- public_suffix (6.0.1)
92
+ prism (1.9.0)
100
93
  racc (1.8.1)
101
- rack (3.1.12)
94
+ rack (3.2.7)
102
95
  rainbow (3.1.1)
103
- rchardet (1.9.0)
104
- regexp_parser (2.10.0)
105
- rspec (3.13.0)
96
+ regexp_parser (2.12.0)
97
+ rspec (3.13.2)
106
98
  rspec-core (~> 3.13.0)
107
99
  rspec-expectations (~> 3.13.0)
108
100
  rspec-mocks (~> 3.13.0)
109
- rspec-core (3.13.3)
101
+ rspec-core (3.13.6)
110
102
  rspec-support (~> 3.13.0)
111
- rspec-expectations (3.13.3)
103
+ rspec-expectations (3.13.5)
112
104
  diff-lcs (>= 1.2.0, < 2.0)
113
105
  rspec-support (~> 3.13.0)
114
- rspec-mocks (3.13.2)
106
+ rspec-mocks (3.13.8)
115
107
  diff-lcs (>= 1.2.0, < 2.0)
116
108
  rspec-support (~> 3.13.0)
117
- rspec-support (3.13.2)
118
- rubocop (1.75.2)
119
- json (~> 2.3)
109
+ rspec-support (3.13.7)
110
+ rubocop (1.90.0)
111
+ json (>= 2.3)
120
112
  language_server-protocol (~> 3.17.0.2)
121
113
  lint_roller (~> 1.1.0)
122
- parallel (~> 1.10)
114
+ parallel (>= 1.10)
123
115
  parser (>= 3.3.0.2)
124
116
  rainbow (>= 2.2.2, < 4.0)
125
117
  regexp_parser (>= 2.9.3, < 3.0)
126
- rubocop-ast (>= 1.44.0, < 2.0)
118
+ rubocop-ast (>= 1.49.0, < 2.0)
127
119
  ruby-progressbar (~> 1.7)
128
120
  unicode-display_width (>= 2.4.0, < 4.0)
129
- rubocop-ast (1.44.0)
121
+ rubocop-ast (1.50.0)
130
122
  parser (>= 3.3.7.2)
131
- prism (~> 1.4)
132
- rubocop-capybara (2.22.1)
123
+ prism (~> 1.7)
124
+ rubocop-capybara (3.0.0)
133
125
  lint_roller (~> 1.1)
134
- rubocop (~> 1.72, >= 1.72.1)
135
- rubocop-factory_bot (2.27.1)
136
- lint_roller (~> 1.1)
137
- rubocop (~> 1.72, >= 1.72.1)
138
- rubocop-performance (1.25.0)
126
+ rubocop (~> 1.81)
127
+ rubocop-performance (1.27.0)
139
128
  lint_roller (~> 1.1)
140
- rubocop (>= 1.75.0, < 2.0)
141
- rubocop-ast (>= 1.38.0, < 2.0)
142
- rubocop-rails (2.31.0)
129
+ rubocop (>= 1.89.0, < 2.0)
130
+ rubocop-ast (>= 1.47.1, < 2.0)
131
+ rubocop-rails (2.37.0)
143
132
  activesupport (>= 4.2.0)
144
133
  lint_roller (~> 1.1)
145
134
  rack (>= 1.1)
146
- rubocop (>= 1.75.0, < 2.0)
147
- rubocop-ast (>= 1.38.0, < 2.0)
135
+ rubocop (>= 1.89.0, < 2.0)
136
+ rubocop-ast (>= 1.44.0, < 2.0)
148
137
  rubocop-rake (0.7.1)
149
138
  lint_roller (~> 1.1)
150
139
  rubocop (>= 1.72.1)
151
- rubocop-rspec (3.5.0)
140
+ rubocop-rspec (3.10.2)
152
141
  lint_roller (~> 1.1)
153
- rubocop (~> 1.72, >= 1.72.1)
154
- rubocop-rspec_rails (2.31.0)
142
+ regexp_parser (>= 2.0)
143
+ rubocop (~> 1.86, >= 1.86.2)
144
+ rubocop-rspec_rails (2.32.0)
155
145
  lint_roller (~> 1.1)
156
146
  rubocop (~> 1.72, >= 1.72.1)
157
147
  rubocop-rspec (~> 3.5)
158
148
  ruby-progressbar (1.13.0)
159
149
  securerandom (0.4.1)
160
- strscan (3.1.2)
161
- syntax_tree (6.2.0)
150
+ strscan (3.1.8)
151
+ syntax_tree (6.3.0)
162
152
  prettier_print (>= 1.2.0)
163
153
  syntax_tree-haml (4.0.3)
164
154
  haml (>= 5.2)
@@ -167,27 +157,28 @@ GEM
167
157
  syntax_tree-xml (0.1.0)
168
158
  prettier_print
169
159
  syntax_tree (>= 2.0.1)
170
- temple (0.10.3)
160
+ temple (0.10.7)
171
161
  terminal-table (4.0.0)
172
162
  unicode-display_width (>= 1.1.1, < 4)
173
- thor (1.3.2)
174
- tilt (2.6.0)
163
+ thor (1.5.0)
164
+ tilt (2.9.0)
175
165
  tzinfo (2.0.6)
176
166
  concurrent-ruby (~> 1.0)
177
- unicode-display_width (3.1.4)
178
- unicode-emoji (~> 4.0, >= 4.0.4)
179
- unicode-emoji (4.0.4)
180
- uri (1.0.3)
167
+ unicode-display_width (3.2.0)
168
+ unicode-emoji (~> 4.1)
169
+ unicode-emoji (4.2.0)
170
+ uri (1.1.1)
181
171
  w_syntax_tree-erb (0.12.0)
182
172
  prettier_print (~> 1.2, >= 1.2.0)
183
173
  syntax_tree (~> 6.1, >= 6.1.1)
184
174
  yaml (0.4.0)
185
- zeitwerk (2.7.2)
175
+ zeitwerk (2.8.3)
186
176
 
187
177
  PLATFORMS
188
178
  arm64-darwin-22
189
179
  arm64-darwin-23
190
180
  arm64-darwin-24
181
+ arm64-darwin-25
191
182
  x86_64-linux
192
183
 
193
184
  DEPENDENCIES
@@ -196,7 +187,6 @@ DEPENDENCIES
196
187
  language-ruby!
197
188
  rspec
198
189
  rubocop-capybara
199
- rubocop-factory_bot
200
190
  rubocop-performance
201
191
  rubocop-rails
202
192
  rubocop-rake
@@ -204,7 +194,7 @@ DEPENDENCIES
204
194
  rubocop-rspec_rails
205
195
 
206
196
  RUBY VERSION
207
- ruby 3.4.2p28
197
+ ruby 4.0.5
208
198
 
209
199
  BUNDLED WITH
210
- 2.6.7
200
+ 4.0.15
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 2.0.1
@@ -15,5 +15,5 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency "dorian-arguments"
16
16
  s.add_dependency "zeitwerk"
17
17
  s.metadata["rubygems_mfa_required"] = "true"
18
- s.required_ruby_version = ">= 3.0"
18
+ s.required_ruby_version = ">= 4.0"
19
19
  end
data/package-lock.json CHANGED
@@ -6,9 +6,9 @@
6
6
  "": {
7
7
  "license": "MIT",
8
8
  "engines": {
9
- "node": "23.11.0",
10
- "npm": "11.2.0"
9
+ "node": "26.3.1",
10
+ "npm": "11.17.0"
11
11
  }
12
12
  }
13
13
  }
14
- }
14
+ }
data/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "engines": {
4
- "node": "23.11.0",
5
- "npm": "11.2.0"
4
+ "node": "26.3.1",
5
+ "npm": "11.17.0"
6
6
  }
7
- }
7
+ }
@@ -35,8 +35,10 @@ class Code
35
35
 
36
36
  class BooleanPresent < Language
37
37
  def root
38
- str("t").aka(:boolean) << str(" ").present << str(" ") << str("rest").aka(:string) |
39
- str("trest").aka(:string)
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: 1.2.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-21 00:00:00.000000000 Z
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: '3.0'
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: 3.6.2
118
+ rubygems_version: 4.0.17
119
119
  specification_version: 4
120
120
  summary: parser dsl
121
121
  test_files: []