activerecord-id_regions 0.5.0 → 0.7.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: 9e5305dd71ad6b40dcc0a60743463220e10da515800e3999d200fe356cb78e4d
4
+ data.tar.gz: '09580db19e5bccca6a00b6606c3d4507679fb58b6b3b25a94e267f8c7e30ab6c'
5
5
  SHA512:
6
- metadata.gz: 7ea1fed1243f0546545b05cfa7af7428417a1898b33d8c85f081a649ea85465f3e32c03b26ae3e5a4b119bbd9d25a9f739500fa3958fd185915013b74f8de4a6
7
- data.tar.gz: ead30f4633cb2aa2e70cf97242f8c273114d74eb2ae8defb494f6fc97ff2da6df0900c97e86c8d034675c593a19424f8c8210f55da794715a7504aba60ffd443
6
+ metadata.gz: 3bdbed0b5da4508aaaacbc0d8da84425fd9e720ac0a712149735b55e11a69d34f5f072203de586142b2efcda7fa9cdd40dc61042a886d714e6a06a1a411cab76
7
+ data.tar.gz: 8800c5d2216a98fcd6b5788dfd81fa8d67068ead0919236df6c2f1f66ab66bb9c42b958cde8ae789fafdd2dfdd5b8c0f6e18e28983d0377d8f6a09cd5c3c54cc
@@ -1,31 +1,30 @@
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'
27
+ - '8.1'
29
28
  services:
30
29
  postgres:
31
30
  image: manageiq/postgresql:13
@@ -33,26 +32,21 @@ jobs:
33
32
  POSTGRESQL_USER: root
34
33
  POSTGRESQL_PASSWORD: smartvm
35
34
  POSTGRESQL_DATABASE: activerecord_id_regions_test
36
- options: --health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5
35
+ options: "--health-cmd pg_isready --health-interval 2s --health-timeout 5s --health-retries 5"
37
36
  ports:
38
37
  - 5432:5432
39
38
  env:
40
- TEST_RAILS_VERSION: ${{ matrix.rails-version }}
39
+ TEST_RAILS_VERSION: "${{ matrix.rails-version }}"
41
40
  PGHOST: localhost
42
41
  PGUSER: root
43
42
  PGPASSWORD: smartvm
44
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
45
43
  steps:
46
- - uses: actions/checkout@v4
44
+ - uses: actions/checkout@v7
47
45
  - name: Set up Ruby
48
46
  uses: ruby/setup-ruby@v1
49
47
  with:
50
- ruby-version: ${{ matrix.ruby-version }}
48
+ ruby-version: "${{ matrix.ruby-version }}"
51
49
  bundler-cache: true
52
50
  timeout-minutes: 30
53
51
  - name: Run tests
54
52
  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,19 @@ This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.7.0] - 2026-09-22
9
+
10
+ ### Changed
11
+ - Add support for rails 8.1 ([#72](https://github.com/ManageIQ/activerecord-id_regions/pull/72))
12
+
13
+ ## [0.6.0] - 2025-12-11
14
+
15
+ ### Changed
16
+ - Add support for rails 8.0
17
+ - Drop support for end of life versions:
18
+ - rails 7.0, 7.1
19
+ - ruby 2.7, 3.0, and 3.1
20
+
8
21
  ## [0.5.0] - 2024-10-10
9
22
  ### Changed
10
23
 
@@ -22,7 +35,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
22
35
  - Loosened active record support to include active record 6.1
23
36
  - Fixed keyword arguments for ruby 3.0 support
24
37
 
25
- [Unreleased]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.5.0...HEAD
38
+ [Unreleased]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.7.0...HEAD
39
+ [0.7.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.6.0...v0.7.0
40
+ [0.6.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.5.0...v0.6.0
26
41
  [0.5.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.4.0...v0.5.0
27
42
  [0.4.0]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.3.2...v0.4.0
28
43
  [0.3.2]: https://github.com/ManageIQ/activerecord-id_regions/compare/v0.3.1...v0.3.2
data/Gemfile CHANGED
@@ -5,12 +5,12 @@ 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.1"
9
+ "~>8.1.3"
10
+ when "8.0"
11
+ "~>8.0.4"
12
12
  else
13
- "~>7.0.8"
13
+ "~>7.2.3"
14
14
  end
15
15
 
16
16
  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.2"
25
+ spec.add_dependency "activesupport", ">= 7.2.3", "<8.2"
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.7.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,13 @@
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.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-10-10 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -16,40 +15,40 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 7.0.8
18
+ version: 7.2.3
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
- version: '8.0'
21
+ version: '8.2'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 7.0.8
28
+ version: 7.2.3
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
- version: '8.0'
31
+ version: '8.2'
33
32
  - !ruby/object:Gem::Dependency
34
33
  name: activesupport
35
34
  requirement: !ruby/object:Gem::Requirement
36
35
  requirements:
37
36
  - - ">="
38
37
  - !ruby/object:Gem::Version
39
- version: 7.0.8
38
+ version: 7.2.3
40
39
  - - "<"
41
40
  - !ruby/object:Gem::Version
42
- version: '8.0'
41
+ version: '8.2'
43
42
  type: :runtime
44
43
  prerelease: false
45
44
  version_requirements: !ruby/object:Gem::Requirement
46
45
  requirements:
47
46
  - - ">="
48
47
  - !ruby/object:Gem::Version
49
- version: 7.0.8
48
+ version: 7.2.3
50
49
  - - "<"
51
50
  - !ruby/object:Gem::Version
52
- version: '8.0'
51
+ version: '8.2'
53
52
  - !ruby/object:Gem::Dependency
54
53
  name: pg
55
54
  requirement: !ruby/object:Gem::Requirement
@@ -136,18 +135,15 @@ dependencies:
136
135
  version: 0.21.2
137
136
  description: ActiveRecord extension to allow partitioning ids into regions, for merge
138
137
  replication purposes
139
- email:
140
138
  executables: []
141
139
  extensions: []
142
140
  extra_rdoc_files: []
143
141
  files:
144
- - ".codeclimate.yml"
145
142
  - ".github/workflows/ci.yaml"
146
143
  - ".gitignore"
147
144
  - ".rspec"
148
145
  - ".rspec_ci"
149
146
  - ".rubocop.yml"
150
- - ".rubocop_cc.yml"
151
147
  - ".rubocop_local.yml"
152
148
  - ".whitesource"
153
149
  - CHANGELOG.md
@@ -169,7 +165,6 @@ licenses:
169
165
  - Apache-2.0
170
166
  metadata:
171
167
  rubygems_mfa_required: 'true'
172
- post_install_message:
173
168
  rdoc_options: []
174
169
  require_paths:
175
170
  - lib
@@ -177,15 +172,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
177
172
  requirements:
178
173
  - - ">="
179
174
  - !ruby/object:Gem::Version
180
- version: '0'
175
+ version: '3.2'
181
176
  required_rubygems_version: !ruby/object:Gem::Requirement
182
177
  requirements:
183
178
  - - ">="
184
179
  - !ruby/object:Gem::Version
185
180
  version: '0'
186
181
  requirements: []
187
- rubygems_version: 3.3.27
188
- signing_key:
182
+ rubygems_version: 3.6.9
189
183
  specification_version: 4
190
184
  summary: ActiveRecord extension to allow partitioning ids into regions, for merge
191
185
  replication purposes
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"