bard-rake 0.22.1 → 0.23.0

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: a34f578e1751daafa21fe08f79d4c660d75094fa76ae269e093ea50238aad7f2
4
- data.tar.gz: 64b46e61760d758eeab1297415c1a44d6b9c82854118b3350c62655760cfe7d6
3
+ metadata.gz: a1f5c7b796463f6d5316f212930fe3046d02749602f4b0aa2e4201dff3170da7
4
+ data.tar.gz: 54a77dfb0956ae49f0165805e08f8c12e4a42aaa1326689aa4f0f56669ee5cc0
5
5
  SHA512:
6
- metadata.gz: dddacad4592f0169f6bff2c38221e8c0115cfb97a977d0800b340b240daed0971ca03998ed03dfe8e6d342981a50c522d429d61dc6a0ced071858520e6fa6a9e
7
- data.tar.gz: b7cb114bafab1f160a01f7afc7c8ccbfece510c44b6a4d44ab489ccb96a3b08e142117eb4b8cbd943631efacfa6eb5bd0a389d7690017f6b5a682cec118cfdd9
6
+ metadata.gz: 331e2c6d45e9751e4dcba2ab3fccb0bf0b50157d628be14f5633667ed9a3de799340e8a56d937986df06de1663bccaa101e0021cb8a59a8a6f64c4e8f3c1520e
7
+ data.tar.gz: 23a7cb95b57dd2bda64cd9ea8d40e4262a0edb2e3c107772eaf6240e3cb0effd7b2a4966e6a88a449700fec8c930cb664fc13256484b4317f295f909a65895ad
@@ -13,7 +13,9 @@ namespace :db do
13
13
 
14
14
  task :backup => :environment do
15
15
  project_name = File.basename(Dir.getwd)
16
- Backhoe.backup "bard-backup/#{project_name}", **Rails.application.credentials.bard_backup
16
+ config = Rails.application.credentials.bard_backup
17
+ s3_path = config.delete(:s3_path) || "bard-backup/#{project_name}"
18
+ Backhoe.backup s3_path, **config
17
19
  end
18
20
 
19
21
  task "drop:current" => :environment do
@@ -1,6 +1,6 @@
1
1
  module Bard
2
2
  module Rake
3
- VERSION = "0.22.1"
3
+ VERSION = "0.23.0"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.1
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-01 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake