tcms 0.9.9 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tcms.rb +1 -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: abbb9e7c7f0fcaa21910155576116df018d124c3
|
4
|
+
data.tar.gz: 0b4b433415f9681bd472ce25ef517f5d945ea650
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d0234a6b8e5f038244f6f813f82fa946a1a29a5ab60b57f8eea4847696563a2ac002f5dbda90256576523a4d66650d511f7b96b33c8cd3a441bdfc65d1d185
|
7
|
+
data.tar.gz: 3254e428b09c3b404235f568556a6731bd34915248be3b57056feb1dfe0056cded154cd3a4dbfb9df602b1b07f0b3a5d7ca35e7e66f6245445b958dd46b2201c
|
data/lib/tcms.rb
CHANGED
@@ -45,8 +45,7 @@ module Tcms
|
|
45
45
|
|
46
46
|
#上传单个文件
|
47
47
|
def self.upload_file file,config
|
48
|
-
|
49
|
-
remote_path = config["remotepath"]+'/'+file.sub(project["assets"]["folder"]+'/','')
|
48
|
+
remote_path = config["remotepath"]+'/'+file.sub(config["folder"]+'/','')
|
50
49
|
puts remote_path+"::"
|
51
50
|
puts "正在上传#{file}"
|
52
51
|
upload_path = "#{UPLOAD_CGI}?site=#{config["site"]}&channel=#{config["channel"]}&remotepath=#{remote_path}"
|
data/lib/tcms/version.rb
CHANGED