ish_models 0.0.33.219 → 0.0.33.222
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish/email_campaign.rb +1 -1
- data/lib/ish/event.rb +20 -0
- data/lib/ish_models.rb +1 -0
- 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: b562a6867b92d564d8d4df8f8179a58e6892e56854a7de8d8958a80a7c1c1bed
|
4
|
+
data.tar.gz: 1cdd3a6792562f562809b22cf24b681da0c56cb8fa9fca1482bdf20c571b98d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63d0c5e0238065956ed91e7e16ee7579d38e9aa77e5dfe2615495b47bcee5a4295ff18f90345dcc264b7ef0d8cc343aeb08abf46fb37f0790e891e308f13b614
|
7
|
+
data.tar.gz: c5c9244893ebf49c9614b76e685e0dcd7c03da8ea62d4daa4103a3baf0cf8b2f3fe685db597da0be0a45ffba17258732aa85f72be744f22b6a60544c401f155b
|
data/lib/ish/email_campaign.rb
CHANGED
@@ -16,7 +16,7 @@ class Ish::EmailCampaign
|
|
16
16
|
PAGE_PARAM_NAME = 'email_contexts_page'
|
17
17
|
|
18
18
|
FROM_EMAILS = %w| hello@infiniteshelter.com no-reply@infiniteshelter.com
|
19
|
-
piousbox@gmail.com
|
19
|
+
piousbox@gmail.com hello@piousbox.com no-reply@piousbox.com victor@piousbox.com
|
20
20
|
admin@wasya.co hello@wasya.co no-reply@wasya.co victor@wasya.co |
|
21
21
|
field :from_email
|
22
22
|
validates_presence_of :from_email
|
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.222
|
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
|