caboose-rets 0.1.166 → 0.1.167
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9c54d751e273164fdfd0417d2f0627e029f3eb45df52fbe8ccb269f83b3cdb
|
4
|
+
data.tar.gz: d942c23cbd9b2a1b3d4eb1e774892e2707e8674fe532fe18c633bddae88d726f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69641498cb92cc18e5cc05ef709c5b9a5db1b26dea9cd17347a2fd185e58c36e01715b3b0079c3cb9da6a72c1c8ed9b232559bccb65ca02bc81e359117e9faa0
|
7
|
+
data.tar.gz: 336162f32bbb6c41030fa588c0389e7f954fb2f7a116cac5f67f8a0326e906139285b26ed1f773d55a023145357c750f4867205230d5145bcacd7f1b56f709a7
|
@@ -39,7 +39,7 @@ xml.instruct! :xml, :version => "1.0"
|
|
39
39
|
elsif !property.alternate_link.blank? && @use_alternate_link == true
|
40
40
|
xml.url(property.alternate_link)
|
41
41
|
else
|
42
|
-
xml.url("https://" + domain + "/properties/#{property.mls_number}/details")
|
42
|
+
xml.url("https://" + domain + "/properties/#{property.mls_number}/details?utm_source=Nine&utm_medium=Facebook&utm_campaign=Retargeting")
|
43
43
|
end
|
44
44
|
xml.year_built(property.year_built)
|
45
45
|
if !property.property_type.blank?
|
@@ -12,12 +12,12 @@ xml.rss :version => "2.0", "xmlns:g" => "http://base.google.com/ns/1.0" do
|
|
12
12
|
xml.g(:id, property.mls_number)
|
13
13
|
xml.g(:title, property.full_address)
|
14
14
|
xml.g(:description, property.public_remarks)
|
15
|
-
xml.g(:link, "https://" + domain + "/properties/#{property.mls_number}/details")
|
15
|
+
xml.g(:link, "https://" + domain + "/properties/#{property.mls_number}/details?utm_source=Nine&utm_medium=Facebook&utm_campaign=Retargeting")
|
16
16
|
first_image = property.images.first if property.images
|
17
17
|
m = Caboose::Media.where(:id => first_image.media_id).first if first_image && !first_image.media_id.blank?
|
18
18
|
if m && m.image
|
19
19
|
xml.g(:image_link, "https:" + m.image.url(:large))
|
20
|
-
else
|
20
|
+
else
|
21
21
|
xml.g(:image_link, 'https://cabooseit.s3.amazonaws.com/rets/house.png')
|
22
22
|
end
|
23
23
|
if !property.construction_status.blank?
|
data/lib/caboose_rets/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.167
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|