From 031f9c80c445213087e630beecc9fa4ba911699d Mon Sep 17 00:00:00 2001 From: Johannes Bader Date: Wed, 29 Nov 2017 13:28:46 -0800 Subject: [PATCH] ruby bump and regen (#2739) * ruby regen * new validators --- .../Azure.Ruby/{ => 1.0.0}/generated/petstore.rb | 0 .../{ => 1.0.0}/generated/petstore/models/error.rb | 0 .../{ => 1.0.0}/generated/petstore/models/pet.rb | 0 .../{ => 1.0.0}/generated/petstore/module_definition.rb | 0 .../{ => 1.0.0}/generated/petstore/swagger_petstore.rb | 0 .../Ruby/{ => 2015-06-15}/generated/storage.rb | 0 .../generated/storage/models/account_status.rb | 0 .../generated/storage/models/account_type.rb | 0 .../storage/models/check_name_availability_result.rb | 0 .../generated/storage/models/custom_domain.rb | 0 .../generated/storage/models/endpoints.rb | 0 .../generated/storage/models/provisioning_state.rb | 0 .../{ => 2015-06-15}/generated/storage/models/reason.rb | 0 .../{ => 2015-06-15}/generated/storage/models/resource.rb | 0 .../generated/storage/models/storage_account.rb | 0 .../storage_account_check_name_availability_parameters.rb | 0 .../storage/models/storage_account_create_parameters.rb | 0 .../generated/storage/models/storage_account_keys.rb | 0 .../storage/models/storage_account_list_result.rb | 0 .../models/storage_account_regenerate_key_parameters.rb | 0 .../storage/models/storage_account_update_parameters.rb | 0 .../{ => 2015-06-15}/generated/storage/models/usage.rb | 0 .../generated/storage/models/usage_list_result.rb | 0 .../generated/storage/models/usage_name.rb | 0 .../generated/storage/models/usage_unit.rb | 0 .../generated/storage/module_definition.rb | 0 .../generated/storage/storage_accounts.rb | 0 .../generated/storage/storage_management_client.rb | 0 .../generated/storage/usage_operations.rb | 0 .../generated/configuration.yaml | 8 ++++---- src/autorest-core/resources/default-configuration.md | 8 ++++---- 31 files changed, 8 insertions(+), 8 deletions(-) rename Samples/1b-code-generation-multilang/Azure.Ruby/{ => 1.0.0}/generated/petstore.rb (100%) rename Samples/1b-code-generation-multilang/Azure.Ruby/{ => 1.0.0}/generated/petstore/models/error.rb (100%) rename Samples/1b-code-generation-multilang/Azure.Ruby/{ => 1.0.0}/generated/petstore/models/pet.rb (100%) rename Samples/1b-code-generation-multilang/Azure.Ruby/{ => 1.0.0}/generated/petstore/module_definition.rb (100%) rename Samples/1b-code-generation-multilang/Azure.Ruby/{ => 1.0.0}/generated/petstore/swagger_petstore.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/account_status.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/account_type.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/check_name_availability_result.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/custom_domain.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/endpoints.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/provisioning_state.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/reason.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/resource.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_check_name_availability_parameters.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_create_parameters.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_keys.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_list_result.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_regenerate_key_parameters.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/storage_account_update_parameters.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/usage.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/usage_list_result.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/usage_name.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/models/usage_unit.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/module_definition.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/storage_accounts.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/storage_management_client.rb (100%) rename Samples/2a-validation/Ruby/{ => 2015-06-15}/generated/storage/usage_operations.rb (100%) diff --git a/Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore.rb b/Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore.rb similarity index 100% rename from Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore.rb rename to Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore.rb diff --git a/Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/models/error.rb b/Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/models/error.rb similarity index 100% rename from Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/models/error.rb rename to Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/models/error.rb diff --git a/Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/models/pet.rb b/Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/models/pet.rb similarity index 100% rename from Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/models/pet.rb rename to Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/models/pet.rb diff --git a/Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/module_definition.rb b/Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/module_definition.rb similarity index 100% rename from Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/module_definition.rb rename to Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/module_definition.rb diff --git a/Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/swagger_petstore.rb b/Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/swagger_petstore.rb similarity index 100% rename from Samples/1b-code-generation-multilang/Azure.Ruby/generated/petstore/swagger_petstore.rb rename to Samples/1b-code-generation-multilang/Azure.Ruby/1.0.0/generated/petstore/swagger_petstore.rb diff --git a/Samples/2a-validation/Ruby/generated/storage.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/account_status.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/account_status.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/account_status.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/account_status.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/account_type.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/account_type.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/account_type.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/account_type.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/check_name_availability_result.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/check_name_availability_result.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/check_name_availability_result.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/check_name_availability_result.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/custom_domain.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/custom_domain.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/custom_domain.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/custom_domain.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/endpoints.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/endpoints.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/endpoints.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/endpoints.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/provisioning_state.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/provisioning_state.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/provisioning_state.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/provisioning_state.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/reason.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/reason.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/reason.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/reason.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/resource.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/resource.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/resource.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/resource.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_check_name_availability_parameters.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_check_name_availability_parameters.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_check_name_availability_parameters.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_check_name_availability_parameters.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_create_parameters.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_create_parameters.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_create_parameters.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_create_parameters.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_keys.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_keys.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_keys.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_keys.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_list_result.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_list_result.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_list_result.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_list_result.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_regenerate_key_parameters.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_regenerate_key_parameters.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_regenerate_key_parameters.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_regenerate_key_parameters.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/storage_account_update_parameters.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_update_parameters.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/storage_account_update_parameters.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/storage_account_update_parameters.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/usage.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/usage.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/usage_list_result.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_list_result.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/usage_list_result.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_list_result.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/usage_name.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_name.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/usage_name.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_name.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/models/usage_unit.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_unit.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/models/usage_unit.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/models/usage_unit.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/module_definition.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/module_definition.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/module_definition.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/module_definition.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/storage_accounts.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/storage_accounts.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/storage_accounts.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/storage_accounts.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/storage_management_client.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/storage_management_client.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/storage_management_client.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/storage_management_client.rb diff --git a/Samples/2a-validation/Ruby/generated/storage/usage_operations.rb b/Samples/2a-validation/Ruby/2015-06-15/generated/storage/usage_operations.rb similarity index 100% rename from Samples/2a-validation/Ruby/generated/storage/usage_operations.rb rename to Samples/2a-validation/Ruby/2015-06-15/generated/storage/usage_operations.rb diff --git a/Samples/3b-custom-transformations/generated/configuration.yaml b/Samples/3b-custom-transformations/generated/configuration.yaml index 8a15f16eb..208d1bdd9 100644 --- a/Samples/3b-custom-transformations/generated/configuration.yaml +++ b/Samples/3b-custom-transformations/generated/configuration.yaml @@ -377,12 +377,12 @@ use: [] use-extension: '@microsoft.azure/autorest.csharp': ~2.2.45 '@microsoft.azure/autorest.modeler': 2.3.38 - '@microsoft.azure/classic-openapi-validator': ~1.0.3 - '@microsoft.azure/openapi-validator': ~1.0.0 + '@microsoft.azure/classic-openapi-validator': ~1.0.9 + '@microsoft.azure/openapi-validator': ~1.0.2 used-extension: - '["@microsoft.azure/autorest.csharp","~2.2.45"]' - - '["@microsoft.azure/classic-openapi-validator","~1.0.3"]' - - '["@microsoft.azure/openapi-validator","~1.0.0"]' + - '["@microsoft.azure/classic-openapi-validator","~1.0.9"]' + - '["@microsoft.azure/openapi-validator","~1.0.2"]' - '["@microsoft.azure/autorest.modeler","2.3.38"]' verbose: false diff --git a/src/autorest-core/resources/default-configuration.md b/src/autorest-core/resources/default-configuration.md index 4432113f5..5c5bad744 100644 --- a/src/autorest-core/resources/default-configuration.md +++ b/src/autorest-core/resources/default-configuration.md @@ -56,7 +56,7 @@ use-extension: ``` yaml $(ruby) use-extension: - "@microsoft.azure/autorest.ruby": "~2.0.0" + "@microsoft.azure/autorest.ruby": "~3.1.26" ``` ``` yaml $(typescript) @@ -66,13 +66,13 @@ use-extension: ``` yaml $(azure-validator) use-extension: - "@microsoft.azure/classic-openapi-validator": "~1.0.3" - "@microsoft.azure/openapi-validator": "~1.0.0" + "@microsoft.azure/classic-openapi-validator": "~1.0.9" + "@microsoft.azure/openapi-validator": "~1.0.2" ``` ``` yaml $(model-validator) use-extension: - "oav": "~0.4.14" + "oav": "~0.4.20" ``` ### Graph