ish_models 0.0.33.53 → 0.0.33.54

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/lead.rb +6 -0
  3. data/lib/ish/payment.rb +0 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b83dc75d18c75d7d83b8644f5511bf03766303c
4
- data.tar.gz: c6c2910938f5d396ea82e2e0a156bad42373b24e
3
+ metadata.gz: 63ead4124ad8c073a953f4c5cabb690223f7b31e
4
+ data.tar.gz: d85a7277533980e942bc3d09f9600878f2cb9e95
5
5
  SHA512:
6
- metadata.gz: 56afea3d4a6e9a3add2559a08a77c7044a9d7467da059e6010e97a5e90a46647736d1e0921efad92b815bf0943857bd101e5588296db9cdfc3511858a65ff354
7
- data.tar.gz: a5315848ffb25d28c0702931dc37b969eceff04f8a591ec5fe9722bc46bd3811f8ac432b8754c5d523fbb4bca91bb0b3810a4d43c8c87b3076c2c9d61f398652
6
+ metadata.gz: 425761a13cfe48301ef248f8b6a421f2292c0ce31ac5adbc5e8f970174636c50b3354636f3a897628c329317ebf05cf881423498cd8f083244da42a2d01b9c38
7
+ data.tar.gz: 497eaeb5156a7757bb7e5011ca2bca1dcdc82b396a55df0875683ea20f36377a39935b486841ae41b6261ccd8eb21a8d8d59088ec8b77c185f2a4e3ee657feda
data/lib/ish/lead.rb CHANGED
@@ -13,7 +13,10 @@ class Ish::Lead
13
13
 
14
14
  field :email
15
15
  field :job_url
16
+
16
17
  field :company, :default => ''
18
+ validates_uniqueness_of :company
19
+
17
20
  field :description
18
21
 
19
22
  STATES = [ :considering, :applied ]
@@ -24,4 +27,7 @@ class Ish::Lead
24
27
 
25
28
  field :applied_on, :type => Time
26
29
 
30
+ field :tag # 'hired_com_ror', not enumerated for now _vp_ 20180103
31
+ field :location
32
+
27
33
  end
data/lib/ish/payment.rb CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  class Ish::Payment
3
2
  include Mongoid::Document
4
3
  include Mongoid::Timestamps
@@ -11,4 +10,3 @@ class Ish::Payment
11
10
 
12
11
  end
13
12
 
14
-
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.53
4
+ version: 0.0.33.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox