connectQtest 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/connectQtest/version.rb +1 -1
- data/lib/connectQtest.rb +5 -3
- 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: facab9c140d951b781919c3f221f2a9704c89da3
|
4
|
+
data.tar.gz: a4ccc940f372e819d411c435eca18cf1063908aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1b7c62521ad11cc031eadce8759b7df7cc5837ccc11c25b2be73941c65b962f87fc8137e6cc35a8a422b0c5ce82bbbfeaa75e46d6c040bb055178694aeb08b
|
7
|
+
data.tar.gz: db9294f87d19db816ceb9de162bdee72111ad34c61c639764808531206f514cb5c6ce331c60df88f72e86e38fa27bd385ea566af5fbbc0d3d33da82072d468a4
|
data/lib/connectQtest/version.rb
CHANGED
data/lib/connectQtest.rb
CHANGED
@@ -3,11 +3,13 @@ require "rest-client"
|
|
3
3
|
require "oauth"
|
4
4
|
require "json"
|
5
5
|
|
6
|
-
|
6
|
+
module Qtest
|
7
7
|
# Your code goes here...
|
8
8
|
$projectid = 0 #your project Id
|
9
|
-
$qtesturl
|
10
9
|
$id = 0
|
10
|
+
$qtesturl #your qtest url
|
11
|
+
$authkey #your Qtest authorization
|
12
|
+
|
11
13
|
def QtestPostTestResult (name,runid,failMessage)
|
12
14
|
|
13
15
|
startdate = DateTime.now
|
@@ -34,7 +36,7 @@ class Qtest
|
|
34
36
|
"Content-Type"=> "application/json",
|
35
37
|
"Cache-Control" => "no-cache",
|
36
38
|
"verify_ssl" => "OpenSSL::SSL::VERIFY_NONE",
|
37
|
-
"Authorization" => "
|
39
|
+
"Authorization" => "#$authkey"
|
38
40
|
}
|
39
41
|
)
|
40
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: connectQtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ankita021190
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|