fog-google 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -10
  3. data/README.md +2 -0
  4. data/gemfiles/{Gemfile.1.9.2+ → Gemfile.2.0.0+} +1 -1
  5. data/gemfiles/{Gemfile.1.9.2- → Gemfile.2.0.0-} +2 -1
  6. data/lib/fog/google/compute.rb +11 -0
  7. data/lib/fog/google/models/compute/instance_group.rb +39 -0
  8. data/lib/fog/google/models/compute/instance_groups.rb +52 -0
  9. data/lib/fog/google/models/dns/change.rb +1 -1
  10. data/lib/fog/google/models/dns/project.rb +1 -1
  11. data/lib/fog/google/models/dns/record.rb +1 -1
  12. data/lib/fog/google/models/dns/zone.rb +1 -1
  13. data/lib/fog/google/requests/compute/add_instance_group_instance.rb +33 -0
  14. data/lib/fog/google/requests/compute/delete_instance_group.rb +24 -0
  15. data/lib/fog/google/requests/compute/get_instance_group.rb +24 -0
  16. data/lib/fog/google/requests/compute/insert_instance_group.rb +31 -0
  17. data/lib/fog/google/requests/compute/list_aggregated_instance_groups.rb +23 -0
  18. data/lib/fog/google/requests/compute/list_instance_group_instances.rb +24 -0
  19. data/lib/fog/google/requests/compute/list_instance_groups.rb +23 -0
  20. data/lib/fog/google/requests/compute/remove_instance_group_instance.rb +33 -0
  21. data/lib/fog/google/requests/dns/create_change.rb +1 -1
  22. data/lib/fog/google/requests/dns/create_managed_zone.rb +1 -1
  23. data/lib/fog/google/requests/dns/delete_managed_zone.rb +1 -1
  24. data/lib/fog/google/requests/dns/get_change.rb +1 -1
  25. data/lib/fog/google/requests/dns/get_managed_zone.rb +1 -1
  26. data/lib/fog/google/requests/dns/get_project.rb +1 -1
  27. data/lib/fog/google/requests/dns/list_changes.rb +1 -1
  28. data/lib/fog/google/requests/dns/list_managed_zones.rb +1 -1
  29. data/lib/fog/google/requests/dns/list_resource_record_sets.rb +1 -1
  30. data/lib/fog/google/version.rb +1 -1
  31. metadata +47 -37
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfe32657e08c69f437902b4c0feb5f6d2e33d05b
4
- data.tar.gz: 7fe5ac8dabc4e1a9212366adb69c8dc8ea807f49
3
+ metadata.gz: 01e0a90f3800d9ae9cc1d2b181aa85e584b17593
4
+ data.tar.gz: d5f4dbbf6d7b71fed1ae9a1e6521ed24e69bab9e
5
5
  SHA512:
6
- metadata.gz: 7461ec6b05ecd82581f9b4d2093cd575aff80c76d636e9ee7de0547e962f65891e0b7d8b1f8ba4b2b0e366b85a2f7a59f73a6bc5edaed99193cf591db864f28a
7
- data.tar.gz: ad4a8413e66ce02c1f8ffac2d5c28e896d5478920847d2b220974f8fb45e4e7c4b10bb459cb2ab280fbe17127289f22a88648aeec6eadc4012ea39b3296a13e8
6
+ metadata.gz: ef1ca7e17b5b6dbfb28090ddf47181147dccb764765315be0bacae5aa57785076b2846698eb271a006479e47bf3af517b220b804fd7da962a493b28bd2d5c626
7
+ data.tar.gz: 080b657027373c99deab0aaca961fb1584030d48843049b7a9dc78bb9a858b05a0348e6c3d23234a719b94f9c7731e23a5e3288cf138d557ebfde4167f3d91bd
data/.travis.yml CHANGED
@@ -1,17 +1,13 @@
1
1
  matrix:
2
2
  include:
3
- - rvm: 1.8.7
4
- gemfile: gemfiles/Gemfile.1.9.2-
5
- - rvm: 1.9.2
6
- gemfile: gemfiles/Gemfile.1.9.2-
7
3
  - rvm: 1.9.3
