pricehubble 0.4.1 → 1.0.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 +39 -0
- data/.github/workflows/test.yml +63 -0
- data/.rspec +2 -2
- data/.rubocop.yml +28 -4
- data/.simplecov +12 -0
- data/Appraisals +2 -9
- data/CHANGELOG.md +17 -0
- data/Dockerfile +2 -3
- data/Guardfile +44 -0
- data/LICENSE +1 -1
- data/Makefile +32 -18
- data/README.md +4 -4
- data/Rakefile +20 -69
- data/gemfiles/rails_5.2.gemfile +4 -7
- data/lib/pricehubble/client/dossiers.rb +2 -4
- data/lib/pricehubble/client/request/data_sanitization.rb +1 -1
- data/lib/pricehubble/client/utils/request.rb +8 -8
- data/lib/pricehubble/client/valuation.rb +5 -1
- data/lib/pricehubble/core_ext/hash.rb +2 -2
- data/lib/pricehubble/entity/base_entity.rb +1 -0
- data/lib/pricehubble/entity/concern/associations.rb +6 -4
- data/lib/pricehubble/entity/concern/attributes.rb +13 -6
- data/lib/pricehubble/entity/valuation_request.rb +1 -1
- data/lib/pricehubble/identity.rb +1 -0
- data/lib/pricehubble/utils/decision.rb +1 -1
- data/lib/pricehubble/version.rb +18 -1
- data/lib/pricehubble.rb +0 -1
- data/pricehubble.gemspec +40 -29
- metadata +84 -69
- data/.travis.yml +0 -24
- data/gemfiles/rails_6.0.gemfile +0 -11
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pricehubble
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
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: activemodel
|
@@ -16,28 +16,28 @@ 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: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.2
|
33
|
+
version: '5.2'
|
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: 5.2
|
40
|
+
version: '5.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,244 +84,252 @@ dependencies:
|
|
84
84
|
name: appraisal
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.4'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.4'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.16'
|
104
|
-
- - "<"
|
101
|
+
- - "~>"
|
105
102
|
- !ruby/object:Gem::Version
|
106
|
-
version: '3'
|
103
|
+
version: '2.3'
|
107
104
|
type: :development
|
108
105
|
prerelease: false
|
109
106
|
version_requirements: !ruby/object:Gem::Requirement
|
110
107
|
requirements:
|
111
|
-
- - "
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '1.16'
|
114
|
-
- - "<"
|
108
|
+
- - "~>"
|
115
109
|
- !ruby/object:Gem::Version
|
116
|
-
version: '3'
|
110
|
+
version: '2.3'
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
112
|
+
name: countless
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
120
114
|
requirements:
|
121
115
|
- - "~>"
|
122
116
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
117
|
+
version: '1.1'
|
124
118
|
type: :development
|
125
119
|
prerelease: false
|
126
120
|
version_requirements: !ruby/object:Gem::Requirement
|
127
121
|
requirements:
|
128
122
|
- - "~>"
|
129
123
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
124
|
+
version: '1.1'
|
131
125
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
126
|
+
name: factory_bot
|
133
127
|
requirement: !ruby/object:Gem::Requirement
|
134
128
|
requirements:
|
135
|
-
- - "
|
129
|
+
- - "~>"
|
136
130
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
131
|
+
version: '6.2'
|
138
132
|
type: :development
|
139
133
|
prerelease: false
|
140
134
|
version_requirements: !ruby/object:Gem::Requirement
|
141
135
|
requirements:
|
142
|
-
- - "
|
136
|
+
- - "~>"
|
143
137
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
138
|
+
version: '6.2'
|
145
139
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
140
|
+
name: guard-rspec
|
147
141
|
requirement: !ruby/object:Gem::Requirement
|
148
142
|
requirements:
|
149
143
|
- - "~>"
|
150
144
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
145
|
+
version: '4.7'
|
152
146
|
type: :development
|
153
147
|
prerelease: false
|
154
148
|
version_requirements: !ruby/object:Gem::Requirement
|
155
149
|
requirements:
|
156
150
|
- - "~>"
|
157
151
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
152
|
+
version: '4.7'
|
159
153
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
154
|
+
name: rake
|
161
155
|
requirement: !ruby/object:Gem::Requirement
|
162
156
|
requirements:
|
163
157
|
- - "~>"
|
164
158
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
159
|
+
version: '13.0'
|
166
160
|
type: :development
|
167
161
|
prerelease: false
|
168
162
|
version_requirements: !ruby/object:Gem::Requirement
|
169
163
|
requirements:
|
170
164
|
- - "~>"
|
171
165
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
166
|
+
version: '13.0'
|
173
167
|
- !ruby/object:Gem::Dependency
|
174
168
|
name: redcarpet
|
175
169
|
requirement: !ruby/object:Gem::Requirement
|
176
170
|
requirements:
|
177
171
|
- - "~>"
|
178
172
|
- !ruby/object:Gem::Version
|
179
|
-
version: '3.
|
173
|
+
version: '3.5'
|
180
174
|
type: :development
|
181
175
|
prerelease: false
|
182
176
|
version_requirements: !ruby/object:Gem::Requirement
|
183
177
|
requirements:
|
184
178
|
- - "~>"
|
185
179
|
- !ruby/object:Gem::Version
|
186
|
-
version: '3.
|
180
|
+
version: '3.5'
|
187
181
|
- !ruby/object:Gem::Dependency
|
188
182
|
name: rspec
|
189
183
|
requirement: !ruby/object:Gem::Requirement
|
190
184
|
requirements:
|
191
185
|
- - "~>"
|
192
186
|
- !ruby/object:Gem::Version
|
193
|
-
version: '3.
|
187
|
+
version: '3.12'
|
194
188
|
type: :development
|
195
189
|
prerelease: false
|
196
190
|
version_requirements: !ruby/object:Gem::Requirement
|
197
191
|
requirements:
|
198
192
|
- - "~>"
|
199
193
|
- !ruby/object:Gem::Version
|
200
|
-
version: '3.
|
194
|
+
version: '3.12'
|
201
195
|
- !ruby/object:Gem::Dependency
|
202
196
|
name: rubocop
|
203
197
|
requirement: !ruby/object:Gem::Requirement
|
204
198
|
requirements:
|
205
199
|
- - "~>"
|
206
200
|
- !ruby/object:Gem::Version
|
207
|
-
version:
|
201
|
+
version: '1.28'
|
208
202
|
type: :development
|
209
203
|
prerelease: false
|
210
204
|
version_requirements: !ruby/object:Gem::Requirement
|
211
205
|
requirements:
|
212
206
|
- - "~>"
|
213
207
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
208
|
+
version: '1.28'
|
215
209
|
- !ruby/object:Gem::Dependency
|
216
|
-
name: rubocop-
|
210
|
+
name: rubocop-rails
|
217
211
|
requirement: !ruby/object:Gem::Requirement
|
218
212
|
requirements:
|
219
213
|
- - "~>"
|
220
214
|
- !ruby/object:Gem::Version
|
221
|
-
version: '
|
215
|
+
version: '2.14'
|
222
216
|
type: :development
|
223
217
|
prerelease: false
|
224
218
|
version_requirements: !ruby/object:Gem::Requirement
|
225
219
|
requirements:
|
226
220
|
- - "~>"
|
227
221
|
- !ruby/object:Gem::Version
|
228
|
-
version: '
|
222
|
+
version: '2.14'
|
229
223
|
- !ruby/object:Gem::Dependency
|
230
|
-
name:
|
224
|
+
name: rubocop-rspec
|
231
225
|
requirement: !ruby/object:Gem::Requirement
|
232
226
|
requirements:
|
233
227
|
- - "~>"
|
234
228
|
- !ruby/object:Gem::Version
|
235
|
-
version: '
|
229
|
+
version: '2.10'
|
236
230
|
type: :development
|
237
231
|
prerelease: false
|
238
232
|
version_requirements: !ruby/object:Gem::Requirement
|
239
233
|
requirements:
|
240
234
|
- - "~>"
|
241
235
|
- !ruby/object:Gem::Version
|
242
|
-
version: '
|
236
|
+
version: '2.10'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: simplecov
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0.22'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0.22'
|
243
251
|
- !ruby/object:Gem::Dependency
|
244
252
|
name: terminal-table
|
245
253
|
requirement: !ruby/object:Gem::Requirement
|
246
254
|
requirements:
|
247
255
|
- - "~>"
|
248
256
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
257
|
+
version: '3.0'
|
250
258
|
type: :development
|
251
259
|
prerelease: false
|
252
260
|
version_requirements: !ruby/object:Gem::Requirement
|
253
261
|
requirements:
|
254
262
|
- - "~>"
|
255
263
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
264
|
+
version: '3.0'
|
257
265
|
- !ruby/object:Gem::Dependency
|
258
266
|
name: timecop
|
259
267
|
requirement: !ruby/object:Gem::Requirement
|
260
268
|
requirements:
|
261
|
-
- - "
|
269
|
+
- - ">="
|
262
270
|
- !ruby/object:Gem::Version
|
263
|
-
version: 0.9.
|
271
|
+
version: 0.9.6
|
264
272
|
type: :development
|
265
273
|
prerelease: false
|
266
274
|
version_requirements: !ruby/object:Gem::Requirement
|
267
275
|
requirements:
|
268
|
-
- - "
|
276
|
+
- - ">="
|
269
277
|
- !ruby/object:Gem::Version
|
270
|
-
version: 0.9.
|
278
|
+
version: 0.9.6
|
271
279
|
- !ruby/object:Gem::Dependency
|
272
280
|
name: vcr
|
273
281
|
requirement: !ruby/object:Gem::Requirement
|
274
282
|
requirements:
|
275
283
|
- - "~>"
|
276
284
|
- !ruby/object:Gem::Version
|
277
|
-
version: '
|
285
|
+
version: '6.0'
|
278
286
|
type: :development
|
279
287
|
prerelease: false
|
280
288
|
version_requirements: !ruby/object:Gem::Requirement
|
281
289
|
requirements:
|
282
290
|
- - "~>"
|
283
291
|
- !ruby/object:Gem::Version
|
284
|
-
version: '
|
292
|
+
version: '6.0'
|
285
293
|
- !ruby/object:Gem::Dependency
|
286
294
|
name: webmock
|
287
295
|
requirement: !ruby/object:Gem::Requirement
|
288
296
|
requirements:
|
289
297
|
- - "~>"
|
290
298
|
- !ruby/object:Gem::Version
|
291
|
-
version: '3.
|
299
|
+
version: '3.18'
|
292
300
|
type: :development
|
293
301
|
prerelease: false
|
294
302
|
version_requirements: !ruby/object:Gem::Requirement
|
295
303
|
requirements:
|
296
304
|
- - "~>"
|
297
305
|
- !ruby/object:Gem::Version
|
298
|
-
version: '3.
|
306
|
+
version: '3.18'
|
299
307
|
- !ruby/object:Gem::Dependency
|
300
308
|
name: yard
|
301
309
|
requirement: !ruby/object:Gem::Requirement
|
302
310
|
requirements:
|
303
|
-
- - "
|
311
|
+
- - ">="
|
304
312
|
- !ruby/object:Gem::Version
|
305
|
-
version: 0.9.
|
313
|
+
version: 0.9.28
|
306
314
|
type: :development
|
307
315
|
prerelease: false
|
308
316
|
version_requirements: !ruby/object:Gem::Requirement
|
309
317
|
requirements:
|
310
|
-
- - "
|
318
|
+
- - ">="
|
311
319
|
- !ruby/object:Gem::Version
|
312
|
-
version: 0.9.
|
320
|
+
version: 0.9.28
|
313
321
|
- !ruby/object:Gem::Dependency
|
314
322
|
name: yard-activesupport-concern
|
315
323
|
requirement: !ruby/object:Gem::Requirement
|
316
324
|
requirements:
|
317
|
-
- - "
|
325
|
+
- - ">="
|
318
326
|
- !ruby/object:Gem::Version
|
319
327
|
version: 0.0.1
|
320
328
|
type: :development
|
321
329
|
prerelease: false
|
322
330
|
version_requirements: !ruby/object:Gem::Requirement
|
323
331
|
requirements:
|
324
|
-
- - "
|
332
|
+
- - ">="
|
325
333
|
- !ruby/object:Gem::Version
|
326
334
|
version: 0.0.1
|
327
335
|
description: Ruby client for the PriceHubble REST API
|
@@ -332,17 +340,19 @@ extensions: []
|
|
332
340
|
extra_rdoc_files: []
|
333
341
|
files:
|
334
342
|
- ".editorconfig"
|
343
|
+
- ".github/workflows/documentation.yml"
|
344
|
+
- ".github/workflows/test.yml"
|
335
345
|
- ".gitignore"
|
336
346
|
- ".rspec"
|
337
347
|
- ".rubocop.yml"
|
338
348
|
- ".simplecov"
|
339
|
-
- ".travis.yml"
|
340
349
|
- ".yardopts"
|
341
350
|
- Appraisals
|
342
351
|
- CHANGELOG.md
|
343
352
|
- Dockerfile
|
344
353
|
- Envfile
|
345
354
|
- Gemfile
|
355
|
+
- Guardfile
|
346
356
|
- LICENSE
|
347
357
|
- Makefile
|
348
358
|
- README.md
|
@@ -362,7 +372,6 @@ files:
|
|
362
372
|
- doc/examples/simple_property_valuations.rb
|
363
373
|
- docker-compose.yml
|
364
374
|
- gemfiles/rails_5.2.gemfile
|
365
|
-
- gemfiles/rails_6.0.gemfile
|
366
375
|
- lib/price_hubble.rb
|
367
376
|
- lib/pricehubble.rb
|
368
377
|
- lib/pricehubble/client.rb
|
@@ -411,16 +420,22 @@ files:
|
|
411
420
|
- lib/pricehubble/utils/decision.rb
|
412
421
|
- lib/pricehubble/version.rb
|
413
422
|
- pricehubble.gemspec
|
414
|
-
homepage:
|
415
|
-
licenses:
|
416
|
-
|
423
|
+
homepage:
|
424
|
+
licenses:
|
425
|
+
- MIT
|
426
|
+
metadata:
|
427
|
+
homepage_uri: https://github.com/hausgold/pricehubble
|
428
|
+
source_code_uri: https://github.com/hausgold/pricehubble
|
429
|
+
changelog_uri: https://github.com/hausgold/pricehubble/blob/master/CHANGELOG.md
|
430
|
+
bug_tracker_uri: https://github.com/hausgold/pricehubble/issues
|
431
|
+
documentation_uri: https://www.rubydoc.info/gems/pricehubble
|
417
432
|
post_install_message:
|
418
433
|
rdoc_options: []
|
419
434
|
require_paths:
|
420
435
|
- lib
|
421
436
|
required_ruby_version: !ruby/object:Gem::Requirement
|
422
437
|
requirements:
|
423
|
-
- - "
|
438
|
+
- - ">="
|
424
439
|
- !ruby/object:Gem::Version
|
425
440
|
version: '2.5'
|
426
441
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -429,7 +444,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
429
444
|
- !ruby/object:Gem::Version
|
430
445
|
version: '0'
|
431
446
|
requirements: []
|
432
|
-
rubygems_version: 3.
|
447
|
+
rubygems_version: 3.3.8
|
433
448
|
signing_key:
|
434
449
|
specification_version: 4
|
435
450
|
summary: Ruby client for the PriceHubble REST API
|
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
env:
|
2
|
-
global:
|
3
|
-
- CC_TEST_REPORTER_ID=e80bc2fc948962da41f411047330599fe2bdafcc378bd99a1c3bffbfae74c20f
|
4
|
-
|
5
|
-
sudo: false
|
6
|
-
language: ruby
|
7
|
-
cache: bundler
|
8
|
-
rvm:
|
9
|
-
- 2.7
|
10
|
-
- 2.6
|
11
|
-
- 2.5
|
12
|
-
|
13
|
-
gemfile:
|
14
|
-
- gemfiles/rails_5.2.gemfile
|
15
|
-
- gemfiles/rails_6.0.gemfile
|
16
|
-
|
17
|
-
before_install: gem install bundler
|
18
|
-
before_script:
|
19
|
-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
20
|
-
- chmod +x ./cc-test-reporter
|
21
|
-
- ./cc-test-reporter before-build
|
22
|
-
script: bundle exec rake
|
23
|
-
after_script:
|
24
|
-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
|
data/gemfiles/rails_6.0.gemfile
DELETED