gooddata 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/gooddata/connection.rb +2 -2
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.3
1
+ 0.5.4
@@ -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 = DEFAULT_URL.sub(/\./, '-di.')
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 = DEFAULT_URL.sub(/\./, '-di.')
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: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
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-02-26 00:00:00 Z
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