caboose-rets 0.1.30 → 0.1.31

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: a686846b3cea2627eef00f80be9455f4bd67a414e0b12136becfd08f5d184c94
4
- data.tar.gz: a93422bfb3ec035d70549208c55ed97c8156afebb09a2957a93a1b5886410f3c
3
+ metadata.gz: 71cf2b970e022b3b282cb77e9b126aa2bd6b025a99703869023543e4b4dff231
4
+ data.tar.gz: 85b17a7f8de6aa5e23be08a1383af0ab7f8aa2f58cd2156244af0b64fb155519
5
5
  SHA512:
6
- metadata.gz: c03936d010fdf016fa8843c5eab9f74ac526e82398fecc38afc17808cae0fac62cfd63b0093b51a6fb120cec8675370a005b74ea6c14fd432b42ec854b1fa735
7
- data.tar.gz: 7d4655c18173a3fa59feb4c62dd898fe86295f149381f87dcd258250af3e0f97108e54e19526c2d11ac5296cbfca3adc9eed12c3a164598e758d23839385aa8b
6
+ metadata.gz: 59e10940465532c9568e756fe9087b21e36d7a1d6eb233169855db3aef6fc3e287f601da17bb870ee2a1bebc1dd0cd9f333f047996f35cd575b451ef9262bccb
7
+ data.tar.gz: 8612c4060921bb1544d3855ee55524c0b74397d092bcbf14a138f8505467d0806dbcdc28b700f88b6ecea927efe58a2c128b2da3e271d4c5dc3fe6cd6e250526
@@ -61,7 +61,8 @@ class CabooseRets::Agent < ActiveRecord::Base
61
61
  self.phone_toll_free = data['PhoneTollFree']
62
62
  self.phone_voice_mail = data['PhoneVoiceMail']
63
63
  self.photo_count = data['PhotoCount']
64
- self.photo_modification_timestamp = data['PhotoModificationTimestamp']
64
+ self.photo_modification_timestamp = data['PhotoModificationTimestamp']
65
+ self.slug = "#{data['FirstName']}-#{data['LastName']}".parameterize
65
66
  end
66
67
 
67
68
  def verify_meta_exists
@@ -12,29 +12,30 @@ class CabooseRets::Schema < Caboose::Utilities::Schema
12
12
  def self.schema
13
13
  {
14
14
  CabooseRets::Agent => [
15
- [ :agent_number , :text ],
16
- [ :cell_phone , :text ],
17
- [ :direct_work_phone , :text ],
18
- [ :email , :text ],
19
- [ :fax_phone , :text ],
20
- [ :first_name , :text ],
21
- [ :full_name , :text ],
22
- [ :generational_name , :text ],
23
- [ :last_name , :text ],
24
- [ :matrix_unique_id , :text ],
25
- [ :matrix_modified_dt , :text ],
26
- [ :middle_name , :text ],
27
- [ :mls , :text ],
28
- [ :mls_id , :text ],
29
- [ :office_mui , :text ],
30
- [ :office_mls_id , :text ],
31
- [ :office_phone , :text ],
32
- [ :other_phone , :text ],
33
- [ :phone_toll_free , :text ],
34
- [ :phone_voice_mail , :text ],
35
- [ :photo_count , :text ],
36
- [ :photo_modification_timestamp , :text ],
37
- [ :sort_order , :integer ]
15
+ [ :agent_number , :text ],
16
+ [ :cell_phone , :text ],
17
+ [ :direct_work_phone , :text ],
18
+ [ :email , :text ],
19
+ [ :fax_phone , :text ],
20
+ [ :first_name , :text ],
21
+ [ :full_name , :text ],
22
+ [ :generational_name , :text ],
23
+ [ :last_name , :text ],
24
+ [ :matrix_unique_id , :text ],
25
+ [ :matrix_modified_dt , :text ],
26
+ [ :middle_name , :text ],
27
+ [ :mls , :text ],
28
+ [ :mls_id , :text ],
29
+ [ :office_mui , :text ],
30
+ [ :office_mls_id , :text ],
31
+ [ :office_phone , :text ],
32
+ [ :other_phone , :text ],
33
+ [ :phone_toll_free , :text ],
34
+ [ :phone_voice_mail , :text ],
35
+ [ :photo_count , :text ],
36
+ [ :photo_modification_timestamp , :text ],
37
+ [ :sort_order , :integer ],
38
+ [ :slug , :text ]
38
39
  ],
39
40
  CabooseRets::AgentMeta => [
40
41
  [ :la_code , :string ],
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.30'
2
+ VERSION = '0.1.31'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.30
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms