caboose-rets 0.0.81 → 0.0.82

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2IzYTVmN2VhZjEzYjhiMTQ2ZGNiOTJjODdiMTI0ZTMzZTFjM2Q2MQ==
4
+ MzU1NmMzNjhjOTY3ZTdlMjJkMWEwMzE2MzhiZmM4MjZjZmZjOTk1Ng==
5
5
  data.tar.gz: !binary |-
6
- OWI0NjQ5OGEzYjFmMzNmZmYyMzU4YzAwODRmMTY5YWRjOWEyMWI0YQ==
6
+ NjU4NThlYTRjMWIwOTBkYzk1MzkwNmY2NjI5MDMxODY5MWFkZDYxZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzQxMzkwZGY3MmFjNzU4MDA5MDlhY2U3M2EyZDM1NjE5OTMyZTg4NTk1N2E4
10
- ZjVjMGE5YmYzNjcyYWNlYzQzMDAzZTFhMjUyMWI2YjA2ZDBiN2JiMTg4NTJl
11
- ZjI5NWQxNmU4YzczM2UwZDc0YjliZjhlMjdkMjJiMmZiN2Q1ZTE=
9
+ OWRhZjAwZTgwYTRiMDdlNmFlNDYwM2Y3N2MwZjhlM2UxN2E2ZTM4MjlkNzdk
10
+ MmRiZDk0YzNiM2U2Mzk4YWNlMmYwNTBhN2ZmYmQ0ZDNmOTBmNDkzNDE0ZGE1
11
+ NTMyY2Q1ZDAyMWQxNjI0NjdlOGRjNmNlODU2OGNiMzA4Mjg1NzE=
12
12
  data.tar.gz: !binary |-
13
- NGYxZDI5ZWZhODJlN2VkOTc5ZmRhNDdkODNhNzZkMzkxMmI1YjM1NjQzMzFm
14
- MjgzZmRkNWNkNTJmMTc0ZWM3NDIzZjE3ZTNhMGQ0NzhhZWNhNzk0OWJkYzQ4
15
- OGNiMGEzNzE3NmE0ZDY5MjFjZjJjYWY1N2I0NjgzNTM2MWIxYjc=
13
+ ZDcxNzJhMDE1NjgwZjdlOTMxZjA0ZjY3NTQ5ODkzYmNiOGUwYTg0MmQzNDdl
14
+ ODBiNGE4M2VjMzQ5MDBkNTQyMjIyYTE3NzEyMDM2YTNjN2E1NWZiNGU2NGYy
15
+ MWNkODdjMWZmMTY0NTFhYjI2NDA5ZWIwOGJmZWQ5ZjVmMjI3NzE=
@@ -70,7 +70,7 @@ module CabooseRets
70
70
  def details
71
71
  @property = ResidentialProperty.where(:mls_acct => params[:mls_acct]).first
72
72
  @saved = logged_in? && SavedProperty.where(:user_id => logged_in_user.id, :mls_acct => params[:mls_acct]).exists?
73
- if @property.lo_code == '46'
73
+ if @property && @property.lo_code == '46'
74
74
  @agent = Agent.where(:la_code => @property.la_code).first
75
75
  end
76
76
  if @property.nil?
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.0.81'
2
+ VERSION = '0.0.82'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-rets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.81
4
+ version: 0.0.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry