facterdb 3.10.0 → 4.1.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: 4811b09fb0b84e2f9a69decfde91a957a1e436eb30f694b285b1d507da9aecac
4
- data.tar.gz: 7e374aaba5cefa94e2e5e4e5857010be2a93160841f8e67e5d4d25eda5325bd3
3
+ metadata.gz: de687eb578493587912f7de6af20ec75e87d0651ae7f9da080f62f57fd242fb9
4
+ data.tar.gz: 9898f2f89e4982e153122a5e205184bed56b32472d8407da2cc7e153b27e92d7
5
5
  SHA512:
6
- metadata.gz: 6f7ac617c3aab9d5896ab89e3090fba7817f14ac151cee2b07fd19cd72d0cc6c0ac2302ceba437bffc8fd907730932ee4c6e0c542bb34644f3f35d50a85c420d
7
- data.tar.gz: acc888a1711af6dd9a9f93f739e52b46771952542d8bc818b427d20313af8d23bb4d583efd149810eecb6c337f5f67e7b4dc608c51eab6712e9cdd3ebd3cc024
6
+ metadata.gz: 4cebaeea9e220e041af9853747a275024f1769c9fdc015583e21ab09281ac356fe29fcbea8ab4eaee6383249d7aad96fb02022709dfcafedcdb673df339f93ad
7
+ data.tar.gz: 95fe3a59224227308adaa80bf4b043df546359e63d5a0e02ea4abc75ee8ebaf1c2cc68b7792f337ebd1dfefd9f5da888a465c89eb2fe5947fff897ba5c63d7b0
@@ -22,7 +22,7 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
24
  - name: Checkout
25
- uses: actions/checkout@v4
25
+ uses: actions/checkout@v5
26
26
  - name: Set up Ruby
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
@@ -33,7 +33,7 @@ jobs:
33
33
  - name: Set up Pages
34
34
  uses: actions/configure-pages@v5
35
35
  - name: Upload artifact
36
- uses: actions/upload-pages-artifact@v3
36
+ uses: actions/upload-pages-artifact@v4
37
37
  with:
38
38
  path: build_docs
39
39
  - name: Deploy to GitHub Pages
@@ -15,7 +15,7 @@ jobs:
15
15
  name: Build the gem
16
16
  runs-on: ubuntu-24.04
17
17
  steps:
18
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v5
19
19
  - name: Install Ruby
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
@@ -15,7 +15,7 @@ jobs:
15
15
  outputs:
16
16
  ruby: ${{ steps.ruby.outputs.versions }}
17
17
  steps:
18
- - uses: actions/checkout@v4
18
+ - uses: actions/checkout@v5
19
19
  - name: Install Ruby ${{ matrix.ruby }}
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
@@ -34,7 +34,7 @@ jobs:
34
34
  matrix:
35
35
  ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
36
36
  steps:
37
- - uses: actions/checkout@v4
37
+ - uses: actions/checkout@v5
38
38
  - name: Install Ruby ${{ matrix.ruby }}
39
39
  uses: ruby/setup-ruby@v1
40
40
  with:
data/.rubocop.yml CHANGED
@@ -6,3 +6,6 @@ inherit_gem:
6
6
 
7
7
  Style/IfUnlessModifier:
8
8
  Enabled: false
9
+
10
+ AllCops:
11
+ TargetRubyVersion: 3.2
data/.rubocop_todo.yml CHANGED
@@ -1,13 +1,13 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2024-06-12 14:45:50 UTC using RuboCop version 1.63.5.
2
+ # `rubocop --auto-gen-config --no-auto-gen-timestamp`
3
+ # using RuboCop version 1.79.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches.
10
+ # Configuration parameters: IgnoreLiteralBranches, IgnoreConstantBranches, IgnoreDuplicateElseBranch.
11
11
  Lint/DuplicateBranch:
12
12
  Exclude:
13
13
  - 'Rakefile'
@@ -18,13 +18,6 @@ Lint/SuppressedException:
18
18
  Exclude:
19
19
  - 'Rakefile'
20
20
 
