realogy 0.4.8 → 0.4.9

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: af63f9af9785877206404c74331901e62ba583a338bbb5c34a9c031efe42bd9a
4
- data.tar.gz: be375fd5470bb578aa20edadd5a005824327149961290aae2e9500fe4136ffaa
3
+ metadata.gz: 7bec6230937a995d57c4111fccefd7b29f63ece731b76293b2cc5b71bda6640a
4
+ data.tar.gz: f363406aac4a920473fc2890390e89de2bd3d8019cf383859311369ce60cc756
5
5
  SHA512:
6
- metadata.gz: '084bef9288cd494ed2fcd171bf5545b6d0f34afe4482a7ff3a5f56dfd177f44c1a1d9c4efc101a5e9a9dd6ea9b4607f18ea17081fa91582565847042a256a3b3'
7
- data.tar.gz: 71580695d565c2434b727929cf34c81290a2f26bef4d00d1d8782cf0854d84806d136d6b869cc03773d608cc69e6fd8a7e3ed00c5a5704e9ea554ec4124faa8f
6
+ metadata.gz: a23ff2a809ce77c478d42d3bb4c30737acb5fc3164b66dc4539422a9ba29777dbefb61fda4d013a83804aff6f0611341a02e77dc64546ced8d76ded0079241df
7
+ data.tar.gz: 9a1288277a89ad863aeb2e7e5a75db8af9139badd5db6d4e3abac14140cd7db063fa6782b1ab10660cef43e7e6f5f9d24bc6f7bbcba974f5d1ec57adff944f16
@@ -96,7 +96,7 @@ 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(hash["action"])
100
100
  when "Delete"
101
101
  klass.find_by(entity_id: hash["id"]).try(:destroy)
102
102
  when "Upsert"
@@ -1,3 +1,3 @@
1
1
  module Realogy
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  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.4.8
4
+ version: 0.4.9
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-04-01 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -149,7 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.0.3
152
+ rubyforge_project:
153
+ rubygems_version: 2.7.6
153
154
  signing_key:
154
155
  specification_version: 4
155
156
  summary: Encapsulation of Realogy's DataSync API.