reso_api 0.5.2 → 0.5.5
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/reso_api/app/models/reso/api/client.rb +4 -2
- data/lib/reso_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ed9347d7eb406dabae26687fe46f0bfc933fe3b3b8ed192a149ba22e864a763
|
|
4
|
+
data.tar.gz: f6b49eb08938c136cbb10d0f01c70d8e7412c4f2e8fe63d2773ef52e53b224c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26d274666242b196d8fae5e6d8b53533fc07e68d6b5c8165b675a99f977b7cca7f8fb135fcba9742bf11bfe8f6f43c48e7ca11d867ce24f10ce2955f7a941402
|
|
7
|
+
data.tar.gz: 444b122035ff51ea71014b9f09e6400572d6262b89f24dd98f30cebda3faf8b62a418382ed982b032c3d63ad354d5806edcfe6787a73d20bdd4b9364f778d5e2
|
|
@@ -61,6 +61,7 @@ module RESO
|
|
|
61
61
|
"$skiptoken": hash[:skiptoken],
|
|
62
62
|
"$expand": hash[:expand],
|
|
63
63
|
"$count": hash[:count].to_s.presence,
|
|
64
|
+
"$ignorenulls": hash[:ignorenulls],
|
|
64
65
|
"$debug": hash[:debug]
|
|
65
66
|
}.compact
|
|
66
67
|
if !block.nil?
|
|
@@ -85,6 +86,7 @@ module RESO
|
|
|
85
86
|
end
|
|
86
87
|
end
|
|
87
88
|
end
|
|
89
|
+
threads.each(&:join)
|
|
88
90
|
else
|
|
89
91
|
return perform_call(endpoint, params)
|
|
90
92
|
end
|
|
@@ -129,7 +131,7 @@ module RESO
|
|
|
129
131
|
end
|
|
130
132
|
|
|
131
133
|
def fresh_oauth2_payload
|
|
132
|
-
@oauth2_payload = oauth2_client.client_credentials.get_token
|
|
134
|
+
@oauth2_payload = oauth2_client.client_credentials.get_token('client_id' => client_id, 'client_secret' => client_secret)
|
|
133
135
|
File.write(oauth2_token_path, @oauth2_payload.to_hash.to_json)
|
|
134
136
|
return @oauth2_payload
|
|
135
137
|
end
|
|
@@ -147,7 +149,7 @@ module RESO
|
|
|
147
149
|
persisted = File.read(oauth2_token_path)
|
|
148
150
|
payload = OAuth2::AccessToken.from_hash(oauth2_client, JSON.parse(persisted))
|
|
149
151
|
else
|
|
150
|
-
payload = oauth2_client.client_credentials.get_token
|
|
152
|
+
payload = oauth2_client.client_credentials.get_token('client_id' => client_id, 'client_secret' => client_secret)
|
|
151
153
|
File.write(oauth2_token_path, payload.to_hash.to_json)
|
|
152
154
|
end
|
|
153
155
|
return payload
|
data/lib/reso_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: reso_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Edlund
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|