caboose-rets 0.1.159 → 0.1.160

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: 2b371d967b14e53204b2a762f8152f7dce2d8b2e035aef2cbb3a9cdcadb2338e
4
- data.tar.gz: 90764de752a97d80c36103597d8efbebc04e093cb18073dfe2a87451ff767e5a
3
+ metadata.gz: 106928e78d7792efebea72b4795d86cbc0b814cc247d1e106fb0900fd9c847ac
4
+ data.tar.gz: 629eda15b6171c341f8a4066f9049474c397c4cef1b0b217aeae85af1c2c0271
5
5
  SHA512:
6
- metadata.gz: 0fd036c17410c869c9dc9ca0449053e225c0fed09f02af189a39dbcf782726b1bc339301caafea56f37936bf99c1bf0bbf4891f3b0fb20b8629ff3215f813c72
7
- data.tar.gz: f9b5aaf561d5b6815ffadcd508c90a52b6b8d5276e0045eaa484c1e695f1892ddc1732f050de2fe79ca2e6380c780ce189b3ff2716181cc7d75e2916e1cbd1e2
6
+ metadata.gz: e62d94b816ffd023b43cdf7e7f5e6487e16b0dada02d45a4f744e12ae8003b948e23e9ee8bc1e4799d4054a3f0438f1de982c7286caee4e95cde598f314eb4b0
7
+ data.tar.gz: 14ccf63ffdf052287b18790fa18af4937c08b79afa30a20d29413f140ce5c0d73dade5674b38663c87e6fb5657e7227e3e56d62413706ee298a5bde8c9912130
@@ -19,6 +19,7 @@ module CabooseRets
19
19
  def save
20
20
  return if !verify_logged_in
21
21
  resp = Caboose::StdClass.new
22
+ # test
22
23
  if SavedProperty.exists?(:user_id => logged_in_user.id, :mls_number => params[:mls])
23
24
  resp.success = true
24
25
  else
@@ -47,7 +48,7 @@ module CabooseRets
47
48
  # def toggle_save
48
49
  # return if !verify_logged_in
49
50
  # resp = Caboose::StdClass.new
50
-
51
+
51
52
  # if SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).exists?
52
53
  # SavedProperty.where(:user_id => logged_in_user.id, :mls => params[:mls]).destroy_all
53
54
  # resp.saved = false
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.159'
2
+ VERSION = '0.1.160'
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.1.159
4
+ version: 0.1.160
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry