daily_affirmation 1.1.0 → 1.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 +4 -4
- data/lib/daily_affirmation/validator.rb +2 -0
- data/lib/daily_affirmation/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: 0752ed4e3c2e2c1e5ff7379dbaa289d42960f8e3
|
|
4
|
+
data.tar.gz: 9c97c1452e8ab2d0aba3fe55e576f389edf43092
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44da849e1c7259427534b5fe1a475faf8594224e55d4926f2e674de425f9e73e5fde33961162adafe17c046b9bc78fb25f22777ef3b17e3e645513df080d523e
|
|
7
|
+
data.tar.gz: 159ae1f2ebc27a8777a6cf374900661debbcb0cd6739bda171556440a4d942f6a5aec1f03b948a4e31c68b1487e71f1d91cde872f892ee68025041d61a088213
|
|
@@ -11,6 +11,8 @@ module DailyAffirmation
|
|
|
11
11
|
# run validation.
|
|
12
12
|
# @option opts [true, false] :allow_nil determines if we skip validation of
|
|
13
13
|
# `nil` valued attributes.
|
|
14
|
+
# @option opts [true, false] :allow_blank determines if we skip validation
|
|
15
|
+
# of `""` valued attributes.
|
|
14
16
|
#
|
|
15
17
|
# @return [self]
|
|
16
18
|
def initialize(object, attribute, opts = {})
|