pricehubble 1.2.5 → 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/test.yml +2 -2
- data/.rubocop.yml +1 -1
- data/.yardopts +1 -0
- data/Appraisals +0 -5
- data/CHANGELOG.md +22 -14
- data/lib/price_hubble/utils/bangers.rb +6 -9
- data/lib/price_hubble/version.rb +1 -1
- data/pricehubble.gemspec +5 -5
- metadata +8 -9
- data/gemfiles/rails_5.2.gemfile +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33987d92db690afe5bda03fb225a11915166847840da54779347bace0d2fb6ae
|
4
|
+
data.tar.gz: 263b4b48cebe63c82ba29ef27c12fbb136c81124f86dd3281c06442794695dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dd1447b16620cb4920c875a9ad5dfdb8b30e56db3a3958f80f43493e679c8abd5b9e0a81cd069511867fc76ba885fd95615f30b02c7210a77184ab8734f5bff
|
7
|
+
data.tar.gz: 3f16a3a4de7f81c71ac4e5c944390d8c6c628831eeded218f022e5f615a1166091911922d99fcdafcb60438f0976dab10f720afbd3b3abab223a47fcb53dcd3e
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
data/.yardopts
CHANGED
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,36 +2,44 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
-
### 1.
|
5
|
+
### 1.4.0 (3 January 2025)
|
6
|
+
|
7
|
+
* Raised minimum supported Ruby/Rails version to 2.7/6.1 (#11)
|
8
|
+
|
9
|
+
### 1.3.0 (4 October 2024)
|
10
|
+
|
11
|
+
* Upgraded the `recursive-open-struct` gem to `~> 2.0` (#10)
|
12
|
+
|
13
|
+
### 1.2.5 (15 August 2024)
|
6
14
|
|
7
15
|
* Just a retag of 1.2.1
|
8
16
|
|
9
|
-
### 1.2.4
|
17
|
+
### 1.2.4 (15 August 2024)
|
10
18
|
|
11
19
|
* Just a retag of 1.2.1
|
12
20
|
|
13
|
-
### 1.2.3
|
21
|
+
### 1.2.3 (15 August 2024)
|
14
22
|
|
15
23
|
* Just a retag of 1.2.1
|
16
24
|
|
17
|
-
### 1.2.2
|
25
|
+
### 1.2.2 (9 August 2024)
|
18
26
|
|
19
27
|
* Just a retag of 1.2.1
|
20
28
|
|
21
|
-
### 1.2.1
|
29
|
+
### 1.2.1 (9 August 2024)
|
22
30
|
|
23
31
|
* Added API docs building to continuous integration (#9)
|
24
32
|
|
25
|
-
### 1.2.0
|
33
|
+
### 1.2.0 (8 July 2024)
|
26
34
|
|
27
35
|
* Moved the development dependencies from the gemspec to the Gemfile (#7)
|
28
36
|
* Dropped support for Ruby <2.7 (#8)
|
29
37
|
|
30
|
-
### 1.1.0
|
38
|
+
### 1.1.0 (24 February 2023)
|
31
39
|
|
32
40
|
* Added support for Gem release automation
|
33
41
|
|
34
|
-
### 1.0.0
|
42
|
+
### 1.0.0 (18 January 2023)
|
35
43
|
|
36
44
|
* Bundler >= 2.3 is from now on required as minimal version (#5)
|
37
45
|
* Dropped support for Ruby < 2.5 (#5)
|
@@ -42,27 +50,27 @@
|
|
42
50
|
`PriceHubble::BaseEntity#attributes(sanitize = false)` method has changed to
|
43
51
|
a keyword argument `PriceHubble::BaseEntity#attributes(sanitize: false)` (#5)
|
44
52
|
|
45
|
-
### 0.4.2
|
53
|
+
### 0.4.2 (15 October 2021)
|
46
54
|
|
47
55
|
* Migrated to Github Actions
|
48
56
|
* Migrated to our own coverage reporting
|
49
57
|
* Added the code statistics to the test process
|
50
58
|
|
51
|
-
### 0.4.1
|
59
|
+
### 0.4.1 (12 May 2021)
|
52
60
|
|
53
61
|
* Corrected the GNU Make release target
|
54
62
|
|
55
|
-
### 0.4.0
|
63
|
+
### 0.4.0 (11 December 2020)
|
56
64
|
|
57
65
|
* Added initial dossier handling (create, delete, sharing link) (#3)
|
58
66
|
|
59
|
-
### 0.3.0
|
67
|
+
### 0.3.0 (9 September 2020)
|
60
68
|
|
61
69
|
* Dropped support for Rails <5.2 (#2)
|
62
70
|
* Dropped support for Ruby <2.5 (#2)
|
63
71
|
* Updated the faraday gem spec to `~> 1.0` (#2)
|
64
72
|
|
65
|
-
### 0.2.0
|
73
|
+
### 0.2.0 (22 October 2019)
|
66
74
|
|
67
75
|
* Added a configuration for request logging which is enabled by default now
|
68
76
|
* Implemented a generic instrumentation facility
|
@@ -70,7 +78,7 @@
|
|
70
78
|
now to make local development easier and error handling was added to be more
|
71
79
|
robust on response issues)
|
72
80
|
|
73
|
-
### 0.1.0
|
81
|
+
### 0.1.0 (15 October 2019)
|
74
82
|
|
75
83
|
* Implemented a transparent authentication handling
|
76
84
|
* Implemented all shared data types (`PriceHubble::Location`,
|
@@ -22,17 +22,14 @@ module PriceHubble
|
|
22
22
|
raise NoMethodError, "#{self}##{meth} does not exit" \
|
23
23
|
unless instance_methods(false).include? meth
|
24
24
|
|
25
|
-
|
26
|
-
|
25
|
+
if instance_method(meth).arity.zero?
|
26
|
+
raise ArgumentError,
|
27
|
+
"#{self}##{meth} does not accept arguments"
|
28
|
+
end
|
27
29
|
|
28
30
|
class_eval <<-RUBY, __FILE__, __LINE__ + 1
|
29
|
-
def #{meth}!(*args)
|
30
|
-
|
31
|
-
args.last.merge!(bang: true)
|
32
|
-
else
|
33
|
-
args.push({ bang: true })
|
34
|
-
end
|
35
|
-
#{meth}(*args)
|
31
|
+
def #{meth}!(*args, **kwargs, &block)
|
32
|
+
#{meth}(*args, **kwargs, bang: true, &block)
|
36
33
|
end
|
37
34
|
RUBY
|
38
35
|
end
|
data/lib/price_hubble/version.rb
CHANGED
data/pricehubble.gemspec
CHANGED
@@ -33,9 +33,9 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
|
-
spec.
|
37
|
-
spec.
|
38
|
-
spec.
|
39
|
-
spec.
|
40
|
-
spec.
|
36
|
+
spec.add_dependency 'activemodel', '>= 6.1'
|
37
|
+
spec.add_dependency 'activesupport', '>= 6.1'
|
38
|
+
spec.add_dependency 'faraday', '~> 1.0'
|
39
|
+
spec.add_dependency 'faraday_middleware', '~> 1.0'
|
40
|
+
spec.add_dependency 'recursive-open-struct', '~> 2.0'
|
41
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.
|
4
|
+
version: 1.4.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: 2025-01-03 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: '
|
19
|
+
version: '6.1'
|
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: '6.1'
|
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: '
|
33
|
+
version: '6.1'
|
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: '6.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: faraday
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '2.0'
|
76
76
|
type: :runtime
|
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.0'
|
83
83
|
description: Ruby client for the PriceHubble REST API
|
84
84
|
email:
|
85
85
|
- hermann.mayer92@gmail.com
|
@@ -120,7 +120,6 @@ files:
|
|
120
120
|
- doc/examples/property_valuations_errors.rb
|
121
121
|
- doc/examples/simple_property_valuations.rb
|
122
122
|
- docker-compose.yml
|
123
|
-
- gemfiles/rails_5.2.gemfile
|
124
123
|
- gemfiles/rails_6.1.gemfile
|
125
124
|
- gemfiles/rails_7.1.gemfile
|
126
125
|
- lib/price_hubble.rb
|
data/gemfiles/rails_5.2.gemfile
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "appraisal", "~> 2.4"
|
6
|
-
gem "bundler", "~> 2.3"
|
7
|
-
gem "countless", "~> 1.1"
|
8
|
-
gem "factory_bot", "~> 6.2", "< 6.4.5"
|
9
|
-
gem "guard-rspec", "~> 4.7"
|
10
|
-
gem "rake", "~> 13.0"
|
11
|
-
gem "redcarpet", "~> 3.5"
|
12
|
-
gem "rspec", "~> 3.12"
|
13
|
-
gem "rubocop", "~> 1.28"
|
14
|
-
gem "rubocop-rails", "~> 2.14"
|
15
|
-
gem "rubocop-rspec", "~> 2.10"
|
16
|
-
gem "simplecov", ">= 0.22"
|
17
|
-
gem "terminal-table", "~> 3.0"
|
18
|
-
gem "timecop", ">= 0.9.6"
|
19
|
-
gem "vcr", "~> 6.0"
|
20
|
-
gem "webmock", "~> 3.18"
|
21
|
-
gem "yard", ">= 0.9.28"
|
22
|
-
gem "yard-activesupport-concern", ">= 0.0.1"
|
23
|
-
gem "activemodel", "~> 5.2.0"
|
24
|
-
gem "activesupport", "~> 5.2.0"
|
25
|
-
|
26
|
-
gemspec path: "../"
|