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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gooddata_s3/client.rb +2 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe09d7f2dd088273e558da512d285874d8a9accd
4
- data.tar.gz: b6da9e073aa45a8f4ec8c6db43e8add3e087076d
3
+ metadata.gz: 3e6ff94ac06e500a51b422f6657a0da0b7b19b43
4
+ data.tar.gz: 972edca4de584baea74594b1aefbedb10cf0c8f0
5
5
  SHA512:
6
- metadata.gz: 8cc780e41b6edac1a295d4b046927174924691621035b3236a448894ece9121d6304f1c29f5d0398f136c6e299124fc7e42c9aeb8e79f56233553b88ae3f8823
7
- data.tar.gz: 0d0b90f4e929595edc6e5b0654e70c84954830f174669f944fb906e2014364396b1d92f74aeca5a26106bab7cf89fe6e09951806f6adfc08849c62cc710c64e8
6
+ metadata.gz: eda4acd5e725463345e36b5f58d99d7d959b278c84e25877d3b749411fe120c45506b948ab66fe303b1f1da55109e9c7e15c73d36759190a21aeec3702851c7b
7
+ data.tar.gz: b104f28aae3985ab13709c6951c0a4e216221ee8e72470e3e8b4dcdbda443c4fc753622cfcc36549caea16c717d42dad0d13d0a364afe41933c46b3f77931dbd
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gooddata_s3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick McConlogue