caboose-rets 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/caboose_rets/version.rb +1 -1
- data/lib/tasks/caboose_rets.rake +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a686846b3cea2627eef00f80be9455f4bd67a414e0b12136becfd08f5d184c94
|
4
|
+
data.tar.gz: a93422bfb3ec035d70549208c55ed97c8156afebb09a2957a93a1b5886410f3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c03936d010fdf016fa8843c5eab9f74ac526e82398fecc38afc17808cae0fac62cfd63b0093b51a6fb120cec8675370a005b74ea6c14fd432b42ec854b1fa735
|
7
|
+
data.tar.gz: 7d4655c18173a3fa59feb4c62dd898fe86295f149381f87dcd258250af3e0f97108e54e19526c2d11ac5296cbfca3adc9eed12c3a164598e758d23839385aa8b
|
data/lib/caboose_rets/version.rb
CHANGED
data/lib/tasks/caboose_rets.rake
CHANGED
@@ -65,6 +65,16 @@ namespace :caboose_rets do
|
|
65
65
|
CabooseRets::RetsImporter.download_property_images(p)
|
66
66
|
end
|
67
67
|
|
68
|
+
desc "Reimports Property Images"
|
69
|
+
task :reimport_property_images => :environment do
|
70
|
+
props = CabooseRets::Property.all
|
71
|
+
props.each do |p|
|
72
|
+
CabooseRets::RetsImporter.log("- Reimporting images for #{p.matrix_unique_id}...")
|
73
|
+
CabooseRets::Media.where(:media_mui => p.matrix_unique_id, :media_type => 'Photo').destroy_all
|
74
|
+
CabooseRets::RetsImporter.download_property_images(p)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
68
78
|
desc "Import rets data"
|
69
79
|
task :import => :environment do
|
70
80
|
CabooseRets::RetsImporter.import('Agent' , "(Matrix_Unique_ID=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.
|
4
|
+
version: 0.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
153
|
rubyforge_project:
|
154
|
-
rubygems_version: 2.
|
154
|
+
rubygems_version: 2.7.7
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Library to download RETS data to a local website.
|