tcms 1.0.2 → 1.0.3

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 -1
  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: 33507efe5bf3845328fe98ef599c888046a87f43
4
- data.tar.gz: 4b00948a7777470d4fd4fbffb3d7aec548089e95
3
+ metadata.gz: 1c00a11c8109f0275bfe5cc88ec1e7e3a972bc07
4
+ data.tar.gz: 0323a90c940555ba3d1e222dbabafacda13a679e
5
5
  SHA512:
6
- metadata.gz: bcfe19c903929367c173267048071e1508186960f95c6873e7a2ee6024a5360e666a700dea2c0bc8e5c2e7f0745f7ca39707f5e49e922696a8571c95939d8002
7
- data.tar.gz: 0146369a1762f360335777ae2b31184a80036255ad593fe2d3d04016ffab68ec2ee934247fa993dfc13ef10e83b8bc1cc1c9d0ad6ac6e4ad48f4d6544b2fe8ff
6
+ metadata.gz: b4c3cc00db3e5878885b6cbbc7c729bcb9da6c834f7ffab2f8d3192e00993ff10b845474d62a7017e8c37be4723f78b7f5401cf7fd2b20f005d7d9ca20a1e9b0
7
+ data.tar.gz: 58d6a22931a529dc389ff758603b279cfd8b42bf799b801260fe72fe612b1c5a35fbea7d50300d4385e454448ff8494553160dc0b5f54677319f3ae3b6270d6e
data/lib/tcms.rb CHANGED
@@ -52,7 +52,7 @@ module Tcms
52
52
  begin
53
53
  file_content = File.read(file)
54
54
  if config["remote_encoding"]
55
- file_content = file_content.encode(config["remote_encoding"],"UTF-8")
55
+ file_content = file_content.encode!(config["remote_encoding"],"UTF-8")
56
56
  end
57
57
 
58
58
  response = RestClient.post(upload_path,{:NEW_FILE=>file_content,:multipart=>true}){|response,request,result|
data/lib/tcms/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tcms
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "'bertwang'"