countless 2.3.0 → 2.5.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: 9bd40e745d386b15e7078d50dfb2bb101a4eee94e959483558f2081bb336239e
4
- data.tar.gz: 3ef387060b53e5757aa7261e24d0cf25c51613a3814dd73f206c2a0ba18d21a6
3
+ metadata.gz: 4ae60168a28d1259c704f4eeacfdcc520da5c3d6116bce72c810ff3e29ad0afa
4
+ data.tar.gz: c4922aa7e7329cde32dea12aec16119ab54347e90c125b1d8f246bdb99e11101
5
5
  SHA512:
6
- metadata.gz: b58d7d01c56663f3d3c17aa303fd0e4b88097afd53fa914a7ad3c49c5a16d44991139730493e344b5fb4e6a897e7fb42f5efe391b0b7cc6bfbec343f285200b2
7
- data.tar.gz: 692e6523b3ba000c2454759aa3a9f725955b277518e98841ecb693234172764f01d9deeb1fae7abc685541e3e71f184d279c1e4df6907f07757ec77ee069608e
6
+ metadata.gz: b97cac443f03a996df94046706a88c6d392461d9859e5940fb1d04418fa84846d599ca894b9d4c67eec43f85d09e73b18db6bd673917dfc5e0c395afcffe1f10
7
+ data.tar.gz: 36b06c9ee8672c3ed93353153f15800209addcaa1dcba8941fdb9087a1e2bd405bedbd45af84d042df76baa941fd2ed3c2ad26d9cbf70403cacdf4478bbe37c9
@@ -15,26 +15,24 @@ concurrency:
15
15
  jobs:
16
16
  docs:
17
17
  name: Release the gem
18
- runs-on: ubuntu-22.04
18
+ runs-on: ubuntu-24.04
19
19
  timeout-minutes: 10
20
20
  steps:
21
- - uses: actions/checkout@v4
22
-
23
- - name: Install Ruby 3.2
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: 3.2
27
- bundler-cache: true
28
- rubygems: '3.6.9'
29
-
30
- - name: Prepare the virtual environment
31
- uses: hausgold/actions/ci@master
21
+ - name: Prepare the environment
22
+ uses: hausgold/actions/ci@v2
32
23
  with:
33
24
  clone_token: '${{ secrets.CLONE_TOKEN }}'
34
25
  settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
35
26
  settings: '${{ github.repository }}'
36
27
  target: ci/gem-test
37
28
 
29
+ - name: Install Ruby 3.3
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 3.3
33
+ bundler-cache: true
34
+ rubygems: '3.6.9'
35
+
38
36
  - name: Switch to SSH remotes for the Git repository
39
37
  run: git-ssh-remotes
40
38
 
@@ -13,17 +13,23 @@ concurrency:
13
13
  jobs:
14
14
  test:
15
15
  name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})'
