caboose-rets 0.1.129 → 0.1.130
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/caboose_rets/property.rb +2 -2
- data/lib/caboose_rets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71c7e2f91f252a21bd38b5f7da43a083601a96429839aa3ca0f08c7badfd3219
|
4
|
+
data.tar.gz: 8f6c37c0fc54ef1db45ce6ec5125b30157deb621f1f0f26102d9d6cc07802744
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4da03b08195ecbd2c15ef9d39fd9af5bda669e06621ffc7bba7282b1e8330e5b426c5f6629b059b1ea7b2e1753025b4b74d8218ed050a3e5d9e68ceea4ff442
|
7
|
+
data.tar.gz: 873bbed0808f24270ba01715ac3f599c1c2646c143cf44a7faba39aefa2bae5db466015737256e18d18b1aa78ace5b5ff05bb1a83ab9ad2a1084b8afa1cf91fe
|
@@ -40,12 +40,12 @@ class CabooseRets::Property <ActiveRecord::Base
|
|
40
40
|
end
|
41
41
|
|
42
42
|
def full_address
|
43
|
-
address = "#{self.unit_number.blank? ? '' : 'Unit ' + self.unit_number + ', '}#{self.street_dir_prefix.blank? ? '' : self.street_dir_prefix + ' '}#{self.
|
43
|
+
address = "#{self.unit_number.blank? ? '' : 'Unit ' + self.unit_number + ', '}#{self.street_number} #{self.street_dir_prefix.blank? ? '' : self.street_dir_prefix + ' '}#{self.street_name.blank? ? '' : self.street_name.titleize}#{self.street_suffix.blank? ? '' : ' ' + self.street_suffix.titleize}#{self.street_dir_suffix.blank? ? '' : ' ' + self.street_dir_suffix}"
|
44
44
|
return address.blank? ? '' : address.gsub('Mc ','Mc')
|
45
45
|
end
|
46
46
|
|
47
47
|
def full_address_city
|
48
|
-
address = "#{self.unit_number.blank? ? '' : 'Unit ' + self.unit_number + ', '}#{self.street_dir_prefix.blank? ? '' : self.street_dir_prefix + ' '}#{self.
|
48
|
+
address = "#{self.unit_number.blank? ? '' : 'Unit ' + self.unit_number + ', '}#{self.street_number} #{self.street_dir_prefix.blank? ? '' : self.street_dir_prefix + ' '}#{self.street_name.blank? ? '' : self.street_name.titleize}#{self.street_suffix.blank? ? '' : ' ' + self.street_suffix.titleize}#{self.street_dir_suffix.blank? ? '' : ' ' + self.street_dir_suffix}#{self.city.blank? ? '' : '<br />' + self.city.titleize + ', ' + self.state_or_province + ' ' + self.postal_code}"
|
49
49
|
return address.blank? ? '' : address.gsub('Mc ','Mc')
|
50
50
|
end
|
51
51
|
|
data/lib/caboose_rets/version.rb
CHANGED