fauxhai-ng 8.6.0 → 9.0.1
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/debian/11.json +3142 -0
- data/lib/fauxhai/platforms/smartos/5.11.json +1 -0
- data/lib/fauxhai/platforms/ubuntu/.DS_Store +0 -0
- 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 +7 -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 -3377
- data/lib/fauxhai/platforms/amazon/2016.09.json +0 -3384
- data/lib/fauxhai/platforms/amazon/2017.03.json +0 -3388
- data/lib/fauxhai/platforms/amazon/2017.09.json +0 -3409
- 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 -3809
- data/lib/fauxhai/platforms/debian/8.11.json +0 -3596
- data/lib/fauxhai/platforms/debian/9.8.json +0 -2938
- data/lib/fauxhai/platforms/debian/9.9.json +0 -2938
- 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 -10350
- 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 -5775
- 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.5.json +0 -3947
- data/lib/fauxhai/platforms/redhat/7.6.json +0 -3803
- 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: 49d6133c4e970dd903f00737b1a42afe4ab6bed6e4797d94acd71dbd082753cb
|
4
|
+
data.tar.gz: 74090f5ac4714a41b307fe16ff97b2c4dbf899f2bdd337f572e4bb017c33e144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07dec9791ab47abb94cf4c18a5df99140064f1a1dc2fe3e5a9afccbd96195c23039a6bdf99218eeff5636aac4c9c27f4cc405b59898dd50c8ff12c48c04d0662
|
7
|
+
data.tar.gz: 6253e0fb2191385f4b78b6a4b53e20eee443cf6dceeb3d2f1647af8d04220b364c5e3083187facc0086113d765b3e959eedcf9226e1efaab05980003c026ffb5
|
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
|