pricehubble 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 708dc6002a8c92bc8cdcebbfd1d580c72d199644f343a650d19d9229dd90e86c
4
- data.tar.gz: 59ea57131a818d6fa7af30743963c9e991b167a9e0d364bae6727dc86d91cd72
3
+ metadata.gz: 88b0e4aa5870b598e3ee8746eadbbe89ad9467f232573bd50c2380053cc0f8b8
4
+ data.tar.gz: 8b2906d87ffef7e4eae172f521b792787a0071c018de6eb2090ab4623cb2e78f
5
5
  SHA512:
6
- metadata.gz: b416c6035d36d6266ab6968bd445feb5f964d1af09d9feff852cd998f34d5054ae33962e878fc6d1128ef6e19557154da22372a157f3e492a6bb37b936717dbe
7
- data.tar.gz: 3511f1a0bdad3da7ce4f58214e59cc34b159b8012441df368193bff5b162ff6d799a49c5a0fbd6abd65c09f875c2ea1e7000d9c1a67c85a4fd034f5e3d28dfe0
6
+ metadata.gz: '039e27591727c291f4c11644c1b18ea6c8017a5f6313154a6c2c89dcb3883304148c50c37934079a50bf2c5192706907f0b6ad966d21a9eb84a817c24741017f'
7
+ data.tar.gz: 991dfca00b532685474147a2d3c3d325560bd18699646e7dedbbd3678135908ba2821014032ba8c0c54b1e854c562053ed2ab39373e91b80e559136bf47eac99
@@ -8,7 +8,7 @@ Documentation:
8
8
 
9
9
  AllCops:
10
10
  DisplayCopNames: true
11
- TargetRubyVersion: 2.3
11
+ TargetRubyVersion: 2.5
12
12
  Exclude:
13
13
  - bin/**/*
14
14
  - vendor/**/*
@@ -60,3 +60,8 @@ Rails/SkipsModelValidations:
60
60
  Lint/ShadowingOuterLocalVariable:
61
61
  Exclude:
62
62
  - "doc/**/*"
63
+
64
+ # We stay at 80 characters per line.
65
+ # See: https://rubystyle.guide/#max-line-length
66
+ Metrics/LineLength:
67
+ Max: 80
@@ -6,16 +6,13 @@ sudo: false
6
6
  language: ruby
7
7
  cache: bundler
8
8
  rvm:
9
+ - 2.7
9
10
  - 2.6
10
11
  - 2.5
11
- - 2.4
12
- - 2.3
13
12
 
14
13
  gemfile:
15
- - gemfiles/rails_4.2.gemfile
16
- - gemfiles/rails_5.0.gemfile
17
- - gemfiles/rails_5.1.gemfile
18
14
  - gemfiles/rails_5.2.gemfile
15
+ - gemfiles/rails_6.0.gemfile
19
16
 
20
17
  before_install: gem install bundler
21
18
  before_script:
data/Appraisals CHANGED
@@ -1,25 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-4.2' do
4
- gem 'activemodel', '~> 4.2.11'
5
- gem 'activesupport', '~> 4.2.11'
6
- gem 'railties', '~> 4.2.11'
7
- end
8
-
9
- appraise 'rails-5.0' do
10
- gem 'activemodel', '~> 5.0.7'
11
- gem 'activesupport', '~> 5.0.7'
12
- gem 'railties', '~> 5.0.7'
13
- end
14
-
15
- appraise 'rails-5.1' do
16
- gem 'activemodel', '~> 5.1.6'
17
- gem 'activesupport', '~> 5.1.6'
18
- gem 'railties', '~> 5.1.6'
19
- end
20
-
21
3
  appraise 'rails-5.2' do
22
4
  gem 'activemodel', '~> 5.2.2'
23
5
  gem 'activesupport', '~> 5.2.2'
24
6
  gem 'railties', '~> 5.2.2'
25
7
  end
8
+
9
+ appraise 'rails-6.0' do
10
+ gem 'activemodel', '~> 6.0.0'
11
+ gem 'activesupport', '~> 6.0.0'
12
+ gem 'railties', '~> 6.0.0'
13
+ end
@@ -1,3 +1,9 @@
1
+ ### 0.3.0
2
+
3
+ * Dropped support for Rails <5.2
4
+ * Dropped support for Ruby <2.5
5
+ * Updated the faraday gem spec to `~> 1.0` (#)
6
+
1
7
  ### 0.2.0
2
8
 
3
9
  * Added a configuration for request logging which is enabled by default now
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM hausgold/ruby:2.3
1
+ FROM hausgold/ruby:2.5
2
2
  MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de>
3
3
 
4
4
  # Update system gem
data/Makefile CHANGED
@@ -28,6 +28,7 @@ XARGS ?= xargs
28
28
  # Container binaries
29
29
  BUNDLE ?= bundle
30
30
  APPRAISAL ?= appraisal
31
+ GEM ?= gem
31
32
  RAKE ?= rake
32
33
  YARD ?= yard
33
34
  RAKE ?= rake
@@ -75,6 +76,8 @@ install:
75
76
  # Install the dependencies
76
77
  @$(MKDIR) -p $(VENDOR_DIR)
77
78
  @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
79
+ @$(call run-shell,GEM_HOME=vendor/bundle/ruby/$${RUBY_MAJOR}.0 \
80
+ $(GEM) install bundler -v "~> 1.0")
78
81
  @$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
79
82
 
80
83
  update: install
@@ -116,7 +119,7 @@ endif
116
119
  clean-images:
117
120
  # Clean build images
118
121
  ifeq ($(MAKE_ENV),docker)
119
- @-$(DOCKER) images | $(GREP) price-hubble \
122
+ @-$(DOCKER) images | $(GREP) pricehubble \
120
123
  | $(AWK) '{ print $$3 }' \
121
124
  | $(XARGS) -rn1 $(DOCKER) rmi -f
122
125
  endif
@@ -4,8 +4,8 @@
4
4
 
5
5
  source 'https://rubygems.org'
6
6
 
7
- gem 'activemodel', '~> 5.0.7'
8
- gem 'activesupport', '~> 5.0.7'
9
- gem 'railties', '~> 5.0.7'
7
+ gem 'activemodel', '~> 6.0.0'
8
+ gem 'activesupport', '~> 6.0.0'
9
+ gem 'railties', '~> 6.0.0'
10
10
 
11
11
  gemspec path: '../'
@@ -2,5 +2,5 @@
2
2
 
3
3
  module PriceHubble
4
4
  # The version of the +price-hubble+ gem
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
@@ -14,6 +14,8 @@ Gem::Specification.new do |spec|
14
14
  spec.description = 'Ruby client for the PriceHubble REST API'
15
15
  spec.homepage = 'https://github.com/hausgold/pricehubble'
16
16
 
17
+ spec.required_ruby_version = '~> 2.5'
18
+
17
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
20
  f.match(%r{^(test|spec|features)/})
19
21
  end
@@ -21,10 +23,10 @@ Gem::Specification.new do |spec|
21
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
24
  spec.require_paths = ['lib']
23
25
 
24
- spec.add_runtime_dependency 'activemodel', '>= 4.2.0'
25
- spec.add_runtime_dependency 'activesupport', '>= 4.2.0'
26
- spec.add_runtime_dependency 'faraday', '~> 0.15'
27
- spec.add_runtime_dependency 'faraday_middleware', '~> 0.12'
26
+ spec.add_runtime_dependency 'activemodel', '>= 5.2.0'
27
+ spec.add_runtime_dependency 'activesupport', '>= 5.2.0'
28
+ spec.add_runtime_dependency 'faraday', '~> 1.0'
29
+ spec.add_runtime_dependency 'faraday_middleware', '~> 1.0'
28
30
  spec.add_runtime_dependency 'recursive-open-struct', '~> 1.1'
29
31
 
30
32
  spec.add_development_dependency 'appraisal'
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.2.0
4
+ version: 0.3.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: 2019-10-22 00:00:00.000000000 Z
11
+ date: 2020-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
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: 4.2.0
26
+ version: 5.2.0
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: 4.2.0
33
+ version: 5.2.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: 4.2.0
40
+ version: 5.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.15'
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: '0.15'
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday_middleware
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0.12'
61
+ version: '1.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0.12'
68
+ version: '1.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: recursive-open-struct
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -360,10 +360,8 @@ files:
360
360
  - doc/examples/property_valuations_errors.rb
361
361
  - doc/examples/simple_property_valuations.rb
362
362
  - docker-compose.yml
363
- - gemfiles/rails_4.2.gemfile
364
- - gemfiles/rails_5.0.gemfile
365
- - gemfiles/rails_5.1.gemfile
366
363
  - gemfiles/rails_5.2.gemfile
364
+ - gemfiles/rails_6.0.gemfile
367
365
  - lib/price_hubble.rb
368
366
  - lib/pricehubble.rb
369
367
  - lib/pricehubble/client.rb
@@ -412,23 +410,23 @@ files:
412
410
  homepage: https://github.com/hausgold/pricehubble
413
411
  licenses: []
414
412
  metadata: {}
415
- post_install_message:
413
+ post_install_message:
416
414
  rdoc_options: []
417
415
  require_paths:
418
416
  - lib
419
417
  required_ruby_version: !ruby/object:Gem::Requirement
420
418
  requirements:
421
- - - ">="
419
+ - - "~>"
422
420
  - !ruby/object:Gem::Version
423
- version: '0'
421
+ version: '2.5'
424
422
  required_rubygems_version: !ruby/object:Gem::Requirement
425
423
  requirements:
426
424
  - - ">="
427
425
  - !ruby/object:Gem::Version
428
426
  version: '0'
429
427
  requirements: []
430
- rubygems_version: 3.0.6
431
- signing_key:
428
+ rubygems_version: 3.1.4
429
+ signing_key:
432
430
  specification_version: 4
433
431
  summary: Ruby client for the PriceHubble REST API
434
432
  test_files: []
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file was generated by Appraisal
4
-
5
- source 'https://rubygems.org'
6
-
7
- gem 'activemodel', '~> 4.2.11'
8
- gem 'activesupport', '~> 4.2.11'
9
- gem 'railties', '~> 4.2.11'
10
-
11
- gemspec path: '../'
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file was generated by Appraisal
4
-
5
- source 'https://rubygems.org'
6
-
7
- gem 'activemodel', '~> 5.1.6'
8
- gem 'activesupport', '~> 5.1.6'
9
- gem 'railties', '~> 5.1.6'
10
-
11
- gemspec path: '../'