testrail_helper 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed5ee7fbe8d32f8035ce897df9ac0d42e8833bd7
4
- data.tar.gz: 8c0c6efde06139bbb04e22966a18f7fb0c914a2d
3
+ metadata.gz: d6e3a4ffd25adb1d86303d1df5b9ed0fccd47d73
4
+ data.tar.gz: a664ec8f0a9d1e7690524b88c1eea529b89a886f
5
5
  SHA512:
6
- metadata.gz: 44d9811afe54dd21959ce1ece6f05dac77bd9f63605a584ce67c091b348db0c359ed48683f7c9efcc8d5996b3851ce19e60fdb6e3096ba80c4398e5465a74663
7
- data.tar.gz: 62fc2ea2d18daaa29631e62d7c7c4c78b6b170c7a2c21ff4188e656aab85a3bd417c180f6a1f7441c45872beb50cf525b1e14b8d463c74afaeda51f7b5e5b21f
6
+ metadata.gz: d3ec9983669a52789b75fc404e86e6372bd133d6f1e3a72c14fcea4ffd85d50710f4ce46332d18911837c389b9fb6e988675052be45325d23db25a2a48754c9f
7
+ data.tar.gz: ba2a390a59a35812b433d4182ffd78ef45e34bb1353e4537b6fe631b7e1e08a1c0bf8830c6be6b528778416880bed2f9ef5bba714528e0b830d84fc1495094f3
data/Gemfile CHANGED
@@ -2,4 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in testrail_helper.gemspec
4
4
  gemspec
5
- gem 'testrail_client'
@@ -1,16 +1,27 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- testrail_helper (0.0.8)
4
+ testrail_helper (0.0.9)
5
5
  json
6
- testrail_client
6
+ testrail
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- json (2.1.0)
12
- rake (10.5.0)
13
- testrail_client (0.0.1)
11
+ activesupport (3.2.22)
12
+ i18n (~> 0.6, >= 0.6.4)
13
+ multi_json (~> 1.0)
14
+ httparty (0.11.0)
15
+ multi_json (~> 1.0)
16
+ multi_xml (>= 0.5.2)
17
+ i18n (0.7.0)
18
+ json (1.8.3)
19
+ multi_json (1.11.2)
20
+ multi_xml (0.5.5)
21
+ rake (10.4.2)
22
+ testrail (0.0.3)
23
+ activesupport (~> 3.1)
24
+ httparty (~> 0.11.0)
14
25
 
15
26
  PLATFORMS
16
27
  ruby
@@ -18,8 +29,7 @@ PLATFORMS
18
29
  DEPENDENCIES
19
30
  bundler (~> 1.10)
20
31
  rake (~> 10.0)
21
- testrail_client
22
32
  testrail_helper!
23
33
 
24
34
  BUNDLED WITH
25
- 1.16.0.pre.3
35
+ 1.10.5
data/README.md CHANGED
@@ -59,6 +59,9 @@ client.get_user(4)
59
59
 
60
60
  # get user by email
61
61
  client.get_user_by_email("guybrush@SCUMM.com)
62
+
63
+ # get sections
64
+ client.get_sections(project_id, suite_id)
62
65
  ```
63
66
 
64
67
  ## Development
@@ -1,4 +1,4 @@
1
- require 'testrail_client'
1
+ require 'testrail'
2
2
  require 'json'
3
3
 
4
4
  require File.expand_path(File.dirname(__FILE__) + '/testrail_api')
@@ -140,5 +140,10 @@ module TestrailHelper
140
140
  uri = "get_results_for_run/#{run_id}"
141
141
  @client.send_get(uri)
142
142
  end
143
+
144
+ def get_sections(project_id, suite_id)
145
+ uri = "get_sections/#{project_id}&suite_id=#{suite_id}"
146
+ @client.send_get(uri)
147
+ end
143
148
  end
144
149
  end
@@ -1,3 +1,3 @@
1
1
  module TestrailHelper
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/test.rb CHANGED
@@ -22,4 +22,5 @@ update_test_case(12345,priority_id:2,type_id:1)
22
22
  # results
23
23
  get_test_plan("5000")
24
24
  get_test_run("5001")
25
- get_results_for_run("5001")
25
+ get_results_for_run("5001")
26
+ get_sections(34, 10685)
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency 'json'
22
- spec.add_dependency 'testrail_client'
22
+ spec.add_dependency 'testrail'
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.10"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testrail_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - kinezu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-02 00:00:00.000000000 Z
11
+ date: 2018-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: testrail_client
28
+ name: testrail
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -83,9 +83,6 @@ files:
83
83
  - lib/testrail_helper.rb
84
84
  - lib/testrail_helper/version.rb
85
85
  - test.rb
86
- - testrail_helper-0.0.5.gem
87
- - testrail_helper-0.0.6.gem
88
- - testrail_helper-0.0.7.gem
89
86
  - testrail_helper.gemspec
90
87
  homepage: https://github.com/kinezu/testrail_helper
91
88
  licenses:
Binary file
Binary file
Binary file