gooddata_s3 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gooddata_s3/client.rb +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e6ff94ac06e500a51b422f6657a0da0b7b19b43
|
4
|
+
data.tar.gz: 972edca4de584baea74594b1aefbedb10cf0c8f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda4acd5e725463345e36b5f58d99d7d959b278c84e25877d3b749411fe120c45506b948ab66fe303b1f1da55109e9c7e15c73d36759190a21aeec3702851c7b
|
7
|
+
data.tar.gz: b104f28aae3985ab13709c6951c0a4e216221ee8e72470e3e8b4dcdbda443c4fc753622cfcc36549caea16c717d42dad0d13d0a364afe41933c46b3f77931dbd
|
data/lib/gooddata_s3/client.rb
CHANGED
@@ -140,13 +140,12 @@ class GoodDataS3::Client
|
|
140
140
|
file = config[:file] || 'gooddata_connector_config.json'
|
141
141
|
|
142
142
|
if self.exists? file
|
143
|
-
|
144
|
-
File.delete(file)
|
145
|
-
|
146
143
|
json = JSON.parse(self.download(file), :symbolize_names => true)
|
147
144
|
|
148
145
|
File.open(file,'w'){ |f| JSON.dump(json, f) }
|
149
146
|
|
147
|
+
self.download(file)
|
148
|
+
|
150
149
|
json
|
151
150
|
|
152
151
|
else
|