tcms 0.9.9 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tcms.rb +1 -2
  3. data/lib/tcms/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58431c09cdfdb841c4d83136c81e23e91587dc51
4
- data.tar.gz: fd447b50e74022c29ade287867b9825febfe1563
3
+ metadata.gz: abbb9e7c7f0fcaa21910155576116df018d124c3
4
+ data.tar.gz: 0b4b433415f9681bd472ce25ef517f5d945ea650
5
5
  SHA512:
6
- metadata.gz: 68bd4b04ea3d6f055e20cf536295dc84eafd7912c8c532eac03b4a29c168b72a392805293dff2786e406239cc2deae5f01f0a125a11923e513cb8c14704086e8
7
- data.tar.gz: c945b9d4720b58c1deb0d22b6a7a0a3a7e2767e8ff09313f095d596e71eeec3e23ee5202837df154b49b55ca111fe85942ffb1f0fb873fb0ce6c3abeaecbd7aa
6
+ metadata.gz: a5d0234a6b8e5f038244f6f813f82fa946a1a29a5ab60b57f8eea4847696563a2ac002f5dbda90256576523a4d66650d511f7b96b33c8cd3a441bdfc65d1d185
7
+ data.tar.gz: 3254e428b09c3b404235f568556a6731bd34915248be3b57056feb1dfe0056cded154cd3a4dbfb9df602b1b07f0b3a5d7ca35e7e66f6245445b958dd46b2201c
@@ -45,8 +45,7 @@ module Tcms
45
45
 
46
46
  #上传单个文件
47
47
  def self.upload_file file,config
48
- project = self.read_config_file()
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}"
@@ -1,3 +1,3 @@
1
1
  module Tcms
2
- VERSION = "0.9.9"
2
+ VERSION = "1.0.1"
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.9
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'bertwang'"