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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de67f6febd81cafad9dc618831c25f13fc47bf47
4
- data.tar.gz: c3f745982ea849da535575836f3ea9ac31ecb54e
3
+ metadata.gz: cf970d7ec3f080673ae0c247415951fa3b05ad77
4
+ data.tar.gz: 009806c9d3285178844939be38e8e06f4448e711
5
5
  SHA512:
6
- metadata.gz: 52a1483078f35828d7ddd598e81e9db4b7ed9db9b0738cb3d89b5f2aacc40e4527d97e3222bbc9d6de0594aa6f8bf3fb46078cd4b8499970c248ec842cdb6e62
7
- data.tar.gz: 568e11be57404e0a91aae804f3215915e88de9b97480b8e11c41d772a239addd9a4c0ba220e377b2b9cfab7ca1c643783c6ada6d7b37ed38b07606ebd0daf009
6
+ metadata.gz: 97dd35f8b70406f49d3bdf278e836f8608551539e48a88bdae4cbdc28b65adbb543982d82a29c271084d4f7d2c795e772e2024dcc7288caa55ccfdd08cfd4bf0
7
+ data.tar.gz: 335084ed1f6f041ff7e6b11116010349649b02d0fc35b3ba24b0a5182191080e7b4b61473b132c4be1d312c5080073092e1c1aea5983383a85b6faf48d91fc43
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- business_flow (0.17.1)
4
+ business_flow (0.17.2)
5
5
  activemodel (>= 3.0)
6
6
  activesupport (>= 3.0)
7
7
 
@@ -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
- @errors && @errors.present?
202
+ !!@errors && @errors.present?
203
203
  end
204
204
 
205
205
  def valid?(_context = nil)
@@ -1,3 +1,3 @@
1
1
  module BusinessFlow
2
- VERSION = '0.17.1'.freeze
2
+ VERSION = '0.17.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: business_flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.1
4
+ version: 0.17.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Scarborough