fog-google 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. checksums.yaml +5 -5
  2. data/.codecov.yml +2 -0
  3. data/.rubocop.yml +4 -1
  4. data/CHANGELOG.md +51 -0
  5. data/CONTRIBUTING.md +85 -17
  6. data/CONTRIBUTORS.md +6 -4
  7. data/Gemfile +6 -0
  8. data/MIGRATING.md +1 -11
  9. data/README.md +15 -4
  10. data/ci/credentials.yml.template +2 -0
  11. data/ci/docker-image/Dockerfile +1 -3
  12. data/ci/pipeline.yml +117 -12
  13. data/ci/tasks/run-int.sh +3 -2
  14. data/ci/tasks/run-int.yml +1 -1
  15. data/examples/create_instance.rb +40 -25
  16. data/examples/get_list_images.rb +1 -1
  17. data/examples/load-balance.rb +1 -1
  18. data/examples/metadata.rb +1 -1
  19. data/examples/network.rb +1 -1
  20. data/fog-google.gemspec +8 -6
  21. data/lib/fog/compute/google/models/address.rb +1 -1
  22. data/lib/fog/compute/google/models/backend_service.rb +1 -1
  23. data/lib/fog/compute/google/models/disk.rb +2 -2
  24. data/lib/fog/compute/google/models/firewall.rb +23 -3
  25. data/lib/fog/compute/google/models/forwarding_rule.rb +1 -1
  26. data/lib/fog/compute/google/models/global_address.rb +1 -1
  27. data/lib/fog/compute/google/models/global_forwarding_rule.rb +1 -1
  28. data/lib/fog/compute/google/models/http_health_check.rb +2 -2
  29. data/lib/fog/compute/google/models/image.rb +1 -1
  30. data/lib/fog/compute/google/models/instance_group_manager.rb +1 -1
  31. data/lib/fog/compute/google/models/instance_template.rb +1 -1
  32. data/lib/fog/compute/google/models/route.rb +1 -1
  33. data/lib/fog/compute/google/models/server.rb +59 -5
  34. data/lib/fog/compute/google/models/servers.rb +1 -1
  35. data/lib/fog/compute/google/models/ssl_certificate.rb +1 -1
  36. data/lib/fog/compute/google/models/subnetwork.rb +1 -1
  37. data/lib/fog/compute/google/models/target_http_proxy.rb +1 -1
  38. data/lib/fog/compute/google/models/target_https_proxy.rb +14 -1
  39. data/lib/fog/compute/google/models/target_instance.rb +1 -1
  40. data/lib/fog/compute/google/models/target_pool.rb +1 -1
  41. data/lib/fog/compute/google/models/url_map.rb +1 -1
  42. data/lib/fog/compute/google/requests/insert_server.rb +1 -1
  43. data/lib/fog/dns/google/models/record.rb +1 -1
  44. data/lib/fog/google/models/sql/instance.rb +1 -1
  45. data/lib/fog/google/models/sql/user.rb +1 -1
  46. data/lib/fog/google/version.rb +1 -1
  47. data/lib/fog/storage/google_json.rb +4 -1
  48. data/lib/fog/storage/google_json/mock.rb +3 -0
  49. data/lib/fog/storage/google_json/models/file.rb +2 -2
  50. data/lib/fog/storage/google_json/models/files.rb +2 -2
  51. data/lib/fog/storage/google_json/real.rb +3 -0
  52. data/lib/fog/storage/google_json/requests/get_object_http_url.rb +6 -7
  53. data/lib/fog/storage/google_json/requests/get_object_https_url.rb +6 -7
  54. data/lib/fog/storage/google_json/requests/get_object_url.rb +4 -4
  55. data/lib/fog/storage/google_json/utils.rb +7 -1
  56. data/lib/fog/storage/google_xml/models/file.rb +2 -2
  57. data/lib/fog/storage/google_xml/models/files.rb +4 -4
  58. data/lib/fog/storage/google_xml/requests/get_object_http_url.rb +8 -7
  59. data/lib/fog/storage/google_xml/requests/get_object_https_url.rb +7 -7
  60. data/lib/fog/storage/google_xml/requests/get_object_url.rb +5 -4
  61. data/lib/fog/storage/google_xml/utils.rb +7 -1
  62. data/tasks/test.rake +45 -23
  63. data/test/helpers/integration_test_helper.rb +67 -0
  64. data/test/helpers/test_helper.rb +14 -10
  65. data/test/integration/compute/core_compute/test_coverage.rb +6 -0
  66. data/test/integration/compute/{test_disk_types.rb → core_compute/test_disk_types.rb} +0 -0
  67. data/test/integration/compute/{disks/test_compute_disk_models.rb → core_compute/test_disks.rb} +0 -0
  68. data/test/integration/compute/{test_images.rb → core_compute/test_images.rb} +0 -0
  69. data/test/integration/compute/core_compute/test_machine_types.rb +42 -0
  70. data/test/integration/compute/core_compute/test_operations.rb +27 -0
  71. data/test/integration/compute/core_compute/test_projects.rb +19 -0
  72. data/test/integration/compute/{test_regions.rb → core_compute/test_regions.rb} +0 -0
  73. data/test/integration/compute/core_compute/test_servers.rb +109 -0
  74. data/test/integration/compute/{test_snapshots.rb → core_compute/test_snapshots.rb} +0 -0
  75. data/test/integration/compute/core_compute/test_zones.rb +35 -0
  76. data/test/integration/compute/core_networking/test_addresses.rb +84 -0
  77. data/test/integration/compute/core_networking/test_coverage.rb +6 -0
  78. data/test/integration/compute/core_networking/test_firewalls.rb +11 -0
  79. data/test/integration/compute/core_networking/test_networks.rb +41 -0
  80. data/test/integration/compute/core_networking/test_routes.rb +26 -0
  81. data/test/integration/compute/core_networking/test_subnetworks.rb +11 -0
  82. data/test/integration/compute/instance_groups/test_coverage.rb +6 -0
  83. data/test/integration/compute/{test_instance_group_managers.rb → instance_groups/test_instance_group_managers.rb} +0 -0
  84. data/test/integration/compute/instance_groups/test_instance_groups.rb +11 -0
  85. data/test/integration/compute/{test_instance_templates.rb → instance_groups/test_instance_templates.rb} +0 -0
  86. data/test/integration/compute/{test_backend_services.rb → loadbalancing/test_backend_services.rb} +0 -0
  87. data/test/integration/compute/loadbalancing/test_coverage.rb +6 -0
  88. data/test/integration/compute/{test_forwarding_rules.rb → loadbalancing/test_forwarding_rules.rb} +0 -0
  89. data/test/integration/compute/loadbalancing/test_global_addresses.rb +11 -0
  90. data/test/integration/compute/{test_global_forwarding_rules.rb → loadbalancing/test_global_forwarding_rules.rb} +0 -0
  91. data/test/integration/compute/{test_http_health_checks.rb → loadbalancing/test_http_health_checks.rb} +0 -0
  92. data/test/integration/compute/loadbalancing/test_ssl_certificates.rb +11 -0
  93. data/test/integration/compute/{test_target_http_proxies.rb → loadbalancing/test_target_http_proxies.rb} +0 -0
  94. data/test/integration/compute/loadbalancing/test_target_https_proxies.rb +11 -0
  95. data/test/integration/compute/{test_target_instances.rb → loadbalancing/test_target_instances.rb} +0 -0
  96. data/test/integration/compute/loadbalancing/test_target_pools.rb +55 -0
  97. data/test/integration/compute/{test_url_maps.rb → loadbalancing/test_url_maps.rb} +0 -0
  98. data/test/integration/factories/addresses_factory.rb +16 -0
  99. data/test/integration/factories/collection_factory.rb +24 -3
  100. data/test/integration/factories/disks_factory.rb +1 -0
  101. data/test/integration/factories/firewalls_factory.rb +13 -0
  102. data/test/integration/factories/global_addresses_factory.rb +15 -0
  103. data/test/integration/factories/instance_groups_factory.rb +16 -0
  104. data/test/integration/factories/instance_template_factory.rb +1 -0
  105. data/test/integration/factories/networks_factory.rb +16 -0
  106. data/test/integration/factories/ssl_certificates_factory.rb +13 -0
  107. data/test/integration/factories/subnetworks_factory.rb +22 -0
  108. data/test/integration/factories/target_https_proxies_factory.rb +26 -0
  109. data/test/integration/factories/target_pools_factory.rb +2 -2
  110. data/test/integration/monitoring/test_coverage.rb +6 -0
  111. data/test/integration/monitoring/test_timeseries.rb +1 -1
  112. data/test/integration/pubsub/test_coverage.rb +6 -0
  113. data/test/integration/sql/{test_common_flags.rb → sqlv1/test_common_flags.rb} +0 -0
  114. data/test/integration/sql/{test_common_tiers.rb → sqlv1/test_common_tiers.rb} +0 -0
  115. data/test/integration/sql/sqlv1/test_coverage.rb +6 -0
  116. data/test/integration/sql/{test_v1_certs.rb → sqlv1/test_v1_certs.rb} +0 -0
  117. data/test/integration/sql/{test_v1_instances.rb → sqlv1/test_v1_instances.rb} +0 -0
  118. data/test/integration/sql/{test_v1_users.rb → sqlv1/test_v1_users.rb} +0 -0
  119. data/test/integration/sql/sqlv2/test_coverage.rb +6 -0
  120. data/test/integration/sql/{test_v2_instances.rb → sqlv2/test_v2_instances.rb} +0 -0
  121. data/test/integration/storage/test_coverage.rb +6 -0
  122. data/test/unit/storage/test_json_requests.rb +45 -0
  123. data/test/unit/storage/test_xml_requests.rb +20 -0
  124. metadata +115 -92
  125. data/test/integration/compute/addresses/addresses_shared.rb +0 -59
  126. data/test/integration/compute/addresses/test_compute_address_models.rb +0 -105
  127. data/test/integration/compute/addresses/test_compute_address_requests.rb +0 -52
  128. data/test/integration/compute/disks/test_compute_disk_requests.rb +0 -92
  129. data/test/integration/compute/test_compute_addresses_collection.rb +0 -75
  130. data/test/integration/compute/test_compute_networks_collection.rb +0 -69
  131. data/test/integration/compute/test_servers.rb +0 -54
  132. data/test/integration/compute/test_target_pools.rb +0 -38
