countless 2.7.0 → 2.9.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: 5e8f8d92784e4a112039df4744317780e0e56ab8d427d5839b6a20977a0a972a
4
- data.tar.gz: 58ae2a69014cfe3e39baf4ec93a53f61885862a5f4849fb5aca0dffb0e258755
3
+ metadata.gz: 82afb071fcf0694eac5b4c1349317ee4597e841f73427bd569d17842039895fd
4
+ data.tar.gz: b9d8aa8cc2dda69d1704d9378416d31f0c1dcf4b6ad1876173e2967a2b71c16a
5
5
  SHA512:
6
- metadata.gz: e16e35ff2a6c0a5a487ff2643774923999c21960414a1f2441d501bd531322cf7d45ffd78a1a1b5abd4b95c5696505fcaed881cabec7d81a12a7f1a0fcd5aad1
7
- data.tar.gz: 32d5f3adbf51c23610f24c3b694ad9c9c288c687e83c3ec8531490e7be25036eddc22481e3bdb93f81e9e34e18db068d1be18e817cc1bdafdb0df6b774bdb86b
6
+ metadata.gz: 2aebca03ed60ef6df33fdbc7f60ec0972a07cc7be0547def213c097c90d3aa9c3cbd5e35a164cb9eae59336ead95de308e476b01d04df49897dbe818f5bc2e49
7
+ data.tar.gz: d79e9326af63c074d2d6e71716a8983fd0e3062f50d6e66fde62ad38b11ee9db9d874bfbb941b85a7b9c97a366f0d7c9db7e771243e43e4fc816314699f23170
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.9.0 (18 February 2026)
6
+
7
+ * Dropped 3rd-level gem dependencies which are not directly used
8
+ by this gem ([#24](https://github.com/hausgold/countless/pull/24))
9
+
10
+ ### 2.8.0 (12 February 2026)
11
+
12
+ * Corrected some RuboCop glitches ([#23](https://github.com/hausgold/countless/pull/23))
13
+
5
14
  ### 2.7.0 (28 January 2026)
6
15
 
7
16
  * Dropped Rails 7.1 support ([#22](https://github.com/hausgold/countless/pull/22))
data/countless.gemspec CHANGED
@@ -35,6 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.required_ruby_version = '>= 3.3'
36
36
 
37
37
  spec.add_dependency 'activesupport', '>= 8.0'
38
+ spec.add_dependency 'logger', '~> 1.7'
38
39
  spec.add_dependency 'ostruct', '>= 0.6'
39
40
  spec.add_dependency 'zeitwerk', '~> 2.6'
40
41
  end
@@ -89,7 +89,7 @@ module Countless
89
89
  # @return [Integer] the total lines of code
90
90
  def calculate_code
91
91
  @statistics.values.reject { |conf| conf[:test] }
92
- .map { |conf| conf[:stats].code_lines }.sum
92
+ .map { |conf| conf[:stats].code_lines }.sum
93
93
  end
94
94
 
95
95
  # Calculate the total lines of testing code.
@@ -97,7 +97,7 @@ module Countless
97
97
  # @return [Integer] the total lines of testing code
98
98
  def calculate_tests
99
99
  @statistics.values.select { |conf| conf[:test] }
100
- .map { |conf| conf[:stats].code_lines }.sum
100
+ .map { |conf| conf[:stats].code_lines }.sum
101
101
  end
102
102
 
103
103
  # Convert the code statistics to a formatted string buffer.
@@ -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.7.0'
6
+ VERSION = '2.9.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.7.0
4
+ version: 2.9.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: '8.0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: logger
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.7'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.7'
26
40
  - !ruby/object:Gem::Dependency
27
41
  name: ostruct
28
42
  requirement: !ruby/object:Gem::Requirement