nxt_heroku_database_backup 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nxt_heroku_database_backup/uploader/s3.rb +2 -2
- data/lib/nxt_heroku_database_backup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c309bebb4e21b0b88474e2466ba4044ce80373e75443a8a48e34367ebdc4e31
|
4
|
+
data.tar.gz: 844589c882460f11c8b09b1de1a5822a88604d5517d60ebe9d52423239966169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87bae3995bcbf58bfd8f4e12d37ea4f2546c97b03c5e0a7e3c01f7704c74d53afffee49b61680c395466934c584b671eafdbfec2bb86e2ba9e26e43d4762ff21
|
7
|
+
data.tar.gz: 14b8a28b34c74d2faa8366ed876c4e433cc7745ce317b525321bd2f6623d5db827aad7f4e1e2d11cd3ab30a9cc34416a50c261b910353abcbac14c07727c5b29
|
data/Gemfile.lock
CHANGED
@@ -17,9 +17,9 @@ module NxtHerokuDatabaseBackup
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def ensure_bucket_exists
|
20
|
-
|
20
|
+
client.head_bucket(bucket: bucket_name)
|
21
21
|
rescue Aws::S3::Errors::NotFound
|
22
|
-
|
22
|
+
client.create_bucket(bucket: bucket_name)
|
23
23
|
end
|
24
24
|
|
25
25
|
def bucket_name
|