tcms 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tcms/helper.rb +2 -2
- data/lib/tcms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15467dcd687159ffd5492c93339cc7cf5033c295
|
4
|
+
data.tar.gz: af8720c71564d51e6dcb191e160534cad7b43002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e44c7e2f2ea1115c9f558ab49c28ab426d6d2fb3e13b3eee0180369cf9dc53bd2a4cb8fedcf2e9fb04c33500d55bd82834aad6f4492213db034b80e61ade14c0
|
7
|
+
data.tar.gz: 40fd5e9ab7f8f8c688a5c1415c97f943a2556d080cffda7a67850bd98ca3d1c74720db534f40e6e480944199b5dfcb1893b153b7ff5acb195f3ec0939f14a8c9
|
data/lib/tcms/helper.rb
CHANGED
@@ -15,11 +15,11 @@ module Tcms
|
|
15
15
|
file_output = file_content.gsub(/\/\/=include\s([^\s]+)/){|include_str|
|
16
16
|
matches = /\/\/=include\s([^\s]+)/.match(include_str)
|
17
17
|
file_url = file_path+"/#{matches[1]}.js"
|
18
|
-
script_output+= '<script type="text/javascript" charset="utf-8" src="'+file_url+'"></script>';
|
18
|
+
script_output+= '<script type="text/javascript" charset="utf-8" src="/'+file_url+'"></script>';
|
19
19
|
script_output+="\n"
|
20
20
|
}
|
21
21
|
|
22
|
-
script_output += '<script type="text/javascript" charset="utf-8" src="'+file_path+"/"+name+'.js"></script>'
|
22
|
+
script_output += '<script type="text/javascript" charset="utf-8" src="/'+file_path+"/"+name+'.js"></script>'
|
23
23
|
return script_output
|
24
24
|
end
|
25
25
|
|
data/lib/tcms/version.rb
CHANGED