gclouder 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ebf2e74c77329fd25f72de4e0b98868203dde63
4
- data.tar.gz: 9177c204fae1466ceccf232c2c3213dfabc01438
3
+ metadata.gz: 5a0cfc2c876ad1a60638ed1ed64dcd24953dfb77
4
+ data.tar.gz: 48b37710b55b21892996d577283117d16622ecab
5
5
  SHA512:
6
- metadata.gz: 411b55ad710b8614d253a215cd7cd6417c4551bec15f2388de5bf56a0405ea1976b3a52b6ec5bd8779e38b639007d4ba3db7225975ec85ecff125461002f2f50
7
- data.tar.gz: 164ae2f92206253ee8fdf7d6af54c070a5de5b5a8b7764456576d691d552ffc4a783a14b3a3378301b97af1e441aca5af380f6bab8bfa4632d1bb161f5f8f58c
6
+ metadata.gz: fe0f3194f803423fe36fa28950d07e36957d7cc72d5cbcb229d172dd75d3085f65a0bc82d8bec36b1368e4312a28e07332777ea60fab32501e2f094b748237df
7
+ data.tar.gz: 4e72365a2ad78a8cdc6beb3664dca8f346f5e13dbcc0de26a9adcf6c7bee9fb15aec1455b6b99ee4310f28f6b27d824e70b9ebae4baa05c93478ae533204a59a
@@ -10,6 +10,8 @@ trigger_http:
10
10
  type: Boolean
11
11
  local_path:
12
12
  type: String
13
+ source:
14
+ type: String
13
15
  source_url:
14
16
  type: String
15
17
  source_path:
@@ -66,7 +66,9 @@ module GClouder
66
66
  type = Resource::resource?("beta functions", function["name"], filter_value: filter_value) ? "change" : "add"
67
67
 
68
68
  Resource::feedback(type, "beta functions", function["name"])
69
- gcloud "beta functions deploy #{function["name"]} #{hash_to_args(function)} --region=#{region}"
69
+ Dir.chdir(File.dirname(GClouder::Config::CLIArgs.cli_args[:config])) do
70
+ gcloud "beta functions deploy #{function["name"]} #{hash_to_args(function)} --region=#{region}"
71
+ end
70
72
  end
71
73
 
72
74
  def self.purge(region, function)
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module GClouder
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gclouder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Wilson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-01 00:00:00.000000000 Z
12
+ date: 2017-09-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: trollop