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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71e7bbf4fd7c3264955b48fb5b9a06310d77cfa23773a8e130995dd8fe3c4d81
4
- data.tar.gz: fd9ff6113b374abad0fdb04e47873245483a6977d7e4290db17c2484979c1f84
3
+ metadata.gz: 0c309bebb4e21b0b88474e2466ba4044ce80373e75443a8a48e34367ebdc4e31
4
+ data.tar.gz: 844589c882460f11c8b09b1de1a5822a88604d5517d60ebe9d52423239966169
5
5
  SHA512:
6
- metadata.gz: feca013361b0dc1e08bdfdf9a99d86082030603dcac935b8acfa0b470459d2269e14943f1140ca587bf78d0ae1fbf990a5b88423456d91fe45fc2fa82ecb22cb
7
- data.tar.gz: 43bbc8ff8499aeb744501fad509b8238108eb5dce0d794e75fb7d8029f53e62fabe4a85a181bb4ac362de746cb7aa7743fa4c0543bc215319f98da2a1463581e
6
+ metadata.gz: 87bae3995bcbf58bfd8f4e12d37ea4f2546c97b03c5e0a7e3c01f7704c74d53afffee49b61680c395466934c584b671eafdbfec2bb86e2ba9e26e43d4762ff21
7
+ data.tar.gz: 14b8a28b34c74d2faa8366ed876c4e433cc7745ce317b525321bd2f6623d5db827aad7f4e1e2d11cd3ab30a9cc34416a50c261b910353abcbac14c07727c5b29
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_heroku_database_backup (0.1.1)
4
+ nxt_heroku_database_backup (0.1.2)
5
5
  aws-sdk-s3
6
6
  nxt_init
7
7
 
@@ -17,9 +17,9 @@ module NxtHerokuDatabaseBackup
17
17
  end
18
18
 
19
19
  def ensure_bucket_exists
20
- s3.head_bucket(bucket: bucket_name)
20
+ client.head_bucket(bucket: bucket_name)
21
21
  rescue Aws::S3::Errors::NotFound
22
- s3.create_bucket(bucket: bucket_name)
22
+ client.create_bucket(bucket: bucket_name)
23
23
  end
24
24
 
25
25
  def bucket_name
@@ -1,3 +1,3 @@
1
1
  module NxtHerokuDatabaseBackup
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_heroku_database_backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Robecke