activerecord-id_regions 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f20b767967d5f68c9850e0578551104099b1c3eb56538732a1054d5af84d43b3
4
- data.tar.gz: d4faba2b8ce98ed4c3591700166814fe94ebe50c86d235e4896dbda4115cb515
3
+ metadata.gz: 5401b9bce018aba64180cd907f6f6b9c5fa75cd3a197faefdc408313c20e3305
4
+ data.tar.gz: b7cac504836bc1fc9cdb9dbcb7fabfc51d064fe20690dfafbbce9fa7138ea7a2
5
5
  SHA512:
6
- metadata.gz: 7ea1fed1243f0546545b05cfa7af7428417a1898b33d8c85f081a649ea85465f3e32c03b26ae3e5a4b119bbd9d25a9f739500fa3958fd185915013b74f8de4a6
7
- data.tar.gz: ead30f4633cb2aa2e70cf97242f8c273114d74eb2ae8defb494f6fc97ff2da6df0900c97e86c8d034675c593a19424f8c8210f55da794715a7504aba60ffd443
6
+ metadata.gz: 5abe8770769bad26ff3fc6446a391bb919e7a9fb712f76c58bc76b95deedc831731c91c57209ae6d162b6ae8a0eb5fa2815ba3fa4e79697a9378d9997bace12e
7
+ data.tar.gz: d0fafc0b544b00d706b775297e269379918ec719f0361a6af454d5d22d82ef0db5319070ac68457a9e8b70028f79bd57185db0b0245dfa7c0a73be5ca656131b
@@ -1,31 +1,29 @@
1
1
  name: CI
2
-
3
2
  on:
4
- push:
5
3
  pull_request:
