rtrail 0.0.3 → 0.0.4
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 +8 -8
- data/.travis.yml +2 -0
- data/README.md +7 -7
- data/lib/rtrail/suite.rb +2 -2
- data/rtrail.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWQwN2Y2ZTVhMzc4MGE4NTBmNTJlYmFhM2RkZGM3NjNhY2ZmMWRlMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmM1ZTJkMWMwZDE1NWEyMDU5ZWVhYWJkMTU0MDkwYTFiYWE4OTkxMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjZiY2Q1Y2MyYmU2MzNlMDlhZWNhMmRiODc2YTFlMmM0ZTA4N2Y4ZDM1M2Mz
|
10
|
+
YjIzNmM4OGUxNTZiZjllZDg2NTUwYWUzZWIwNTAzOTVlYWIyYjI5Yjg4YTNk
|
11
|
+
Yzg5YzVkNjUzYWVjMmRiYjMyZjQ3OWNmZDliMmM2ZmE1MzJlMTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDRjODgxNDEwMTcwYmViYWUwNzAyNzQ3NGNjMGFhNjNkZDFhYWIyOGQwNjYw
|
14
|
+
MzZmNzQ3ZmQyYjM1YzgxYWY0MzZmNDJkZjY4ZjFlMzYzZmQzZTg2NTlkNTc3
|
15
|
+
Y2JjZTExNTBkYmVhNDcyZTE1M2RjM2Y1NTE1MjE2NDVkOTBmOTk=
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -36,13 +36,13 @@ RTrail provides a hierarchy of Ruby objects, mirroring the data structure
|
|
36
36
|
within TestRail. Here's a rough look:
|
37
37
|
|
38
38
|
- Project(s)
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
39
|
+
- Plan(s)
|
40
|
+
- Suite(s)
|
41
|
+
- Case(s)
|
42
|
+
- Section(s)
|
43
|
+
- Run(s)
|
44
|
+
- Test(s)
|
45
|
+
- Result(s)
|
46
46
|
|
47
47
|
Within RTrail, each of these things are modeled by a class, with a common base
|
48
48
|
class known as `Entity`.
|
data/lib/rtrail/suite.rb
CHANGED
@@ -31,10 +31,10 @@ module RTrail
|
|
31
31
|
)
|
32
32
|
end
|
33
33
|
|
34
|
-
# Return the first Section with the given name, or raise RTrail::NotFound
|
34
|
+
# Return the first root-level Section with the given name, or raise RTrail::NotFound
|
35
35
|
def section_by_name(section_name)
|
36
36
|
section = sections.find do |s|
|
37
|
-
s.name == section_name
|
37
|
+
s.name == section_name and s.depth == 0
|
38
38
|
end
|
39
39
|
if section.nil?
|
40
40
|
raise RTrail::NotFound.new(
|
data/rtrail.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Pierce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|