kapnismology 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kapnismology/result.rb +1 -0
- data/lib/kapnismology/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55ff0fd8235f398c2d5228907fcc22cd4ed67329
|
4
|
+
data.tar.gz: 97c555355873882b3b089c2371548c70d2a9530b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef567cd772e4660eedab61a8c23d7cf15ea4e6a86bf1966faee6cdbff5d180e5d6740371a212cb733198b9342e2305798b71f6008c88ea38567848dcd86be313
|
7
|
+
data.tar.gz: 69c992fbc2e8403e7aa86bc341e1b18fe743cbc3646efc6478ee73141c07ae1d50f829d8904d5ccbece9e472d6be594c17ea9fef2fc7ccf21b53e520c87b8db0
|
data/lib/kapnismology/result.rb
CHANGED
@@ -3,6 +3,7 @@ module Kapnismology
|
|
3
3
|
# It is useful to be able to test if the object is of a correct result type.
|
4
4
|
# It also have methods to add information and serialize it.
|
5
5
|
class BaseResult
|
6
|
+
attr_reader :data, :message, :extra_messages # Deprecated but many users test on these properties
|
6
7
|
def to_hash
|
7
8
|
{ passed: passed?, data: @data, message: @message, extra_messages: @extra_messages }
|
8
9
|
end
|
data/lib/kapnismology/version.rb
CHANGED