Skip to content

Commit 34fbecd

Browse files
authored
Merge branch 'main' into dependabot/bundler/mmv1/tzinfo-1.2.11
2 parents 61a8cdd + 896f8cd commit 34fbecd

358 files changed

Lines changed: 48604 additions & 832 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
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`
@@ -59,7 +59,7 @@ that directory.
5959
To get started right away, use the bootstrap script with:
6060

6161
```bash
62-
./tools/bootstrap
62+
./scripts/bootstrap
6363
```
6464

6565
---
@@ -90,7 +90,7 @@ bundle install
9090
Now, you can verify you're ready with:
9191

9292
```bash
93-
./tools/doctor
93+
./scripts/doctor
9494
```
9595

9696
### Generating the Terraform Providers

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: 63 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,78 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (5.2.4.3)
4+
activesupport (7.1.2)
5+
base64
6+
bigdecimal
57
concurrent-ruby (~> 1.0, >= 1.0.2)
6-
i18n (>= 0.7, < 2)
7-
minitest (~> 5.1)
8-
tzinfo (~> 1.1)
9-
addressable (2.5.2)
10-
public_suffix (>= 2.0.2, < 4.0)
11-
ast (2.4.0)
12-
binding_of_caller (0.8.0)
8+
connection_pool (>= 2.2.5)
9+
drb
10+
i18n (>= 1.6, < 2)
11+
minitest (>= 5.1)
12+
mutex_m
13+
tzinfo (~> 2.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)
1320
debug_inspector (>= 0.0.1)
14-
concurrent-ruby (1.1.6)
15-
debug_inspector (0.0.3)
16-
diff-lcs (1.3)
17-
faraday (0.15.4)
18-
multipart-post (>= 1.2, < 3)
19-
i18n (1.8.2)
21+
concurrent-ruby (1.2.2)
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)
32+
i18n (1.14.1)
2033
concurrent-ruby (~> 1.0)
21-
jaro_winkler (1.5.4)
34+
json (2.7.1)
35+
language_server-protocol (3.17.0.3)
2236
metaclass (0.0.4)
23-
minitest (5.14.1)
37+
minitest (5.20.0)
2438
mocha (1.3.0)
2539
metaclass (~> 0.0.1)
26-
multipart-post (2.0.0)
27-
octokit (4.13.0)
28-
sawyer (~> 0.8.0, >= 0.5.3)
29-
parallel (1.19.1)
30-
parser (2.6.5.0)
31-
ast (~> 2.4.0)
32-
public_suffix (3.0.3)
33-
rainbow (3.0.0)
34-
rake (12.3.3)
35-
rspec (3.8.0)
36-
rspec-core (~> 3.8.0)
37-
rspec-expectations (~> 3.8.0)
38-
rspec-mocks (~> 3.8.0)
39-
rspec-core (3.8.0)
40-
rspec-support (~> 3.8.0)
41-
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.3.9)
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)
4261
diff-lcs (>= 1.2.0, < 2.0)
43-
rspec-support (~> 3.8.0)
44-
rspec-mocks (3.8.0)
62+
rspec-support (~> 3.12.0)
63+
rspec-mocks (3.12.6)
4564
diff-lcs (>= 1.2.0, < 2.0)
46-
rspec-support (~> 3.8.0)
47-
rspec-support (3.8.0)
48-
rubocop (0.77.0)
49-
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)
5070
parallel (~> 1.10)
51-
parser (>= 2.6)
71+
parser (>= 3.2.2.4)
5272
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)
5376
ruby-progressbar (~> 1.7)
5477
unicode-display_width (>= 1.4.0, < 1.7)
5578
ruby-progressbar (1.10.1)
@@ -60,7 +83,6 @@ GEM
6083
tzinfo (1.2.11)
6184
thread_safe (~> 0.1)
6285
unicode-display_width (1.6.0)
63-
6486
PLATFORMS
6587
ruby
6688

@@ -74,5 +96,4 @@ DEPENDENCIES
7496
rubocop (>= 0.77.0)
7597

7698
BUNDLED WITH
77-
1.17.2
78-
99+
2.4.13

mmv1/api/resource.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def validate
174174

175175
set_variables(@parameters, :__resource)
176176
set_variables(@properties, :__resource)
177-
178177
check :properties, type: Array, item_type: Api::Type, required: true unless @exclude
179178
check :parameters, type: Array, item_type: Api::Type unless @exclude
180179

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)