uffizzi_core 2.1.21 → 2.1.22
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: 8e656eb503e61d1df06ee0fa3e494ebe2e0710bf332813c7a5d48b0915e297da
|
4
|
+
data.tar.gz: dd6bc21422c286a60b7ee6f5b42ee476583b9e0240ef5d7c49be8f1fa7150d52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be971d5693d19dc437775321a5897e00abed51e1c3f88878c9370afcbf0accbe90a989002ab75ad18b9eed96cbb4a5c98da80daef57e9042f1c3ac153fb60e24
|
7
|
+
data.tar.gz: 8b771df5c0456e872d3cb89e9f947962b91ab216493193cf95eaf8e711f1d86f923ad1231b4d59ea15b464c47788192c7db44c97dc97d1e467d10a131626bfb4
|
@@ -22,9 +22,14 @@ module UffizziCore::Concerns::Models::Membership
|
|
22
22
|
aasm(:state) do
|
23
23
|
state :active, initial: true
|
24
24
|
state :blocked
|
25
|
+
state :inactive
|
25
26
|
|
26
27
|
event :activate do
|
27
|
-
transitions from: [:blocked], to: :active
|
28
|
+
transitions from: [:blocked, :inactive], to: :active
|
29
|
+
end
|
30
|
+
|
31
|
+
event :deactivate do
|
32
|
+
transitions from: [:active], to: :inactive
|
28
33
|
end
|
29
34
|
|
30
35
|
event :block do
|
data/lib/uffizzi_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uffizzi_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Thurman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-05-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|