rbbt-util 5.17.51 → 5.17.52

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/rbbt/resource.rb +1 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f513c88b77cfb6dc58f8903dc13cfdce6dc8dd42
4
- data.tar.gz: 1295adfb7b40624a2dfc363782d73cbb38c358ce
3
+ metadata.gz: 87b240245aaa39720c9348169c476d3279b01e0f
4
+ data.tar.gz: 77d89d8d0070ac010513780925f8d91a5b0abaab
5
5
  SHA512:
6
- metadata.gz: a5be9b5d5ddd7bfa812b19a7c127d703114a129513841b35b7f0f47ad25745c987d526feaa5017efe344614fa81f62ea7080182fcb09cde5b36b7e58fad78ee6
7
- data.tar.gz: f8578692e41488e9acf678a7d93cf5b9eca80ba4ab96817ebdc2de891ea8d3a95a7f76938d33b75b498c9bd9c39cf024b209dfd044e1f36a91186da9689af7d4
6
+ metadata.gz: 8a4b612c7a7e4930f2e76c6771cc2872191b036035c8b172098aceb0d224c382ec01f3c59196efcaf47995aca35f7e645e5bb1975497d9801d107f512331c8d5
7
+ data.tar.gz: cf2b158c03ac3c3426e723e77b0cea503393c8c0fc08e2e75c5027cc54a4d08a764fca2edeeff1ad0d6c73db375a2cf4fe38b1abd0e0e29ec65ad778b0e330a2
data/lib/rbbt/resource.rb CHANGED
@@ -68,6 +68,7 @@ module Resource
68
68
  attr_accessor :server_missing_resource_cache
69
69
  def get_from_server(path, final_path, remote_server = nil)
70
70
  remote_server ||= self.remote_server
71
+ remote_server = "http://" + remote_server unless remote_server =~ /^[a-z]+:\/\//
71
72
  url = File.join(remote_server, '/resource/', self.to_s, 'get_file')
72
73
  url << "?" << Misc.hash2GET_params(:file => path, :create => false)
73
74
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.17.51
4
+ version: 5.17.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake