rails-workflow 1.4.0 → 1.4.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: 411f127c2c5c4be97813b1f68fe9e64224463dac
4
- data.tar.gz: 2622936f556615b749b913f553b546b2782ae724
3
+ metadata.gz: 4d4af30f4a809105e7d5606ebba0c2435f99f30b
4
+ data.tar.gz: cc78d2997abf897759e0990b41eaddf898e0f8e6
5
5
  SHA512:
6
- metadata.gz: 5e95a1eecf1dbc84a320e14027a9b3a4de4bb20ef8e8ca68ad41957ee91e65ebb8992957aab4814dd3d87c32522d19b93ffa6733979d2073337e778fc2e88457
7
- data.tar.gz: b26bfe36a5d64de2b6d72735439fe334137fa0b73fb75e90a32b8305cd14b473a1d0378ac7ed9c3127e6e513e9182f18442d7d9ccda6a3ff2d6ac36a04758bbd
6
+ metadata.gz: 9935683104d9b6b3c9d33465a5945b2f7a21874163c799422a848fa97251a7d406e16f01887211434e14814dd4c60980a1705f1cf48453021de671771dcc5f37
7
+ data.tar.gz: f1a00168637a01d22c78389f384603578ce0b4948efc19a92aa69231aa35c997209e32980a118a30dc5b59c73775b1c0579bd34a5a43ae2ab0a8c591bd9a8f76
@@ -9,7 +9,7 @@ module Workflow
9
9
 
10
10
  module InstanceMethods
11
11
  def load_workflow_state
12
- read_attribute(self.class.workflow_column).to_sym
12
+ read_attribute(self.class.workflow_column)&.to_sym
13
13
  end
14
14
 
15
15
  # On transition the new workflow state is immediately saved in the
@@ -1,3 +1,3 @@
1
1
  module Workflow
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Gannon