countless 2.4.0 → 2.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: dd8ed037bef1612f355cc630677645ea741b9dad03960ad426e1cc86fbd47518
4
- data.tar.gz: dd0ae68e5608da67d42405a8b0c6988b2ba9fe65c18ff485c7557487367b8cd6
3
+ metadata.gz: f92d8847094e24c2e4715eed8e3dce8272a9fc157894211109aac8768fd42ab0
4
+ data.tar.gz: a65ce8b9cd8296cf5661ec3a04efd952a2883876d590d865a1733e4502c9e76c
5
5
  SHA512:
6
- metadata.gz: 99492280b52a1998b522991a5624852173c584a0b01001506ae8f37fd58ef6a693eb7ba28292aa82f4a774dae6212bcc2c43564dfa6979fa44ad3c870e5e1f01
7
- data.tar.gz: 53be90fd11a04e213aadcbd526202d3c3bbf32aceb201dc7206b03f9839aea7a1010150e2c2ff1329735e480ebbccfbc2a0ac5e48e209b1475717e3add5b4537
6
+ metadata.gz: c94a5c409f1e1037a344bdde223f38cb09b3e265ccf9bef28d64f2e020f19c77ecd86479ee0143575c8a520da3af8e3d904751a440021dfd0ec629dc3b259917
7
+ data.tar.gz: 24d9bebafda2768929591ad62184160ad4b012d29bdcd25c3a6af95809a0eb1742c7860c6e6d12f36b5ca1768f38de78fbc284a2d972927a3db64cb4329d9192
@@ -15,10 +15,16 @@ 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
21
+ - name: Prepare the environment
22
+ uses: hausgold/actions/ci@v2
23
+ with:
24
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
25
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
26
+ settings: '${{ github.repository }}'
27
+ target: ci/gem-test
22
28
 
23
29
  - name: Install Ruby 3.3
24
30
  uses: ruby/setup-ruby@v1
@@ -27,14 +33,6 @@ jobs:
27
33
  bundler-cache: true
28
34
  rubygems: '3.6.9'
29
35
 
30
- - name: Prepare the virtual environment
31
- uses: hausgold/actions/ci@master
32
- with:
33
- clone_token: '${{ secrets.CLONE_TOKEN }}'
34
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
35
- settings: '${{ github.repository }}'
36
- target: ci/gem-test
37
-
38
36
  - name: Switch to SSH remotes for the Git repository
39
37
  run: git-ssh-remotes
40
38
 
@@ -13,7 +13,7 @@ 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
@@ -23,7 +23,13 @@ jobs:
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
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.6.0 (19 January 2026)
6
+
7
+ * Added the `ostruct` gem ([#21](https://github.com/hausgold/countless/pull/21))
8
+
9
+ ### 2.5.0 (7 January 2026)
10
+
11
+ * Upgraded to Ubuntu 24.04 on Github Actions ([#20](https://github.com/hausgold/countless/pull/20))
12
+ * Migrated to hausgold/actions@v2 ([#19](https://github.com/hausgold/countless/pull/19))
13
+
5
14
  ### 2.4.0 (26 December 2025)
6
15
 
7
16
  * Added Ruby 4.0 support ([#18](https://github.com/hausgold/countless/pull/18))
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/countless.gemspec CHANGED
@@ -35,5 +35,6 @@ Gem::Specification.new do |spec|
35
35
  spec.required_ruby_version = '>= 3.3'
36
36
 
37
37
  spec.add_dependency 'activesupport', '>= 7.2'
38
+ spec.add_dependency 'ostruct', '>= 0.6'
38
39
  spec.add_dependency 'zeitwerk', '~> 2.6'
39
40
  end
@@ -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.4.0'
6
+ VERSION = '2.6.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.4.0
4
+ version: 2.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -23,6 +23,20 @@ dependencies:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
25
  version: '7.2'
26
+ - !ruby/object:Gem::Dependency
27
+ name: ostruct
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0.6'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0.6'
26
40
  - !ruby/object:Gem::Dependency
27
41
  name: zeitwerk
28
42
  requirement: !ruby/object:Gem::Requirement