16
- runs-on: ubuntu-22.04
16
+ runs-on: ubuntu-24.04
17
17
  timeout-minutes: 5
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['3.2', '3.3', '3.4']
22
- rails: ['7.1', '7.2', '8.0', '8.1']
21
+ ruby: ['3.3', '3.4', '4.0']
22
+ rails: ['7.2', '8.0', '8.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
26
- - uses: actions/checkout@v4
26
+ - name: Prepare the environment
27
+ uses: hausgold/actions/ci@v2
28
+ with:
29
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
30
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
31
+ settings: '${{ github.repository }}'
32
+ target: ci/gem-test
27
33
 
28
34
  - name: Install the correct Ruby version
29
35
  uses: ruby/setup-ruby@v1
@@ -32,14 +38,6 @@ jobs:
32
38
  bundler-cache: true
33
39
  rubygems: '3.6.9'
34
40
 
35
- - name: Prepare the virtual environment
36
- uses: hausgold/actions/ci@master
37
- with:
38
- clone_token: '${{ secrets.CLONE_TOKEN }}'
39
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
40
- settings: '${{ github.repository }}'
41
- target: ci/gem-test
42
-
43
41
  - name: Run the gem tests
44
42
  run: make test
45
43
 
data/.rubocop.yml CHANGED
@@ -2,6 +2,10 @@ inherit_from:
2
2
  - https://potpourri.hausgold.de/config/rubocop.yml
3
3
  - https://potpourri.hausgold.de/config/rubocop-gem.yml
4
4
 
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
8
+
5
9
  plugins:
6
10
  - rubocop-rspec
7
11
  - rubocop-rails
@@ -10,8 +14,8 @@ AllCops:
10
14
  NewCops: enable
11
15
  SuggestExtensions: false
12
16
  DisplayCopNames: true
13
- TargetRubyVersion: 3.2
14
- TargetRailsVersion: 7.1
17
+ TargetRubyVersion: 3.3
18
+ TargetRailsVersion: 7.2
15
19
  Exclude:
16
20
  - bin/**/*
17
21
  - vendor/**/*
data/Appraisals CHANGED
@@ -1,11 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-7.1' do
4
- gem 'activejob', '~> 7.1.0'
5
- gem 'activerecord', '~> 7.1.0'
6
- gem 'activesupport', '~> 7.1.0'
7
- end
8
-
9
3
  appraise 'rails-7.2' do
10
4
  gem 'activejob', '~> 7.2.0'
11
5
  gem 'activerecord', '~> 7.2.0'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.5.0 (7 January 2026)
6
+
7
+ * Upgraded to Ubuntu 24.04 on Github Actions ([#20](https://github.com/hausgold/countless/pull/20))
8
+ * Migrated to hausgold/actions@v2 ([#19](https://github.com/hausgold/countless/pull/19))
9
+
10
+ ### 2.4.0 (26 December 2025)
11
+
12
+ * Added Ruby 4.0 support ([#18](https://github.com/hausgold/countless/pull/18))
13
+ * Dropped Ruby 3.2 and Rails 7.1 support ([#17](https://github.com/hausgold/countless/pull/17))
14
+
5
15
  ### 2.3.0 (19 December 2025)
6
16
 
7
17
  * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#16](https://github.com/hausgold/countless/pull/16))
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM hausgold/ruby:3.2
1
+ FROM hausgold/ruby:3.3
2
2
  LABEL org.opencontainers.image.authors="containers@hausgold.de"
3
3
 
4
4
  # Update system gem
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ gemspec
10
10
  # Development dependencies
11
11
  gem 'appraisal', '~> 2.4'
12
12
  gem 'benchmark-ips', '~> 2.10'
13
- gem 'bundler', '~> 2.6'
13
+ gem 'bundler', '>= 2.6', '< 5'
14
14
  gem 'guard-rspec', '~> 4.7'
15
15
  gem 'irb', '~> 1.2'
16
16
  gem 'rspec', '~> 3.12'
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 HAUSGOLD | talocasa GmbH
3
+ Copyright (c) 2026 HAUSGOLD | talocasa GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Makefile CHANGED
@@ -94,7 +94,8 @@ all:
94
94
  install:
95
95
  # Install the dependencies
96
96
  @$(MKDIR) -p $(VENDOR_DIR)
97
- @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
97
+ @$(call run-shell,$(BUNDLE) config set --local path '$(VENDOR_DIR)')
98
+ @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install)
98
99
  @$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
99
100
  @$(MAKE) --no-print-directory .fetch-cloc
100
101
 
@@ -134,7 +135,7 @@ test-style: \
134
135
  test-style-ruby:
135
136
  # Run the static code analyzer (rubocop)
136
137
  @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
137
- || ($(TEST) $$($(RUBY_VERSION)) != '3.2' && true))
138
+ || ($(TEST) $$($(RUBY_VERSION)) != '3.3' && true))
138
139
 
139
140
  clean:
140
141
  # Clean the dependencies
data/countless.gemspec CHANGED
@@ -32,8 +32,8 @@ Gem::Specification.new do |spec|
32
32
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
33
33
  spec.require_paths = ['lib']
34
34
 
35
- spec.required_ruby_version = '>= 3.2'
35
+ spec.required_ruby_version = '>= 3.3'
36
36
 
37
- spec.add_dependency 'activesupport', '>= 7.1'
37
+ spec.add_dependency 'activesupport', '>= 7.2'
38
38
  spec.add_dependency 'zeitwerk', '~> 2.6'
39
39
  end
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
6
  gem "benchmark-ips", "~> 2.10"
7
- gem "bundler", "~> 2.6"
7
+ gem "bundler", ">= 2.6", "< 5"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
10
10
  gem "rspec", "~> 3.12"
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
6
  gem "benchmark-ips", "~> 2.10"
7
- gem "bundler", "~> 2.6"
7
+ gem "bundler", ">= 2.6", "< 5"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
10
10
  gem "rspec", "~> 3.12"
@@ -4,7 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
6
  gem "benchmark-ips", "~> 2.10"
7
- gem "bundler", "~> 2.6"
7
+ gem "bundler", ">= 2.6", "< 5"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "irb", "~> 1.2"
10
10
  gem "rspec", "~> 3.12"
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Countless
5
5
  # The version of the +countless+ gem
6
- VERSION = '2.3.0'
6
+ VERSION = '2.5.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '7.1'
18
+ version: '7.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '7.1'
25
+ version: '7.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: zeitwerk
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -73,8 +73,6 @@ files:
73
73
  - countless.gemspec
74
74
  - doc/assets/project.svg
75
75
  - docker-compose.yml
76
- - gemfiles/rails_6.1.gemfile
77
- - gemfiles/rails_7.1.gemfile
78
76
  - gemfiles/rails_7.2.gemfile
79
77
  - gemfiles/rails_8.0.gemfile
80
78
  - gemfiles/rails_8.1.gemfile
@@ -102,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
- version: '3.2'
103
+ version: '3.3'
106
104
  required_rubygems_version: !ruby/object:Gem::Requirement
107
105
  requirements:
108
106
  - - ">="
@@ -1,21 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.4"
6
- gem "benchmark-ips", "~> 2.10"
7
- gem "bundler", "~> 2.3"
8
- gem "guard-rspec", "~> 4.7"
9
- gem "irb", "~> 1.2"
10
- gem "rspec", "~> 3.12"
11
- gem "rubocop"
12
- gem "rubocop-rails"
13
- gem "rubocop-rspec"
14
- gem "simplecov", ">= 0.22"
15
- gem "yard", ">= 0.9.28"
16
- gem "yard-activesupport-concern", ">= 0.0.1"
17
- gem "activejob", "~> 6.1.0"
18
- gem "activerecord", "~> 6.1.0"
19
- gem "activesupport", "~> 6.1.0"
20
-
21
- gemspec path: "../"
@@ -1,21 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.4"
6
- gem "benchmark-ips", "~> 2.10"
7
- gem "bundler", "~> 2.6"
8
- gem "guard-rspec", "~> 4.7"
9
- gem "irb", "~> 1.2"
10
- gem "rspec", "~> 3.12"
11
- gem "rubocop"
12
- gem "rubocop-rails"
13
- gem "rubocop-rspec"
14
- gem "simplecov", ">= 0.22"
15
- gem "yard", ">= 0.9.28"
16
- gem "yard-activesupport-concern", ">= 0.0.1"
17
- gem "activejob", "~> 7.1.0"
18
- gem "activerecord", "~> 7.1.0"
19
- gem "activesupport", "~> 7.1.0"
20
-
21
- gemspec path: "../"