specinfra 2.83.1 → 2.83.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb64f982a1db9c07f65e29062f40f76d2dbd06cc
|
4
|
+
data.tar.gz: 6e35fcccef10ee85f2798d5cd55dd35415a97007
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 667d26731d168fd905f3235f135bb7cf12098908b4114e3a7b2938518e5fb2e2574a12ae9f85006856a1ced27e708070d144f1e7ec299160482daadd9b91c247
|
7
|
+
data.tar.gz: cfe99453702b4169825605f8c98fba7bd7cbf35331df9fc142ee824acafb433a9c71800104e95446b8fa080b6797617bddf7d8629b1fb22fe24f78f9e48f36ae
|
data/lib/specinfra/version.rb
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Specinfra::HostInventory::Kernel do
|
4
|
+
describe "get" do
|
5
|
+
let(:host_inventory) { Specinfra::HostInventory.instance }
|
6
|
+
let(:command_class) { Specinfra::Command::Darwin::Base }
|
7
|
+
let(:error_message) { "get_kernel is not implemented in #{command_class}" }
|
8
|
+
let(:kernel_inventory) { Specinfra::HostInventory::Kernel.new(host_inventory) }
|
9
|
+
let(:result) { kernel_inventory.get }
|
10
|
+
example "it includes the value of os_info[:arch] in the key 'machine'" do
|
11
|
+
expect(result).to include(
|
12
|
+
"machine" => host_inventory.backend.os_info[:arch]
|
13
|
+
)
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.83.
|
4
|
+
version: 2.83.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|
@@ -600,6 +600,7 @@ files:
|
|
600
600
|
- spec/host_inventory/base/group_spec.rb
|
601
601
|
- spec/host_inventory/base/user_spec.rb
|
602
602
|
- spec/host_inventory/darwin/filesystem_spec.rb
|
603
|
+
- spec/host_inventory/darwin/kernel_spec.rb
|
603
604
|
- spec/host_inventory/freebsd/filesystem_spec.rb
|
604
605
|
- spec/host_inventory/linux/block_device_spec.rb
|
605
606
|
- spec/host_inventory/linux/cpu_spec.rb
|
@@ -742,6 +743,7 @@ test_files:
|
|
742
743
|
- spec/host_inventory/base/group_spec.rb
|
743
744
|
- spec/host_inventory/base/user_spec.rb
|
744
745
|
- spec/host_inventory/darwin/filesystem_spec.rb
|
746
|
+
- spec/host_inventory/darwin/kernel_spec.rb
|
745
747
|
- spec/host_inventory/freebsd/filesystem_spec.rb
|
746
748
|
- spec/host_inventory/linux/block_device_spec.rb
|
747
749
|
- spec/host_inventory/linux/cpu_spec.rb
|