rails-workflow 1.4.8.4 → 1.4.9

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: 41958ff514ac9776a7dcdc9a4ca9bdeff19c5207
4
- data.tar.gz: 7503bd6d628ea7a37576db536a7dc57342d208ea
3
+ metadata.gz: a0c0de01bab05a5f8341926e5974b8b3f9c32d1c
4
+ data.tar.gz: 29819cf2b683ba967f4afca0777995ec083f46b9
5
5
  SHA512:
6
- metadata.gz: 9037c414fa9d537ec00bd97d22b18330531bb5cd6af225bd62c45df00fe62249ffce6acdd39ca194d135e83dc949089f9882dceba4f78a73ef059f93779251a9
7
- data.tar.gz: ba52069e35a1637a99f4631492bd9dfe816f93a81aa42d751dfb9739c2295ce4e7183524b9c35a2afc051d422f19b11a2705878ed804c39560c0a8bef4abdba2
6
+ metadata.gz: 885c16267799c5adb3f13d798107316694e2ef6af456608aecf41ab69b6fd4807ff3a7d0be80e2391a1044af14ceb2ef7077617cec9cb63b2b9da63017ef5365
7
+ data.tar.gz: 7b72efe1c43c254edc085628fc91494be94ef0fff2ecfeca245723e226cf90fcd5d800a05831058ec04f83d9b15bf12cae8b1ccedafa16ae8e1db183125b39bb
@@ -26,6 +26,11 @@ module Workflow
26
26
  end
27
27
  end
28
28
 
29
+ # @return [String] Titleized name of this event.
30
+ def title
31
+ name.to_s.titleize
32
+ end
33
+
29
34
  def valid?
30
35
  transitions.any?
31
36
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Workflow
3
- VERSION = '1.4.8.4'
3
+ VERSION = '1.4.9'
4
4
  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.8.4
4
+ version: 1.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Gannon