s3_config 0.1.3 → 0.1.4

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: 1fa60606b5cb046346b07111d3b3b63b26bb5a09
4
- data.tar.gz: ca07fc7bb9c864d6d8a4c2318e814a9c7c651d62
3
+ metadata.gz: 2fd466f3de5e1977ceb31e460ad102fa56207c01
4
+ data.tar.gz: 8ddafe13b1b62f97e7ddbb9ed27c0b3a0682cf57
5
5
  SHA512:
6
- metadata.gz: 1ef731f32cead1b2d9d39130f6b8c4a27af5aed05f23a926cdc1770cc29c080b59f98e84adfef70953014c3bf879d3bc0ff2111fcb007daf343cdc3505ec7801
7
- data.tar.gz: 422c1e2e9474abe6a14c566752e77bf24569cb057072f837db83b33fb1a5c876bac8f085999299b906573f8b4f884e9a70cf7c679ef25bf49df430303276f952
6
+ metadata.gz: e5b44978555ce9354b46ed6ad0361db9c0d3bbfae1c9a603004f15e91f7037006c3af371709d2fcc4fed4b28f319cbd84dada71ec222764b79621b6aee9dba9f
7
+ data.tar.gz: 3d3c3418a8bacfe9f3e72af92141e0602e3b1349c919539a267e01cdeb689f223c1c1899367168f9478f2c1cd7a8811006d7a5509a92b03d357ee3277a5ca45c
@@ -52,7 +52,11 @@ module S3Config
52
52
  end
53
53
 
54
54
  def versions_count
55
- bucket.objects({prefix: "#{environment}/"}).count
55
+ begin
56
+ bucket.objects({prefix: "#{environment}/"}).count
57
+ rescue S3Config::ConfigNotDefinedError => e
58
+ rescue ConfigNotDefinedError
59
+ end
56
60
  end
57
61
 
58
62
  def latest_version
@@ -1,3 +1,3 @@
1
1
  module S3Config
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: s3_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zane Shannon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-22 00:00:00.000000000 Z
11
+ date: 2016-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk