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 +4 -4
- data/lib/s3_config/application.rb +5 -1
- data/lib/s3_config/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd466f3de5e1977ceb31e460ad102fa56207c01
|
4
|
+
data.tar.gz: 8ddafe13b1b62f97e7ddbb9ed27c0b3a0682cf57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/s3_config/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|