Skip to content

Commit

Permalink
Removed: frozen string litral
Browse files Browse the repository at this point in the history
Signed-off-by: Samir <85890442+sa-progress@users.noreply.github.com>
  • Loading branch information
sa-progress committed Jan 3, 2024
1 parent 188bc6b commit 5e36fcd
Show file tree
Hide file tree
Showing 54 changed files with 106 additions and 106 deletions.
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.6
TargetRubyVersion: 3.1
Exclude:
- Gemfile
- generate/Gemfile
Expand Down Expand Up @@ -61,7 +61,7 @@ Style/Not:
Enabled: false
Naming/FileName:
Enabled: true
Regex: !ruby/regexp '/^.{3,200}$/'
Regex: !ruby/regexp '/^.{3, 99}$/'
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
Expand Down
2 changes: 1 addition & 1 deletion generate/gen-controls/dns_resource_record_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
managed_zones = google_dns_managed_zones(project: project_name).zone_names
managed_zones.each do |managed_zone|
plural_identifiers.each do |plural_identifier|
next_identifiers.push(plural_identifier.merge({ managed_zone: managed_zone }))
next_identifiers.push(plural_identifier.merge({ managed_zone: }))
end
end
plural_identifiers = next_identifiers
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_appengine_standard_app_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_appengine_standard_app_version',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_bigquery_dataset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_bigquery_dataset',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_bigquery_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_bigquery_table',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_cloudbuild_trigger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_cloudbuild_trigger',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_cloudfunctions_cloud_function.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_cloudfunctions_cloud_function',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_autoscaler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_autoscaler',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_backend_bucket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_backend_bucket',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_backend_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_backend_service',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_disk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_disk',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_firewall.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_firewall',
identifiers: @params,
number: test_number,
Expand Down
2 changes: 1 addition & 1 deletion generate/libraries/google_compute_forwarding_rules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def fetch_data
forwarding_rule_network = forwarding_rule.network.split('/').last if !forwarding_rule.network.nil?
forwarding_rule_rows+=[{ forwarding_rule_id: forwarding_rule.id,
forwarding_rule_name: forwarding_rule.name,
forwarding_rule_network: forwarding_rule_network,
forwarding_rule_network:,
forwarding_rule_load_balancing_scheme: forwarding_rule.load_balancing_scheme }]
end
next_page = @forwarding_rules.next_page_token
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_global_address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_global_address',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_global_forwarding_rule.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_global_forwarding_rule',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_health_check',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_http_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_http_health_check',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_https_health_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_https_health_check',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_instance',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_instance_group_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_instance_group_manager',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_instance_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_instance_template',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_network',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_network_endpoint_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_network_endpoint_group',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_node_group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_node_group',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_node_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_node_template',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_region.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_region',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_region_backend_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_region_backend_service',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_route',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_router.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_router',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_snapshot',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_ssl_certificate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_ssl_certificate',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_ssl_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_ssl_policy',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_subnetwork.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_subnetwork',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_target_http_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_target_http_proxy',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_target_https_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_target_https_proxy',
identifiers: @params,
number: test_number,
Expand Down
4 changes: 2 additions & 2 deletions generate/libraries/google_compute_target_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def dump(path, template_path, test_number, ignored_fields)
v.call(method(k.to_sym).call, k)
end
template_vars = {
name: name,
arr: arr,
name:,
arr:,
type: 'google_compute_target_pool',
identifiers: @params,
number: test_number,
Expand Down
Loading

0 comments on commit 5e36fcd

Please sign in to comment.