realogy 0.5.1 → 0.5.2
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 +4 -4
- data/lib/realogy/tasks/realogy.rake +2 -2
- data/lib/realogy/version.rb +1 -1
- data/realogy.gemspec +0 -9
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 641b9d5743a20c9aada4bba5ded41e428ad382485d89117c236b19f2469cf719
|
|
4
|
+
data.tar.gz: 2801ddf610d5067aedbe40d8b5cde1c15810cdbd7cb66e565a7894cf7f746b60
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f68fbb1982147d8f1ec201826f333e6a8b4e16bc1c02e4b5cfad481863a8a4f372e409d6013774c845a7bdf1d5bfc09258ab481d7d0decd0043d4b0d02fabb2
|
|
7
|
+
data.tar.gz: 89042357d716ad59572b3916f67ca7dd3bac839e615eb89a2719c19423c1243a183d8248daf96413c41198977c0712c4317e72471f71ad39b586e83144c6d837
|
|
@@ -96,13 +96,13 @@ namespace :realogy do
|
|
|
96
96
|
return unless %w(agents companies listings offices teams).include?(plural = klass.to_s.tableize.split("/").last)
|
|
97
97
|
call = "get_#{plural}_delta".to_sym
|
|
98
98
|
Realogy::DataSync.client.send(call, {since: since.to_i.minutes.ago}).each do |hash|
|
|
99
|
-
case hash["action"]
|
|
99
|
+
case hash["action"]
|
|
100
100
|
when "Delete"
|
|
101
101
|
klass.find_by(entity_id: hash["id"]).try(:destroy)
|
|
102
102
|
when "Upsert"
|
|
103
103
|
hash["class"] = klass.to_s
|
|
104
104
|
active_job_configured? ? PopulateRealogyEntityJob.perform_later(hash) : klass::triage(hash)
|
|
105
|
-
end
|
|
105
|
+
end rescue nil
|
|
106
106
|
end
|
|
107
107
|
end
|
|
108
108
|
|
data/lib/realogy/version.rb
CHANGED
data/realogy.gemspec
CHANGED
|
@@ -15,15 +15,6 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
spec.required_ruby_version = '>= 2.4.3'
|
|
17
17
|
|
|
18
|
-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
|
19
|
-
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
|
20
|
-
# if spec.respond_to?(:metadata)
|
|
21
|
-
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
|
22
|
-
# else
|
|
23
|
-
# raise "RubyGems 2.0 or newer is required to protect against " \
|
|
24
|
-
# "public gem pushes."
|
|
25
|
-
# end
|
|
26
|
-
|
|
27
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
28
19
|
f.match(%r{^(test|spec|features)/})
|
|
29
20
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: realogy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Edlund
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -149,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
149
|
- !ruby/object:Gem::Version
|
|
150
150
|
version: '0'
|
|
151
151
|
requirements: []
|
|
152
|
-
|
|
153
|
-
rubygems_version: 2.7.6
|
|
152
|
+
rubygems_version: 3.0.3
|
|
154
153
|
signing_key:
|
|
155
154
|
specification_version: 4
|
|
156
155
|
summary: Encapsulation of Realogy's DataSync API.
|