rimless 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: ec328917bdc0618ce84c72c949db89d1c01c27114be364f47342b9261ec31dab
4
- data.tar.gz: 82a68647eb697e0391520145a487ba504120614b35e2af9d0db8fd25641b8709
3
+ metadata.gz: e5a369b3a1d54c495b2f5403c691ecfb268bf774b73f38f046a3ad08c8c459ca
4
+ data.tar.gz: a37728e6e827792fae58400d9fb5952190f866cf5fefe4a6a5f12b4f2d85dd68
5
5
  SHA512:
6
- metadata.gz: 6dbaf2947ef1c9dde5af3d11980d48b7a1f7fea2246599cc3ee71126a2048bda66ea7126b382ad734442e35b662a0bcda294f21bf5b3cc5bbd8ce331e35d420c
7
- data.tar.gz: 2466292029a418e11d9fbea7b3a533853662a8a8131a625a853a3aa7104a7a3dcd80f3a5671257b874373173b496af0f72e7e93ee1e632c3185c942c1eb1f926
6
+ metadata.gz: '0882fcd574cf6a7f0342bfd0601e9c60979587973414d2317792d82d3b9ce3d1522871221b774ae8654dae110421bc107c3e35480089268bfcfa4eccb56d38c6'
7
+ data.tar.gz: 59089f5bbfef799f67e18575c4aa4dbeb9e484625c722cfcfc85253fb758ec678a405a2dd38f09c3d9e021167da593061767df99b1622ddbe1227fbccac0b529
@@ -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.5.0 (8 January 2026)
6
+
7
+ * Added support Rails 8.0+ code statistics ([#67](https://github.com/hausgold/rimless/pull/67))
8
+
9
+ ### 2.4.0 (7 January 2026)
10
+
11
+ * Upgraded to Ubuntu 24.04 on Github Actions ([#66](https://github.com/hausgold/rimless/pull/66))
12
+ * Migrated to hausgold/actions@v2 ([#65](https://github.com/hausgold/rimless/pull/65))
13
+
5
14
  ### 2.3.0 (26 December 2025)
6
15
 
7
16
  * Added Ruby 4.0 support ([#64](https://github.com/hausgold/rimless/pull/64))
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
@@ -14,6 +14,11 @@ module Rimless
14
14
 
15
15
  # Set the app name as default client id, when not already set
16
16
  conf.client_id ||= app_name
17
+
18
+ # When the code statistics feature is available,
19
+ # register application consumers
20
+ Rails::CodeStatistics.register_directory('Consumers', 'app/consumers') \
21
+ if defined?(Rails::CodeStatistics)
17
22
  end
18
23
 
19
24
  # Run after all configuration is set via Rails initializers
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- if defined?(Rails) && Rails.env.development?
3
+ # TODO: Remove this file, when Rails >= 8.0 is the minimum requirement
4
+ if defined?(Rails) && Rails.env.development? && Rails::VERSION::STRING < '8.0.0'
4
5
  require 'rspec/core/rake_task'
5
6
 
6
7
  # rubocop:disable Rails/RakeEnvironment -- because this is just an helper
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Rimless
5
5
  # The version of the +rimless+ 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: rimless
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