rimless 2.4.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: cbd4330e83d4e614681dbb3b04c39e0292c19415d8775b22bd57c1016c02a1a8
4
- data.tar.gz: e44565c65c01ea489583dea199994e7270068807b1ba33e5b3f07b1e5035af1a
3
+ metadata.gz: e5a369b3a1d54c495b2f5403c691ecfb268bf774b73f38f046a3ad08c8c459ca
4
+ data.tar.gz: a37728e6e827792fae58400d9fb5952190f866cf5fefe4a6a5f12b4f2d85dd68
5
5
  SHA512:
6
- metadata.gz: 13b07c1f47a25708d635ab22a59f29f5805bca1069f60fdd9476abafc13fa84573760e816ec0ff8669b8adbbd1c004a46804c72704179d85909a64be6b054733
7
- data.tar.gz: fb47c00af480310e5374c733196e6d8743c24b9506e94a3a92183407f238c28334cb79aebd8b5c69a4180c674c533430f1e8308b3e49a4b33e1d233d58815f2d
6
+ metadata.gz: '0882fcd574cf6a7f0342bfd0601e9c60979587973414d2317792d82d3b9ce3d1522871221b774ae8654dae110421bc107c3e35480089268bfcfa4eccb56d38c6'
7
+ data.tar.gz: 59089f5bbfef799f67e18575c4aa4dbeb9e484625c722cfcfc85253fb758ec678a405a2dd38f09c3d9e021167da593061767df99b1622ddbe1227fbccac0b529
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
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
+
5
9
  ### 2.4.0 (7 January 2026)
6
10
 
7
11
  * Upgraded to Ubuntu 24.04 on Github Actions ([#66](https://github.com/hausgold/rimless/pull/66))
@@ -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.4.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.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer