pricehubble 0.4.2 → 1.1.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/release.yml +47 -0
- data/.github/workflows/test.yml +6 -5
- data/.rspec +2 -2
- data/.rubocop.yml +33 -4
- data/.simplecov +12 -0
- data/Appraisals +2 -9
- data/CHANGELOG.md +19 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Dockerfile +2 -3
- data/Envfile +0 -3
- data/Guardfile +44 -0
- data/LICENSE +1 -1
- data/Makefile +25 -10
- data/README.md +21 -8
- data/Rakefile +20 -74
- 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 +87 -77
- 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:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-24 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,250 +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
|
-
- - "
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: 4.2.0
|
138
|
-
- - "<"
|
129
|
+
- - "~>"
|
139
130
|
- !ruby/object:Gem::Version
|
140
|
-
version: '6.
|
131
|
+
version: '6.2'
|
141
132
|
type: :development
|
142
133
|
prerelease: false
|
143
134
|
version_requirements: !ruby/object:Gem::Requirement
|
144
135
|
requirements:
|
145
|
-
- - "
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: 4.2.0
|
148
|
-
- - "<"
|
136
|
+
- - "~>"
|
149
137
|
- !ruby/object:Gem::Version
|
150
|
-
version: '6.
|
138
|
+
version: '6.2'
|
151
139
|
- !ruby/object:Gem::Dependency
|
152
|
-
name:
|
140
|
+
name: guard-rspec
|
153
141
|
requirement: !ruby/object:Gem::Requirement
|
154
142
|
requirements:
|
155
143
|
- - "~>"
|
156
144
|
- !ruby/object:Gem::Version
|
157
|
-
version: '
|
145
|
+
version: '4.7'
|
158
146
|
type: :development
|
159
147
|
prerelease: false
|
160
148
|
version_requirements: !ruby/object:Gem::Requirement
|
161
149
|
requirements:
|
162
150
|
- - "~>"
|
163
151
|
- !ruby/object:Gem::Version
|
164
|
-
version: '
|
152
|
+
version: '4.7'
|
165
153
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
154
|
+
name: rake
|
167
155
|
requirement: !ruby/object:Gem::Requirement
|
168
156
|
requirements:
|
169
157
|
- - "~>"
|
170
158
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
159
|
+
version: '13.0'
|
172
160
|
type: :development
|
173
161
|
prerelease: false
|
174
162
|
version_requirements: !ruby/object:Gem::Requirement
|
175
163
|
requirements:
|
176
164
|
- - "~>"
|
177
165
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
166
|
+
version: '13.0'
|
179
167
|
- !ruby/object:Gem::Dependency
|
180
168
|
name: redcarpet
|
181
169
|
requirement: !ruby/object:Gem::Requirement
|
182
170
|
requirements:
|
183
171
|
- - "~>"
|
184
172
|
- !ruby/object:Gem::Version
|
185
|
-
version: '3.
|
173
|
+
version: '3.5'
|
186
174
|
type: :development
|
187
175
|
prerelease: false
|
188
176
|
version_requirements: !ruby/object:Gem::Requirement
|
189
177
|
requirements:
|
190
178
|
- - "~>"
|
191
179
|
- !ruby/object:Gem::Version
|
192
|
-
version: '3.
|
180
|
+
version: '3.5'
|
193
181
|
- !ruby/object:Gem::Dependency
|
194
182
|
name: rspec
|
195
183
|
requirement: !ruby/object:Gem::Requirement
|
196
184
|
requirements:
|
197
185
|
- - "~>"
|
198
186
|
- !ruby/object:Gem::Version
|
199
|
-
version: '3.
|
187
|
+
version: '3.12'
|
200
188
|
type: :development
|
201
189
|
prerelease: false
|
202
190
|
version_requirements: !ruby/object:Gem::Requirement
|
203
191
|
requirements:
|
204
192
|
- - "~>"
|
205
193
|
- !ruby/object:Gem::Version
|
206
|
-
version: '3.
|
194
|
+
version: '3.12'
|
207
195
|
- !ruby/object:Gem::Dependency
|
208
196
|
name: rubocop
|
209
197
|
requirement: !ruby/object:Gem::Requirement
|
210
198
|
requirements:
|
211
199
|
- - "~>"
|
212
200
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
201
|
+
version: '1.28'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '1.28'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop-rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '2.14'
|
214
216
|
type: :development
|
215
217
|
prerelease: false
|
216
218
|
version_requirements: !ruby/object:Gem::Requirement
|
217
219
|
requirements:
|
218
220
|
- - "~>"
|
219
221
|
- !ruby/object:Gem::Version
|
220
|
-
version:
|
222
|
+
version: '2.14'
|
221
223
|
- !ruby/object:Gem::Dependency
|
222
224
|
name: rubocop-rspec
|
223
225
|
requirement: !ruby/object:Gem::Requirement
|
224
226
|
requirements:
|
225
227
|
- - "~>"
|
226
228
|
- !ruby/object:Gem::Version
|
227
|
-
version: '
|
229
|
+
version: '2.10'
|
228
230
|
type: :development
|
229
231
|
prerelease: false
|
230
232
|
version_requirements: !ruby/object:Gem::Requirement
|
231
233
|
requirements:
|
232
234
|
- - "~>"
|
233
235
|
- !ruby/object:Gem::Version
|
234
|
-
version: '
|
236
|
+
version: '2.10'
|
235
237
|
- !ruby/object:Gem::Dependency
|
236
238
|
name: simplecov
|
237
239
|
requirement: !ruby/object:Gem::Requirement
|
238
240
|
requirements:
|
239
|
-
- - "
|
241
|
+
- - ">="
|
240
242
|
- !ruby/object:Gem::Version
|
241
|
-
version: '0.
|
243
|
+
version: '0.22'
|
242
244
|
type: :development
|
243
245
|
prerelease: false
|
244
246
|
version_requirements: !ruby/object:Gem::Requirement
|
245
247
|
requirements:
|
246
|
-
- - "
|
248
|
+
- - ">="
|
247
249
|
- !ruby/object:Gem::Version
|
248
|
-
version: '0.
|
250
|
+
version: '0.22'
|
249
251
|
- !ruby/object:Gem::Dependency
|
250
252
|
name: terminal-table
|
251
253
|
requirement: !ruby/object:Gem::Requirement
|
252
254
|
requirements:
|
253
255
|
- - "~>"
|
254
256
|
- !ruby/object:Gem::Version
|
255
|
-
version: '
|
257
|
+
version: '3.0'
|
256
258
|
type: :development
|
257
259
|
prerelease: false
|
258
260
|
version_requirements: !ruby/object:Gem::Requirement
|
259
261
|
requirements:
|
260
262
|
- - "~>"
|
261
263
|
- !ruby/object:Gem::Version
|
262
|
-
version: '
|
264
|
+
version: '3.0'
|
263
265
|
- !ruby/object:Gem::Dependency
|
264
266
|
name: timecop
|
265
267
|
requirement: !ruby/object:Gem::Requirement
|
266
268
|
requirements:
|
267
|
-
- - "
|
269
|
+
- - ">="
|
268
270
|
- !ruby/object:Gem::Version
|
269
|
-
version: 0.9.
|
271
|
+
version: 0.9.6
|
270
272
|
type: :development
|
271
273
|
prerelease: false
|
272
274
|
version_requirements: !ruby/object:Gem::Requirement
|
273
275
|
requirements:
|
274
|
-
- - "
|
276
|
+
- - ">="
|
275
277
|
- !ruby/object:Gem::Version
|
276
|
-
version: 0.9.
|
278
|
+
version: 0.9.6
|
277
279
|
- !ruby/object:Gem::Dependency
|
278
280
|
name: vcr
|
279
281
|
requirement: !ruby/object:Gem::Requirement
|
280
282
|
requirements:
|
281
283
|
- - "~>"
|
282
284
|
- !ruby/object:Gem::Version
|
283
|
-
version: '
|
285
|
+
version: '6.0'
|
284
286
|
type: :development
|
285
287
|
prerelease: false
|
286
288
|
version_requirements: !ruby/object:Gem::Requirement
|
287
289
|
requirements:
|
288
290
|
- - "~>"
|
289
291
|
- !ruby/object:Gem::Version
|
290
|
-
version: '
|
292
|
+
version: '6.0'
|
291
293
|
- !ruby/object:Gem::Dependency
|
292
294
|
name: webmock
|
293
295
|
requirement: !ruby/object:Gem::Requirement
|
294
296
|
requirements:
|
295
297
|
- - "~>"
|
296
298
|
- !ruby/object:Gem::Version
|
297
|
-
version: '3.
|
299
|
+
version: '3.18'
|
298
300
|
type: :development
|
299
301
|
prerelease: false
|
300
302
|
version_requirements: !ruby/object:Gem::Requirement
|
301
303
|
requirements:
|
302
304
|
- - "~>"
|
303
305
|
- !ruby/object:Gem::Version
|
304
|
-
version: '3.
|
306
|
+
version: '3.18'
|
305
307
|
- !ruby/object:Gem::Dependency
|
306
308
|
name: yard
|
307
309
|
requirement: !ruby/object:Gem::Requirement
|
308
310
|
requirements:
|
309
|
-
- - "
|
311
|
+
- - ">="
|
310
312
|
- !ruby/object:Gem::Version
|
311
|
-
version: 0.9.
|
313
|
+
version: 0.9.28
|
312
314
|
type: :development
|
313
315
|
prerelease: false
|
314
316
|
version_requirements: !ruby/object:Gem::Requirement
|
315
317
|
requirements:
|
316
|
-
- - "
|
318
|
+
- - ">="
|
317
319
|
- !ruby/object:Gem::Version
|
318
|
-
version: 0.9.
|
320
|
+
version: 0.9.28
|
319
321
|
- !ruby/object:Gem::Dependency
|
320
322
|
name: yard-activesupport-concern
|
321
323
|
requirement: !ruby/object:Gem::Requirement
|
322
324
|
requirements:
|
323
|
-
- - "
|
325
|
+
- - ">="
|
324
326
|
- !ruby/object:Gem::Version
|
325
327
|
version: 0.0.1
|
326
328
|
type: :development
|
327
329
|
prerelease: false
|
328
330
|
version_requirements: !ruby/object:Gem::Requirement
|
329
331
|
requirements:
|
330
|
-
- - "
|
332
|
+
- - ">="
|
331
333
|
- !ruby/object:Gem::Version
|
332
334
|
version: 0.0.1
|
333
335
|
description: Ruby client for the PriceHubble REST API
|
@@ -339,6 +341,7 @@ extra_rdoc_files: []
|
|
339
341
|
files:
|
340
342
|
- ".editorconfig"
|
341
343
|
- ".github/workflows/documentation.yml"
|
344
|
+
- ".github/workflows/release.yml"
|
342
345
|
- ".github/workflows/test.yml"
|
343
346
|
- ".gitignore"
|
344
347
|
- ".rspec"
|
@@ -347,9 +350,11 @@ files:
|
|
347
350
|
- ".yardopts"
|
348
351
|
- Appraisals
|
349
352
|
- CHANGELOG.md
|
353
|
+
- CODE_OF_CONDUCT.md
|
350
354
|
- Dockerfile
|
351
355
|
- Envfile
|
352
356
|
- Gemfile
|
357
|
+
- Guardfile
|
353
358
|
- LICENSE
|
354
359
|
- Makefile
|
355
360
|
- README.md
|
@@ -369,7 +374,6 @@ files:
|
|
369
374
|
- doc/examples/simple_property_valuations.rb
|
370
375
|
- docker-compose.yml
|
371
376
|
- gemfiles/rails_5.2.gemfile
|
372
|
-
- gemfiles/rails_6.0.gemfile
|
373
377
|
- lib/price_hubble.rb
|
374
378
|
- lib/pricehubble.rb
|
375
379
|
- lib/pricehubble/client.rb
|
@@ -418,16 +422,22 @@ files:
|
|
418
422
|
- lib/pricehubble/utils/decision.rb
|
419
423
|
- lib/pricehubble/version.rb
|
420
424
|
- pricehubble.gemspec
|
421
|
-
homepage:
|
422
|
-
licenses:
|
423
|
-
|
424
|
-
|
425
|
+
homepage:
|
426
|
+
licenses:
|
427
|
+
- MIT
|
428
|
+
metadata:
|
429
|
+
homepage_uri: https://github.com/hausgold/pricehubble
|
430
|
+
source_code_uri: https://github.com/hausgold/pricehubble
|
431
|
+
changelog_uri: https://github.com/hausgold/pricehubble/blob/master/CHANGELOG.md
|
432
|
+
bug_tracker_uri: https://github.com/hausgold/pricehubble/issues
|
433
|
+
documentation_uri: https://www.rubydoc.info/gems/pricehubble
|
434
|
+
post_install_message:
|
425
435
|
rdoc_options: []
|
426
436
|
require_paths:
|
427
437
|
- lib
|
428
438
|
required_ruby_version: !ruby/object:Gem::Requirement
|
429
439
|
requirements:
|
430
|
-
- - "
|
440
|
+
- - ">="
|
431
441
|
- !ruby/object:Gem::Version
|
432
442
|
version: '2.5'
|
433
443
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -436,8 +446,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
436
446
|
- !ruby/object:Gem::Version
|
437
447
|
version: '0'
|
438
448
|
requirements: []
|
439
|
-
rubygems_version: 3.
|
440
|
-
signing_key:
|
449
|
+
rubygems_version: 3.3.26
|
450
|
+
signing_key:
|
441
451
|
specification_version: 4
|
442
452
|
summary: Ruby client for the PriceHubble REST API
|
443
453
|
test_files: []
|
data/gemfiles/rails_6.0.gemfile
DELETED