immoscout 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/documentation.yml +3 -2
- data/.github/workflows/test.yml +6 -5
- data/.rspec +2 -1
- data/.rubocop.yml +23 -4
- data/.simplecov +12 -0
- data/Appraisals +1 -5
- data/CHANGELOG.md +8 -0
- data/Dockerfile +2 -3
- data/Envfile +0 -3
- data/Guardfile +44 -0
- data/LICENSE +1 -1
- data/Makefile +24 -10
- data/Rakefile +13 -66
- data/gemfiles/rails_5.2.gemfile +3 -5
- data/immoscout.gemspec +45 -44
- data/lib/immoscout/api/client.rb +1 -0
- data/lib/immoscout/api/connection.rb +8 -9
- data/lib/immoscout/api/request.rb +3 -2
- data/lib/immoscout/configuration.rb +12 -6
- data/lib/immoscout/errors/failed.rb +1 -0
- data/lib/immoscout/models/actions/attachment.rb +2 -3
- data/lib/immoscout/models/actions/contact.rb +3 -14
- data/lib/immoscout/models/actions/publish.rb +1 -3
- data/lib/immoscout/models/actions/real_estate.rb +4 -14
- data/lib/immoscout/models/apartment_buy.rb +3 -0
- data/lib/immoscout/models/base.rb +2 -1
- data/lib/immoscout/models/concerns/modelable.rb +2 -0
- data/lib/immoscout/models/concerns/propertiable.rb +4 -1
- data/lib/immoscout/models/concerns/renderable.rb +5 -5
- data/lib/immoscout/models/contact.rb +2 -0
- data/lib/immoscout/models/document.rb +2 -0
- data/lib/immoscout/models/house_buy.rb +3 -0
- data/lib/immoscout/models/parts/address.rb +3 -0
- data/lib/immoscout/models/parts/api_search_data.rb +3 -0
- data/lib/immoscout/models/parts/contact.rb +3 -0
- data/lib/immoscout/models/parts/coordinate.rb +3 -0
- data/lib/immoscout/models/parts/courtage.rb +3 -0
- data/lib/immoscout/models/parts/energy_certificate.rb +3 -0
- data/lib/immoscout/models/parts/energy_source.rb +3 -0
- data/lib/immoscout/models/parts/firing_type.rb +3 -0
- data/lib/immoscout/models/parts/geo_code.rb +3 -0
- data/lib/immoscout/models/parts/geo_hierarchy.rb +3 -0
- data/lib/immoscout/models/parts/international_country_region.rb +3 -0
- data/lib/immoscout/models/parts/price.rb +3 -0
- data/lib/immoscout/models/parts/publish_channel.rb +3 -0
- data/lib/immoscout/models/parts/real_estate.rb +3 -0
- data/lib/immoscout/models/parts/url.rb +3 -0
- data/lib/immoscout/models/parts/urls.rb +3 -0
- data/lib/immoscout/models/picture.rb +2 -0
- data/lib/immoscout/models/publish.rb +2 -0
- data/lib/immoscout/models.rb +0 -1
- data/lib/immoscout/version.rb +19 -1
- data/lib/immoscout.rb +1 -0
- metadata +96 -76
- data/gemfiles/rails_6.0.gemfile +0 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immoscout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Geissler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 5.2
|
19
|
+
version: '5.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 5.2
|
26
|
+
version: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.10'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday_middleware
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '1.
|
47
|
+
version: '1.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '1.
|
54
|
+
version: '1.2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simple_oauth
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,269 +70,285 @@ dependencies:
|
|
70
70
|
name: appraisal
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '2.4'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '2.4'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.16'
|
90
|
-
- - "<"
|
87
|
+
- - "~>"
|
91
88
|
- !ruby/object:Gem::Version
|
92
|
-
version: '3'
|
89
|
+
version: '2.3'
|
93
90
|
type: :development
|
94
91
|
prerelease: false
|
95
92
|
version_requirements: !ruby/object:Gem::Requirement
|
96
93
|
requirements:
|
97
|
-
- - "
|
94
|
+
- - "~>"
|
98
95
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
100
|
-
|
96
|
+
version: '2.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: countless
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
101
102
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
103
|
+
version: '1.1'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
103
111
|
- !ruby/object:Gem::Dependency
|
104
112
|
name: factory_bot
|
105
113
|
requirement: !ruby/object:Gem::Requirement
|
106
114
|
requirements:
|
107
115
|
- - "~>"
|
108
116
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
117
|
+
version: '6.2'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '6.2'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard-rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '4.7'
|
110
132
|
type: :development
|
111
133
|
prerelease: false
|
112
134
|
version_requirements: !ruby/object:Gem::Requirement
|
113
135
|
requirements:
|
114
136
|
- - "~>"
|
115
137
|
- !ruby/object:Gem::Version
|
116
|
-
version: '4.
|
138
|
+
version: '4.7'
|
117
139
|
- !ruby/object:Gem::Dependency
|
118
140
|
name: railties
|
119
141
|
requirement: !ruby/object:Gem::Requirement
|
120
142
|
requirements:
|
121
143
|
- - ">="
|
122
144
|
- !ruby/object:Gem::Version
|
123
|
-
version:
|
124
|
-
- - "<"
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '6.1'
|
145
|
+
version: '5.2'
|
127
146
|
type: :development
|
128
147
|
prerelease: false
|
129
148
|
version_requirements: !ruby/object:Gem::Requirement
|
130
149
|
requirements:
|
131
150
|
- - ">="
|
132
151
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
134
|
-
- - "<"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '6.1'
|
152
|
+
version: '5.2'
|
137
153
|
- !ruby/object:Gem::Dependency
|
138
154
|
name: rake
|
139
155
|
requirement: !ruby/object:Gem::Requirement
|
140
156
|
requirements:
|
141
157
|
- - "~>"
|
142
158
|
- !ruby/object:Gem::Version
|
143
|
-
version: '
|
159
|
+
version: '13.0'
|
144
160
|
type: :development
|
145
161
|
prerelease: false
|
146
162
|
version_requirements: !ruby/object:Gem::Requirement
|
147
163
|
requirements:
|
148
164
|
- - "~>"
|
149
165
|
- !ruby/object:Gem::Version
|
150
|
-
version: '
|
166
|
+
version: '13.0'
|
151
167
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
168
|
+
name: redcarpet
|
153
169
|
requirement: !ruby/object:Gem::Requirement
|
154
170
|
requirements:
|
155
171
|
- - "~>"
|
156
172
|
- !ruby/object:Gem::Version
|
157
|
-
version: '
|
173
|
+
version: '3.5'
|
158
174
|
type: :development
|
159
175
|
prerelease: false
|
160
176
|
version_requirements: !ruby/object:Gem::Requirement
|
161
177
|
requirements:
|
162
178
|
- - "~>"
|
163
179
|
- !ruby/object:Gem::Version
|
164
|
-
version: '
|
180
|
+
version: '3.5'
|
165
181
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
182
|
+
name: rspec
|
167
183
|
requirement: !ruby/object:Gem::Requirement
|
168
184
|
requirements:
|
169
185
|
- - "~>"
|
170
186
|
- !ruby/object:Gem::Version
|
171
|
-
version: '3.
|
187
|
+
version: '3.12'
|
172
188
|
type: :development
|
173
189
|
prerelease: false
|
174
190
|
version_requirements: !ruby/object:Gem::Requirement
|
175
191
|
requirements:
|
176
192
|
- - "~>"
|
177
193
|
- !ruby/object:Gem::Version
|
178
|
-
version: '3.
|
194
|
+
version: '3.12'
|
179
195
|
- !ruby/object:Gem::Dependency
|
180
|
-
name: rspec
|
196
|
+
name: rspec-json_expectations
|
181
197
|
requirement: !ruby/object:Gem::Requirement
|
182
198
|
requirements:
|
183
199
|
- - "~>"
|
184
200
|
- !ruby/object:Gem::Version
|
185
|
-
version: '
|
201
|
+
version: '2.2'
|
186
202
|
type: :development
|
187
203
|
prerelease: false
|
188
204
|
version_requirements: !ruby/object:Gem::Requirement
|
189
205
|
requirements:
|
190
206
|
- - "~>"
|
191
207
|
- !ruby/object:Gem::Version
|
192
|
-
version: '
|
208
|
+
version: '2.2'
|
193
209
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
210
|
+
name: rubocop
|
195
211
|
requirement: !ruby/object:Gem::Requirement
|
196
212
|
requirements:
|
197
213
|
- - "~>"
|
198
214
|
- !ruby/object:Gem::Version
|
199
|
-
version: '1.
|
215
|
+
version: '1.28'
|
200
216
|
type: :development
|
201
217
|
prerelease: false
|
202
218
|
version_requirements: !ruby/object:Gem::Requirement
|
203
219
|
requirements:
|
204
220
|
- - "~>"
|
205
221
|
- !ruby/object:Gem::Version
|
206
|
-
version: '1.
|
222
|
+
version: '1.28'
|
207
223
|
- !ruby/object:Gem::Dependency
|
208
|
-
name: rubocop
|
224
|
+
name: rubocop-rails
|
209
225
|
requirement: !ruby/object:Gem::Requirement
|
210
226
|
requirements:
|
211
227
|
- - "~>"
|
212
228
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
229
|
+
version: '2.14'
|
214
230
|
type: :development
|
215
231
|
prerelease: false
|
216
232
|
version_requirements: !ruby/object:Gem::Requirement
|
217
233
|
requirements:
|
218
234
|
- - "~>"
|
219
235
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
236
|
+
version: '2.14'
|
221
237
|
- !ruby/object:Gem::Dependency
|
222
238
|
name: rubocop-rspec
|
223
239
|
requirement: !ruby/object:Gem::Requirement
|
224
240
|
requirements:
|
225
241
|
- - "~>"
|
226
242
|
- !ruby/object:Gem::Version
|
227
|
-
version: '
|
243
|
+
version: '2.10'
|
228
244
|
type: :development
|
229
245
|
prerelease: false
|
230
246
|
version_requirements: !ruby/object:Gem::Requirement
|
231
247
|
requirements:
|
232
248
|
- - "~>"
|
233
249
|
- !ruby/object:Gem::Version
|
234
|
-
version: '
|
250
|
+
version: '2.10'
|
235
251
|
- !ruby/object:Gem::Dependency
|
236
252
|
name: simplecov
|
237
253
|
requirement: !ruby/object:Gem::Requirement
|
238
254
|
requirements:
|
239
|
-
- - "
|
255
|
+
- - ">="
|
240
256
|
- !ruby/object:Gem::Version
|
241
|
-
version: '0.
|
257
|
+
version: '0.22'
|
242
258
|
type: :development
|
243
259
|
prerelease: false
|
244
260
|
version_requirements: !ruby/object:Gem::Requirement
|
245
261
|
requirements:
|
246
|
-
- - "
|
262
|
+
- - ">="
|
247
263
|
- !ruby/object:Gem::Version
|
248
|
-
version: '0.
|
264
|
+
version: '0.22'
|
249
265
|
- !ruby/object:Gem::Dependency
|
250
266
|
name: terminal-table
|
251
267
|
requirement: !ruby/object:Gem::Requirement
|
252
268
|
requirements:
|
253
269
|
- - "~>"
|
254
270
|
- !ruby/object:Gem::Version
|
255
|
-
version: '
|
271
|
+
version: '3.0'
|
256
272
|
type: :development
|
257
273
|
prerelease: false
|
258
274
|
version_requirements: !ruby/object:Gem::Requirement
|
259
275
|
requirements:
|
260
276
|
- - "~>"
|
261
277
|
- !ruby/object:Gem::Version
|
262
|
-
version: '
|
278
|
+
version: '3.0'
|
263
279
|
- !ruby/object:Gem::Dependency
|
264
280
|
name: timecop
|
265
281
|
requirement: !ruby/object:Gem::Requirement
|
266
282
|
requirements:
|
267
|
-
- - "
|
283
|
+
- - ">="
|
268
284
|
- !ruby/object:Gem::Version
|
269
|
-
version: 0.9.
|
285
|
+
version: 0.9.6
|
270
286
|
type: :development
|
271
287
|
prerelease: false
|
272
288
|
version_requirements: !ruby/object:Gem::Requirement
|
273
289
|
requirements:
|
274
|
-
- - "
|
290
|
+
- - ">="
|
275
291
|
- !ruby/object:Gem::Version
|
276
|
-
version: 0.9.
|
292
|
+
version: 0.9.6
|
277
293
|
- !ruby/object:Gem::Dependency
|
278
294
|
name: vcr
|
279
295
|
requirement: !ruby/object:Gem::Requirement
|
280
296
|
requirements:
|
281
297
|
- - "~>"
|
282
298
|
- !ruby/object:Gem::Version
|
283
|
-
version: '
|
299
|
+
version: '6.0'
|
284
300
|
type: :development
|
285
301
|
prerelease: false
|
286
302
|
version_requirements: !ruby/object:Gem::Requirement
|
287
303
|
requirements:
|
288
304
|
- - "~>"
|
289
305
|
- !ruby/object:Gem::Version
|
290
|
-
version: '
|
306
|
+
version: '6.0'
|
291
307
|
- !ruby/object:Gem::Dependency
|
292
308
|
name: webmock
|
293
309
|
requirement: !ruby/object:Gem::Requirement
|
294
310
|
requirements:
|
295
311
|
- - "~>"
|
296
312
|
- !ruby/object:Gem::Version
|
297
|
-
version: '3.
|
313
|
+
version: '3.18'
|
298
314
|
type: :development
|
299
315
|
prerelease: false
|
300
316
|
version_requirements: !ruby/object:Gem::Requirement
|
301
317
|
requirements:
|
302
318
|
- - "~>"
|
303
319
|
- !ruby/object:Gem::Version
|
304
|
-
version: '3.
|
320
|
+
version: '3.18'
|
305
321
|
- !ruby/object:Gem::Dependency
|
306
322
|
name: yard
|
307
323
|
requirement: !ruby/object:Gem::Requirement
|
308
324
|
requirements:
|
309
|
-
- - "
|
325
|
+
- - ">="
|
310
326
|
- !ruby/object:Gem::Version
|
311
|
-
version: 0.9.
|
327
|
+
version: 0.9.28
|
312
328
|
type: :development
|
313
329
|
prerelease: false
|
314
330
|
version_requirements: !ruby/object:Gem::Requirement
|
315
331
|
requirements:
|
316
|
-
- - "
|
332
|
+
- - ">="
|
317
333
|
- !ruby/object:Gem::Version
|
318
|
-
version: 0.9.
|
334
|
+
version: 0.9.28
|
319
335
|
- !ruby/object:Gem::Dependency
|
320
336
|
name: yard-activesupport-concern
|
321
337
|
requirement: !ruby/object:Gem::Requirement
|
322
338
|
requirements:
|
323
|
-
- - "
|
339
|
+
- - ">="
|
324
340
|
- !ruby/object:Gem::Version
|
325
341
|
version: 0.0.1
|
326
342
|
type: :development
|
327
343
|
prerelease: false
|
328
344
|
version_requirements: !ruby/object:Gem::Requirement
|
329
345
|
requirements:
|
330
|
-
- - "
|
346
|
+
- - ">="
|
331
347
|
- !ruby/object:Gem::Version
|
332
348
|
version: 0.0.1
|
333
349
|
description:
|
334
350
|
email:
|
335
|
-
-
|
351
|
+
- marcus3006@gmail.com
|
336
352
|
executables: []
|
337
353
|
extensions: []
|
338
354
|
extra_rdoc_files: []
|
@@ -352,6 +368,7 @@ files:
|
|
352
368
|
- Dockerfile
|
353
369
|
- Envfile
|
354
370
|
- Gemfile
|
371
|
+
- Guardfile
|
355
372
|
- LICENSE
|
356
373
|
- Makefile
|
357
374
|
- README.md
|
@@ -364,7 +381,6 @@ files:
|
|
364
381
|
- doc/assets/project.svg
|
365
382
|
- docker-compose.yml
|
366
383
|
- gemfiles/rails_5.2.gemfile
|
367
|
-
- gemfiles/rails_6.0.gemfile
|
368
384
|
- immoscout.gemspec
|
369
385
|
- lib/immoscout.rb
|
370
386
|
- lib/immoscout/api/client.rb
|
@@ -404,18 +420,22 @@ files:
|
|
404
420
|
- lib/immoscout/models/picture.rb
|
405
421
|
- lib/immoscout/models/publish.rb
|
406
422
|
- lib/immoscout/version.rb
|
407
|
-
homepage:
|
423
|
+
homepage:
|
408
424
|
licenses:
|
409
425
|
- MIT
|
410
426
|
metadata:
|
411
|
-
|
427
|
+
homepage_uri: https://github.com/hausgold/immoscout
|
428
|
+
source_code_uri: https://github.com/hausgold/immoscout
|
429
|
+
changelog_uri: https://github.com/hausgold/immoscout/blob/master/CHANGELOG.md
|
430
|
+
bug_tracker_uri: https://github.com/hausgold/immoscout/issues
|
431
|
+
documentation_uri: https://www.rubydoc.info/gems/immoscout
|
412
432
|
post_install_message:
|
413
433
|
rdoc_options: []
|
414
434
|
require_paths:
|
415
435
|
- lib
|
416
436
|
required_ruby_version: !ruby/object:Gem::Requirement
|
417
437
|
requirements:
|
418
|
-
- - "
|
438
|
+
- - ">="
|
419
439
|
- !ruby/object:Gem::Version
|
420
440
|
version: '2.5'
|
421
441
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -424,7 +444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
424
444
|
- !ruby/object:Gem::Version
|
425
445
|
version: '0'
|
426
446
|
requirements: []
|
427
|
-
rubygems_version: 3.
|
447
|
+
rubygems_version: 3.3.8
|
428
448
|
signing_key:
|
429
449
|
specification_version: 4
|
430
450
|
summary: Ruby client for the Immobilienscout24 REST API
|