specinfra 2.27.1 → 2.28.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
  SHA1:
3
- metadata.gz: 79f2d0db23a5ca261d28195993872ca69e8c8cc6
4
- data.tar.gz: 3d1fb7f8f5914f368de776b00c71b1b223ff81e0
3
+ metadata.gz: 8fadaee8c701069ce0492aaf49edade424ba3fe7
4
+ data.tar.gz: 336123e0b3e692e80f7440caa3eb75162f8ab91c
5
5
  SHA512:
6
- metadata.gz: 9f814f0bf8f313e38683eb889d155e8bc603cf935a34ad3e2daa09f1959b2608713df30b9ecde2b79ab9488e67fef7e10693cb06b2d257f5a4602fc557b65395
7
- data.tar.gz: 2c933d47ee57dca16d7677e4f8812be45f53adc2e7ac630675d2a5ddd828ff02c2fb4d47f5b358057dcf8ebee7a0b8ae406b80747d4059b61189c1d98ae482a7
6
+ metadata.gz: 49cfe84896926a3e0141455247c3b2be4ebbf81731e94cba97b6d9cbe86e8f8c1a9e3df8522dd1101ddf4502724adb4beab230c2a21f5c3927b3215d212b4c98
7
+ data.tar.gz: 1f035a34bb15e62965945e36ee52b5c9dd02d4ebd724fe7c2b45768d5e50c12f9fe162778f16e321e97fd72266a18d029d05d63675a14b07fb2a6384ebd00df9
@@ -11,6 +11,7 @@ module Specinfra
11
11
  filesystem
12
12
  cpu
13
13
  virtualization
14
+ kernel
14
15
  }
15
16
 
16
17
  include Enumerable
@@ -0,0 +1,12 @@
1
+ module Specinfra
2
+ class HostInventory
3
+ class Kernel < Base
4
+ def get
5
+ kernel = {}
6
+ kernel['machine'] = backend.os_info[:arch]
7
+
8
+ kernel
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.27.1"
2
+ VERSION = "2.28.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.27.1
4
+ version: 2.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
@@ -367,6 +367,7 @@ files:
367
367
  - lib/specinfra/host_inventory/filesystem.rb
368
368
  - lib/specinfra/host_inventory/fqdn.rb
369
369
  - lib/specinfra/host_inventory/hostname.rb
370
+ - lib/specinfra/host_inventory/kernel.rb
370
371
  - lib/specinfra/host_inventory/memory.rb
371
372
  - lib/specinfra/host_inventory/platform.rb
372
373
  - lib/specinfra/host_inventory/platform_version.rb