tl-api-client 0.1.10 → 0.1.11

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: d7844ca96d0781ae8762c3cb7bd90b155e2ea103
4
- data.tar.gz: f1f8b3ef74c9225fa47eaa0e90556ae7e6528fa1
3
+ metadata.gz: d03f11ecaca128b40b5cca122518f0b9156e683c
4
+ data.tar.gz: '0279bf2a97acfeaeca606a3b523e2d8b4436cf21'
5
5
  SHA512:
6
- metadata.gz: e8d9ff4de4144e61bbd71645bc48981b4393c5f9986f46bd2b67f5aed83277b5d2ed2c83edbe012f7acbd969daa8c2db9674112f228450c0fed8d5caccf43051
7
- data.tar.gz: 97d2179337196fb5117c8a31a7c40c9e662e59399064d0c888e12ce8156cc676f6fcf418ec841f1548e78bfb2d1d3856d578c755bbb4332d66debd02de9388f1
6
+ metadata.gz: e7a42d3c3bf078156328ec0ec7fe60675b834ccbcf33b5c8d56403a4d35d04dcdc732f720ae5842728b8bee7625bcc542aba35a541150052105177c1e57aa1b3
7
+ data.tar.gz: 871ac781c1f00fa2ede35cf04be27e66cfd72455b7b0b920ac64b7e13154d495e7aeacba23867eefc20fe6109c8f712fb1cd87733f61bea5196f46526b1471c8
@@ -125,20 +125,22 @@ module Testlink
125
125
  end
126
126
 
127
127
 
128
- def get_test_cases_for_test_plan tplanid, buildid = "", platformid = "", testcaseid = "", keywordid = "", keywords = "", executed = "", assignedto = "", executestatus = "", executiontype = "", getstepinfo = false, details = ""
129
-
130
- input = { "testplanid" => tplanid,
131
- "buildid" => buildid,
132
- "platformid" => platformid,
133
- "testcaseid" => testcaseid,
134
- "keywordid" => keywordid,
135
- "keywords" => keywords,
136
- "executed" => executed,
137
- "assignedto" => assignedto,
138
- "executestatus" => executestatus,
139
- "executiontype" => executiontype,
140
- "getstepinfo" => getstepinfo,
141
- "details" => details }
128
+ def get_test_cases_for_test_plan tplanid, buildid = nil, platformid = nil, testcaseid = nil, keywordid = nil, keywords = nil, executed = nil, assignedto = nil, executestatus = nil, executiontype = nil, getstepinfo = false, details = nil
129
+
130
+ input = Hash.new
131
+ input["testplanid"] = tplanid
132
+ input["buildid"] = buildid unless buildid.nil?
133
+ input["platformid"] = platformid unless platformid.nil?
134
+ input["testcaseid"] = testcaseid unless testcaseid.nil?
135
+ input["keywordid"] = keywordid unless keywordid.nil?
136
+ input["keywords"] = keywords unless keywords.nil?
137
+ input["executed"] = executed unless executed.nil?
138
+ input["assignedto"] = assignedto unless assignedto.nil?
139
+ input["executestatus"] = executestatus unless executedstatus.nil?
140
+ input["executiontype"] = executiontype unless executiontype.nil?
141
+ input["getstepinfo"] = getstepinfo unless getstepinfo.nil?
142
+ input["details"] = details unless details.nil?
143
+
142
144
  get_result "tl.getTestCasesForTestPlan", input
143
145
  end
144
146
 
@@ -1,6 +1,6 @@
1
1
  module Testlink
2
2
  module Client
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.11"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tl-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emma Chen