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 +4 -4
- data/lib/bard/rake/bootstrap.rb +1 -1
- data/lib/bard/rake/db_dump_load.rb +3 -1
- data/lib/bard/rake/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1f5c7b796463f6d5316f212930fe3046d02749602f4b0aa2e4201dff3170da7
|
4
|
+
data.tar.gz: 54a77dfb0956ae49f0165805e08f8c12e4a42aaa1326689aa4f0f56669ee5cc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 331e2c6d45e9751e4dcba2ab3fccb0bf0b50157d628be14f5633667ed9a3de799340e8a56d937986df06de1663bccaa101e0021cb8a59a8a6f64c4e8f3c1520e
|
7
|
+
data.tar.gz: 23a7cb95b57dd2bda64cd9ea8d40e4262a0edb2e3c107772eaf6240e3cb0effd7b2a4966e6a88a449700fec8c930cb664fc13256484b4317f295f909a65895ad
|
data/lib/bard/rake/bootstrap.rb
CHANGED
@@ -5,7 +5,7 @@ end
|
|
5
5
|
|
6
6
|
desc "Bootstrap project"
|
7
7
|
task :bootstrap do
|
8
|
-
|
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
|
-
|
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
|
data/lib/bard/rake/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|