immoscout 1.1.0 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/documentation.yml +38 -0
- data/.github/workflows/test.yml +62 -0
- data/.gitignore +6 -4
- data/.rubocop.yml +17 -8
- data/.yardopts +6 -0
- data/Appraisals +9 -0
- data/CHANGELOG.md +33 -0
- data/Dockerfile +29 -0
- data/Envfile +6 -0
- data/Gemfile +1 -1
- data/Makefile +152 -0
- data/README.md +5 -5
- data/Rakefile +71 -2
- data/config/docker/.bash_profile +3 -0
- data/config/docker/.bashrc +48 -0
- data/config/docker/.inputrc +17 -0
- data/doc/assets/project.svg +68 -0
- data/docker-compose.yml +9 -0
- data/gemfiles/rails_5.2.gemfile +9 -0
- data/gemfiles/rails_6.0.gemfile +9 -0
- data/immoscout.gemspec +36 -24
- data/lib/immoscout/api/client.rb +4 -2
- data/lib/immoscout/api/connection.rb +4 -2
- data/lib/immoscout/api/request.rb +9 -3
- data/lib/immoscout/configuration.rb +7 -7
- data/lib/immoscout/errors/failed.rb +2 -0
- data/lib/immoscout/models/actions/attachment.rb +27 -9
- data/lib/immoscout/models/actions/contact.rb +10 -2
- data/lib/immoscout/models/actions/publish.rb +3 -1
- data/lib/immoscout/models/actions/real_estate.rb +13 -3
- data/lib/immoscout/models/apartment_buy.rb +1 -1
- data/lib/immoscout/models/base.rb +1 -0
- data/lib/immoscout/models/concerns/modelable.rb +6 -3
- data/lib/immoscout/models/concerns/propertiable.rb +4 -1
- data/lib/immoscout/models/concerns/renderable.rb +13 -0
- data/lib/immoscout/models/contact.rb +1 -1
- data/lib/immoscout/models/document.rb +1 -1
- data/lib/immoscout/models/house_buy.rb +1 -1
- data/lib/immoscout/models/picture.rb +2 -2
- data/lib/immoscout/models/publish.rb +1 -1
- data/lib/immoscout/models.rb +2 -0
- data/lib/immoscout/version.rb +1 -1
- data/lib/immoscout.rb +1 -1
- metadata +198 -36
- data/.travis.yml +0 -20
- data/doc/assets/logo.png +0 -0
- data/doc/assets/project.png +0 -0
- data/doc/assets/project.xcf +0 -0
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.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Geissler
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-10-15 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:
|
19
|
+
version: 5.2.0
|
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:
|
26
|
+
version: 5.2.0
|
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:
|
33
|
+
version: '1.0'
|
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:
|
40
|
+
version: '1.0'
|
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:
|
47
|
+
version: '1.0'
|
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:
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: simple_oauth
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,34 +66,74 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: appraisal
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: bundler
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.16'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.16'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: factory_bot
|
71
105
|
requirement: !ruby/object:Gem::Requirement
|
72
106
|
requirements:
|
73
107
|
- - "~>"
|
74
108
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
109
|
+
version: '4.11'
|
76
110
|
type: :development
|
77
111
|
prerelease: false
|
78
112
|
version_requirements: !ruby/object:Gem::Requirement
|
79
113
|
requirements:
|
80
114
|
- - "~>"
|
81
115
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
116
|
+
version: '4.11'
|
83
117
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
118
|
+
name: railties
|
85
119
|
requirement: !ruby/object:Gem::Requirement
|
86
120
|
requirements:
|
87
121
|
- - ">="
|
88
122
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
123
|
+
version: 4.2.0
|
124
|
+
- - "<"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '6.1'
|
90
127
|
type: :development
|
91
128
|
prerelease: false
|
92
129
|
version_requirements: !ruby/object:Gem::Requirement
|
93
130
|
requirements:
|
94
131
|
- - ">="
|
95
132
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
133
|
+
version: 4.2.0
|
134
|
+
- - "<"
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '6.1'
|
97
137
|
- !ruby/object:Gem::Dependency
|
98
138
|
name: rake
|
99
139
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +148,34 @@ dependencies:
|
|
108
148
|
- - "~>"
|
109
149
|
- !ruby/object:Gem::Version
|
110
150
|
version: '10.0'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rdoc
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - "~>"
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '6.1'
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '6.1'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: redcarpet
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '3.4'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '3.4'
|
111
179
|
- !ruby/object:Gem::Dependency
|
112
180
|
name: rspec
|
113
181
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,57 +196,141 @@ dependencies:
|
|
128
196
|
requirements:
|
129
197
|
- - "~>"
|
130
198
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.4
|
199
|
+
version: '1.4'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '1.4'
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rubocop
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: 0.63.1
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 0.63.1
|
221
|
+
- !ruby/object:Gem::Dependency
|
222
|
+
name: rubocop-rspec
|
223
|
+
requirement: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: '1.31'
|
228
|
+
type: :development
|
229
|
+
prerelease: false
|
230
|
+
version_requirements: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - "~>"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: '1.31'
|
235
|
+
- !ruby/object:Gem::Dependency
|
236
|
+
name: simplecov
|
237
|
+
requirement: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - "<"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0.18'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - "<"
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0.18'
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
name: terminal-table
|
251
|
+
requirement: !ruby/object:Gem::Requirement
|
252
|
+
requirements:
|
253
|
+
- - "~>"
|
254
|
+
- !ruby/object:Gem::Version
|
255
|
+
version: '1.8'
|
256
|
+
type: :development
|
257
|
+
prerelease: false
|
258
|
+
version_requirements: !ruby/object:Gem::Requirement
|
259
|
+
requirements:
|
260
|
+
- - "~>"
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '1.8'
|
263
|
+
- !ruby/object:Gem::Dependency
|
264
|
+
name: timecop
|
265
|
+
requirement: !ruby/object:Gem::Requirement
|
266
|
+
requirements:
|
267
|
+
- - "~>"
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 0.9.1
|
132
270
|
type: :development
|
133
271
|
prerelease: false
|
134
272
|
version_requirements: !ruby/object:Gem::Requirement
|
135
273
|
requirements:
|
136
274
|
- - "~>"
|
137
275
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
276
|
+
version: 0.9.1
|
139
277
|
- !ruby/object:Gem::Dependency
|
140
278
|
name: vcr
|
141
279
|
requirement: !ruby/object:Gem::Requirement
|
142
280
|
requirements:
|
143
281
|
- - "~>"
|
144
282
|
- !ruby/object:Gem::Version
|
145
|
-
version: 3.0
|
283
|
+
version: '3.0'
|
146
284
|
type: :development
|
147
285
|
prerelease: false
|
148
286
|
version_requirements: !ruby/object:Gem::Requirement
|
149
287
|
requirements:
|
150
288
|
- - "~>"
|
151
289
|
- !ruby/object:Gem::Version
|
152
|
-
version: 3.0
|
290
|
+
version: '3.0'
|
153
291
|
- !ruby/object:Gem::Dependency
|
154
292
|
name: webmock
|
155
293
|
requirement: !ruby/object:Gem::Requirement
|
156
294
|
requirements:
|
157
295
|
- - "~>"
|
158
296
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
297
|
+
version: '3.5'
|
160
298
|
type: :development
|
161
299
|
prerelease: false
|
162
300
|
version_requirements: !ruby/object:Gem::Requirement
|
163
301
|
requirements:
|
164
302
|
- - "~>"
|
165
303
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
304
|
+
version: '3.5'
|
167
305
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
306
|
+
name: yard
|
169
307
|
requirement: !ruby/object:Gem::Requirement
|
170
308
|
requirements:
|
171
|
-
- - "
|
309
|
+
- - "~>"
|
172
310
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
311
|
+
version: 0.9.18
|
174
312
|
type: :development
|
175
313
|
prerelease: false
|
176
314
|
version_requirements: !ruby/object:Gem::Requirement
|
177
315
|
requirements:
|
178
|
-
- - "
|
316
|
+
- - "~>"
|
179
317
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
181
|
-
|
318
|
+
version: 0.9.18
|
319
|
+
- !ruby/object:Gem::Dependency
|
320
|
+
name: yard-activesupport-concern
|
321
|
+
requirement: !ruby/object:Gem::Requirement
|
322
|
+
requirements:
|
323
|
+
- - "~>"
|
324
|
+
- !ruby/object:Gem::Version
|
325
|
+
version: 0.0.1
|
326
|
+
type: :development
|
327
|
+
prerelease: false
|
328
|
+
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
requirements:
|
330
|
+
- - "~>"
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: 0.0.1
|
333
|
+
description:
|
182
334
|
email:
|
183
335
|
- marcus.geissler@hanseventures.com
|
184
336
|
executables: []
|
@@ -186,22 +338,33 @@ extensions: []
|
|
186
338
|
extra_rdoc_files: []
|
187
339
|
files:
|
188
340
|
- ".editorconfig"
|
341
|
+
- ".github/workflows/documentation.yml"
|
342
|
+
- ".github/workflows/test.yml"
|
189
343
|
- ".gitignore"
|
190
344
|
- ".reek"
|
191
345
|
- ".rspec"
|
192
346
|
- ".rubocop.yml"
|
193
347
|
- ".simplecov"
|
194
|
-
- ".
|
348
|
+
- ".yardopts"
|
349
|
+
- Appraisals
|
350
|
+
- CHANGELOG.md
|
195
351
|
- CODE_OF_CONDUCT.md
|
352
|
+
- Dockerfile
|
353
|
+
- Envfile
|
196
354
|
- Gemfile
|
197
355
|
- LICENSE
|
356
|
+
- Makefile
|
198
357
|
- README.md
|
199
358
|
- Rakefile
|
200
359
|
- bin/console
|
201
360
|
- bin/setup
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
361
|
+
- config/docker/.bash_profile
|
362
|
+
- config/docker/.bashrc
|
363
|
+
- config/docker/.inputrc
|
364
|
+
- doc/assets/project.svg
|
365
|
+
- docker-compose.yml
|
366
|
+
- gemfiles/rails_5.2.gemfile
|
367
|
+
- gemfiles/rails_6.0.gemfile
|
205
368
|
- immoscout.gemspec
|
206
369
|
- lib/immoscout.rb
|
207
370
|
- lib/immoscout/api/client.rb
|
@@ -246,24 +409,23 @@ licenses:
|
|
246
409
|
- MIT
|
247
410
|
metadata:
|
248
411
|
allowed_push_host: https://rubygems.org
|
249
|
-
post_install_message:
|
412
|
+
post_install_message:
|
250
413
|
rdoc_options: []
|
251
414
|
require_paths:
|
252
415
|
- lib
|
253
416
|
required_ruby_version: !ruby/object:Gem::Requirement
|
254
417
|
requirements:
|
255
|
-
- - "
|
418
|
+
- - "~>"
|
256
419
|
- !ruby/object:Gem::Version
|
257
|
-
version: '
|
420
|
+
version: '2.5'
|
258
421
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
422
|
requirements:
|
260
423
|
- - ">="
|
261
424
|
- !ruby/object:Gem::Version
|
262
425
|
version: '0'
|
263
426
|
requirements: []
|
264
|
-
|
265
|
-
|
266
|
-
signing_key:
|
427
|
+
rubygems_version: 3.2.16
|
428
|
+
signing_key:
|
267
429
|
specification_version: 4
|
268
430
|
summary: Ruby client for the Immobilienscout24 REST API
|
269
431
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
|
3
|
-
env:
|
4
|
-
global:
|
5
|
-
- CC_TEST_REPORTER_ID=b3e18bf2298b2b26779929ff953cab53b2e5b791f5f8b0a8023fae0997088da7
|
6
|
-
|
7
|
-
language: ruby
|
8
|
-
rvm:
|
9
|
-
- 2.5
|
10
|
-
- 2.4
|
11
|
-
- 2.3
|
12
|
-
- 2.2
|
13
|
-
|
14
|
-
before_install: gem install bundler -v 1.15.4
|
15
|
-
before_script:
|
16
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
17
|
-
- chmod +x ./cc-test-reporter
|
18
|
-
- ./cc-test-reporter before-build
|
19
|
-
after_script:
|
20
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/doc/assets/logo.png
DELETED
Binary file
|
data/doc/assets/project.png
DELETED
Binary file
|
data/doc/assets/project.xcf
DELETED
Binary file
|