4
+ push:
5
+ branches-ignore:
6
+ - dependabot/*
7
+ - renovate/*
6
8
  schedule:
7
- - cron: '0 0 * * 0'
8
-
9
+ - cron: 0 0 * * 0
10
+ workflow_dispatch:
11
+ concurrency:
12
+ group: "${{ github.workflow }}-${{ github.ref }}"
13
+ cancel-in-progress: true
14
+ permissions:
15
+ contents: read
9
16
  jobs:
10
17
  ci:
11
18
  runs-on: ubuntu-latest
12
19
  strategy:
13
20
  matrix:
14
21
  ruby-version:
15
- - '2.7'
16
- - '3.0'
17
- - '3.1'
18
22
  - '3.2'
19
23
  - '3.3'
20
24
  rails-version:
21
- - '7.0'
22
- - '7.1'
23
25
  - '7.2'
24
- exclude:
25
- - ruby-version: '2.7'
26
- rails-version: '7.2'
27
- - ruby-version: '3.0'
28
- rails-version: '7.2'
26
+ - '8.0'
29
27
  services:
30
28
  postgres:
31
29
  image: manageiq/postgresql:13
@@ -33,26 +31,21 @@ jobs:
33
31
  POSTGRESQL_USER: root
34
32
  POSTGRESQL_PASSWORD: smartvm
35
33
  POSTGRESQL_DATABASE: activerecord_id_regions_test
36
- options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
34
+ options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5"
37
35
  ports:
38
36
  - 5432:5432
39
37
  env:
40
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
38
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
41
39
  PGHOST: localhost
42
40
  PGUSER: root
43
41
  PGPASSWORD: smartvm
44
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
45
42
  steps:
46
- - uses: actions/checkout@v4
43
+ - uses: actions/checkout@v6
47
44
  - name: Set up Ruby
48
45
  uses: ruby/setup-ruby@v1
49
46
  with:
50
- ruby-version: ${{ matrix.ruby-version }}
47
+ ruby-version: "${{ matrix.ruby-version }}"
51
48
  bundler-cache: true
52
49
  timeout-minutes: 30
53
50
  - name: Run tests
54
51
  run: bundle exec rake
55
- - name: Report code coverage
56
- if: ${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.1' && matrix.rails-version == '7.0' }}
57
- continue-on-error: true
58
- uses: paambaati/codeclimate-action@v9
data/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.6.0] - 2025-12-11
9
+
10
+ ### Changed
11
+ - Add support for rails 8.0
12
+ - Drop support for end of life versions:
13
+ - rails 7.0, 7.1
14
+ - ruby 2.7, 3.0, and 3.1
15
+
8
16
  ## [0.5.0] - 2024-10-10
9
17
  ### Changed
10
18
 
@@ -22,7 +30,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
22
30
  - Loosened active record support to include active record 6.1
23
31
  - Fixed keyword arguments for ruby 3.0 support
24
32
 
25
- [Unreleased]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.5.0...HEAD
33
+ [Unreleased]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.6.0...HEAD
34
+ [0.6.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.5.0...v0.6.0
26
35
  [0.5.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.4.0...v0.5.0
27
36
  [0.4.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.3.2...v0.4.0
28
37
  [0.3.2]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.3.1...v0.3.2
data/Gemfile CHANGED
@@ -5,12 +5,10 @@ gemspec
5
5
 
6
6
  minimum_version =
7
7
  case ENV['TEST_RAILS_VERSION']
8
- when "7.2"
9
- "~>7.2.1"
10
- when "7.1"
11
- "~>7.1.4"
8
+ when "8.0"
9
+ "~>8.0.4"
12
10
  else
13
- "~>7.0.8"
11
+ "~>7.2.3"
14
12
  end
15
13
 
16
14
  gem "activerecord", minimum_version
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/activerecord-id_regions.svg)](http://badge.fury.io/rb/activerecord-id_regions)
4
4
  [![CI](https://github.com/ManageIQ/activerecord-id_regions/actions/workflows/ci.yaml/badge.svg)](https://github.com/ManageIQ/activerecord-id_regions/actions/workflows/ci.yaml)
5
- [![Code Climate](https://codeclimate.com/github/ManageIQ/activerecord-id_regions.svg)](https://codeclimate.com/github/ManageIQ/activerecord-id_regions)
6
- [![Test Coverage](https://codeclimate.com/github/ManageIQ/activerecord-id_regions/badges/coverage.svg)](https://codeclimate.com/github/ManageIQ/activerecord-id_regions/coverage)
7
5
 
8
6
  [![Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ManageIQ/activerecord-id_regions?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
9
7
 
@@ -20,8 +20,9 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_dependency "activerecord", ">= 7.0.8", "<8.0"
24
- spec.add_dependency "activesupport", ">= 7.0.8", "<8.0"
23
+ spec.required_ruby_version = ">= 3.2"
24
+ spec.add_dependency "activerecord", ">= 7.2.3", "<8.1"
25
+ spec.add_dependency "activesupport", ">= 7.2.3", "<8.1"
25
26
  spec.add_dependency "pg"
26
27
 
27
28
  spec.add_development_dependency "bundler"
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module IdRegions
3
- VERSION = "0.5.0".freeze
3
+ VERSION = "0.6.0".freeze
4
4
  end
5
5
  end
data/renovate.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:recommended"
5
- ]
3
+ "inheritConfig": true,
4
+ "inheritConfigRepoName": "manageiq/renovate-config"
6
5
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-id_regions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-10-10 00:00:00.000000000 Z
11
+ date: 2025-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.8
19
+ version: 7.2.3
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8.0'
22
+ version: '8.1'
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: 7.0.8
29
+ version: 7.2.3
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 7.0.8
39
+ version: 7.2.3
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '8.0'
42
+ version: '8.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 7.0.8
49
+ version: 7.2.3
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '8.0'
52
+ version: '8.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: pg
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -141,13 +141,11 @@ executables: []
141
141
  extensions: []
142
142
  extra_rdoc_files: []
143
143
  files:
144
- - ".codeclimate.yml"
145
144
  - ".github/workflows/ci.yaml"
146
145
  - ".gitignore"
147
146
  - ".rspec"
148
147
  - ".rspec_ci"
149
148
  - ".rubocop.yml"
150
- - ".rubocop_cc.yml"
151
149
  - ".rubocop_local.yml"
152
150
  - ".whitesource"
153
151
  - CHANGELOG.md
@@ -177,14 +175,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
175
  requirements:
178
176
  - - ">="
179
177
  - !ruby/object:Gem::Version
180
- version: '0'
178
+ version: '3.2'
181
179
  required_rubygems_version: !ruby/object:Gem::Requirement
182
180
  requirements:
183
181
  - - ">="
184
182
  - !ruby/object:Gem::Version
185
183
  version: '0'
186
184
  requirements: []
187
- rubygems_version: 3.3.27
185
+ rubygems_version: 3.5.22
188
186
  signing_key:
189
187
  specification_version: 4
190
188
  summary: ActiveRecord extension to allow partitioning ids into regions, for merge
data/.codeclimate.yml DELETED
@@ -1,43 +0,0 @@
1
- prepare:
2
- fetch:
3
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_base.yml
4
- path: ".rubocop_base.yml"
5
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/.rubocop_cc_base.yml
6
- path: ".rubocop_cc_base.yml"
7
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/base.yml
8
- path: styles/base.yml
9
- - url: https://raw.githubusercontent.com/ManageIQ/manageiq-style/master/styles/cc_base.yml
10
- path: styles/cc_base.yml
11
- plugins:
12
- rubocop:
13
- enabled: true
14
- config: ".rubocop_cc.yml"
15
- channel: rubocop-1-56-3
16
- brakeman:
17
- enabled: false
18
- bundler-audit:
19
- enabled: false
20
- csslint:
21
- enabled: false
22
- duplication:
23
- enabled: true
24
- config:
25
- languages:
26
- - ruby
27
- - javascript
28
- eslint:
29
- enabled: false
30
- channel: eslint-3
31
- fixme:
32
- enabled: false
33
- markdownlint:
34
- enabled: false
35
- exclude_patterns:
36
- - ".git/"
37
- - "**.xml"
38
- - "**.yaml"
39
- - "**.yml"
40
- - locale/
41
- - spec/
42
- - tools/
43
- version: '2'
data/.rubocop_cc.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from:
2
- - ".rubocop_base.yml"
3
- - ".rubocop_cc_base.yml"
4
- - ".rubocop_local.yml"