pricehubble 1.1.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +11 -4
- data/.github/workflows/test.yml +5 -21
- data/.gitignore +1 -0
- data/.rubocop.yml +4 -4
- data/Appraisals +10 -0
- data/CHANGELOG.md +9 -0
- data/Dockerfile +3 -3
- data/Gemfile +22 -0
- data/Makefile +4 -1
- data/config/docker/.bashrc +3 -1
- data/doc/examples/authentication.rb +1 -1
- data/doc/examples/complex_property_valuations.rb +1 -1
- data/doc/examples/dossiers.rb +1 -1
- data/doc/examples/property_valuations_errors.rb +1 -1
- data/doc/examples/simple_property_valuations.rb +1 -1
- data/gemfiles/rails_5.2.gemfile +18 -0
- data/gemfiles/rails_6.1.gemfile +26 -0
- data/gemfiles/rails_7.1.gemfile +26 -0
- data/lib/{pricehubble → price_hubble}/client/response/recursive_open_struct.rb +1 -1
- data/lib/{pricehubble → price_hubble}/entity/concern/associations.rb +3 -3
- data/lib/{pricehubble → price_hubble}/entity/concern/attributes.rb +4 -4
- data/lib/{pricehubble → price_hubble}/version.rb +1 -1
- data/lib/price_hubble.rb +111 -1
- data/lib/pricehubble +1 -0
- data/lib/pricehubble.rb +1 -110
- data/pricehubble.gemspec +2 -21
- metadata +51 -301
- data/.github/workflows/documentation.yml +0 -39
- /data/lib/{pricehubble → price_hubble}/client/authentication.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/base.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/dossiers.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/request/data_sanitization.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/request/default_headers.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/response/data_sanitization.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/utils/request.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/utils/response.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client/valuation.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/client.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/configuration.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/configuration_handling.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/core_ext/hash.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/address.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/authentication.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/base_entity.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/attributes/date_array.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/attributes/enum.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/attributes/range.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/attributes/string_inquirer.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/callbacks.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/client.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/concern/persistence.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/coordinates.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/dossier.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/location.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/property.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/property_conditions.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/property_qualities.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/property_type.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/valuation.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/valuation_request.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/entity/valuation_scores.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/errors.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/faraday.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/identity.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/instrumentation/log_subscriber.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/instrumentation.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/railtie.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/utils/bangers.rb +0 -0
- /data/lib/{pricehubble → price_hubble}/utils/decision.rb +0 -0
data/lib/pricehubble.rb
CHANGED
@@ -1,112 +1,3 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
require 'active_support/concern'
|
5
|
-
require 'active_support/configurable'
|
6
|
-
require 'active_support/time'
|
7
|
-
require 'active_support/time_with_zone'
|
8
|
-
require 'active_support/core_ext/object'
|
9
|
-
require 'active_support/core_ext/module'
|
10
|
-
require 'active_support/core_ext/hash'
|
11
|
-
require 'active_support/core_ext/string'
|
12
|
-
require 'active_model'
|
13
|
-
require 'recursive-open-struct'
|
14
|
-
require 'faraday'
|
15
|
-
require 'faraday_middleware'
|
16
|
-
|
17
|
-
# Load polyfills if needed
|
18
|
-
require 'pricehubble/core_ext/hash'
|
19
|
-
|
20
|
-
# The top level namespace for the PriceHubble gem.
|
21
|
-
module PriceHubble
|
22
|
-
# Top level elements
|
23
|
-
autoload :Configuration, 'pricehubble/configuration'
|
24
|
-
autoload :ConfigurationHandling, 'pricehubble/configuration_handling'
|
25
|
-
autoload :Client, 'pricehubble/client'
|
26
|
-
autoload :Identity, 'pricehubble/identity'
|
27
|
-
autoload :Instrumentation, 'pricehubble/instrumentation'
|
28
|
-
|
29
|
-
# Entities
|
30
|
-
autoload :BaseEntity, 'pricehubble/entity/base_entity'
|
31
|
-
autoload :Authentication, 'pricehubble/entity/authentication'
|
32
|
-
autoload :Valuation, 'pricehubble/entity/valuation'
|
33
|
-
autoload :ValuationScores, 'pricehubble/entity/valuation_scores'
|
34
|
-
autoload :ValuationRequest, 'pricehubble/entity/valuation_request'
|
35
|
-
autoload :Property, 'pricehubble/entity/property'
|
36
|
-
autoload :PropertyConditions, 'pricehubble/entity/property_conditions'
|
37
|
-
autoload :PropertyQualities, 'pricehubble/entity/property_qualities'
|
38
|
-
autoload :PropertyType, 'pricehubble/entity/property_type'
|
39
|
-
autoload :Location, 'pricehubble/entity/location'
|
40
|
-
autoload :Address, 'pricehubble/entity/address'
|
41
|
-
autoload :Coordinates, 'pricehubble/entity/coordinates'
|
42
|
-
autoload :Dossier, 'pricehubble/entity/dossier'
|
43
|
-
|
44
|
-
# Some general purpose utilities
|
45
|
-
module Utils
|
46
|
-
autoload :Decision, 'pricehubble/utils/decision'
|
47
|
-
autoload :Bangers, 'pricehubble/utils/bangers'
|
48
|
-
end
|
49
|
-
|
50
|
-
# Instrumentation
|
51
|
-
module Instrumentation
|
52
|
-
autoload :LogSubscriber, 'pricehubble/instrumentation/log_subscriber'
|
53
|
-
end
|
54
|
-
|
55
|
-
# Dedicated application HTTP (low level) client
|
56
|
-
module Client
|
57
|
-
# All our utilities used for the low level client
|
58
|
-
module Utils
|
59
|
-
autoload :Request, 'pricehubble/client/utils/request'
|
60
|
-
autoload :Response, 'pricehubble/client/utils/response'
|
61
|
-
end
|
62
|
-
|
63
|
-
# Faraday request middlewares
|
64
|
-
module Request
|
65
|
-
autoload :DataSanitization, 'pricehubble/client/request/data_sanitization'
|
66
|
-
autoload :DefaultHeaders, 'pricehubble/client/request/default_headers'
|
67
|
-
end
|
68
|
-
|
69
|
-
# Faraday response middlewares
|
70
|
-
module Response
|
71
|
-
autoload :DataSanitization,
|
72
|
-
'pricehubble/client/response/data_sanitization'
|
73
|
-
autoload :RecursiveOpenStruct,
|
74
|
-
'pricehubble/client/response/recursive_open_struct'
|
75
|
-
end
|
76
|
-
|
77
|
-
autoload :Base, 'pricehubble/client/base'
|
78
|
-
autoload :Authentication, 'pricehubble/client/authentication'
|
79
|
-
autoload :Valuation, 'pricehubble/client/valuation'
|
80
|
-
autoload :Dossiers, 'pricehubble/client/dossiers'
|
81
|
-
end
|
82
|
-
|
83
|
-
# Separated features of an entity instance
|
84
|
-
module EntityConcern
|
85
|
-
autoload :Callbacks, 'pricehubble/entity/concern/callbacks'
|
86
|
-
autoload :Attributes, 'pricehubble/entity/concern/attributes'
|
87
|
-
autoload :Associations, 'pricehubble/entity/concern/associations'
|
88
|
-
autoload :Client, 'pricehubble/entity/concern/client'
|
89
|
-
autoload :Persistence, 'pricehubble/entity/concern/persistence'
|
90
|
-
|
91
|
-
# Some custom typed attribute helpers
|
92
|
-
module Attributes
|
93
|
-
base = 'pricehubble/entity/concern/attributes'
|
94
|
-
autoload :DateArray, "#{base}/date_array"
|
95
|
-
autoload :Enum, "#{base}/enum"
|
96
|
-
autoload :Range, "#{base}/range"
|
97
|
-
autoload :StringInquirer, "#{base}/string_inquirer"
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
# Load standalone code
|
102
|
-
require 'pricehubble/version'
|
103
|
-
require 'pricehubble/errors'
|
104
|
-
require 'pricehubble/faraday'
|
105
|
-
require 'pricehubble/railtie' if defined? Rails
|
106
|
-
|
107
|
-
# Include top-level features
|
108
|
-
include PriceHubble::ConfigurationHandling
|
109
|
-
include PriceHubble::Client
|
110
|
-
include PriceHubble::Identity
|
111
|
-
include PriceHubble::Instrumentation
|
112
|
-
end
|
3
|
+
require 'price_hubble'
|
data/pricehubble.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
lib = File.expand_path('lib', __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require '
|
5
|
+
require 'price_hubble/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'pricehubble'
|
@@ -31,30 +31,11 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
|
34
|
-
spec.required_ruby_version = '>= 2.
|
34
|
+
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
36
|
spec.add_runtime_dependency 'activemodel', '>= 5.2'
|
37
37
|
spec.add_runtime_dependency 'activesupport', '>= 5.2'
|
38
38
|
spec.add_runtime_dependency 'faraday', '~> 1.0'
|
39
39
|
spec.add_runtime_dependency 'faraday_middleware', '~> 1.0'
|
40
40
|
spec.add_runtime_dependency 'recursive-open-struct', '~> 1.1'
|
41
|
-
|
42
|
-
spec.add_development_dependency 'appraisal', '~> 2.4'
|
43
|
-
spec.add_development_dependency 'bundler', '~> 2.3'
|
44
|
-
spec.add_development_dependency 'countless', '~> 1.1'
|
45
|
-
spec.add_development_dependency 'factory_bot', '~> 6.2'
|
46
|
-
spec.add_development_dependency 'guard-rspec', '~> 4.7'
|
47
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
48
|
-
spec.add_development_dependency 'redcarpet', '~> 3.5'
|
49
|
-
spec.add_development_dependency 'rspec', '~> 3.12'
|
50
|
-
spec.add_development_dependency 'rubocop', '~> 1.28'
|
51
|
-
spec.add_development_dependency 'rubocop-rails', '~> 2.14'
|
52
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
|
53
|
-
spec.add_development_dependency 'simplecov', '>= 0.22'
|
54
|
-
spec.add_development_dependency 'terminal-table', '~> 3.0'
|
55
|
-
spec.add_development_dependency 'timecop', '>= 0.9.6'
|
56
|
-
spec.add_development_dependency 'vcr', '~> 6.0'
|
57
|
-
spec.add_development_dependency 'webmock', '~> 3.18'
|
58
|
-
spec.add_development_dependency 'yard', '>= 0.9.28'
|
59
|
-
spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
|
60
41
|
end
|
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: 1.1
|
4
|
+
version: 1.2.1
|
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: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -80,258 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.1'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: appraisal
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.4'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '2.4'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: bundler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '2.3'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '2.3'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: countless
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.1'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.1'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: factory_bot
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '6.2'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '6.2'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: guard-rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '4.7'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '4.7'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rake
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '13.0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - "~>"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '13.0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: redcarpet
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '3.5'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '3.5'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rspec
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '3.12'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '3.12'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: rubocop
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - "~>"
|
200
|
-
- !ruby/object:Gem::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'
|
216
|
-
type: :development
|
217
|
-
prerelease: false
|
218
|
-
version_requirements: !ruby/object:Gem::Requirement
|
219
|
-
requirements:
|
220
|
-
- - "~>"
|
221
|
-
- !ruby/object:Gem::Version
|
222
|
-
version: '2.14'
|
223
|
-
- !ruby/object:Gem::Dependency
|
224
|
-
name: rubocop-rspec
|
225
|
-
requirement: !ruby/object:Gem::Requirement
|
226
|
-
requirements:
|
227
|
-
- - "~>"
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: '2.10'
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - "~>"
|
235
|
-
- !ruby/object:Gem::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'
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: terminal-table
|
253
|
-
requirement: !ruby/object:Gem::Requirement
|
254
|
-
requirements:
|
255
|
-
- - "~>"
|
256
|
-
- !ruby/object:Gem::Version
|
257
|
-
version: '3.0'
|
258
|
-
type: :development
|
259
|
-
prerelease: false
|
260
|
-
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - "~>"
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '3.0'
|
265
|
-
- !ruby/object:Gem::Dependency
|
266
|
-
name: timecop
|
267
|
-
requirement: !ruby/object:Gem::Requirement
|
268
|
-
requirements:
|
269
|
-
- - ">="
|
270
|
-
- !ruby/object:Gem::Version
|
271
|
-
version: 0.9.6
|
272
|
-
type: :development
|
273
|
-
prerelease: false
|
274
|
-
version_requirements: !ruby/object:Gem::Requirement
|
275
|
-
requirements:
|
276
|
-
- - ">="
|
277
|
-
- !ruby/object:Gem::Version
|
278
|
-
version: 0.9.6
|
279
|
-
- !ruby/object:Gem::Dependency
|
280
|
-
name: vcr
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '6.0'
|
286
|
-
type: :development
|
287
|
-
prerelease: false
|
288
|
-
version_requirements: !ruby/object:Gem::Requirement
|
289
|
-
requirements:
|
290
|
-
- - "~>"
|
291
|
-
- !ruby/object:Gem::Version
|
292
|
-
version: '6.0'
|
293
|
-
- !ruby/object:Gem::Dependency
|
294
|
-
name: webmock
|
295
|
-
requirement: !ruby/object:Gem::Requirement
|
296
|
-
requirements:
|
297
|
-
- - "~>"
|
298
|
-
- !ruby/object:Gem::Version
|
299
|
-
version: '3.18'
|
300
|
-
type: :development
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: !ruby/object:Gem::Requirement
|
303
|
-
requirements:
|
304
|
-
- - "~>"
|
305
|
-
- !ruby/object:Gem::Version
|
306
|
-
version: '3.18'
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: yard
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - ">="
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: 0.9.28
|
314
|
-
type: :development
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - ">="
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 0.9.28
|
321
|
-
- !ruby/object:Gem::Dependency
|
322
|
-
name: yard-activesupport-concern
|
323
|
-
requirement: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - ">="
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: 0.0.1
|
328
|
-
type: :development
|
329
|
-
prerelease: false
|
330
|
-
version_requirements: !ruby/object:Gem::Requirement
|
331
|
-
requirements:
|
332
|
-
- - ">="
|
333
|
-
- !ruby/object:Gem::Version
|
334
|
-
version: 0.0.1
|
335
83
|
description: Ruby client for the PriceHubble REST API
|
336
84
|
email:
|
337
85
|
- hermann.mayer92@gmail.com
|
@@ -340,7 +88,6 @@ extensions: []
|
|
340
88
|
extra_rdoc_files: []
|
341
89
|
files:
|
342
90
|
- ".editorconfig"
|
343
|
-
- ".github/workflows/documentation.yml"
|
344
91
|
- ".github/workflows/release.yml"
|
345
92
|
- ".github/workflows/test.yml"
|
346
93
|
- ".gitignore"
|
@@ -374,53 +121,56 @@ files:
|
|
374
121
|
- doc/examples/simple_property_valuations.rb
|
375
122
|
- docker-compose.yml
|
376
123
|
- gemfiles/rails_5.2.gemfile
|
124
|
+
- gemfiles/rails_6.1.gemfile
|
125
|
+
- gemfiles/rails_7.1.gemfile
|
377
126
|
- lib/price_hubble.rb
|
127
|
+
- lib/price_hubble/client.rb
|
128
|
+
- lib/price_hubble/client/authentication.rb
|
129
|
+
- lib/price_hubble/client/base.rb
|
130
|
+
- lib/price_hubble/client/dossiers.rb
|
131
|
+
- lib/price_hubble/client/request/data_sanitization.rb
|
132
|
+
- lib/price_hubble/client/request/default_headers.rb
|
133
|
+
- lib/price_hubble/client/response/data_sanitization.rb
|
134
|
+
- lib/price_hubble/client/response/recursive_open_struct.rb
|
135
|
+
- lib/price_hubble/client/utils/request.rb
|
136
|
+
- lib/price_hubble/client/utils/response.rb
|
137
|
+
- lib/price_hubble/client/valuation.rb
|
138
|
+
- lib/price_hubble/configuration.rb
|
139
|
+
- lib/price_hubble/configuration_handling.rb
|
140
|
+
- lib/price_hubble/core_ext/hash.rb
|
141
|
+
- lib/price_hubble/entity/address.rb
|
142
|
+
- lib/price_hubble/entity/authentication.rb
|
143
|
+
- lib/price_hubble/entity/base_entity.rb
|
144
|
+
- lib/price_hubble/entity/concern/associations.rb
|
145
|
+
- lib/price_hubble/entity/concern/attributes.rb
|
146
|
+
- lib/price_hubble/entity/concern/attributes/date_array.rb
|
147
|
+
- lib/price_hubble/entity/concern/attributes/enum.rb
|
148
|
+
- lib/price_hubble/entity/concern/attributes/range.rb
|
149
|
+
- lib/price_hubble/entity/concern/attributes/string_inquirer.rb
|
150
|
+
- lib/price_hubble/entity/concern/callbacks.rb
|
151
|
+
- lib/price_hubble/entity/concern/client.rb
|
152
|
+
- lib/price_hubble/entity/concern/persistence.rb
|
153
|
+
- lib/price_hubble/entity/coordinates.rb
|
154
|
+
- lib/price_hubble/entity/dossier.rb
|
155
|
+
- lib/price_hubble/entity/location.rb
|
156
|
+
- lib/price_hubble/entity/property.rb
|
157
|
+
- lib/price_hubble/entity/property_conditions.rb
|
158
|
+
- lib/price_hubble/entity/property_qualities.rb
|
159
|
+
- lib/price_hubble/entity/property_type.rb
|
160
|
+
- lib/price_hubble/entity/valuation.rb
|
161
|
+
- lib/price_hubble/entity/valuation_request.rb
|
162
|
+
- lib/price_hubble/entity/valuation_scores.rb
|
163
|
+
- lib/price_hubble/errors.rb
|
164
|
+
- lib/price_hubble/faraday.rb
|
165
|
+
- lib/price_hubble/identity.rb
|
166
|
+
- lib/price_hubble/instrumentation.rb
|
167
|
+
- lib/price_hubble/instrumentation/log_subscriber.rb
|
168
|
+
- lib/price_hubble/railtie.rb
|
169
|
+
- lib/price_hubble/utils/bangers.rb
|
170
|
+
- lib/price_hubble/utils/decision.rb
|
171
|
+
- lib/price_hubble/version.rb
|
172
|
+
- lib/pricehubble
|
378
173
|
- lib/pricehubble.rb
|
379
|
-
- lib/pricehubble/client.rb
|
380
|
-
- lib/pricehubble/client/authentication.rb
|
381
|
-
- lib/pricehubble/client/base.rb
|
382
|
-
- lib/pricehubble/client/dossiers.rb
|
383
|
-
- lib/pricehubble/client/request/data_sanitization.rb
|
384
|
-
- lib/pricehubble/client/request/default_headers.rb
|
385
|
-
- lib/pricehubble/client/response/data_sanitization.rb
|
386
|
-
- lib/pricehubble/client/response/recursive_open_struct.rb
|
387
|
-
- lib/pricehubble/client/utils/request.rb
|
388
|
-
- lib/pricehubble/client/utils/response.rb
|
389
|
-
- lib/pricehubble/client/valuation.rb
|
390
|
-
- lib/pricehubble/configuration.rb
|
391
|
-
- lib/pricehubble/configuration_handling.rb
|
392
|
-
- lib/pricehubble/core_ext/hash.rb
|
393
|
-
- lib/pricehubble/entity/address.rb
|
394
|
-
- lib/pricehubble/entity/authentication.rb
|
395
|
-
- lib/pricehubble/entity/base_entity.rb
|
396
|
-
- lib/pricehubble/entity/concern/associations.rb
|
397
|
-
- lib/pricehubble/entity/concern/attributes.rb
|
398
|
-
- lib/pricehubble/entity/concern/attributes/date_array.rb
|
399
|
-
- lib/pricehubble/entity/concern/attributes/enum.rb
|
400
|
-
- lib/pricehubble/entity/concern/attributes/range.rb
|
401
|
-
- lib/pricehubble/entity/concern/attributes/string_inquirer.rb
|
402
|
-
- lib/pricehubble/entity/concern/callbacks.rb
|
403
|
-
- lib/pricehubble/entity/concern/client.rb
|
404
|
-
- lib/pricehubble/entity/concern/persistence.rb
|
405
|
-
- lib/pricehubble/entity/coordinates.rb
|
406
|
-
- lib/pricehubble/entity/dossier.rb
|
407
|
-
- lib/pricehubble/entity/location.rb
|
408
|
-
- lib/pricehubble/entity/property.rb
|
409
|
-
- lib/pricehubble/entity/property_conditions.rb
|
410
|
-
- lib/pricehubble/entity/property_qualities.rb
|
411
|
-
- lib/pricehubble/entity/property_type.rb
|
412
|
-
- lib/pricehubble/entity/valuation.rb
|
413
|
-
- lib/pricehubble/entity/valuation_request.rb
|
414
|
-
- lib/pricehubble/entity/valuation_scores.rb
|
415
|
-
- lib/pricehubble/errors.rb
|
416
|
-
- lib/pricehubble/faraday.rb
|
417
|
-
- lib/pricehubble/identity.rb
|
418
|
-
- lib/pricehubble/instrumentation.rb
|
419
|
-
- lib/pricehubble/instrumentation/log_subscriber.rb
|
420
|
-
- lib/pricehubble/railtie.rb
|
421
|
-
- lib/pricehubble/utils/bangers.rb
|
422
|
-
- lib/pricehubble/utils/decision.rb
|
423
|
-
- lib/pricehubble/version.rb
|
424
174
|
- pricehubble.gemspec
|
425
175
|
homepage:
|
426
176
|
licenses:
|
@@ -439,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
439
189
|
requirements:
|
440
190
|
- - ">="
|
441
191
|
- !ruby/object:Gem::Version
|
442
|
-
version: '2.
|
192
|
+
version: '2.7'
|
443
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
444
194
|
requirements:
|
445
195
|
- - ">="
|
@@ -1,39 +0,0 @@
|
|
1
|
-
name: Build Documentation
|
2
|
-
on:
|
3
|
-
repository_dispatch:
|
4
|
-
types: [documentation]
|
5
|
-
|
6
|
-
concurrency:
|
7
|
-
group: 'docs'
|
8
|
-
|
9
|
-
jobs:
|
10
|
-
docs:
|
11
|
-
name: Build gem documentation
|
12
|
-
runs-on: ubuntu-22.04
|
13
|
-
timeout-minutes: 5
|
14
|
-
steps:
|
15
|
-
- uses: actions/checkout@v3
|
16
|
-
|
17
|
-
- name: Install the correct Ruby version
|
18
|
-
uses: ruby/setup-ruby@v1
|
19
|
-
with:
|
20
|
-
ruby-version: 2.5
|
21
|
-
bundler-cache: true
|
22
|
-
rubygems: '3.3.26'
|
23
|
-
|
24
|
-
- name: Prepare the virtual environment
|
25
|
-
uses: hausgold/actions/ci@master
|
26
|
-
with:
|
27
|
-
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
28
|
-
settings: '${{ github.repository }}'
|
29
|
-
target: ci/gem-test
|
30
|
-
|
31
|
-
- name: Build gem documentation
|
32
|
-
run: make docs
|
33
|
-
|
34
|
-
- name: Upload the code coverage report
|
35
|
-
run: coverage
|
36
|
-
|
37
|
-
- name: Add this job to the commit status
|
38
|
-
run: commit-status '${{ job.status }}'
|
39
|
-
if: always()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|