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 +4 -4
- data/lib/cap-gce/capistrano.rb +3 -3
- data/lib/cap-gce/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e170d057a56063f45cdad082907fd54659b8c0c2
|
4
|
+
data.tar.gz: 911cbb87706fdaf9accb2407c56de4a890351450
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be44608b86216c492b8b4bf0b27cab9d717fd62a18479196c1485403e065bfbecc4c788588755f4c2740b27ddbed25a394e60cbf6e333f46a333edb55e1df307
|
7
|
+
data.tar.gz: 07ca25e204bb009f9dc60fd3c81dbb695d54f0ba27f5839fd6e257989fbafc877d57bdaf58748fce55b24c163f2ccdcc9045f6e70686a7c6637b7d322a12cd7e
|
data/lib/cap-gce/capistrano.rb
CHANGED
@@ -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
|
-
|
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
|
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)
|
data/lib/cap-gce/version.rb
CHANGED
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.
|
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-
|
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
|