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.
- checksums.yaml +4 -4
- data/lib/rbbt/resource.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87b240245aaa39720c9348169c476d3279b01e0f
|
4
|
+
data.tar.gz: 77d89d8d0070ac010513780925f8d91a5b0abaab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|