Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/bundler/mmv1/tzinfo-1.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
sa-progress authored Nov 26, 2024
2 parents 61a8cdd + 896f8cd commit 34fbecd
Show file tree
Hide file tree
Showing 358 changed files with 48,604 additions and 832 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ to help you get it set up.

To get started, you'll need:

* Ruby 2.6.0
* Ruby 3.1.0
* You can use `rbenv` to manage your Ruby version(s)
* [`Bundler`](https://github.com/bundler/bundler)
* This can be installed with `gem install bundler`
Expand All @@ -59,7 +59,7 @@ that directory.
To get started right away, use the bootstrap script with:

```bash
./tools/bootstrap
./scripts/bootstrap
```

---
Expand Down Expand Up @@ -90,7 +90,7 @@ bundle install
Now, you can verify you're ready with:

```bash
./tools/doctor
./scripts/doctor
```

### Generating the Terraform Providers
Expand Down
2 changes: 1 addition & 1 deletion mmv1/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.0
3.1.0
105 changes: 63 additions & 42 deletions mmv1/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,55 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.4.3)
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
ast (2.4.0)
binding_of_caller (0.8.0)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.4)
binding_of_caller (1.0.0)
debug_inspector (>= 0.0.1)
concurrent-ruby (1.1.6)
debug_inspector (0.0.3)
diff-lcs (1.3)
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
i18n (1.8.2)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
debug_inspector (1.1.0)
diff-lcs (1.5.0)
drb (2.2.0)
ruby2_keywords
faraday (2.7.12)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
json (2.7.1)
language_server-protocol (3.17.0.3)
metaclass (0.0.4)
minitest (5.14.1)
minitest (5.20.0)
mocha (1.3.0)
metaclass (~> 0.0.1)
multipart-post (2.0.0)
octokit (4.13.0)
sawyer (~> 0.8.0, >= 0.5.3)
parallel (1.19.1)
parser (2.6.5.0)
ast (~> 2.4.0)
public_suffix (3.0.3)
rainbow (3.0.0)
rake (12.3.3)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.1)
mutex_m (0.2.0)
octokit (8.0.0)
faraday (>= 1, < 3)
sawyer (~> 0.9)
parallel (1.23.0)
parser (3.2.2.4)
ast (~> 2.4.1)
racc
public_suffix (5.0.4)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
regexp_parser (2.8.3)
rexml (3.3.9)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
rubocop (0.77.0)
jaro_winkler (~> 1.5.1)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubocop (1.58.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 2.6)
parser (>= 3.2.2.4)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.1)
Expand All @@ -60,7 +83,6 @@ GEM
tzinfo (1.2.11)
thread_safe (~> 0.1)
unicode-display_width (1.6.0)

PLATFORMS
ruby

Expand All @@ -74,5 +96,4 @@ DEPENDENCIES
rubocop (>= 0.77.0)

BUNDLED WITH
1.17.2

2.4.13
1 change: 0 additions & 1 deletion mmv1/api/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def validate

set_variables(@parameters, :__resource)
set_variables(@properties, :__resource)

check :properties, type: Array, item_type: Api::Type, required: true unless @exclude
check :parameters, type: Array, item_type: Api::Type unless @exclude

Expand Down
1 change: 1 addition & 0 deletions mmv1/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# generation.
ENV['TZ'] = 'UTC'

require 'active_support'
require 'active_support/inflector'
require 'active_support/core_ext/array/conversions'
require 'api/compiler'
Expand Down
2 changes: 1 addition & 1 deletion mmv1/google/yaml_validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def parse(content)
# TODO(nelsonjr): Allow specifying which symbols to restrict it further.
# But it requires inspecting all configuration files for symbol sources,
# such as Enum values. Leaving it as a nice-to-have for the future.
YAML.safe_load(content, allowed_classes)
YAML.safe_load(content, permitted_classes: allowed_classes)
end

def allowed_classes
Expand Down
Loading

0 comments on commit 34fbecd

Please sign in to comment.