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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4792b187d7993510df0ecdfda818d64c4b41c507
4
- data.tar.gz: 63719cb502d163b9c9f8c374d9eed425b91255f8
3
+ metadata.gz: 15467dcd687159ffd5492c93339cc7cf5033c295
4
+ data.tar.gz: af8720c71564d51e6dcb191e160534cad7b43002
5
5
  SHA512:
6
- metadata.gz: 4024cfa0b32436d6c1aa696e97ec1d32cb90b4264fd95cadd35e55d1940a708773b61efa858ccbd642d26683dd355e3e95dedcf32e757ea0f1237e7b9980621f
7
- data.tar.gz: d851245f17d399c5d30f007b9a54eeac800ad75a1a7d8a7d64095792cd349bd53868f32f0d713a9f767ffaf5eadee072f9400c348b22f2116af0f8e2d546f9c0
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
@@ -1,3 +1,3 @@
1
1
  module Tcms
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'bertwang'"