caboose-rets 0.1.209 → 0.1.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d0956635418492a68a193c430896b6c619dd3be16fb1bb5bc1ea781e8f7e2da
4
- data.tar.gz: 8e10c6dfdf18eb54a84ecaf61bef3be1b6805f1690638848e2bf6469c434d42b
3
+ metadata.gz: 0d5265fcae90312672b975b75a67f33f48aa6e8f1ffd3d8a57ff8ea25c6f9dac
4
+ data.tar.gz: 4c8e219e45b369d9c66b2d1f8112c3291e0af15e8889bbe64d8151d729ae8395
5
5
  SHA512:
6
- metadata.gz: b26b54ec2bd64b59559efbeeed8f58b59b1c1ddda4254356a9e55d3c160af44c948a6065e75e16812e67c0cfcfdcb7eacc0bb64e8ea681d5d4feb2bed774363f
7
- data.tar.gz: a84453b632faf9ebc10b9b3163ae27a3257a6a4d65433a76dab0b4d654a01d8f932ff98f7799874f63b231e6c7ae9082c83002c4a3102ba627325fb0330eea05
6
+ metadata.gz: 1f506f1f39bbfc29a09ee9ab6b20a255b7f124c99ef80f4f307361631fde08f2c6579548f05890154c00f4723e0d7c68ec6690d802e5dc71c459b15634c8fcd7
7
+ data.tar.gz: 6472b0346d751f2b7ba936e6630474e75297ac82911dfea612dbe8755c9ec335d0b91439f9021b804d589df171a9f6d4cd2d889fb78ea92bfa83c6bfd323fbfc
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.209'
2
+ VERSION = '0.1.210'
3
3
  end
@@ -176,7 +176,7 @@ namespace :caboose_rets do
176
176
 
177
177
  desc "fix images"
178
178
  task :fix_images => :environment do
179
- props = CabooseRets::Property.where("photo_count is not null and photo_count != ?", "0").order('id desc').all
179
+ props = CabooseRets::Property.where(:status => "Active").where("photo_count is not null and photo_count != ?", "0").order('id desc').all
180
180
  props.each do |p|
181
181
  puts "Checking property #{p.mls_number}"
182
182
  if p.images.count == 0
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.209
4
+ version: 0.1.210
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-15 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms