Skip to content

Commit 32dc8ed

Browse files
Updated from main
Signed-off-by: Samir Anand <sam.sunny001@gmail.com>
2 parents 457724f + 1478631 commit 32dc8ed

21 files changed

Lines changed: 2879 additions & 82 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ to help you get it set up.
4040

4141
To get started, you'll need:
4242

43-
* Ruby 2.6.0
43+
* Ruby 3.1.0
4444
* You can use `rbenv` to manage your Ruby version(s)
4545
* [`Bundler`](https://github.com/bundler/bundler)
4646
* This can be installed with `gem install bundler`

mmv1/.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.0
1+
3.1.0

mmv1/Gemfile.lock

Lines changed: 67 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,90 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (6.1.7.5)
4+
activesupport (7.1.2)
5+
base64
6+
bigdecimal
57
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
connection_pool (>= 2.2.5)
9+
drb
610
i18n (>= 1.6, < 2)
711
minitest (>= 5.1)
12+
mutex_m
813
tzinfo (~> 2.0)
9-
zeitwerk (~> 2.3)
10-
addressable (2.5.2)
11-
public_suffix (>= 2.0.2, < 4.0)
12-
ast (2.4.0)
13-
binding_of_caller (0.8.0)
14+
addressable (2.8.5)
15+
public_suffix (>= 2.0.2, < 6.0)
16+
ast (2.4.2)
17+
base64 (0.2.0)
18+
bigdecimal (3.1.4)
19+
binding_of_caller (1.0.0)
1420
debug_inspector (>= 0.0.1)
1521
concurrent-ruby (1.2.2)
16-
debug_inspector (0.0.3)
17-
diff-lcs (1.3)
18-
faraday (0.15.4)
19-
multipart-post (>= 1.2, < 3)
22+
connection_pool (2.4.1)
23+
debug_inspector (1.1.0)
24+
diff-lcs (1.5.0)
25+
drb (2.2.0)
26+
ruby2_keywords
27+
faraday (2.7.12)
28+
base64
29+
faraday-net_http (>= 2.0, < 3.1)
30+
ruby2_keywords (>= 0.0.4)
31+
faraday-net_http (3.0.2)
2032
i18n (1.14.1)
2133
concurrent-ruby (~> 1.0)
22-
jaro_winkler (1.5.4)
34+
json (2.7.1)
35+
language_server-protocol (3.17.0.3)
2336
metaclass (0.0.4)
24-
minitest (5.19.0)
37+
minitest (5.20.0)
2538
mocha (1.3.0)
2639
metaclass (~> 0.0.1)
27-
multipart-post (2.0.0)
28-
octokit (4.13.0)
29-
sawyer (~> 0.8.0, >= 0.5.3)
30-
parallel (1.19.1)
31-
parser (2.6.5.0)
32-
ast (~> 2.4.0)
33-
public_suffix (3.0.3)
34-
rainbow (3.0.0)
35-
rake (12.3.3)
36-
rspec (3.8.0)
37-
rspec-core (~> 3.8.0)
38-
rspec-expectations (~> 3.8.0)
39-
rspec-mocks (~> 3.8.0)
40-
rspec-core (3.8.0)
41-
rspec-support (~> 3.8.0)
42-
rspec-expectations (3.8.1)
40+
mutex_m (0.2.0)
41+
octokit (8.0.0)
42+
faraday (>= 1, < 3)
43+
sawyer (~> 0.9)
44+
parallel (1.23.0)
45+
parser (3.2.2.4)
46+
ast (~> 2.4.1)
47+
racc
48+
public_suffix (5.0.4)
49+
racc (1.7.3)
50+
rainbow (3.1.1)
51+
rake (13.1.0)
52+
regexp_parser (2.8.3)
53+
rexml (3.2.6)
54+
rspec (3.12.0)
55+
rspec-core (~> 3.12.0)
56+
rspec-expectations (~> 3.12.0)
57+
rspec-mocks (~> 3.12.0)
58+
rspec-core (3.12.2)
59+
rspec-support (~> 3.12.0)
60+
rspec-expectations (3.12.3)
4361
diff-lcs (>= 1.2.0, < 2.0)
44-
rspec-support (~> 3.8.0)
45-
rspec-mocks (3.8.0)
62+
rspec-support (~> 3.12.0)
63+
rspec-mocks (3.12.6)
4664
diff-lcs (>= 1.2.0, < 2.0)
47-
rspec-support (~> 3.8.0)
48-
rspec-support (3.8.0)
49-
rubocop (0.77.0)
50-
jaro_winkler (~> 1.5.1)
65+
rspec-support (~> 3.12.0)
66+
rspec-support (3.12.1)
67+
rubocop (1.58.0)
68+
json (~> 2.3)
69+
language_server-protocol (>= 3.17.0)
5170
parallel (~> 1.10)
52-
parser (>= 2.6)
71+
parser (>= 3.2.2.4)
5372
rainbow (>= 2.2.2, < 4.0)
73+
regexp_parser (>= 1.8, < 3.0)
74+
rexml (>= 3.2.5, < 4.0)
75+
rubocop-ast (>= 1.30.0, < 2.0)
5476
ruby-progressbar (~> 1.7)
55-
unicode-display_width (>= 1.4.0, < 1.7)
56-
ruby-progressbar (1.10.1)
57-
sawyer (0.8.1)
58-
addressable (>= 2.3.5, < 2.6)
59-
faraday (~> 0.8, < 1.0)
77+
unicode-display_width (>= 2.4.0, < 3.0)
78+
rubocop-ast (1.30.0)
79+
parser (>= 3.2.1.0)
80+
ruby-progressbar (1.13.0)
81+
ruby2_keywords (0.0.5)
82+
sawyer (0.9.2)
83+
addressable (>= 2.3.5)
84+
faraday (>= 0.17.3, < 3)
6085
tzinfo (2.0.6)
6186
concurrent-ruby (~> 1.0)
62-
unicode-display_width (1.6.0)
63-
zeitwerk (2.6.11)
87+
unicode-display_width (2.5.0)
6488

6589
PLATFORMS
6690
ruby
@@ -75,5 +99,4 @@ DEPENDENCIES
7599
rubocop (>= 0.77.0)
76100

77101
BUNDLED WITH
78-
1.17.2
79-
102+
2.4.13

mmv1/compiler.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
# generation.
2424
ENV['TZ'] = 'UTC'
2525

26+
require 'active_support'
2627
require 'active_support/inflector'
2728
require 'active_support/core_ext/array/conversions'
2829
require 'api/compiler'

mmv1/google/yaml_validator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def parse(content)
2222
# TODO(nelsonjr): Allow specifying which symbols to restrict it further.
2323
# But it requires inspecting all configuration files for symbol sources,
2424
# such as Enum values. Leaving it as a nice-to-have for the future.
25-
YAML.safe_load(content, allowed_classes)
25+
YAML.safe_load(content, permitted_classes: allowed_classes)
2626
end
2727

2828
def allowed_classes

0 commit comments

Comments
 (0)