ish_models 0.0.33.242 → 0.0.33.243

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: 947ab34b57772b91d9fb1b1334c035debd3a0935f5fc1d06fccd102d49742ff0
4
- data.tar.gz: c1c390a81049197dd06af734b0018f8697c21f9fec0d5b5c8f54d286ec2bdb38
3
+ metadata.gz: 3cb9bfd0b2e4267bdafbdc6e0e07d9064dfcb7c5bcc4d767ccf14e12ee0f81fb
4
+ data.tar.gz: b17871e045a9983e191457ad8ec843c03ce4cb515b0846ba1c5b23457a0ade34
5
5
  SHA512:
6
- metadata.gz: b5824c65663990c2d9ad914fdec672f952d258a85ef77f682fe086ec49204f65c3d8b5e7ba5a99aa7ca20f613d2cd8c902fae49c0aec2fc50433d1f1c4522259
7
- data.tar.gz: c92e76f7d0c5ee56898354e1a648581a0979cf3690ebf8a9672e61250d433e3d51cea1a50bd5a4d52ebcca7720ac20aaa1d0a65614be888af7edae53c99af111
6
+ metadata.gz: f1c4d9279bc85b0c051a705e18bc0404a03880e04a69d0e73056e306f6aac13f789b8afebdb73dab6e3b5b8c6fd9fde0bf10dc4f33a5f9520784109500221ed6
7
+ data.tar.gz: 45207a395aab807bdaf12b33b277e4d342267fdd5eb7ae00672e231cc93153671fc42e68fb284300068976d3f0b557cec4dd8502918a95dec76bf540c849e198
data/lib/address.rb CHANGED
@@ -4,7 +4,9 @@ class Address
4
4
  include Mongoid::Timestamps
5
5
 
6
6
  belongs_to :profile, :class_name => '::Ish::UserProfile'
7
- validates :profile, :presence => true
7
+ # validates :profile, :presence => true
8
+
9
+ field :lead_id, type: :integer
8
10
 
9
11
  field :name
10
12
  field :address_1
data/lib/gallery.rb CHANGED
@@ -9,6 +9,8 @@ class Gallery
9
9
 
10
10
  field :name
11
11
  validates :name, :uniqueness => true
12
+ index({ :name => -1 }, { :unique => true })
13
+
12
14
  field :subhead
13
15
  field :descr, :as => :description
14
16
 
@@ -17,6 +17,7 @@ class ::Ish::EmailTemplate
17
17
  marketing_wordpres_1 marketing_wordpress_2
18
18
  piousbox_roundborders
19
19
  plain
20
+ tracking_footer
20
21
  wasyaco_roundborders |
21
22
 
22
23
  field :subject
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.242
4
+ version: 0.0.33.243
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox