heroku_pg_backups_archive 0.2.2 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a24225cbadabd0bc2ba3781635d2eca9059d01d
4
- data.tar.gz: 7f0a7c2089ef405bdb93bf887df872300c518133
3
+ metadata.gz: 0593af7a1748e71beea1147a71fc0c1d66e9e171
4
+ data.tar.gz: 1ad7ae5bfe35223aa0463ae01eb585b88bac8990
5
5
  SHA512:
6
- metadata.gz: 9db01a1cdb9a4b428fd554640e03ec8f5b0ccb4c6d0a1f2b9b22cdefd7ccbd421b1317981e6a8b4d659ff77963ef1509b90818849f92d18a7f75ae844f3d4670
7
- data.tar.gz: c9975dd569a99ba6a5ccd5c3726729d0e4e42de220a543da9f9b93cef46a56509ac021528b92c04fdf55c10db36d04e41bbd0a92241b6a32500c4654bc5593a2
6
+ metadata.gz: 444cc45a5f6cc324a6bb38c5bdd1caa85354dda60b42f3ea0ec2273d17095c679e8e80c481c01459703c2ab0089bfef3e69089ea5c898ac5eab2cec547773c8a
7
+ data.tar.gz: 694a9e822d442042f5086f462c955126b041bc01b6a0ff2d0e06bb45e289d1bcd8ef69dbeafac515d03f5759f8308e1ebe225d640ec9d79d45ea7583fd432a31
data/README.md CHANGED
@@ -46,6 +46,8 @@ rake heroku_pg_backups_archive
46
46
 
47
47
  To make the heroku toolbelt available on your dyno, you can use [heroku-buildpack-toolbelt](https://github.com/gregburek/heroku-buildpack-toolbelt).
48
48
 
49
+ *Note*: The backup will be captured from the first follower database, if any are present.
50
+
49
51
  ### `aws-sdk` Dependency
50
52
 
51
53
  If you have a dependency on version 1 of the `aws-sdk` gem you will need to update your gemfile to depend on `aws-sdk-v1`. This will allow your app to continue to function as normal, but allow this gem to use newer features in version 2 of the SDK.
@@ -4,15 +4,15 @@ module HerokuPgBackupsArchive
4
4
 
5
5
  class << self
6
6
  def capture_backup
7
- run("pg:backups capture -a #{HerokuPgBackupsArchive.config.app_name} #{follower_db(HerokuPgBackupsArchive.config.app_name)}")
7
+ run("pg:backups:capture -a #{HerokuPgBackupsArchive.config.app_name} #{follower_db(HerokuPgBackupsArchive.config.app_name)}")
8
8
  end
9
9
 
10
10
  def fetch_backup_public_url(backup_id)
11
- run("pg:backups public-url #{backup_id} -q -a #{HerokuPgBackupsArchive.config.app_name}")
11
+ run("pg:backups:public-url #{backup_id} -a #{HerokuPgBackupsArchive.config.app_name}")
12
12
  end
13
13
 
14
14
  def fetch_backup_info(backup_id)
15
- run("pg:backups info #{backup_id} -a #{HerokuPgBackupsArchive.config.app_name}")
15
+ run("pg:backups:info #{backup_id} -a #{HerokuPgBackupsArchive.config.app_name}")
16
16
  end
17
17
 
18
18
  private
@@ -1,3 +1,3 @@
1
1
  module HerokuPgBackupsArchive
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_pg_backups_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hightower
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-03 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  requirements: []
116
116
  rubyforge_project:
117
- rubygems_version: 2.4.3
117
+ rubygems_version: 2.5.1
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Backup your heroku PG database, and archive it to S3.