21
- # Offense count: 3
22
- # This cop supports unsafe autocorrection (--autocorrect-all).
23
- # Configuration parameters: AutoCorrect.
24
- Lint/UselessAssignment:
25
- Exclude:
26
- - 'spec/facts_spec.rb'
27
-
28
21
  # Offense count: 3
29
22
  # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
30
23
  # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
@@ -71,15 +64,11 @@ RSpec/DescribedClass:
71
64
  Exclude:
72
65
  - 'spec/facter_db_spec.rb'
73
66
 
74
- # Offense count: 5
67
+ # Offense count: 4
75
68
  # Configuration parameters: CountAsOne.
76
69
  RSpec/ExampleLength:
77
70
  Max: 13
78
71
 
79
- # Offense count: 8
80
- RSpec/MultipleExpectations:
81
- Max: 13
82
-
83
72
  # Offense count: 11
84
73
  # Configuration parameters: AllowSubject.
85
74
  RSpec/MultipleMemoizedHelpers:
@@ -105,6 +94,12 @@ Style/CaseLikeIf:
105
94
  Exclude:
106
95
  - 'Rakefile'
107
96
 
97
+ # Offense count: 1
98
+ # This cop supports unsafe autocorrection (--autocorrect-all).
99
+ Style/CollectionQuerying:
100
+ Exclude:
101
+ - 'spec/facts_spec.rb'
102
+
108
103
  # Offense count: 2
109
104
  # Configuration parameters: AllowedConstants.
110
105
  Style/Documentation:
@@ -120,6 +115,7 @@ Style/Documentation:
120
115
  # SupportedStyles: always, always_true, never
121
116
  Style/FrozenStringLiteralComment:
122
117
  Exclude:
118
+ - '**/*.arb'
123
119
  - 'Gemfile'
124
120
  - 'Rakefile'
125
121
  - 'bin/facterdb'
@@ -188,7 +184,7 @@ Style/SymbolProc:
188
184
 
189
185
  # Offense count: 5
190
186
  # This cop supports safe autocorrection (--autocorrect).
191
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
187
+ # Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
192
188
  # URISchemes: http, https
193
189
  Layout/LineLength:
194
190
  Max: 154
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.1.0](https://rubygems.org/gems/facterdb/versions/4.1.0) (2025-09-09)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.0.0...4.1.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Add EL/Debian/Ubuntu OpenFact 5.1 factsets [\#420](https://github.com/voxpupuli/facterdb/pull/420) ([bastelfreak](https://github.com/bastelfreak))
10
+ - Debian 13: Add OpenFact 5.1 factset [\#419](https://github.com/voxpupuli/facterdb/pull/419) ([bastelfreak](https://github.com/bastelfreak))
11
+ - Add AlmaLinux 10 facts [\#418](https://github.com/voxpupuli/facterdb/pull/418) ([matejzero](https://github.com/matejzero))
12
+
13
+ ## [4.0.0](https://rubygems.org/gems/facterdb/versions/4.0.0) (2025-08-12)
14
+
15
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.10.0...4.0.0)
16
+
17
+ **Breaking changes:**
18
+
19
+ - Require Ruby 3.2 or newer [\#415](https://github.com/voxpupuli/facterdb/pull/415) ([bastelfreak](https://github.com/bastelfreak))
20
+
3
21
  ## [3.10.0](https://rubygems.org/gems/facterdb/versions/3.10.0) (2025-08-11)
4
22
 
5
23
  [Full Changelog](https://github.com/voxpupuli/facterdb/compare/3.9.0...3.10.0)
data/facterdb.gemspec CHANGED
@@ -15,12 +15,12 @@ Gem::Specification.new do |s|
15
15
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
16
16
 
17
17
  # we have that configured in our CI file
18
- s.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
18
+ s.required_ruby_version = Gem::Requirement.new('>= 3.2.0')
19
19
 
20
20
  s.add_development_dependency 'coveralls', '~> 0.8.23'
21
21
  s.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1'
22
22
  s.add_development_dependency 'rspec', '~> 3.13'
23
23
 
24
- s.add_development_dependency 'voxpupuli-rubocop', '~> 3.1.0'
24
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 4.2.0'
25
25
  s.add_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
26
26
  end