fauxhai-ng 8.7.0 → 9.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/fauxhai-ng.gemspec +28 -0
- data/lib/.DS_Store +0 -0
- data/lib/fauxhai/.DS_Store +0 -0
- data/lib/fauxhai/mocker.rb +1 -1
- data/lib/fauxhai/platforms/.DS_Store +0 -0
- data/lib/fauxhai/platforms/amazon/2.json +861 -774
- data/lib/fauxhai/platforms/amazon/2018.03.json +641 -547
- data/lib/fauxhai/platforms/centos/7.7.1908.json +1 -0
- data/lib/fauxhai/platforms/debian/10.json +316 -300
- data/lib/fauxhai/platforms/debian/{9.8.json → 11.json} +966 -1160
- data/lib/fauxhai/platforms/debian/9.11.json +12 -6
- data/lib/fauxhai/platforms/debian/9.12.json +11 -6
- data/lib/fauxhai/platforms/debian/{9.9.json → 9.13.json} +268 -247
- data/lib/fauxhai/platforms/fedora/31.json +1 -0
- data/lib/fauxhai/platforms/oracle/7.5.json +1 -0
- data/lib/fauxhai/platforms/redhat/6.10.json +728 -722
- data/lib/fauxhai/platforms/redhat/7.7.json +16 -8
- data/lib/fauxhai/platforms/redhat/7.8.json +61 -57
- data/lib/fauxhai/platforms/redhat/{7.5.json → 7.9.json} +793 -781
- data/lib/fauxhai/platforms/redhat/8.json +1024 -1021
- data/lib/fauxhai/platforms/smartos/5.11.json +1 -0
- data/lib/fauxhai/platforms/solaris2/5.11.json +8896 -7503
- data/lib/fauxhai/platforms/suse/12.4.json +60 -57
- data/lib/fauxhai/platforms/suse/12.5.json +1159 -2069
- data/lib/fauxhai/platforms/suse/15.json +1594 -1447
- data/lib/fauxhai/platforms/ubuntu/.DS_Store +0 -0
- data/lib/fauxhai/platforms/ubuntu/16.04.json +382 -276
- data/lib/fauxhai/platforms/ubuntu/18.04.json +437 -328
- data/lib/fauxhai/platforms/ubuntu/20.04.json +851 -382
- data/lib/fauxhai/platforms/{oracle → windows}/.DS_Store +0 -0
- data/lib/fauxhai/runner.rb +1 -0
- data/lib/fauxhai/version.rb +1 -1
- metadata +9 -35
- data/lib/fauxhai/platforms/aix/6.1.json +0 -731
- data/lib/fauxhai/platforms/amazon/2015.03.json +0 -3328
- data/lib/fauxhai/platforms/amazon/2015.09.json +0 -3386
- data/lib/fauxhai/platforms/amazon/2016.03.json +0 -3378
- data/lib/fauxhai/platforms/amazon/2016.09.json +0 -3385
- data/lib/fauxhai/platforms/amazon/2017.03.json +0 -3389
- data/lib/fauxhai/platforms/amazon/2017.09.json +0 -3410
- data/lib/fauxhai/platforms/centos/5.11.json +0 -4920
- data/lib/fauxhai/platforms/centos/6.9.json +0 -2693
- data/lib/fauxhai/platforms/centos/7.5.1804.json +0 -3795
- data/lib/fauxhai/platforms/centos/7.6.1810.json +0 -3810
- data/lib/fauxhai/platforms/debian/8.11.json +0 -3596
- data/lib/fauxhai/platforms/fedora/29.json +0 -3831
- data/lib/fauxhai/platforms/fedora/30.json +0 -3906
- data/lib/fauxhai/platforms/freebsd/11.1.json +0 -426
- data/lib/fauxhai/platforms/linuxmint/18.3.json +0 -10351
- data/lib/fauxhai/platforms/mac_os_x/10.13.json +0 -1339
- data/lib/fauxhai/platforms/opensuse/15.0.json +0 -6060
- data/lib/fauxhai/platforms/opensuse/15.1.json +0 -5776
- data/lib/fauxhai/platforms/oracle/5.11.json +0 -7029
- data/lib/fauxhai/platforms/oracle/6.9.json +0 -4177
- data/lib/fauxhai/platforms/redhat/5.11.json +0 -6682
- data/lib/fauxhai/platforms/redhat/6.9.json +0 -5817
- data/lib/fauxhai/platforms/redhat/7.4.json +0 -3886
- data/lib/fauxhai/platforms/redhat/7.6.json +0 -3804
- data/lib/fauxhai/platforms/suse/12.3.json +0 -5808
- data/lib/fauxhai/platforms/ubuntu/14.04.json +0 -2998
- data/lib/fauxhai/platforms/windows/2008R2.json +0 -444
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2539486b65bffc6ef7f393ce32ee6633fcedbe2d7fe5d897f9dd64c71f4ebc3
|
4
|
+
data.tar.gz: d4da947008345c5a542a67fd4c2750a743280791c5e85caf9ca022d2a5d8da1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d83f73df1a9f6ddecb2fb1eb2eb34cf97c320bfb6f8cc01a02978ffdd2d3b7fcbd65be4802b636cee38aae823735b3a09f5e3ac1bef6e22af88d7984d897a3d
|
7
|
+
data.tar.gz: b78a8ec6a802d32daa660b60cf124fc0bc422d2bb7d05d651fde65abeb2d3fa00136fe5e3660575de9626ff2e1686df8c8b10a048d05f0df889c367353efeb3a
|
data/Gemfile
ADDED
data/fauxhai-ng.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
lib = File.expand_path("../lib", __FILE__)
|
2
|
+
$:.unshift(lib) unless $:.include?(lib)
|
3
|
+
require "fauxhai/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "fauxhai-ng"
|
7
|
+
spec.version = Fauxhai::VERSION
|
8
|
+
spec.authors = ["Seth Vargo", "Tim Smith"]
|
9
|
+
spec.email = ["sethvargo@gmail.com", "tsmith84@gmail.com"]
|
10
|
+
spec.description = "Easily mock out ohai data"
|
11
|
+
spec.summary = "Fauxhai provides an easy way to mock out your ohai data for testing with chefspec!"
|
12
|
+
spec.homepage = "https://github.com/chefspec/fauxhai"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.required_ruby_version = ">= 2.3"
|
16
|
+
|
17
|
+
spec.files = %w{LICENSE Gemfile fauxhai-ng.gemspec} + Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
|
18
|
+
spec.executables = "fauxhai"
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_runtime_dependency "net-ssh"
|
22
|
+
|
23
|
+
spec.add_development_dependency "chef", ">= 13.0"
|
24
|
+
spec.add_development_dependency "ohai", ">= 13.0"
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.7"
|
27
|
+
spec.add_development_dependency "rspec-its", "~> 1.2"
|
28
|
+
end
|
data/lib/.DS_Store
CHANGED
Binary file
|
data/lib/fauxhai/.DS_Store
CHANGED
Binary file
|
data/lib/fauxhai/mocker.rb
CHANGED
@@ -80,7 +80,7 @@ module Fauxhai
|
|
80
80
|
def parse_and_validate(unparsed_data)
|
81
81
|
parsed_data = JSON.parse(unparsed_data)
|
82
82
|
if parsed_data["deprecated"]
|
83
|
-
STDERR.puts "WARNING: Fauxhai platform data for #{parsed_data["platform"]} #{parsed_data["platform_version"]} is deprecated and will be removed in the
|
83
|
+
STDERR.puts "WARNING: Fauxhai platform data for #{parsed_data["platform"]} #{parsed_data["platform_version"]} is deprecated and will be removed in the 10.0 release 3/2022. #{PLATFORM_LIST_MESSAGE}"
|
84
84
|
end
|
85
85
|
parsed_data
|
86
86
|
end
|
Binary file
|