mumuki-domain 9.14.0 → 9.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/concerns/organization/status/base.rb +4 -0
- data/app/models/concerns/organization/status/disabled.rb +2 -3
- data/app/models/concerns/organization/status/enabled.rb +1 -2
- data/app/models/concerns/organization/status/in_preparation.rb +2 -3
- data/app/models/concerns/with_organization_status.rb +2 -4
- data/lib/mumuki/domain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b312037c43def7204d8591702f2002340539b6f66df217e4bf8b35e5a0392785
|
4
|
+
data.tar.gz: f417d2c02346fcd6e2460c246d38f0a9c4eb1ac8a5162bf72bbe00f983326bec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5786a0b215fee7332099994a47e13b24d2f8a66647ede57aaa67bdcdd2e77433e471d8dc5f7ef48369bea06fb2636f900ed365d24b3b1549f0cef3c48d316f25
|
7
|
+
data.tar.gz: 282e425ad11463f7c0945b323327f17addc7997e60f191a034b07317907e0156918fcd667786f4905b89682abe9bb2090148fab392aebd9f99c6c0ab1320be2b
|
@@ -20,9 +20,8 @@ class Organization::Status::Disabled < Organization::Status::Base
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
24
|
-
raise Mumuki::Domain::DisabledOrganizationError
|
23
|
+
def validate_enabled!
|
24
|
+
raise Mumuki::Domain::DisabledOrganizationError
|
25
25
|
end
|
26
|
-
|
27
26
|
end
|
28
27
|
|
@@ -20,8 +20,7 @@ class Organization::Status::InPreparation < Organization::Status::Base
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
-
def
|
24
|
-
raise Mumuki::Domain::UnpreparedOrganizationError
|
23
|
+
def validate_enabled!
|
24
|
+
raise Mumuki::Domain::UnpreparedOrganizationError
|
25
25
|
end
|
26
|
-
|
27
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.14.
|
4
|
+
version: 9.14.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|