tcms 1.0.2 → 1.0.3
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 -1
- 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: 1c00a11c8109f0275bfe5cc88ec1e7e3a972bc07
|
4
|
+
data.tar.gz: 0323a90c940555ba3d1e222dbabafacda13a679e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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