tidylib-validation_errors 0.1.0 → 0.1.1

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: eebce70f1819bdcf421f33001231d135bfe3a35a
4
- data.tar.gz: ca9a23ddef7b08781083bfb47f837218b940679c
3
+ metadata.gz: 722aecf2a8f94de2b3e701a673f9b09d69d6640d
4
+ data.tar.gz: 7b500a83f2f98924809639ed0b38882061c8df29
5
5
  SHA512:
6
- metadata.gz: 2673de928df9408cbc46e4c196d0272bb79cb0a9fdb1b2097516b45390d211dd6865dad94a2e18ba5592a062eccf622933a2d553eac745f2647fc5dd67b7e80e
7
- data.tar.gz: 263d789d35c96864b79ff76be5a9cacff85d175c6e1b9a13121f03c121c51898a9f17adf2a638b3eb6af42cdf4a8d01c5dda1308935d90adf80055f0072c571a
6
+ metadata.gz: 0751776d2362138150a060c87b89ec33b433716ccf909df87ea4d57bd6c9981165300c0e6dfe1bdb8209e477ac3e7a0aee7f085f46cd0d75e620a77f8f068e98
7
+ data.tar.gz: 345b20ac725b5592f113808870a4fa39614715e82a0ce649b4111e0de317c9b2f59638f9ba861ba2b220e80e9444f7862db04aa929236fbce3eddbf47d7f773c
@@ -4,7 +4,7 @@ module Tidylib
4
4
  class ValidationErrors
5
5
  include Enumerable
6
6
 
7
- VERSION = "0.1.0"
7
+ VERSION = "0.1.1"
8
8
 
9
9
  def initialize
10
10
  @errors = []
@@ -51,5 +51,9 @@ module Tidylib
51
51
  def clear
52
52
  @errors = []
53
53
  end
54
+
55
+ def count
56
+ @errors.length
57
+ end
54
58
  end
55
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tidylib-validation_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suman Gurung