8
- gemfile: gemfiles/Gemfile.1.9.2+
4
+ gemfile: gemfiles/Gemfile.2.0.0-
9
5
  - rvm: 2.0.0
10
- gemfile: gemfiles/Gemfile.1.9.2+
11
- - rvm: 2.1.4
12
- gemfile: gemfiles/Gemfile.1.9.2+
6
+ gemfile: gemfiles/Gemfile.2.0.0+
7
+ - rvm: 2.1.5
8
+ gemfile: gemfiles/Gemfile.2.0.0+
13
9
  env: COVERAGE=true
14
10
  - rvm: ree
15
- gemfile: gemfiles/Gemfile.1.9.2-
11
+ gemfile: gemfiles/Gemfile.2.0.0-
16
12
  - rvm: jruby
17
- gemfile: gemfiles/Gemfile.1.9.2+
13
+ gemfile: gemfiles/Gemfile.2.0.0-
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  Fog currently supports two Google Cloud services: [Google Compute Engine](https://developers.google.com/compute/) and [Google Cloud Storage](https://developers.google.com/storage/). The main maintainer for the Google sections is @icco.
6
6
 
7
+ As of https://github.com/fog/fog-google/pull/68, Google no longer supports Ruby versions less than 2.0.0.
8
+
7
9
  ## Storage
8
10
 
9
11
  Google Cloud Storage originally was very similar to Amazon's S3. Because of this, Fog implements the [XML GCS API](https://developers.google.com/storage/docs/xml-api-overview). We eventually want to move to the new [JSON API](https://developers.google.com/storage/docs/json_api/), once it has similar performance characteristics to the XML API. If this migration interests you, send us a pull request!
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
3
3
  gem 'activesupport', '>= 3.0', '< 4'
4
4
  gem 'mime-types', '< 2.0'
5
5
 
6
- gemspec :path => '../'
6
+ gemspec :path => '../'
@@ -5,5 +5,6 @@ gem 'nokogiri', '< 1.6'
5
5
  gem 'rest-client', '~> 1.6.8'
6
6
  gem 'i18n', '<= 0.6.11'
7
7
  gem 'activesupport', '<= 3.2.21'
8
+ gem 'net-ssh', '< 3.0'
8
9
 
9
- gemspec :path => '../'
10
+ gemspec :path => '../'
@@ -47,6 +47,9 @@ module Fog
47
47
  request :list_zone_view_resources
48
48
  request :list_target_instances
49
49
  request :list_aggregated_target_instances
50
+ request :list_instance_groups
51
+ request :list_aggregated_instance_groups
52
+ request :list_instance_group_instances
50
53
 
51
54
  request :get_server
52
55
  request :get_address
@@ -76,6 +79,7 @@ module Fog
76
79
  request :get_zone_view
77
80
  request :get_region_view
78
81
  request :get_target_instance
82
+ request :get_instance_group
79
83
 
80
84
  request :delete_address
81
85
  request :delete_disk
@@ -98,6 +102,7 @@ module Fog
98
102
  request :delete_zone_view
99
103
  request :delete_region_view
100
104
  request :delete_target_instance
105
+ request :delete_instance_group
101
106
 
102
107
  request :insert_address
103
108
  request :insert_disk
@@ -117,6 +122,7 @@ module Fog
117
122
  request :insert_zone_view
118
123
  request :insert_region_view
119
124
  request :insert_target_instance
125
+ request :insert_instance_group
120
126
 
121
127
  request :set_metadata
122
128
  request :set_tags
@@ -131,10 +137,12 @@ module Fog
131
137
  request :add_url_map_path_matchers
132
138
  request :add_zone_view_resources
133
139
  request :add_region_view_resources
140
+ request :add_instance_group_instance
134
141
 
135
142
  request :remove_target_pool_instances
136
143
  request :remove_target_pool_health_checks
137
144
  request :set_common_instance_metadata
145
+ request :remove_instance_group_instance
138
146
 
139
147
  request :attach_disk
140
148
  request :detach_disk
@@ -219,6 +227,9 @@ module Fog
219
227
  model :target_instance
220
228
  collection :target_instances
221
229
 
230
+ model :instance_group
231
+ collection :instance_groups
232
+
222
233
  class Mock
223
234
  include Fog::Google::Shared
224
235
  attr_reader :extra_global_projects
@@ -0,0 +1,39 @@
1
+ require 'fog/core/model'
2
+
3
+ module Fog
4
+ module Compute
5
+ class Google
6
+ class InstanceGroup < Fog::Model
7
+ identity :name
8
+
9
+ attribute :id
10
+ attribute :kind
11
+ attribute :creation_timestamp, :aliases => 'creationTimestamp'
12
+ attribute :description
13
+ attribute :fingerprint
14
+ attribute :namedPorts
15
+ attribute :network
16
+ attribute :self_link, :aliases => 'selfLink'
17
+ attribute :size
18
+ attribute :zone, :aliases => :zone_name
19
+
20
+ def save
21
+ requires :name, :zone
22
+
23
+ data = service.insert_instance_group(name, zone)
24
+ end
25
+
26
+ def destroy(async=true)
27
+ requires :name, :zone
28
+
29
+ data = service.delete_instance_group(name, zone_name)
30
+ end
31
+
32
+ def zone_name
33
+ zone.nil? ? nil : zone.split('/')[-1]
34
+ end
35
+
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,52 @@
1
+ require 'fog/core/collection'
2
+ require 'fog/google/models/compute/instance_group'
3
+
4
+ module Fog
5
+ module Compute
6
+ class Google
7
+ class InstanceGroups < Fog::Collection
8
+ model Fog::Compute::Google::InstanceGroup
9
+
10
+ def all(filters={})
11
+ if filters[:zone]
12
+ data = service.list_instance_groups(filters[:zone]).body
13
+ else
14
+ data = []
15
+ service.list_aggregated_instance_groups.body['items'].each_value do |group|
16
+ data.concat(group['instanceGroups']) if group['instanceGroups']
17
+ end
18
+ end
19
+
20
+ load(data['items'])
21
+ end
22
+
23
+ def get(identity, zone=nil)
24
+ if zone.nil?
25
+ zones = service.list_aggregated_instance_groups(:filter => "name eq .*#{identity}").body['items']
26
+ target_zone = zones.each_value.select { |zone| zone.key?('instanceGroups') }
27
+ response = target_zone.first['instanceGroups'].first unless target_zone.empty?
28
+ zone = response['zone'].split('/')[-1]
29
+ end
30
+
31
+ if instance_group = service.get_instance_group(identity,zone).body
32
+ new(instance_group)
33
+ end
34
+ rescue Fog::Errors::NotFound
35
+ nil
36
+ end
37
+
38
+ def add_instance(params)
39
+ data = service.add_instance_group_instance(params[:group], params[:zone], params[:instance])
40
+ end
41
+
42
+ def remove_instance(params)
43
+ data = service.remove_instance_group_instance(params[:group], params[:zone], params[:instance])
44
+ end
45
+
46
+ def get_instances(params)
47
+ data = service.list_instance_group_instances(params[:group], params[:zone])
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
@@ -6,7 +6,7 @@ module Fog
6
6
  ##
7
7
  # Represents a Change resource
8
8
  #
9
- # @see https://developers.google.com/cloud-dns/api/v1beta1/changes
9
+ # @see https://developers.google.com/cloud-dns/api/v1/changes
10
10
  class Change < Fog::Model
11
11
  identity :id
12
12
 
@@ -6,7 +6,7 @@ module Fog
6
6
  ##
7
7
  # Represents a Project resource
8
8
  #
9
- # @see https://developers.google.com/cloud-dns/api/v1beta1/projects
9
+ # @see https://developers.google.com/cloud-dns/api/v1/projects
10
10
  class Project < Fog::Model
11
11
  identity :id
12
12
 
@@ -6,7 +6,7 @@ module Fog
6
6
  ##
7
7
  # Resource Record Sets resource
8
8
  #
9
- # @see https://cloud.google.com/dns/api/v1beta1/resourceRecordSets
9
+ # @see https://cloud.google.com/dns/api/v1/resourceRecordSets
10
10
  class Record < Fog::Model
11
11
  identity :name
12
12
 
@@ -6,7 +6,7 @@ module Fog
6
6
  ##
7
7
  # Managed Zone resource
8
8
  #
9
- # @see https://developers.google.com/cloud-dns/api/v1beta1/managedZones
9
+ # @see https://developers.google.com/cloud-dns/api/v1/managedZones
10
10
  class Zone < Fog::Model
11
11
  identity :id
12
12
 
@@ -0,0 +1,33 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def add_instance_group_instance(group_name, zone, instances)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def add_instance_group_instance(group_name, zone, instance_name)
12
+ api_method = @compute.instance_groups.add_instances
13
+
14
+ parameters = {
15
+ 'project' => @project,
16
+ 'instanceGroup' => group_name,
17
+ 'zone' => zone,
18
+ }
19
+
20
+ body_object = {
21
+ "instances" => [
22
+ {
23
+ "instance" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/zones/#{zone}/instances/#{instance_name}\n"
24
+ }
25
+ ]
26
+ }
27
+
28
+ request(api_method, parameters, body_object)
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,24 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def delete_instance_group(group_name, zone)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def delete_instance_group(group_name, zone)
12
+ api_method = @compute.instance_groups.delete
13
+ parameters = {
14
+ 'instanceGroup' => group_name,
15
+ 'project' => @project,
16
+ 'zone' => zone
17
+ }
18
+
19
+ request(api_method, parameters)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def get_instance_group(group_name, zone, project=@project)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def get_instance_group(group_name, zone, project=@project)
12
+ api_method = @compute.instance_groups.get
13
+ parameters = {
14
+ 'instanceGroup' => group_name,
15
+ 'project' => project,
16
+ 'zone' => zone
17
+ }
18
+
19
+ request(api_method, parameters)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,31 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def insert_instance_group(group_name, zone, options = {})
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def insert_instance_group(group_name, zone, options = {})
12
+ api_method = @compute.instance_groups.insert
13
+ parameters = {
14
+ 'project' => @project,
15
+ 'zone' => zone
16
+ }
17
+
18
+ id = Fog::Mock.random_numbers(19).to_s
19
+
20
+ body = {
21
+ 'name' => group_name,
22
+ 'network' => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/global/networks/default",
23
+ }
24
+ body['description'] = options['description'] if options['description']
25
+
26
+ request(api_method, parameters, body)
27
+ end
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,23 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def list_aggregated_instance_groups(options = {})
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def list_aggregated_instance_groups(options = {})
12
+ api_method = @compute.instance_groups.aggregated_list
13
+ parameters = {
14
+ 'project' => @project,
15
+ }
16
+ parameters['filter'] = options[:filter] if options[:filter]
17
+
18
+ request(api_method, parameters)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,24 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def list_instance_group_instances(group, zone)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def list_instance_group_instances(group, zone)
12
+ api_method = @compute.instance_groups.list_instances
13
+ parameters = {
14
+ 'project' => @project,
15
+ 'zone' => zone,
16
+ 'group' => group
17
+ }
18
+
19
+ request(api_method, parameters)
20
+ end
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,23 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def list_instance_groups(zone)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def list_instance_groups(zone)
12
+ api_method = @compute.instance_groups.list
13
+ parameters = {
14
+ 'project' => @project,
15
+ 'zone' => zone
16
+ }
17
+
18
+ request(api_method, parameters)
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,33 @@
1
+ module Fog
2
+ module Compute
3
+ class Google
4
+ class Mock
5
+ def remove_instance_group_instance(group_name, zone, instances)
6
+ Fog::Mock.not_implemented
7
+ end
8
+ end
9
+
10
+ class Real
11
+ def remove_instance_group_instance(group_name, zone, instance_name)
12
+ api_method = @compute.instance_groups.remove_instances
13
+
14
+ parameters = {
15
+ 'project' => @project,
16
+ 'instanceGroup' => group_name,
17
+ 'zone' => zone
18
+ }
19
+
20
+ body_object = {
21
+ "instances" => [
22
+ {
23
+ "instance" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/zones/#{zone}/instances/#{instance_name}\n"
24
+ }
25
+ ]
26
+ }
27
+
28
+ request(api_method, parameters, body_object)
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Atomically updates a ResourceRecordSet collection.
6
6
  #
7
- # @see https://cloud.google.com/dns/api/v1beta1/changes/create
7
+ # @see https://cloud.google.com/dns/api/v1/changes/create
8
8
  class Real
9
9
  def create_change(zone_name_or_id, additions = [], deletions = [])
10
10
  api_method = @dns.changes.create
@@ -5,7 +5,7 @@ module Fog
5
5
  ##
6
6
  # Creates a new Managed Zone.
7
7
  #
8
- # @see https://developers.google.com/cloud-dns/api/v1beta1/managedZones/create
8
+ # @see https://developers.google.com/cloud-dns/api/v1/managedZones/create
9
9
  class Real
10
10
  def create_managed_zone(name, dns_name, description)
11
11
  api_method = @dns.managed_zones.create
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Deletes a previously created Managed Zone.
6
6
  #
7
- # @see https://developers.google.com/cloud-dns/api/v1beta1/managedZones/delete
7
+ # @see https://developers.google.com/cloud-dns/api/v1/managedZones/delete
8
8
  class Real
9
9
  def delete_managed_zone(name_or_id)
10
10
  api_method = @dns.managed_zones.delete
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Fetches the representation of an existing Change.
6
6
  #
7
- # @see https://developers.google.com/cloud-dns/api/v1beta1/changes/get
7
+ # @see https://developers.google.com/cloud-dns/api/v1/changes/get
8
8
  class Real
9
9
  def get_change(zone_name_or_id, identity)
10
10
  api_method = @dns.changes.get
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Fetches the representation of an existing Managed Zone.
6
6
  #
7
- # @see https://developers.google.com/cloud-dns/api/v1beta1/managedZones/get
7
+ # @see https://developers.google.com/cloud-dns/api/v1/managedZones/get
8
8
  class Real
9
9
  def get_managed_zone(name_or_id)
10
10
  api_method = @dns.managed_zones.get
@@ -5,7 +5,7 @@ module Fog
5
5
  # Fetches the representation of an existing Project. Use this method to look up the limits on the number of
6
6
  # resources that are associated with your project.
7
7
  #
8
- # @see https://developers.google.com/cloud-dns/api/v1beta1/projects/get
8
+ # @see https://developers.google.com/cloud-dns/api/v1/projects/get
9
9
  class Real
10
10
  def get_project(identity)
11
11
  api_method = @dns.projects.get
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Enumerates the list of Changes.
6
6
  #
7
- # @see https://developers.google.com/cloud-dns/api/v1beta1/changes/list
7
+ # @see https://developers.google.com/cloud-dns/api/v1/changes/list
8
8
  class Real
9
9
  def list_changes(zone_name_or_id)
10
10
  api_method = @dns.changes.list
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Enumerates Managed Zones that have been created but not yet deleted.
6
6
  #
7
- # @see hhttps://developers.google.com/cloud-dns/api/v1beta1/managedZones/list
7
+ # @see hhttps://developers.google.com/cloud-dns/api/v1/managedZones/list
8
8
  class Real
9
9
  def list_managed_zones()
10
10
  api_method = @dns.managed_zones.list
@@ -4,7 +4,7 @@ module Fog
4
4
  ##
5
5
  # Enumerates Resource Record Sets that have been created but not yet deleted.
6
6
  #
7
- # @see https://developers.google.com/cloud-dns/api/v1beta1/resourceRecordSets/list
7
+ # @see https://developers.google.com/cloud-dns/api/v1/resourceRecordSets/list
8
8
  class Real
9
9
  def list_resource_record_sets(zone_name_or_id, options = {})
10
10
  api_method = @dns.resource_record_sets.list
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Google
3
- VERSION = "0.0.9"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
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: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Welch
@@ -10,180 +10,180 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-09-25 00:00:00.000000000 Z
13
+ date: 2015-09-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: fog-core
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: fog-json
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: fog-xml
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: google-api-client
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ~>
61
+ - - "~>"
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0.6'
64
- - - '>='
64
+ - - ">="
65
65
  - !ruby/object:Gem::Version
66
66
  version: 0.6.2
67
67
  type: :development
68
68
  prerelease: false
69
69
  version_requirements: !ruby/object:Gem::Requirement
70
70
  requirements:
71
- - - ~>
71
+ - - "~>"
72
72
  - !ruby/object:Gem::Version
73
73
  version: '0.6'
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: 0.6.2
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: rake
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: shindo
93
93
  requirement: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  - !ruby/object:Gem::Dependency
106
106
  name: minitest
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: '0'
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: pry
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: vcr
135
135
  requirement: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - '>='
137
+ - - ">="
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0'
140
140
  type: :development
141
141
  prerelease: false
142
142
  version_requirements: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  - !ruby/object:Gem::Dependency
148
148
  name: webmock
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '>='
151
+ - - ">="
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ">="
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0'
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: coveralls
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - '>='
165
+ - - ">="
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  type: :development
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - '>='
172
+ - - ">="
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  - !ruby/object:Gem::Dependency
176
176
  name: rubocop
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - '>='
179
+ - - ">="
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  type: :development
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - '>='
186
+ - - ">="
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  description: |-
@@ -197,10 +197,10 @@ executables: []
197
197
  extensions: []
198
198
  extra_rdoc_files: []
199
199
  files:
200
- - .gitignore
201
- - .rubocop.yml
202
- - .ruby-gemset
203
- - .travis.yml
200
+ - ".gitignore"
201
+ - ".rubocop.yml"
202
+ - ".ruby-gemset"
203
+ - ".travis.yml"
204
204
  - CONTRIBUTING.md
205
205
  - CONTRIBUTORS.md
206
206
  - Gemfile
@@ -232,8 +232,8 @@ files:
232
232
  - examples/sql/ssl_certs.rb
233
233
  - examples/sql/tiers.rb
234
234
  - fog-google.gemspec
235
- - gemfiles/Gemfile.1.9.2+
236
- - gemfiles/Gemfile.1.9.2-
235
+ - gemfiles/Gemfile.2.0.0+
236
+ - gemfiles/Gemfile.2.0.0-
237
237
  - lib/fog/bin/google.rb
238
238
  - lib/fog/google.rb
239
239
  - lib/fog/google/compute.rb
@@ -258,6 +258,8 @@ files:
258
258
  - lib/fog/google/models/compute/http_health_checks.rb
259
259
  - lib/fog/google/models/compute/image.rb
260
260
  - lib/fog/google/models/compute/images.rb
261
+ - lib/fog/google/models/compute/instance_group.rb
262
+ - lib/fog/google/models/compute/instance_groups.rb
261
263
  - lib/fog/google/models/compute/network.rb
262
264
  - lib/fog/google/models/compute/networks.rb
263
265
  - lib/fog/google/models/compute/operation.rb
@@ -324,6 +326,7 @@ files:
324
326
  - lib/fog/google/parsers/storage/get_request_payment.rb
325
327
  - lib/fog/google/parsers/storage/get_service.rb
326
328
  - lib/fog/google/requests/compute/add_backend_service_backends.rb
329
+ - lib/fog/google/requests/compute/add_instance_group_instance.rb
327
330
  - lib/fog/google/requests/compute/add_region_view_resources.rb
328
331
  - lib/fog/google/requests/compute/add_server_access_config.rb
329
332
  - lib/fog/google/requests/compute/add_target_pool_health_checks.rb
@@ -341,6 +344,7 @@ files:
341
344
  - lib/fog/google/requests/compute/delete_global_operation.rb
342
345
  - lib/fog/google/requests/compute/delete_http_health_check.rb
343
346
  - lib/fog/google/requests/compute/delete_image.rb
347
+ - lib/fog/google/requests/compute/delete_instance_group.rb
344
348
  - lib/fog/google/requests/compute/delete_network.rb
345
349
  - lib/fog/google/requests/compute/delete_region_operation.rb
346
350
  - lib/fog/google/requests/compute/delete_region_view.rb
@@ -367,6 +371,7 @@ files:
367
371
  - lib/fog/google/requests/compute/get_global_operation.rb
368
372
  - lib/fog/google/requests/compute/get_http_health_check.rb
369
373
  - lib/fog/google/requests/compute/get_image.rb
374
+ - lib/fog/google/requests/compute/get_instance_group.rb
370
375
  - lib/fog/google/requests/compute/get_machine_type.rb
371
376
  - lib/fog/google/requests/compute/get_network.rb
372
377
  - lib/fog/google/requests/compute/get_project.rb
@@ -393,6 +398,7 @@ files:
393
398
  - lib/fog/google/requests/compute/insert_global_forwarding_rule.rb
394
399
  - lib/fog/google/requests/compute/insert_http_health_check.rb
395
400
  - lib/fog/google/requests/compute/insert_image.rb
401
+ - lib/fog/google/requests/compute/insert_instance_group.rb
396
402
  - lib/fog/google/requests/compute/insert_network.rb
397
403
  - lib/fog/google/requests/compute/insert_region_view.rb
398
404
  - lib/fog/google/requests/compute/insert_route.rb
@@ -407,6 +413,7 @@ files:
407
413
  - lib/fog/google/requests/compute/list_aggregated_addresses.rb
408
414
  - lib/fog/google/requests/compute/list_aggregated_disk_types.rb
409
415
  - lib/fog/google/requests/compute/list_aggregated_disks.rb
416
+ - lib/fog/google/requests/compute/list_aggregated_instance_groups.rb
410
417
  - lib/fog/google/requests/compute/list_aggregated_machine_types.rb
411
418
  - lib/fog/google/requests/compute/list_aggregated_servers.rb
412
419
  - lib/fog/google/requests/compute/list_aggregated_target_instances.rb
@@ -419,6 +426,8 @@ files:
419
426
  - lib/fog/google/requests/compute/list_global_operations.rb
420
427
  - lib/fog/google/requests/compute/list_http_health_checks.rb
421
428
  - lib/fog/google/requests/compute/list_images.rb
429
+ - lib/fog/google/requests/compute/list_instance_group_instances.rb
430
+ - lib/fog/google/requests/compute/list_instance_groups.rb
422
431
  - lib/fog/google/requests/compute/list_machine_types.rb
423
432
  - lib/fog/google/requests/compute/list_networks.rb
424
433
  - lib/fog/google/requests/compute/list_region_operations.rb
@@ -436,6 +445,7 @@ files:
436
445
  - lib/fog/google/requests/compute/list_zone_view_resources.rb
437
446
  - lib/fog/google/requests/compute/list_zone_views.rb
438
447
  - lib/fog/google/requests/compute/list_zones.rb
448
+ - lib/fog/google/requests/compute/remove_instance_group_instance.rb
439
449
  - lib/fog/google/requests/compute/remove_target_pool_health_checks.rb
440
450
  - lib/fog/google/requests/compute/remove_target_pool_instance.rb
441
451
  - lib/fog/google/requests/compute/remove_target_pool_instances.rb
@@ -608,17 +618,17 @@ require_paths:
608
618
  - lib
609
619
  required_ruby_version: !ruby/object:Gem::Requirement
610
620
  requirements:
611
- - - '>='
621
+ - - ">="
612
622
  - !ruby/object:Gem::Version
613
623
  version: '0'
614
624
  required_rubygems_version: !ruby/object:Gem::Requirement
615
625
  requirements:
616
- - - '>='
626
+ - - ">="
617
627
  - !ruby/object:Gem::Version
618
628
  version: '0'
619
629
  requirements: []
620
630
  rubyforge_project:
621
- rubygems_version: 2.0.14
631
+ rubygems_version: 2.4.5
622
632
  signing_key:
623
633
  specification_version: 4
624
634
  summary: Module for the 'fog' gem to support Google.