facterdb 4.1.0 → 4.2.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: de687eb578493587912f7de6af20ec75e87d0651ae7f9da080f62f57fd242fb9
4
- data.tar.gz: 9898f2f89e4982e153122a5e205184bed56b32472d8407da2cc7e153b27e92d7
3
+ metadata.gz: 8e8ae96bb72cc639be88b98977b05f2cdf3bd87a9b6b8ab42aa4c995ffc7f211
4
+ data.tar.gz: fc20af417652cdb573a50dd57b5f6438f7c530eaa0396c6bb8e241a55edad08d
5
5
  SHA512:
6
- metadata.gz: 4cebaeea9e220e041af9853747a275024f1769c9fdc015583e21ab09281ac356fe29fcbea8ab4eaee6383249d7aad96fb02022709dfcafedcdb673df339f93ad
7
- data.tar.gz: 95fe3a59224227308adaa80bf4b043df546359e63d5a0e02ea4abc75ee8ebaf1c2cc68b7792f337ebd1dfefd9f5da888a465c89eb2fe5947fff897ba5c63d7b0
6
+ metadata.gz: 6987b4c58edf2cd52ac153195602882e690adf52f334ce65a675c1e952d9a20428c3718eed77370c2811ce4a803e51e03380491cc35d2a7c31d6434745fe9b47
7
+ data.tar.gz: 54d1726663d621f7e500b6ef704892e6f56188d5ae01cf524b5a28167b083a6e12a7c906da18ad6d2401943425208fdc4f6a71e6f25a5670a1201a9a74b0ee4c
@@ -22,7 +22,7 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
24
  - name: Checkout
25
- uses: actions/checkout@v5
25
+ uses: actions/checkout@v6
26
26
  - name: Set up Ruby
27
27
  uses: ruby/setup-ruby@v1
28
28
  with:
@@ -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@v5
18
+ - uses: actions/checkout@v6
19
19
  - name: Install Ruby
20
20
  uses: ruby/setup-ruby@v1
21
21
  with:
@@ -24,7 +24,7 @@ jobs:
24
24
  shell: bash
25
25
  run: gem build --verbose *.gemspec
26
26
  - name: Upload gem to GitHub cache
27
- uses: actions/upload-artifact@v4
27
+ uses: actions/upload-artifact@v5
28
28
  with:
29
29
  name: gem-artifact
30
30
  path: '*.gem'
@@ -39,7 +39,7 @@ jobs:
39
39
  contents: write # clone repo and create release
40
40
  steps:
41
41
  - name: Download gem from GitHub cache
42
- uses: actions/download-artifact@v5
42
+ uses: actions/download-artifact@v6
43
43
  with:
44
44
  name: gem-artifact
45
45
  - name: Create Release
@@ -56,7 +56,7 @@ jobs:
56
56
  packages: write # publish to rubygems.pkg.github.com
57
57
  steps:
58
58
  - name: Download gem from GitHub cache
59
- uses: actions/download-artifact@v5
59
+ uses: actions/download-artifact@v6
60
60
  with:
61
61
  name: gem-artifact
62
62
  - name: Publish gem to GitHub packages
@@ -73,7 +73,7 @@ jobs:
73
73
  id-token: write # rubygems.org authentication
74
74
  steps:
75
75
  - name: Download gem from GitHub cache
76
- uses: actions/download-artifact@v5
76
+ uses: actions/download-artifact@v6
77
77
  with:
78
78
  name: gem-artifact
79
79
  - uses: rubygems/configure-rubygems-credentials@v1.0.0
@@ -92,7 +92,7 @@ jobs:
92
92
  - release-to-rubygems
93
93
  steps:
94
94
  - name: Download gem from GitHub cache
95
- uses: actions/download-artifact@v5
95
+ uses: actions/download-artifact@v6
96
96
  with:
97
97
  name: gem-artifact
98
98
  - name: Install Ruby
@@ -15,7 +15,7 @@ jobs:
15
15
  outputs:
16
16
  ruby: ${{ steps.ruby.outputs.versions }}
17
17
  steps:
18
- - uses: actions/checkout@v5
18
+ - uses: actions/checkout@v6
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@v5
37
+ - uses: actions/checkout@v6
38
38
  - name: Install Ruby ${{ matrix.ruby }}
