cap-gce 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6594a0238ed25b7e13d36d6d81dc0044644abdc8
4
- data.tar.gz: 2bf3f0c6df4576af9a814fac27508ca4b8469861
3
+ metadata.gz: e170d057a56063f45cdad082907fd54659b8c0c2
4
+ data.tar.gz: 911cbb87706fdaf9accb2407c56de4a890351450
5
5
  SHA512:
6
- metadata.gz: 4a1097c6e6b2649761687dd819a83b18d410d990c668952da5316882b176ecb516c1cb852c886e13335d962953f4f7c1bc79d88aae1f5f334dbd1532b2dd46e9
7
- data.tar.gz: 9b09a1bb7c94cf950dd23d50fafe24c227d30b0c9e4619fd9d57222de01ed43698a65f90dc69e602c909b9a8a06308c968aea2e3a6a3c5948da0aacb55ff2c0d
6
+ metadata.gz: be44608b86216c492b8b4bf0b27cab9d717fd62a18479196c1485403e065bfbecc4c788588755f4c2740b27ddbed25a394e60cbf6e333f46a333edb55e1df307
7
+ data.tar.gz: 07ca25e204bb009f9dc60fd3c81dbb695d54f0ba27f5839fd6e257989fbafc877d57bdaf58748fce55b24c163f2ccdcc9045f6e70686a7c6637b7d322a12cd7e
@@ -21,7 +21,7 @@ module Capistrano
21
21
  def gce_role(name, options = {})
22
22
  gce_handler.get_servers_for_role(name).each do |server|
23
23
  env.role(name, CapGCE::Utils.contact_point(server),
24
- options_with_instance_id(options, server))
24
+ options_with_gce_instance_id(options, server))
25
25
  end
26
26
  end
27
27
 
@@ -31,13 +31,13 @@ module Capistrano
31
31
 
32
32
  private
33
33
 
34
- def options_with_instance_id(options, server)
34
+ def options_with_gce_instance_id(options, server)
35
35
  options.merge(instance_id: server.id)
36
36
  end
37
37
  end
38
38
  end
39
39
  end
40
40
 
41
- extend Capistrano::DSL::Gce
41
+ self.extend Capistrano::DSL::Gce
42
42
 
43
43
  Capistrano::Configuration::Server.send(:include, CapGCE::Utils::Server)
@@ -1,3 +1,3 @@
1
1
  module CapGCE
2
- VERSION = '1.1.3'.freeze
2
+ VERSION = '1.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-gce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Lin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-22 00:00:00.000000000 Z
11
+ date: 2018-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-api-client