heroku_db_clone 0.9.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/heroku_db_clone/client.rb +2 -2
- data/lib/heroku_db_clone/version.rb +1 -1
- metadata +11 -15
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 815067c9e266cd702f874522f1644194908dc810
|
|
4
|
+
data.tar.gz: b1c944c3589118ab63485308c1f52968fd7c9767
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 20408fbac5605e6d175ba02b46123fca8329a9623de2df9f149a0a2016e9753c0b94ad03c26ccb94c62d38ce5c00c110ac8cf267e26e6bf66151f9dbeb277200
|
|
7
|
+
data.tar.gz: 8e6e0c9671ee7154f9e160af13fc10ba3f074fc728d91b5de7b9e9b6a4a111b283488ab1fc83524141cd393d176eafc559579f72f94380cf603d3c0b3a91f70b
|
|
@@ -30,12 +30,12 @@ module HerokuDbClone
|
|
|
30
30
|
|
|
31
31
|
def capture
|
|
32
32
|
log "Capturing production database snapshot..."
|
|
33
|
-
exec "heroku
|
|
33
|
+
exec "heroku pg:backups capture --app #{@app_name}"
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def download
|
|
37
37
|
log "Downloading snapshot..."
|
|
38
|
-
exec "curl -o #{@opts[:dump_name]} \`heroku
|
|
38
|
+
exec "curl -o #{@opts[:dump_name]} \`heroku pg:backups public-url --app #{@app_name}\`"
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def drop
|
metadata
CHANGED
|
@@ -1,32 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: heroku_db_clone
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 1.0.0
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Cameron Pope
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: trollop
|
|
16
|
-
prerelease: false
|
|
17
15
|
requirement: !ruby/object:Gem::Requirement
|
|
18
16
|
requirements:
|
|
19
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: 2.0.0
|
|
22
|
-
none: false
|
|
23
20
|
type: :runtime
|
|
21
|
+
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
23
|
requirements:
|
|
26
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
27
25
|
- !ruby/object:Gem::Version
|
|
28
26
|
version: 2.0.0
|
|
29
|
-
none: false
|
|
30
27
|
description: Performs a backup of a heroku database, downloads it, and installs it
|
|
31
28
|
locally, using the information in your config/database.yml file
|
|
32
29
|
email:
|
|
@@ -36,7 +33,7 @@ executables:
|
|
|
36
33
|
extensions: []
|
|
37
34
|
extra_rdoc_files: []
|
|
38
35
|
files:
|
|
39
|
-
- .gitignore
|
|
36
|
+
- ".gitignore"
|
|
40
37
|
- Gemfile
|
|
41
38
|
- LICENSE.txt
|
|
42
39
|
- README.md
|
|
@@ -48,26 +45,25 @@ files:
|
|
|
48
45
|
- lib/heroku_db_clone/version.rb
|
|
49
46
|
homepage: ''
|
|
50
47
|
licenses: []
|
|
48
|
+
metadata: {}
|
|
51
49
|
post_install_message:
|
|
52
50
|
rdoc_options: []
|
|
53
51
|
require_paths:
|
|
54
52
|
- lib
|
|
55
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
54
|
requirements:
|
|
57
|
-
- -
|
|
55
|
+
- - ">="
|
|
58
56
|
- !ruby/object:Gem::Version
|
|
59
57
|
version: '0'
|
|
60
|
-
none: false
|
|
61
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
59
|
requirements:
|
|
63
|
-
- -
|
|
60
|
+
- - ">="
|
|
64
61
|
- !ruby/object:Gem::Version
|
|
65
62
|
version: '0'
|
|
66
|
-
none: false
|
|
67
63
|
requirements: []
|
|
68
64
|
rubyforge_project:
|
|
69
|
-
rubygems_version:
|
|
65
|
+
rubygems_version: 2.4.6
|
|
70
66
|
signing_key:
|
|
71
|
-
specification_version:
|
|
67
|
+
specification_version: 4
|
|
72
68
|
summary: Clone a heroku app's database locally
|
|
73
69
|
test_files: []
|