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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6060f72991cd4cbcca36ace4e06802b245a87f01
4
- data.tar.gz: 424a1a2cc58408b8af84157f5f2b8b9294dee7de
3
+ metadata.gz: 55ff0fd8235f398c2d5228907fcc22cd4ed67329
4
+ data.tar.gz: 97c555355873882b3b089c2371548c70d2a9530b
5
5
  SHA512:
6
- metadata.gz: 6a3a0630e5829e644645f206cafced7ac3d2291eebade326483b7862ba203417a1effbeae385af53e020bb09ad164b02fd40f964e0d8369fc9ba144e8c1b7a3a
7
- data.tar.gz: d2a60d61bd6b6ddffd447c3464626ba8bc0600b44d2777f21ac69a1b692fd039db8fc4c59ccb0b886439c89bd93ce6b2f56563760190152c55fb3e39695e4478
6
+ metadata.gz: ef567cd772e4660eedab61a8c23d7cf15ea4e6a86bf1966faee6cdbff5d180e5d6740371a212cb733198b9342e2305798b71f6008c88ea38567848dcd86be313
7
+ data.tar.gz: 69c992fbc2e8403e7aa86bc341e1b18fe743cbc3646efc6478ee73141c07ae1d50f829d8904d5ccbece9e472d6be594c17ea9fef2fc7ccf21b53e520c87b8db0
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Kapnismology
2
- VERSION = '1.8.1'.freeze
2
+ VERSION = '1.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapnismology
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordi Polo Carres