happo 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/happo/uploader.rb +1 -6
- data/lib/happo/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: 97302068d4c34f670c8ce49747ca263a1f5f6c36
|
4
|
+
data.tar.gz: 03bb8213cfac918a790c72d392b86ee9d96429e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ddc0e81b2412b3f604ae335a7ad1e712d52e364ebd832684c8ad3a0493b20beb345b15981ef89a89dfe9a169cd296307adb4f11bef98df752775e35f9220553
|
7
|
+
data.tar.gz: 9e530f6b12ddc037be582ea0536eaab077438ba601a03fe30dedf301f99ee27c1baec84bf29162e06a585fb80a31f0213755b249d3ce425e38442789569d525c
|
data/lib/happo/uploader.rb
CHANGED
@@ -63,12 +63,7 @@ module Happo
|
|
63
63
|
service = S3::Service.new(access_key_id: @s3_access_key_id,
|
64
64
|
secret_access_key: @s3_secret_access_key)
|
65
65
|
bucket = service.bucket(@s3_bucket_name)
|
66
|
-
|
67
|
-
if !bucket.exists?
|
68
|
-
bucket = service.buckets.build(@s3_bucket_name)
|
69
|
-
bucket.save(location: :us)
|
70
|
-
end
|
71
|
-
|
66
|
+
bucket.save(location: :us) unless bucket.exists?
|
72
67
|
bucket
|
73
68
|
end
|
74
69
|
end
|
data/lib/happo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: happo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henric Trotzig
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-07-
|
12
|
+
date: 2016-07-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chunky_png
|