terraspace_plugin_google 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 5cf0133e608b9d6aad667aa5f4c1ea70c77f98a6b8d52a56396f47153fc26e75
4
- data.tar.gz: 8956a3a1461da92d9d250971e170df0ac66ea637e6f1ac89d4200bd894c7d8b4
3
+ metadata.gz: d059c48bc9d92aa773c479e16808f1e83d8111a8a8378c2137da8badae3a3395
4
+ data.tar.gz: 4aa5654b1e2ebb696228186107daab1558e1bb0d3efa38423540b25ef38b9199
5
5
  SHA512:
6
- metadata.gz: 22eb1640abc543c3812c35873353e360cb70df65f3c39da53b6083cbe9b03707b0697aeadf93a7e4852321be184fd3c9ac16cc1e3ba95fc8e0b13f57a0bf8eb9
7
- data.tar.gz: f3ae41ed56e36b351d101f2b4931c7270b3dd5df3de6841e88f174df02359d4a7e80e0b789e5c0971413b5f4603a6ffc32cc160b4bc600fb24899f5731ff7f29
6
+ metadata.gz: f52f8ce5b835edd7534e79dcdc04db8cd86807b100735f4b5b6ae87b0a5d21f97c57fb294ac6972d25e6377292ec279eeee27b8ffec3cd83c64d68b3c33783ee
7
+ data.tar.gz: c605f6727d79da8a1d6008801b84edd7597f0c001a959e43071257a2b8897269611377fc181e68176ea7d26fbb836cc61385110e6147d92ea358d016ae83d70c
@@ -3,5 +3,8 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.1.1]
7
+ - summary command: fix edge case when files are deleted mid-loop
8
+
6
9
  ## [0.1.0]
7
10
  - Initial release
@@ -13,6 +13,7 @@ module TerraspacePluginGoogle::Interfaces
13
13
  bucket = storage.bucket(@bucket)
14
14
  bucket.files(prefix: @folder).all do |f|
15
15
  file = bucket.file(f.name)
16
+ next if file.nil? # in case file has been removed since .files
16
17
  # Note the f.name already includes the folder
17
18
  local_path = "#{@dest}/#{f.name}"
18
19
  FileUtils.mkdir_p(File.dirname(local_path))
@@ -1,3 +1,3 @@
1
1
  module TerraspacePluginGoogle
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace_plugin_google
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-23 00:00:00.000000000 Z
11
+ date: 2020-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gcp_data