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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rimless/railtie.rb +5 -0
- data/lib/rimless/tasks/stats.rake +2 -1
- data/lib/rimless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e5a369b3a1d54c495b2f5403c691ecfb268bf774b73f38f046a3ad08c8c459ca
|
|
4
|
+
data.tar.gz: a37728e6e827792fae58400d9fb5952190f866cf5fefe4a6a5f12b4f2d85dd68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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))
|
data/lib/rimless/railtie.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
data/lib/rimless/version.rb
CHANGED