business_flow 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/business_flow/dsl.rb +1 -1
- data/lib/business_flow/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: cf970d7ec3f080673ae0c247415951fa3b05ad77
|
4
|
+
data.tar.gz: 009806c9d3285178844939be38e8e06f4448e711
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97dd35f8b70406f49d3bdf278e836f8608551539e48a88bdae4cbdc28b65adbb543982d82a29c271084d4f7d2c795e772e2024dcc7288caa55ccfdd08cfd4bf0
|
7
|
+
data.tar.gz: 335084ed1f6f041ff7e6b11116010349649b02d0fc35b3ba24b0a5182191080e7b4b61473b132c4be1d312c5080073092e1c1aea5983383a85b6faf48d91fc43
|
data/Gemfile.lock
CHANGED
data/lib/business_flow/dsl.rb
CHANGED
@@ -199,7 +199,7 @@ module BusinessFlow
|
|
199
199
|
def errors?
|
200
200
|
# We're explicitly using the instance variable here so that if no
|
201
201
|
# errors have been created, we don't initialize the error object.
|
202
|
-
|
202
|
+
!!@errors && @errors.present?
|
203
203
|
end
|
204
204
|
|
205
205
|
def valid?(_context = nil)
|