@@ -18,7 +18,7 @@ class TargetPoolsFactory < CollectionFactory
18
18
  def params
19
19
  { :name => resource_name,
20
20
  :region => TEST_REGION,
21
- :instances => [@servers.create.self_link],
22
- :healthChecks => [@http_health_checks.create.self_link] }
21
+ :instances => [@servers.create.self_link, @servers.create.self_link],
22
+ :health_checks => [@http_health_checks.create.self_link] }
23
23
  end
24
24
  end
@@ -0,0 +1,6 @@
1
+ require "helpers/integration_test_helper"
2
+
3
+ # This is a simple coverage helper that helps differentiate
4
+ # the tests when run in parallel so the final coverage report
5
+ # can be properly combined together from multiple runners
6
+ SimpleCov.command_name "test:monitoring" if ENV["COVERAGE"]
@@ -6,7 +6,7 @@ class TestMetricDescriptors < FogIntegrationTest
6
6
  # metric propagation (sometimes 80+ seconds) and client returning
7
7
  # Google::Apis::ClientError: badRequest if the metric hasn't yet been created instead of a 404.
8
8
  RETRIABLE_TRIES = 3
9
- RETRIABLE_BASE_INTERVAL = 30
9
+ RETRIABLE_BASE_INTERVAL = 50
10
10
  TEST_METRIC_PREFIX = "custom.googleapis.com/fog-google-test/timeseries".freeze
