caboose-rets 0.0.27 → 0.0.28

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
- NTcxMjllM2M0NWY3NWM2MDAxZTRkMGJjMjI5NTk0MGVjNDdiZGVlOA==
4
+ NGQ0MGFjMTc3NjMyOGE0YjgyODQzMTMzODdhYjg1YjQ1YjcwMWI1Zg==
5
5
  data.tar.gz: !binary |-
6
- OThkYjdmMTNmOWNiM2MyMDcwNjk2ZDk4NzFmZDhlZjE1ZWNhNzAwZQ==
6
+ YmVkMDk0YTc4MGE1YjkwYTFiNDdhMjcxZTkwOTJkNWU1Y2QwOTBlYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Y2I0MDI2NTliOWM3OWQ1NmFjYzlmZjhhNTcwNzNiY2VjMDNmM2ZmNWZhYWZi
10
- NDFiNWE2NTZkMzEzM2Q3OTNiMTE1OWFkZDVkODA4NmQ3ODY3NzAzNTc0NDcy
11
- MDUxMTdmMjRmNTA0MDljMmZlM2JkYWE4YWZjZjFhODA0Yzk4MmY=
9
+ NDg1Y2VhZThjZjFmMTBhMjdjMzNkNGIxZGIwNzM4MWIyNjM4NDU4MDYyYTk4
10
+ Yjg5ZjY1YjM0NGIwZTQ3ZDQ1MzRhNDNlN2E3NWMyOGFiMWViN2E4ZmQ2NDQ3
11
+ MTUzZDIwMjYyNTJkOTBhMzY0NGVhYzlmY2NmNDM5ZjRiMjgyMzA=
12
12
  data.tar.gz: !binary |-
13
- M2UwYTU1Y2IxOGIyODM1NDY1N2JhMDlmYzhkY2Q5NGJiYTU0NWJjMTYyMDg1
14
- NTg3ODIxZTAxODliOGU1ZjAxZDQ1OTViOTljNDA1ODA0NDViMDNhNzE2ZjNi
15
- ZmU4ZTE0N2JiNTYwOTFmNTZiMjdmYjlmY2ZmYmUzMzBkMDhhMWM=
13
+ OWU3ZjAyM2I2ZGYyZjkyMTQ4ZjQyZTdhMjYyN2NmYmQ0ZGYzZDcxNmEyNzQw
14
+ OTI5NTZhZWE5YjI3YzkxNjU3ZWVlNzIwZWMyNTBhMTU0ODhkYjFjMmQyNmIz
15
+ M2RlZjA4OTJmNDQ3OTFhYzY3NTE1M2Y3MDdhNjgwNjVmNmIwZTc=
@@ -20,7 +20,7 @@ module CabooseRets
20
20
  'status' => 'Active'
21
21
  },{
22
22
  'model' => 'CabooseRets::CommercialProperty',
23
- 'sort' => 'current_price DESC, mls_acct',
23
+ 'sort' => CabooseRets::default_property_sort,
24
24
  'desc' => false,
25
25
  'skip' => ['status'],
26
26
  'base_url' => '/commercial/search',
@@ -59,7 +59,7 @@ module CabooseRets
59
59
  'zip' => ''
60
60
  },{
61
61
  'model' => 'CabooseRets::LandProperty',
62
- 'sort' => 'current_price DESC, mls_acct',
62
+ 'sort' => CabooseRets::default_property_sort,
63
63
  'desc' => false,
64
64
  'skip' => ['status'],
65
65
  'base_url' => '/land/search',
@@ -42,7 +42,7 @@ module CabooseRets
42
42
  'status' => 'Active'
43
43
  },{
44
44
  'model' => 'CabooseRets::MultiFamilyProperty',
45
- 'sort' => 'current_price DESC, mls_acct',
45
+ 'sort' => CabooseRets::default_property_sort,
46
46
  'desc' => false,
47
47
  'skip' => ['status'],
48
48
  'base_url' => '/multi-family/search',
@@ -42,7 +42,7 @@ module CabooseRets
42
42
  'status' => 'Active'
43
43
  },{
44
44
  'model' => 'CabooseRets::ResidentialProperty',
45
- 'sort' => 'current_price DESC, mls_acct',
45
+ 'sort' => CabooseRets::default_property_sort,
46
46
  'desc' => false,
47
47
  'skip' => ['status'],
48
48
  'base_url' => '/residential/search',
@@ -1,4 +1,8 @@
1
1
  require "caboose_rets/engine"
2
2
 
3
3
  module CabooseRets
4
+
5
+ mattr_accessor :default_property_sort
6
+ @@default_property_sort = 'current_price DESC, mls_acct'
7
+
4
8
  end
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.0.27'
2
+ VERSION = '0.0.28'
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.27
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry