inventory_refresh 2.1.1 → 2.2.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/ci.yaml +6 -11
- data/CHANGELOG.md +4 -0
- data/Gemfile +11 -8
- data/inventory_refresh.gemspec +2 -1
- data/lib/inventory_refresh/inventory_collection/index/proxy.rb +2 -1
- data/lib/inventory_refresh/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6942604d2501cd3b0bf5245144f1a90cf2c63d314774eae29a7d0a76af5c82e
|
4
|
+
data.tar.gz: 881b3474280819e6fec3a222bd460d47bb757926e265c04232eb3b9c2632ddc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d831efe8b6f4e3ca0a9187ea133ad7c0da372aa80b86d0219fccf77abb8b870e4ccce2a4acbd4d4a39cfe0d86cecaf15b7f3ecd7812d52b0fdbfa537674345e
|
7
|
+
data.tar.gz: de6d47d1e11c101ede913c66f74a589d14500ce5c96be8e7ba85adbd91be8a57f21850ae4aee57af736dbe1917616481164e1ffe596793bf6abdf373da61a987
|
data/.github/workflows/ci.yaml
CHANGED
@@ -12,22 +12,17 @@ jobs:
|
|
12
12
|
strategy:
|
13
13
|
matrix:
|
14
14
|
ruby-version:
|
15
|
-
- '2.7'
|
16
15
|
- '3.0'
|
17
16
|
- '3.1'
|
18
17
|
- '3.2'
|
18
|
+
- '3.3'
|
19
19
|
rails-version:
|
20
|
-
# rails 6.1 supports ruby >= 2.5
|
21
|
-
# rails 7.0 supports ruby >= 2.7
|
22
|
-
- '6.1'
|
23
20
|
- '7.0'
|
24
21
|
- '7.1'
|
25
|
-
|
26
|
-
|
27
|
-
- ruby-version: '
|
28
|
-
rails-version: '
|
29
|
-
- ruby-version: '2.7'
|
30
|
-
rails-version: '6.0'
|
22
|
+
- '7.2'
|
23
|
+
exclude:
|
24
|
+
- ruby-version: '3.0'
|
25
|
+
rails-version: '7.2'
|
31
26
|
services:
|
32
27
|
postgres:
|
33
28
|
image: manageiq/postgresql:13
|
@@ -58,4 +53,4 @@ jobs:
|
|
58
53
|
- name: Report code coverage
|
59
54
|
if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
|
60
55
|
continue-on-error: true
|
61
|
-
uses: paambaati/codeclimate-action@
|
56
|
+
uses: paambaati/codeclimate-action@v9
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [2.2.0] - 2024-09-30
|
9
|
+
### Changed
|
10
|
+
- Drop old versions of ruby and rails, add ruby 3.3 and rails 7.2 ([#139](https://github.com/ManageIQ/inventory_refresh/pull/139))
|
11
|
+
|
8
12
|
## [2.1.1] - 2024-08-06
|
9
13
|
### Fixed
|
10
14
|
- Fix rails 7 deprecation on ActiveRecord::Base.default_timezone ([#124](https://github.com/ManageIQ/inventory_refresh/pull/124))
|
data/Gemfile
CHANGED
@@ -6,11 +6,14 @@ require File.join(Bundler::Plugin.index.load_paths("bundler-inject")[0], "bundle
|
|
6
6
|
# Specify your gem's dependencies in inventory_refresh.gemspec
|
7
7
|
gemspec
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
9
|
+
minimum_version =
|
10
|
+
case ENV['TEST_RAILS_VERSION']
|
11
|
+
when "7.2"
|
12
|
+
"~>7.2.1"
|
13
|
+
when "7.1"
|
14
|
+
"~>7.1.4"
|
15
|
+
else
|
16
|
+
"~>7.0.8"
|
17
|
+
end
|
18
|
+
|
19
|
+
gem "activerecord", minimum_version
|
data/inventory_refresh.gemspec
CHANGED
@@ -22,7 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
24
24
|
|
25
|
-
spec.
|
25
|
+
spec.required_ruby_version = '>= 3.0'
|
26
|
+
spec.add_dependency "activerecord", ">=7.0.8", "<8.0"
|
26
27
|
spec.add_dependency "more_core_extensions", ">=3.5", "< 5"
|
27
28
|
spec.add_dependency "pg", "> 0"
|
28
29
|
|
@@ -111,7 +111,8 @@ module InventoryRefresh
|
|
111
111
|
|
112
112
|
raise ArgumentError, "only one of manager_uuid or manager_uuid_hash must be passed" unless !!manager_uuid ^ !!manager_uuid_hash.present?
|
113
113
|
|
114
|
-
ActiveSupport
|
114
|
+
# TODO: switch to ActiveSupport.deprecator.warn once 7.1+ is a minimum, see: https://github.com/rails/rails/pull/47354
|
115
|
+
ActiveSupport::Deprecation.new.warn("Passing a hash for options is deprecated and will be removed in an upcoming release.") if opts.present?
|
115
116
|
|
116
117
|
manager_uuid ||= manager_uuid_hash
|
117
118
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inventory_refresh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 7.0.8
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '8.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 7.0.8
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '8.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: more_core_extensions
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -247,7 +247,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
247
|
requirements:
|
248
248
|
- - ">="
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: '0'
|
250
|
+
version: '3.0'
|
251
251
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
252
|
requirements:
|
253
253
|
- - ">="
|