11
11
  LABEL_DESCRIPTORS = [
12
12
  {
@@ -0,0 +1,6 @@
1
+ require "helpers/integration_test_helper"
2
+
3
+ # This is a simple coverage helper that helps differentiate
4
+ # the tests when run in parallel so the final coverage report
5
+ # can be properly combined together from multiple runners
6
+ SimpleCov.command_name "test:pubsub" if ENV["COVERAGE"]
@@ -0,0 +1,6 @@
1
+ require "helpers/integration_test_helper"
2
+
3
+ # This is a simple coverage helper that helps differentiate
4
+ # the tests when run in parallel so the final coverage report
5
+ # can be properly combined together from multiple runners
6
+ SimpleCov.command_name "test:sqlv1" if ENV["COVERAGE"]
@@ -0,0 +1,6 @@
1
+ require "helpers/integration_test_helper"
2
+
3
+ # This is a simple coverage helper that helps differentiate
4
+ # the tests when run in parallel so the final coverage report
5
+ # can be properly combined together from multiple runners
6
+ SimpleCov.command_name "test:sqlv2" if ENV["COVERAGE"]
@@ -0,0 +1,6 @@
1
+ require "helpers/integration_test_helper"
2
+
3
+ # This is a simple coverage helper that helps differentiate
4
+ # the tests when run in parallel so the final coverage report
5
+ # can be properly combined together from multiple runners
6
+ SimpleCov.command_name "test:storage" if ENV["COVERAGE"]
@@ -0,0 +1,45 @@
1
+ require "helpers/test_helper"
2
+
3
+ class UnitTestJsonRequests < MiniTest::Test
4
+ def setup
5
+ Fog.mock!
6
+ @client = Fog::Storage.new(provider: "google",
7
+ google_client_email: "",
8
+ google_project: "",
9
+ google_json_key_location: "")
10
+ end
11
+
12
+ def teardown
13
+ Fog.unmock!
14
+ end
15
+
16
+ def test_get_url_path_has_query_params
17
+ url = @client.get_object_url("bucket",
18
+ "just some file.json",
19
+ Time.now + 2 * 60,
20
+ query: { "projection" => 'full, noAcl"' })
21
+
22
+ assert_match(/projection=full%2C%20noAcl/, url,
23
+ "query string should be escaped")
24
+ end
25
+
26
+ def test_get_url_filter_nil_query_params
27
+ url = @client.get_object_url("bucket",
28
+ "just some file.json",
29
+ Time.now + 2 * 60,
30
+ query: { "projection" => nil })
31
+
32
+ refute_match(/projection/, url,
33
+ "nil query params should be omitted")
34
+ end
35
+
36
+ def test_put_url_path_is_properly_escaped
37
+ url = @client.put_object_url("bucket",
38
+ "just some file.json",
39
+ Time.now + 2 * 60,
40
+ "Content-Type" => "application/json")
41
+
42
+ assert_match(/just%20some%20file\.json/, url,
43
+ "space should be escaped with '%20'")
44
+ end
45
+ end
@@ -12,6 +12,26 @@ class UnitTestXMLRequests < MiniTest::Test
12
12
  Fog.unmock!
13
13
  end
14
14
 
15
+ def test_get_url_path_has_query_params
16
+ url = @client.get_object_url("bucket",
17
+ "just some file.json",
18
+ Time.now + 2 * 60,
19
+ query: { "Response-Content-Disposition" => 'inline; filename="test.json"' })
20
+
21
+ assert_match(/Response-Content-Disposition=inline%3B%20filename%3D%22test.json/, url,
22
+ "query string should be escaped")
23
+ end
24
+
25
+ def test_get_url_filter_nil_query_params
26
+ url = @client.get_object_url("bucket",
27
+ "just some file.json",
28
+ Time.now + 2 * 60,
29
+ query: { "Response-Content-Disposition" => nil })
30
+
31
+ refute_match(/Response-Content-Disposition/, url,
32
+ "nil query params should be omitted")
33
+ end
34
+
15
35
  def test_put_url_path_is_properly_escaped
16
36
  url = @client.put_object_url("bucket",
17
37
  "just some file.json",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Welch
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-06-24 00:00:00.000000000 Z
12
+ date: 2018-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog-core
@@ -67,20 +67,6 @@ dependencies:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: 0.23.0
70
- - !ruby/object:Gem::Dependency
71
- name: coveralls
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- version: '0'
84
70
  - !ruby/object:Gem::Dependency
85
71
  name: mime-types
86
72
  requirement: !ruby/object:Gem::Requirement
@@ -96,21 +82,7 @@ dependencies:
96
82
  - !ruby/object:Gem::Version
97
83
  version: '0'
98
84
  - !ruby/object:Gem::Dependency
99
- name: minitest
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: '0'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - ">="
110
- - !ruby/object:Gem::Version
111
- version: '0'
112
- - !ruby/object:Gem::Dependency
113
- name: osrcry
85
+ name: pry
114
86
  requirement: !ruby/object:Gem::Requirement
115
87
  requirements:
116
88
  - - ">="
@@ -124,7 +96,7 @@ dependencies:
124
96
  - !ruby/object:Gem::Version
125
97
  version: '0'
126
98
  - !ruby/object:Gem::Dependency
127
- name: pry
99
+ name: pry-byebug
128
100
  requirement: !ruby/object:Gem::Requirement
129
101
  requirements:
130
102
  - - ">="
@@ -138,7 +110,7 @@ dependencies:
138
110
  - !ruby/object:Gem::Version
139
111
  version: '0'
140
112
  - !ruby/object:Gem::Dependency
141
- name: pry-byebug
113
+ name: retriable
142
114
  requirement: !ruby/object:Gem::Requirement
143
115
  requirements:
144
116
  - - ">="
@@ -166,7 +138,7 @@ dependencies:
166
138
  - !ruby/object:Gem::Version
167
139
  version: '0'
168
140
  - !ruby/object:Gem::Dependency
169
- name: retriable
141
+ name: minitest
170
142
  requirement: !ruby/object:Gem::Requirement
171
143
  requirements:
172
144
  - - ">="
@@ -180,7 +152,7 @@ dependencies:
180
152
  - !ruby/object:Gem::Version
181
153
  version: '0'
182
154
  - !ruby/object:Gem::Dependency
183
- name: rubocop
155
+ name: minitest-reporters
184
156
  requirement: !ruby/object:Gem::Requirement
185
157
  requirements:
186
158
  - - ">="
@@ -244,6 +216,7 @@ executables: []
244
216
  extensions: []
245
217
  extra_rdoc_files: []
246
218
  files:
219
+ - ".codecov.yml"
247
220
  - ".editorconfig"
248
221
  - ".fog.example"
249
222
  - ".gitignore"
@@ -698,60 +671,84 @@ files:
698
671
  - test/helpers/integration_test_helper.rb
699
672
  - test/helpers/test_collection.rb
700
673
  - test/helpers/test_helper.rb
701
- - test/integration/compute/addresses/addresses_shared.rb
702
- - test/integration/compute/addresses/test_compute_address_models.rb
703
- - test/integration/compute/addresses/test_compute_address_requests.rb
704
- - test/integration/compute/disks/test_compute_disk_models.rb
705
- - test/integration/compute/disks/test_compute_disk_requests.rb
706
- - test/integration/compute/test_backend_services.rb
707
- - test/integration/compute/test_compute_addresses_collection.rb
708
- - test/integration/compute/test_compute_networks_collection.rb
709
- - test/integration/compute/test_disk_types.rb
710
- - test/integration/compute/test_forwarding_rules.rb
711
- - test/integration/compute/test_global_forwarding_rules.rb
712
- - test/integration/compute/test_http_health_checks.rb
713
- - test/integration/compute/test_images.rb
714
- - test/integration/compute/test_instance_group_managers.rb
715
- - test/integration/compute/test_instance_templates.rb
716
- - test/integration/compute/test_regions.rb
717
- - test/integration/compute/test_servers.rb
718
- - test/integration/compute/test_snapshots.rb
719
- - test/integration/compute/test_target_http_proxies.rb
720
- - test/integration/compute/test_target_instances.rb
721
- - test/integration/compute/test_target_pools.rb
722
- - test/integration/compute/test_url_maps.rb
674
+ - test/integration/compute/core_compute/test_coverage.rb
675
+ - test/integration/compute/core_compute/test_disk_types.rb
676
+ - test/integration/compute/core_compute/test_disks.rb
677
+ - test/integration/compute/core_compute/test_images.rb
678
+ - test/integration/compute/core_compute/test_machine_types.rb
679
+ - test/integration/compute/core_compute/test_operations.rb
680
+ - test/integration/compute/core_compute/test_projects.rb
681
+ - test/integration/compute/core_compute/test_regions.rb
682
+ - test/integration/compute/core_compute/test_servers.rb
683
+ - test/integration/compute/core_compute/test_snapshots.rb
684
+ - test/integration/compute/core_compute/test_zones.rb
685
+ - test/integration/compute/core_networking/test_addresses.rb
686
+ - test/integration/compute/core_networking/test_coverage.rb
687
+ - test/integration/compute/core_networking/test_firewalls.rb
688
+ - test/integration/compute/core_networking/test_networks.rb
689
+ - test/integration/compute/core_networking/test_routes.rb
690
+ - test/integration/compute/core_networking/test_subnetworks.rb
691
+ - test/integration/compute/instance_groups/test_coverage.rb
692
+ - test/integration/compute/instance_groups/test_instance_group_managers.rb
693
+ - test/integration/compute/instance_groups/test_instance_groups.rb
694
+ - test/integration/compute/instance_groups/test_instance_templates.rb
695
+ - test/integration/compute/loadbalancing/test_backend_services.rb
696
+ - test/integration/compute/loadbalancing/test_coverage.rb
697
+ - test/integration/compute/loadbalancing/test_forwarding_rules.rb
698
+ - test/integration/compute/loadbalancing/test_global_addresses.rb
699
+ - test/integration/compute/loadbalancing/test_global_forwarding_rules.rb
700
+ - test/integration/compute/loadbalancing/test_http_health_checks.rb
701
+ - test/integration/compute/loadbalancing/test_ssl_certificates.rb
702
+ - test/integration/compute/loadbalancing/test_target_http_proxies.rb
703
+ - test/integration/compute/loadbalancing/test_target_https_proxies.rb
704
+ - test/integration/compute/loadbalancing/test_target_instances.rb
705
+ - test/integration/compute/loadbalancing/test_target_pools.rb
706
+ - test/integration/compute/loadbalancing/test_url_maps.rb
707
+ - test/integration/factories/addresses_factory.rb
723
708
  - test/integration/factories/backend_services_factory.rb
724
709
  - test/integration/factories/collection_factory.rb
725
710
  - test/integration/factories/disks_factory.rb
711
+ - test/integration/factories/firewalls_factory.rb
726
712
  - test/integration/factories/forwarding_rules_factory.rb
713
+ - test/integration/factories/global_addresses_factory.rb
727
714
  - test/integration/factories/global_forwarding_rules_factory.rb
728
715
  - test/integration/factories/http_health_checks_factory.rb
729
716
  - test/integration/factories/images_factory.rb
730
717
  - test/integration/factories/instance_group_manager_factory.rb
718
+ - test/integration/factories/instance_groups_factory.rb
731
719
  - test/integration/factories/instance_template_factory.rb
720
+ - test/integration/factories/networks_factory.rb
732
721
  - test/integration/factories/servers_factory.rb
733
722
  - test/integration/factories/sql_v1_certs_factory.rb
734
723
  - test/integration/factories/sql_v1_instances_factory.rb
735
724
  - test/integration/factories/sql_v1_users_factory.rb
736
725
  - test/integration/factories/sql_v2_instances_factory.rb
726
+ - test/integration/factories/ssl_certificates_factory.rb
727
+ - test/integration/factories/subnetworks_factory.rb
737
728
  - test/integration/factories/target_http_proxies_factory.rb
729
+ - test/integration/factories/target_https_proxies_factory.rb
738
730
  - test/integration/factories/target_instances_factory.rb
739
731
  - test/integration/factories/target_pools_factory.rb
740
732
  - test/integration/factories/url_maps_factory.rb
733
+ - test/integration/monitoring/test_coverage.rb
741
734
  - test/integration/monitoring/test_metric_descriptors.rb
742
735
  - test/integration/monitoring/test_monitored_resource_descriptors.rb
743
736
  - test/integration/monitoring/test_timeseries.rb
744
737
  - test/integration/pubsub/pubsub_shared.rb
738
+ - test/integration/pubsub/test_coverage.rb
745
739
  - test/integration/pubsub/test_pubsub_models.rb
746
740
  - test/integration/pubsub/test_pubsub_requests.rb
747
- - test/integration/sql/test_common_flags.rb
748
- - test/integration/sql/test_common_tiers.rb
749
- - test/integration/sql/test_v1_certs.rb
750
- - test/integration/sql/test_v1_instances.rb
751
- - test/integration/sql/test_v1_users.rb
752
- - test/integration/sql/test_v2_instances.rb
741
+ - test/integration/sql/sqlv1/test_common_flags.rb
742
+ - test/integration/sql/sqlv1/test_common_tiers.rb
743
+ - test/integration/sql/sqlv1/test_coverage.rb
744
+ - test/integration/sql/sqlv1/test_v1_certs.rb
745
+ - test/integration/sql/sqlv1/test_v1_instances.rb
746
+ - test/integration/sql/sqlv1/test_v1_users.rb
747
+ - test/integration/sql/sqlv2/test_coverage.rb
748
+ - test/integration/sql/sqlv2/test_v2_instances.rb
753
749
  - test/integration/storage/storage_shared.rb
754
750
  - test/integration/storage/test_buckets.rb
751
+ - test/integration/storage/test_coverage.rb
755
752
  - test/integration/storage/test_directories.rb
756
753
  - test/integration/storage/test_files.rb
757
754
  - test/integration/storage/test_objects.rb
@@ -759,6 +756,7 @@ files:
759
756
  - test/unit/compute/test_common_collections.rb
760
757
  - test/unit/compute/test_common_models.rb
761
758
  - test/unit/compute/test_server.rb
759
+ - test/unit/storage/test_json_requests.rb
762
760
  - test/unit/storage/test_xml_requests.rb
763
761
  homepage: https://github.com/fog/fog-google
764
762
  licenses:
@@ -780,7 +778,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
780
778
  version: '0'
781
779
  requirements: []
782
780
  rubyforge_project:
783
- rubygems_version: 2.6.14
781
+ rubygems_version: 2.7.7
784
782
  signing_key:
785
783
  specification_version: 4
786
784
  summary: Module for the 'fog' gem to support Google.
@@ -789,60 +787,84 @@ test_files:
789
787
  - test/helpers/integration_test_helper.rb
790
788
  - test/helpers/test_collection.rb
791
789
  - test/helpers/test_helper.rb
792
- - test/integration/compute/addresses/addresses_shared.rb
793
- - test/integration/compute/addresses/test_compute_address_models.rb
794
- - test/integration/compute/addresses/test_compute_address_requests.rb
795
- - test/integration/compute/disks/test_compute_disk_models.rb
796
- - test/integration/compute/disks/test_compute_disk_requests.rb
797
- - test/integration/compute/test_backend_services.rb
798
- - test/integration/compute/test_compute_addresses_collection.rb
799
- - test/integration/compute/test_compute_networks_collection.rb
800
- - test/integration/compute/test_disk_types.rb
801
- - test/integration/compute/test_forwarding_rules.rb
802
- - test/integration/compute/test_global_forwarding_rules.rb
803
- - test/integration/compute/test_http_health_checks.rb
804
- - test/integration/compute/test_images.rb
805
- - test/integration/compute/test_instance_group_managers.rb
806
- - test/integration/compute/test_instance_templates.rb
807
- - test/integration/compute/test_regions.rb
808
- - test/integration/compute/test_servers.rb
809
- - test/integration/compute/test_snapshots.rb
810
- - test/integration/compute/test_target_http_proxies.rb
811
- - test/integration/compute/test_target_instances.rb
812
- - test/integration/compute/test_target_pools.rb
813
- - test/integration/compute/test_url_maps.rb
790
+ - test/integration/compute/core_compute/test_coverage.rb
791
+ - test/integration/compute/core_compute/test_disk_types.rb
792
+ - test/integration/compute/core_compute/test_disks.rb
793
+ - test/integration/compute/core_compute/test_images.rb
794
+ - test/integration/compute/core_compute/test_machine_types.rb
795
+ - test/integration/compute/core_compute/test_operations.rb
796
+ - test/integration/compute/core_compute/test_projects.rb
797
+ - test/integration/compute/core_compute/test_regions.rb
798
+ - test/integration/compute/core_compute/test_servers.rb
799
+ - test/integration/compute/core_compute/test_snapshots.rb
800
+ - test/integration/compute/core_compute/test_zones.rb
801
+ - test/integration/compute/core_networking/test_addresses.rb
802
+ - test/integration/compute/core_networking/test_coverage.rb
803
+ - test/integration/compute/core_networking/test_firewalls.rb
804
+ - test/integration/compute/core_networking/test_networks.rb
805
+ - test/integration/compute/core_networking/test_routes.rb
806
+ - test/integration/compute/core_networking/test_subnetworks.rb
807
+ - test/integration/compute/instance_groups/test_coverage.rb
808
+ - test/integration/compute/instance_groups/test_instance_group_managers.rb
809
+ - test/integration/compute/instance_groups/test_instance_groups.rb
810
+ - test/integration/compute/instance_groups/test_instance_templates.rb
811
+ - test/integration/compute/loadbalancing/test_backend_services.rb
812
+ - test/integration/compute/loadbalancing/test_coverage.rb
813
+ - test/integration/compute/loadbalancing/test_forwarding_rules.rb
814
+ - test/integration/compute/loadbalancing/test_global_addresses.rb
815
+ - test/integration/compute/loadbalancing/test_global_forwarding_rules.rb
816
+ - test/integration/compute/loadbalancing/test_http_health_checks.rb
817
+ - test/integration/compute/loadbalancing/test_ssl_certificates.rb
818
+ - test/integration/compute/loadbalancing/test_target_http_proxies.rb
819
+ - test/integration/compute/loadbalancing/test_target_https_proxies.rb
820
+ - test/integration/compute/loadbalancing/test_target_instances.rb
821
+ - test/integration/compute/loadbalancing/test_target_pools.rb
822
+ - test/integration/compute/loadbalancing/test_url_maps.rb
823
+ - test/integration/factories/addresses_factory.rb
814
824
  - test/integration/factories/backend_services_factory.rb
815
825
  - test/integration/factories/collection_factory.rb
816
826
  - test/integration/factories/disks_factory.rb
827
+ - test/integration/factories/firewalls_factory.rb
817
828
  - test/integration/factories/forwarding_rules_factory.rb
829
+ - test/integration/factories/global_addresses_factory.rb
818
830
  - test/integration/factories/global_forwarding_rules_factory.rb
819
831
  - test/integration/factories/http_health_checks_factory.rb
820
832
  - test/integration/factories/images_factory.rb
821
833
  - test/integration/factories/instance_group_manager_factory.rb
834
+ - test/integration/factories/instance_groups_factory.rb
822
835
  - test/integration/factories/instance_template_factory.rb
836
+ - test/integration/factories/networks_factory.rb
823
837
  - test/integration/factories/servers_factory.rb
824
838
  - test/integration/factories/sql_v1_certs_factory.rb
825
839
  - test/integration/factories/sql_v1_instances_factory.rb
826
840
  - test/integration/factories/sql_v1_users_factory.rb
827
841
  - test/integration/factories/sql_v2_instances_factory.rb
842
+ - test/integration/factories/ssl_certificates_factory.rb
843
+ - test/integration/factories/subnetworks_factory.rb
828
844
  - test/integration/factories/target_http_proxies_factory.rb
845
+ - test/integration/factories/target_https_proxies_factory.rb
829
846
  - test/integration/factories/target_instances_factory.rb
830
847
  - test/integration/factories/target_pools_factory.rb
831
848
  - test/integration/factories/url_maps_factory.rb
849
+ - test/integration/monitoring/test_coverage.rb
832
850
  - test/integration/monitoring/test_metric_descriptors.rb
833
851
  - test/integration/monitoring/test_monitored_resource_descriptors.rb
834
852
  - test/integration/monitoring/test_timeseries.rb
835
853
  - test/integration/pubsub/pubsub_shared.rb
854
+ - test/integration/pubsub/test_coverage.rb
836
855
  - test/integration/pubsub/test_pubsub_models.rb
837
856
  - test/integration/pubsub/test_pubsub_requests.rb
838
- - test/integration/sql/test_common_flags.rb
839
- - test/integration/sql/test_common_tiers.rb
840
- - test/integration/sql/test_v1_certs.rb
841
- - test/integration/sql/test_v1_instances.rb
842
- - test/integration/sql/test_v1_users.rb
843
- - test/integration/sql/test_v2_instances.rb
857
+ - test/integration/sql/sqlv1/test_common_flags.rb
858
+ - test/integration/sql/sqlv1/test_common_tiers.rb
859
+ - test/integration/sql/sqlv1/test_coverage.rb
860
+ - test/integration/sql/sqlv1/test_v1_certs.rb
861
+ - test/integration/sql/sqlv1/test_v1_instances.rb
862
+ - test/integration/sql/sqlv1/test_v1_users.rb
863
+ - test/integration/sql/sqlv2/test_coverage.rb
864
+ - test/integration/sql/sqlv2/test_v2_instances.rb
844
865
  - test/integration/storage/storage_shared.rb
845
866
  - test/integration/storage/test_buckets.rb
867
+ - test/integration/storage/test_coverage.rb
846
868
  - test/integration/storage/test_directories.rb
847
869
  - test/integration/storage/test_files.rb
848
870
  - test/integration/storage/test_objects.rb
@@ -850,4 +872,5 @@ test_files:
850
872
  - test/unit/compute/test_common_collections.rb
851
873
  - test/unit/compute/test_common_models.rb
852
874
  - test/unit/compute/test_server.rb
875
+ - test/unit/storage/test_json_requests.rb
853
876
  - test/unit/storage/test_xml_requests.rb