bard-rake 0.22.0 → 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: 95420cc4c316e45716d96f7a3ec6ddc06a6903def03c56c815a16f3f62940469
4
- data.tar.gz: fcbf2e9d9fcf744ea1166300c7f6fb9ddcda6bfea2e01da6dd13d940ada806fa
3
+ metadata.gz: a1f5c7b796463f6d5316f212930fe3046d02749602f4b0aa2e4201dff3170da7
4
+ data.tar.gz: 54a77dfb0956ae49f0165805e08f8c12e4a42aaa1326689aa4f0f56669ee5cc0
5
5
  SHA512:
6
- metadata.gz: 1ab8cb9047b7c4470159b9542ddcd07abc2b0eff5af24f58535b030e6a08de9eacfc0f5538c0d01a1530119f8c2188025d3c096854c88651ac0a8ee2a4f77883
7
- data.tar.gz: f06bb490c29feb3456f18b31cde322f6d89dcb197ecd7cffbb8569a81b9dc8f749da9d401f6e24a8815b261855bf2016ce98cbeec8d4c3d2276e566dd5f223a0
6
+ metadata.gz: 331e2c6d45e9751e4dcba2ab3fccb0bf0b50157d628be14f5633667ed9a3de799340e8a56d937986df06de1663bccaa101e0021cb8a59a8a6f64c4e8f3c1520e
7
+ data.tar.gz: 23a7cb95b57dd2bda64cd9ea8d40e4262a0edb2e3c107772eaf6240e3cb0effd7b2a4966e6a88a449700fec8c930cb664fc13256484b4317f295f909a65895ad
@@ -5,7 +5,7 @@ end
5
5
 
6
6
  desc "Bootstrap project"
7
7
  task :bootstrap do
8
- invoke_take_if_exists "bootstrap:database.yml"
8
+ invoke_task_if_exists "bootstrap:database.yml"
9
9
  invoke_task_if_exists "db:create"
10
10
  invoke_task_if_exists "db:migrate"
11
11
  invoke_task_if_exists "rake parallel:create"
@@ -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.0"
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.0
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