ish_models 0.0.33.269 → 0.0.33.270
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/office/action.rb +4 -1
- data/lib/office/email_action.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d127d11648710572a0ccfd485e9b83c6c9f86d751c5d017ddc0cc49318276a4
|
4
|
+
data.tar.gz: ef1bec175600344e71e4fc7965f35e3a5ffd053e0f046f20676a2983c79a8d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c19cf76354a8913e5427928a76d3b7bbc5bd288d13964d76753e3bf1836909d376666ea9c7ad66a1ee4b2bd3133e17bef4cc74dea1556b6711de495e56f0397
|
7
|
+
data.tar.gz: add6b003c34a83b1f0ef27248c7f0645506dd378f7d9daf3a2883fdb949a4aa6c6dd985f8ceaa4413090b91284d0160bfd3e7fa7c827807d2cab2e18ffb03b1e
|
data/lib/office/action.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
|
2
|
+
##
|
3
|
+
## 2023-09-13 _vp_ I don't know if it's even used.
|
4
|
+
##
|
2
5
|
class Office::Action
|
3
6
|
include Mongoid::Document
|
4
7
|
include Mongoid::Timestamps
|
5
8
|
store_in collection: 'office_actions'
|
6
9
|
|
7
|
-
field
|
10
|
+
field :slug, type: :string
|
8
11
|
validates :slug, uniqueness: true, allow_nil: true
|
9
12
|
|
10
13
|
field :descr, type: :string ## optional
|
data/lib/office/email_action.rb
CHANGED