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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 614330dcc33f7041b91869447db2ed074ad70d0d22582a289ab45de42bdda9cd
4
- data.tar.gz: 44f7cec03b86c2e14519dc88de9aba9fb060aa08f93097474b9b0c8d8148e6d1
3
+ metadata.gz: b6942604d2501cd3b0bf5245144f1a90cf2c63d314774eae29a7d0a76af5c82e
4
+ data.tar.gz: 881b3474280819e6fec3a222bd460d47bb757926e265c04232eb3b9c2632ddc3
5
5
  SHA512:
6
- metadata.gz: 6d50b13b3f88e8e810b6220f5e5bdc1d341057048afc19cfac9f453274c7816941200a313a4c2e4bc3af335faf27f4497363e0f37c0311f453845fcf86ea047c
7
- data.tar.gz: d6b1c142c98a7272e5964a97e0d9f59033906707736d3b1e5f3f0722ccbfce6ed3e0c84530eae71d8cef8af0c1985a6477da35f8956cd9bad313a743c1e3a882
6
+ metadata.gz: 7d831efe8b6f4e3ca0a9187ea133ad7c0da372aa80b86d0219fccf77abb8b870e4ccce2a4acbd4d4a39cfe0d86cecaf15b7f3ecd7812d52b0fdbfa537674345e
7
+ data.tar.gz: de6d47d1e11c101ede913c66f74a589d14500ce5c96be8e7ba85adbd91be8a57f21850ae4aee57af736dbe1917616481164e1ffe596793bf6abdf373da61a987
@@ -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
- include:
26
- # rails 6.0 (security EOL 6/23?) supports ruby < 2.8 (2.7 EOL 3/23?;)
27
- - ruby-version: '2.6'
28
- rails-version: '6.0'
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@v8
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
- case ENV['TEST_RAILS_VERSION']
10
- when "5.2"
11
- gem "activerecord", "~>5.2.6"
12
- when "6.0"
13
- gem "activerecord", "~>6.0.4"
14
- when "6.1"
15
- gem "activerecord", "~>6.1.4"
16
- end
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
@@ -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.add_dependency "activerecord", ">=5.0", "<7.2"
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::Deprecation.warn("Passing a hash for options is deprecated and will be removed in an upcoming release.") if opts.present?
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
 
@@ -1,3 +1,3 @@
1
1
  module InventoryRefresh
2
- VERSION = "2.1.1".freeze
2
+ VERSION = "2.2.0".freeze
3
3
  end
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.1.1
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-08-06 00:00:00.000000000 Z
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: '5.0'
19
+ version: 7.0.8
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.2'
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: '5.0'
29
+ version: 7.0.8
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
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
  - - ">="