gooddata 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/gooddata/connection.rb +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.4
|
data/lib/gooddata/connection.rb
CHANGED
@@ -142,7 +142,7 @@ module GoodData
|
|
142
142
|
def upload(file, dir = nil)
|
143
143
|
ensure_connection
|
144
144
|
# We should have followed a link. If it was correct.
|
145
|
-
stage_url =
|
145
|
+
stage_url = @options[:webdav_server] || @url.sub(/\./, '-di.')
|
146
146
|
|
147
147
|
# Make a directory, if needed
|
148
148
|
if dir then
|
@@ -194,7 +194,7 @@ module GoodData
|
|
194
194
|
end
|
195
195
|
|
196
196
|
def download(what, where)
|
197
|
-
stage_url =
|
197
|
+
stage_url = @options[:webdav_server] || @url.sub(/\./, '-di.')
|
198
198
|
url = stage_url + STAGE_PATH + what
|
199
199
|
File.open(where, 'w') do |f|
|
200
200
|
resp = RestClient::Request.execute({
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gooddata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 4
|
10
|
+
version: 0.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pavel Kolesnikov
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-
|
19
|
+
date: 2012-03-16 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|