39
39
  uses: ruby/setup-ruby@v1
40
40
  with:
data/.rubocop.yml CHANGED
@@ -6,6 +6,3 @@ inherit_gem:
6
6
 
7
7
  Style/IfUnlessModifier:
8
8
  Enabled: false
9
-
10
- AllCops:
11
- TargetRubyVersion: 3.2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.2.0](https://rubygems.org/gems/facterdb/versions/4.2.0) (2025-11-22)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.1.0...4.2.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Add FreeBSD 13/14 Openfact 5.1 factsets [\#438](https://github.com/voxpupuli/facterdb/pull/438) ([bastelfreak](https://github.com/bastelfreak))
10
+ - Add Windows 10/11 openfact 5.1 factsets [\#437](https://github.com/voxpupuli/facterdb/pull/437) ([bastelfreak](https://github.com/bastelfreak))
11
+ - Add Windows 2025 openfact 5.1 factset [\#435](https://github.com/voxpupuli/facterdb/pull/435) ([bastelfreak](https://github.com/bastelfreak))
12
+ - Add opensuse 16 Openfact 5.1 factset [\#434](https://github.com/voxpupuli/facterdb/pull/434) ([bastelfreak](https://github.com/bastelfreak))
13
+ - Add AmazonLinux 2023 [\#433](https://github.com/voxpupuli/facterdb/pull/433) ([bastelfreak](https://github.com/bastelfreak))
14
+ - Add Windows Server 2019/2022 openfact 5.1 factsets [\#432](https://github.com/voxpupuli/facterdb/pull/432) ([bastelfreak](https://github.com/bastelfreak))
15
+ - Add Fedora 42 factset [\#430](https://github.com/voxpupuli/facterdb/pull/430) ([bastelfreak](https://github.com/bastelfreak))
16
+ - Add Fedora 43 factsets [\#429](https://github.com/voxpupuli/facterdb/pull/429) ([bastelfreak](https://github.com/bastelfreak))
17
+ - Add oraclelinux-10 factsets [\#428](https://github.com/voxpupuli/facterdb/pull/428) ([bastelfreak](https://github.com/bastelfreak))
18
+ - Refactor Vagrantfile & feat: add new OS versions [\#427](https://github.com/voxpupuli/facterdb/pull/427) ([d1nuc0m](https://github.com/d1nuc0m))
19
+
20
+ **Merged pull requests:**
21
+
22
+ - deprecation: Legacy facts are deprecated [\#425](https://github.com/voxpupuli/facterdb/pull/425) ([marcusdots](https://github.com/marcusdots))
23
+ - Update voxpupuli-rubocop requirement from ~\> 4.2.0 to ~\> 5.0.0 [\#422](https://github.com/voxpupuli/facterdb/pull/422) ([dependabot[bot]](https://github.com/apps/dependabot))
24
+
3
25
  ## [4.1.0](https://rubygems.org/gems/facterdb/versions/4.1.0) (2025-09-09)
4
26
 
5
27
  [Full Changelog](https://github.com/voxpupuli/facterdb/compare/4.0.0...4.1.0)
data/README.md CHANGED
@@ -39,28 +39,10 @@ Returns an Array of Hash containing the whole facts database.
39
39
 
40
40
  ## Filtering by Facter version and fact values
41
41
 
42
- ### With an Array filter
43
-
44
- ```ruby
45
- require 'facterdb'
46
-
47
- FacterDB.get_facts([{:osfamily => 'Debian'}])
48
- ```
49
-
50
- ### With an Hash filter
51
-
52
- ```ruby
53
- require 'facterdb'
54
-
55
- FacterDB.get_facts({:osfamily => 'Debian'})
56
- ```
57
-
58
- ### With a String filter
59
-
60
42
  ```ruby
61
43
  require 'facterdb'
62
44
 
63
- FacterDB::get_facts('osfamily=Debian')
45
+ FacterDB::get_facts('os.family=Debian')
64
46
  ```
65
47
 
66
48
  ## Included Factsets
data/facterdb.gemspec CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
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', '~> 4.2.0'
24
+ s.add_development_dependency 'voxpupuli-rubocop', '~> 5.0.0'
25
25
  s.add_dependency 'jgrep', '~> 1.5', '>= 1.5.4'
26
26
  end