kanoah_ruby 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -1
  3. data/lib/services/test_run.rb +4 -0
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7938f3bcc54c23d4f2e4b96508319e64038773d0
4
- data.tar.gz: 04d70849e12414673a1abc10dfe1189767187c20
3
+ metadata.gz: d912fd11468ed3490d8d3cfdf2a9b99accb344c3
4
+ data.tar.gz: b831f4ca599c82980d34a1db91cd53b428151d4d
5
5
  SHA512:
6
- metadata.gz: 49849bf9958262b0292a33089bbaa2bfa728af50a86f2bd94c96a22fbe77cd5077c0599723be0073944cc72c6b1d70ad13fac97f28a68e59ca9d9bd6050935fb
7
- data.tar.gz: 18e1fe533b2418126adafea5e0f860dc0006bdcd0183be896e5a2371c56586eb79c8028b7136e4ac46d0b7a3521b6fc157d16b28b913d08506240a933e842a26
6
+ metadata.gz: 881c39fe8f58aff11396b3b18dce4e01ca1fcda5d8a63f1b356de84baf4bba2ea494052832fb510bf5c1dcf17d9d94c5cda5be63875e96c2e6ddb35d4d7dbaa0
7
+ data.tar.gz: 16faca56f87bf02134a380a4ab25b68540d7c44cb10d3f84a210b0270f48973b28139c80cf68b692dcc0e0fd87f80d3eb514dbe25cd92404edb46bfa49f658e5
data/README.md CHANGED
@@ -16,8 +16,12 @@ And then execute:
16
16
 
17
17
  Or install it yourself as:
18
18
 
19
- $ gem install kanoah_ruby_
19
+ $ gem install kanoah_ruby
20
20
 
21
+ To use this library:
22
+ ```ruby
23
+ require 'kanoah_ruby'
24
+ ```
21
25
  ## Usage
22
26
 
23
27
  TODO: Write usage instructions here
@@ -24,6 +24,10 @@ module Kanoah
24
24
  self
25
25
  end
26
26
 
27
+ def get_test_runs(project_key)
28
+ @response = self.class.get("/rest/kanoahtests/1.0/testrun/search?query=projectKey = '#{project_key}'", headers: @header)
29
+ self
30
+ end
27
31
  end
28
32
  end
29
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanoah_ruby
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
  - Automation Wizards
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -62,8 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  version: '0'
63
63
  requirements: []
64
64
  rubyforge_project:
65
- rubygems_version: 2.6.7
65
+ rubygems_version: 2.6.10
66
66
  signing_key:
67
67
  specification_version: 4
68
- summary: Ruby wrapper for the Kanoah API
68
+ summary: Ruby Wrapper for the Kanoah API
69
69
  test_files: []