ish_models 0.0.33.62 → 0.0.33.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/lead.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d4dc0b4818163cc99fb0267851057d0643118ef
4
- data.tar.gz: c1ef623fa896a0d37b4fcdd8d37ce978015ce00c
3
+ metadata.gz: 142e5269406378eb2b1ed8797f301b0e5beb6f06
4
+ data.tar.gz: 45478a08fccf100b9ed18a95ad44ca36a57d1b54
5
5
  SHA512:
6
- metadata.gz: a20d0d518c6c3ba3528db381acd8e3aefcf3426fc231a7021fb99531cf10412720a772aa0278be0c6f71e192283915556dc2bc205a26a9b25e364ef72cddcc3b
7
- data.tar.gz: a723741c9441d74edbea98b9a74698f486502d3ceccc0357b6b62599c1941493d8ded8c6a4d1496b21f91efb51bcac01cfd6df5b88206b83065e8a5dde18100d
6
+ metadata.gz: eb90db55eee8a74df67ed66c300c66fe6492909004cc6cc13172037c7d78c3ad7ef4e48e369899d4a3b86a3cbb30ef0f4373b74228c739e618e599cf1a2f0809
7
+ data.tar.gz: e26acacb033c368c0ad594e215cef8a72b786da47e91da1bf499e53f6436adca64bb1e340dd1852911409bfb8d25762307306c83f9ded18bd5e51e3e8105a936
data/lib/ish/lead.rb CHANGED
@@ -19,8 +19,9 @@ class Ish::Lead
19
19
  field :company_url
20
20
  field :yelp_url
21
21
 
22
- field :company, :default => ''
22
+ field :company
23
23
  validates_uniqueness_of :company
24
+ index({ :company => -1 })
24
25
 
25
26
  field :description
26
27
 
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.62
4
+ version: 0.0.33.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox