effective_resources 2.18.2 → 2.18.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea57d3f23e61f43abd4e0ff00964090ad1bfb395c5373d8b00fe6c0eddf6cd90
|
4
|
+
data.tar.gz: 18ff0a66af3512a12ab8feb4742aea894b5be29a84347990c1d1fb8d9a31324f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33196e45ae8c5505267223ab4d16cc90204c70360df828d4edbc26dca946bb1ff3b49e2ec4bc234118f7bed95aeecf34ef13ea4f2296e80f134b07012a51c583
|
7
|
+
data.tar.gz: cbbc3a05bbb0e78cd0c1039a80b8c55855918945c8e3d2e2fb9d697ab62e3342d45b140d33aa4f672ef8aa1445748c56a8c70d618c073853814f971ddd5428c1
|
@@ -35,7 +35,7 @@ module ActsAsStatused
|
|
35
35
|
end
|
36
36
|
|
37
37
|
if EffectiveResources.serialize_with_coder?
|
38
|
-
serialize :status_steps, type: Hash, coder: YAML
|
38
|
+
serialize :status_steps, type: Hash, coder: YAML
|
39
39
|
else
|
40
40
|
serialize :status_steps, Hash
|
41
41
|
end
|
@@ -165,6 +165,10 @@ module ActsAsStatused
|
|
165
165
|
self.class.const_get(:STATUSES)
|
166
166
|
end
|
167
167
|
|
168
|
+
def status_steps
|
169
|
+
Hash(self[:status_steps])
|
170
|
+
end
|
171
|
+
|
168
172
|
def all_statuses
|
169
173
|
status_keys
|
170
174
|
end
|
@@ -56,7 +56,7 @@ module ActsAsWizard
|
|
56
56
|
end
|
57
57
|
|
58
58
|
if EffectiveResources.serialize_with_coder?
|
59
|
-
serialize :wizard_steps, type: Hash, coder: YAML
|
59
|
+
serialize :wizard_steps, type: Hash, coder: YAML
|
60
60
|
else
|
61
61
|
serialize :wizard_steps, Hash
|
62
62
|
end
|
@@ -74,6 +74,10 @@ module ActsAsWizard
|
|
74
74
|
self.class.const_get(:WIZARD_STEPS).keys
|
75
75
|
end
|
76
76
|
|
77
|
+
def wizard_steps
|
78
|
+
Hash(self[:wizard_steps])
|
79
|
+
end
|
80
|
+
|
77
81
|
def all_steps
|
78
82
|
wizard_step_keys
|
79
83
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_resources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.18.
|
4
|
+
version: 2.18.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|