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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc474af7a1da36409e911b277803aaf5582497bd
4
- data.tar.gz: 8bd501ede0567e8f0fb091722f1438af6bd52d5d
3
+ metadata.gz: facab9c140d951b781919c3f221f2a9704c89da3
4
+ data.tar.gz: a4ccc940f372e819d411c435eca18cf1063908aa
5
5
  SHA512:
6
- metadata.gz: ec518a204190fd24235cc87513b25e9e0942c59d0411750fe499c13fe52c9e796a0a1974372695a7b2fd44ff5459cfcd8d831c92eb3475c0b4ede79681d00c4d
7
- data.tar.gz: 5f1e36fee560ac59cfeabba4e1c954d9472cda7f34c1e73d6e48270747df2c83b8138279d5702e610f59a82c4259b7b6ba7a49e707fa4a330d45079bc2a0b6bb
6
+ metadata.gz: 2f1b7c62521ad11cc031eadce8759b7df7cc5837ccc11c25b2be73941c65b962f87fc8137e6cc35a8a422b0c5ce82bbbfeaa75e46d6c040bb055178694aeb08b
7
+ data.tar.gz: db9294f87d19db816ceb9de162bdee72111ad34c61c639764808531206f514cb5c6ce331c60df88f72e86e38fa27bd385ea566af5fbbc0d3d33da82072d468a4
@@ -1,3 +1,3 @@
1
1
  module ConnectQtest
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/lib/connectQtest.rb CHANGED
@@ -3,11 +3,13 @@ require "rest-client"
3
3
  require "oauth"
4
4
  require "json"
5
5
 
6
- class Qtest
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" => "bW9iaXF1aXR5fGFwYXRlbEBtb2JpcXVpdHlpbmMuY29tOjE0NzkyNzUyNjU4OTc6ZGQ3YTMyOWVhMTA0NzhjMzU2NzFmNmNiNjM4YTI4ZDI"
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.0
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-26 00:00:00.000000000 Z
11
+ date: 2016-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler