tcms 1.1.4 → 1.1.4.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 +2 -1
- data/lib/tcms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1a44f104369c5c113d48e0ff1c57efb29d66507
|
4
|
+
data.tar.gz: 60c92d7d25fa15a83f79f3eea68fba9c752a4d34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d60ded9275f6a4169ff9d9c09026b24de2b5b3313db9b85d0d03dbf0fac427fcd05f441516f4fc717788b71581a49cdc86b5474354d0dbde554ada1b6dc334a
|
7
|
+
data.tar.gz: 7cb72c14d1abeaf3c7551d9784d320a7dcda294e381279c669dd6c95bf0ea8152617894f2429324c98198c8e659ddac32e541a3c7b21ffdb7b219e8b6cbfd3a4
|
data/lib/tcms.rb
CHANGED
@@ -169,7 +169,8 @@ module Tcms
|
|
169
169
|
@template_config.each do |key,value|
|
170
170
|
if value.respond_to? :has_key? and value.has_key? "_data_from_url"
|
171
171
|
puts "获取献上接口数据#{value}.."
|
172
|
-
|
172
|
+
clnt = HTTPClient.new
|
173
|
+
response = clnt.get_content value["_data_from_url"]
|
173
174
|
@template_config[key] = JSON.parse(response)
|
174
175
|
|
175
176
|
if @template_config[key].is_a?(Hash)
|
data/lib/tcms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tcms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.4
|
4
|
+
version: 1.1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'bertwang'"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|