pgbackups-archive 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 4a1157c2e418cfc4d8e927f9bd8274d40de05497
4
- data.tar.gz: e9859345a379c6cc37ad91c37f4e7110fb4932b8
3
+ metadata.gz: 395eac27c8a09d4c096bf42d7eb1cb8471502df7
4
+ data.tar.gz: 9836b4d128bf4c9031c6a2a072178ae6673e139e
5
5
  SHA512:
6
- metadata.gz: 2ebf454cfc4fecf9ee739959688134ac33439107c5b62ed858cbde00b30966002c21f4a39693f0a1d5ebdd9d33c49b7d720ef8de5cd81d34eeec46411a97db67
7
- data.tar.gz: cad68dd28dca9733ee06e661e06c5ffcad0ef24eb171265596220e41350fc0b9390a9c9529a160815a80d58d86d2d0d76c0cca99b09fe8a8204c8110429e9931
6
+ metadata.gz: 11d0a00c4814e47366e60fccfd9a34949fbd11f74a9127ecaf50bc547b1285958c715ca0fe95bf2e1182757be6c91cacab04e7c323fc76f5a26b6197c141e3ab
7
+ data.tar.gz: 46a2cd378c4a58ff0cf013e0015ce1c8ab447d1aaf41534025682d2500f89fe91de51395fb392afbb4845b492b1d642ff6861292ce2e1cf06b1bf8b1e94ace2b
data/README.md CHANGED
@@ -112,6 +112,8 @@ Many thanks go to the following who have contributed to making this gem even bet
112
112
  * [Chris Gaffney (@gaffneyc)](https://github.com/gaffneyc)
113
113
  * Switch from fog to fog-aws.
114
114
  * Gem config improvements.
115
+ * [Juraj Masar @jurajmasar](https://github.com/jurajmasar)
116
+ * Fix for reading env var.
115
117
 
116
118
  ## License
117
119
 
@@ -99,7 +99,7 @@ class PgbackupsArchive::Job
99
99
  end
100
100
 
101
101
  def pgbackups_to_keep
102
- var = ENV["PGBACKUPS_KEEP"] ? var.to_i : 30
102
+ var = ENV["PGBACKUPS_KEEP"] ? ENV["PGBACKUPS_KEEP"].to_i : 30
103
103
  end
104
104
 
105
105
  def temp_file
@@ -1,3 +1,3 @@
1
1
  module PgbackupsArchive
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgbackups-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenny Johnston
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-01 00:00:00.000000000 Z
11
+ date: 2015-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: heroku
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  version: '0'
210
210
  requirements: []
211
211
  rubyforge_project:
212
- rubygems_version: 2.4.5
212
+ rubygems_version: 2.4.3
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Automates archival of Heroku PGBackups to S3