CHEF-28640-Rename azure_graph_rbac to azure_graph_rbac2 #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR renames and refactors azure_graph_rbac to azure_graph_rbac2 with updated namespaces and dependencies to use v2 variants of ms_rest and ms_rest_azure.
Changes Made
1. Gem Renaming
azure_graph_rbactoazure_graph_rbac2azure_graph_rbac2.gemspec2. Namespace Updates
Azure::GraphRbac::→Azure::GraphRbac2::3. Dependency Updates
ms_rest_azuretoms_rest_azure2require 'ms_rest'torequire 'ms_rest2'require 'ms_rest_azure'torequire 'ms_rest_azure2'4. Code Updates
MsRest::namespace references toMsRest2::(127 occurrences)MsRestAzure::namespace references toMsRestAzure2::MsRestAzure::AzureServiceClient→MsRestAzure2::AzureServiceClientinclude MsRestAzure→include MsRestAzure2include MsRestAzure::Serialization→include MsRestAzure2::SerializationMsRest2::HttpOperationError,MsRest2::DeserializationError,MsRestAzure2::AzureOperationErrorMsRest2::RetryPolicyMiddlewareMsRest2::ServiceClientCredentials,MsRest2::TokenCredentials5. Files Modified
Testing
All namespace references have been systematically verified to ensure:
ms_restrequire statements remainms_rest_azurerequire statements remainMsRest::namespace references remainMsRestAzure::namespace references remainRelated Work
This change is part of updating the Azure SDK for Ruby to use v2 variants of core dependencies, ensuring compatibility with updated authentication and REST client libraries.
JIRA
CHEF-28640