ish_models 0.0.33.217 → 0.0.33.221
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish/event.rb +20 -0
- data/lib/ish_models.rb +1 -0
- data/lib/office/email_message_stub.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3574a0bbce23b4a7210d9bd8ecf1a6f735cb4f0241ececaa7c3b712187af08e1
|
4
|
+
data.tar.gz: b0289fbbfde3fae0e2781f7b08ba1210d3eca250d8b17e489bd90e07c0cfcc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fab8fb7c65be2da68952501149d7031dfb9e1097201be4976c4433a8d3759d2db64a7276368409cd6bc5c4f039f2a54566c0f243b3d060b8d7cab08ad9cede08
|
7
|
+
data.tar.gz: c4ce8b9892f36beaf33401d8b50548bba1061baa392c5f63aa1d739c4a99fc42aa901b081ac91568cd8837224b514ff2c882bfda7f85adadb1cea6602f43d095
|
data/lib/ish/event.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
class Ish::Event
|
3
|
+
include Mongoid::Document
|
4
|
+
include Mongoid::Timestamps
|
5
|
+
|
6
|
+
field :start_at, type: ActiveSupport::TimeWithZone
|
7
|
+
index({ start_at: 1 })
|
8
|
+
|
9
|
+
field :end_at, type: ActiveSupport::TimeWithZone
|
10
|
+
|
11
|
+
field :name
|
12
|
+
index({ name: 1 })
|
13
|
+
|
14
|
+
field :descr
|
15
|
+
|
16
|
+
field :is_public, type: :boolean, default: false
|
17
|
+
index({ is_public: 1 })
|
18
|
+
|
19
|
+
end
|
20
|
+
|
data/lib/ish_models.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.33.
|
4
|
+
version: 0.0.33.221
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
@@ -143,6 +143,7 @@ files:
|
|
143
143
|
- lib/ish/email_context.rb
|
144
144
|
- lib/ish/email_template.rb
|
145
145
|
- lib/ish/email_unsubscribe.rb
|
146
|
+
- lib/ish/event.rb
|
146
147
|
- lib/ish/gallery_name.rb
|
147
148
|
- lib/ish/image_asset.rb
|
148
149
|
- lib/ish/invoice.rb
|