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.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -0
  3. data/fauxhai-ng.gemspec +28 -0
  4. data/lib/.DS_Store +0 -0
  5. data/lib/fauxhai/.DS_Store +0 -0
  6. data/lib/fauxhai/mocker.rb +1 -1
  7. data/lib/fauxhai/platforms/.DS_Store +0 -0
  8. data/lib/fauxhai/platforms/amazon/2.json +861 -774
  9. data/lib/fauxhai/platforms/amazon/2018.03.json +641 -547
  10. data/lib/fauxhai/platforms/centos/7.7.1908.json +1 -0
  11. data/lib/fauxhai/platforms/debian/10.json +316 -300
  12. data/lib/fauxhai/platforms/debian/{9.8.json → 11.json} +966 -1160
  13. data/lib/fauxhai/platforms/debian/9.11.json +12 -6
  14. data/lib/fauxhai/platforms/debian/9.12.json +11 -6
  15. data/lib/fauxhai/platforms/debian/{9.9.json → 9.13.json} +268 -247
  16. data/lib/fauxhai/platforms/fedora/31.json +1 -0
  17. data/lib/fauxhai/platforms/oracle/7.5.json +1 -0
  18. data/lib/fauxhai/platforms/redhat/6.10.json +728 -722
  19. data/lib/fauxhai/platforms/redhat/7.7.json +16 -8
  20. data/lib/fauxhai/platforms/redhat/7.8.json +61 -57
  21. data/lib/fauxhai/platforms/redhat/{7.5.json → 7.9.json} +793 -781
  22. data/lib/fauxhai/platforms/redhat/8.json +1024 -1021
  23. data/lib/fauxhai/platforms/smartos/5.11.json +1 -0
  24. data/lib/fauxhai/platforms/solaris2/5.11.json +8896 -7503
  25. data/lib/fauxhai/platforms/suse/12.4.json +60 -57
  26. data/lib/fauxhai/platforms/suse/12.5.json +1159 -2069
  27. data/lib/fauxhai/platforms/suse/15.json +1594 -1447
  28. data/lib/fauxhai/platforms/ubuntu/.DS_Store +0 -0
  29. data/lib/fauxhai/platforms/ubuntu/16.04.json +382 -276
  30. data/lib/fauxhai/platforms/ubuntu/18.04.json +437 -328
  31. data/lib/fauxhai/platforms/ubuntu/20.04.json +851 -382
  32. data/lib/fauxhai/platforms/{oracle → windows}/.DS_Store +0 -0
  33. data/lib/fauxhai/runner.rb +1 -0
  34. data/lib/fauxhai/version.rb +1 -1
  35. metadata +9 -35
  36. data/lib/fauxhai/platforms/aix/6.1.json +0 -731
  37. data/lib/fauxhai/platforms/amazon/2015.03.json +0 -3328
  38. data/lib/fauxhai/platforms/amazon/2015.09.json +0 -3386
  39. data/lib/fauxhai/platforms/amazon/2016.03.json +0 -3378
  40. data/lib/fauxhai/platforms/amazon/2016.09.json +0 -3385
  41. data/lib/fauxhai/platforms/amazon/2017.03.json +0 -3389
  42. data/lib/fauxhai/platforms/amazon/2017.09.json +0 -3410
  43. data/lib/fauxhai/platforms/centos/5.11.json +0 -4920
  44. data/lib/fauxhai/platforms/centos/6.9.json +0 -2693
  45. data/lib/fauxhai/platforms/centos/7.5.1804.json +0 -3795
  46. data/lib/fauxhai/platforms/centos/7.6.1810.json +0 -3810
  47. data/lib/fauxhai/platforms/debian/8.11.json +0 -3596
  48. data/lib/fauxhai/platforms/fedora/29.json +0 -3831
  49. data/lib/fauxhai/platforms/fedora/30.json +0 -3906
  50. data/lib/fauxhai/platforms/freebsd/11.1.json +0 -426
  51. data/lib/fauxhai/platforms/linuxmint/18.3.json +0 -10351
  52. data/lib/fauxhai/platforms/mac_os_x/10.13.json +0 -1339
  53. data/lib/fauxhai/platforms/opensuse/15.0.json +0 -6060
  54. data/lib/fauxhai/platforms/opensuse/15.1.json +0 -5776
  55. data/lib/fauxhai/platforms/oracle/5.11.json +0 -7029
  56. data/lib/fauxhai/platforms/oracle/6.9.json +0 -4177
  57. data/lib/fauxhai/platforms/redhat/5.11.json +0 -6682
  58. data/lib/fauxhai/platforms/redhat/6.9.json +0 -5817
  59. data/lib/fauxhai/platforms/redhat/7.4.json +0 -3886
  60. data/lib/fauxhai/platforms/redhat/7.6.json +0 -3804
  61. data/lib/fauxhai/platforms/suse/12.3.json +0 -5808
  62. data/lib/fauxhai/platforms/ubuntu/14.04.json +0 -2998
  63. data/lib/fauxhai/platforms/windows/2008R2.json +0 -444
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2dc1ee0155a5790702ccd4d9419071cc15d7371078c3b4f9ec1acbb703f2c48
4
- data.tar.gz: 14bd69539e6a6572f91702ca3ffbbdb8ef82d8585261ae53ae9a13aa6cde0355
3
+ metadata.gz: a2539486b65bffc6ef7f393ce32ee6633fcedbe2d7fe5d897f9dd64c71f4ebc3
4
+ data.tar.gz: d4da947008345c5a542a67fd4c2750a743280791c5e85caf9ca022d2a5d8da1e
5
5
  SHA512:
6
- metadata.gz: ff768c85f930aa543794242f2e7812c5321e7c1df209ae03fef12ae44b9bc8d1c0c333d7e5730678f308f2af36a0c8172942119e58fe2de99dbb0c4309a20396
7
- data.tar.gz: 214b6f3a7874193191936a160b1df7aa01289618dc37a06522f68330c5f3448f41666956bceeb83d3df3d7a9a8b9c3b89796eb7f7dd420026670ba0272398e28
6
+ metadata.gz: 3d83f73df1a9f6ddecb2fb1eb2eb34cf97c320bfb6f8cc01a02978ffdd2d3b7fcbd65be4802b636cee38aae823735b3a09f5e3ac1bef6e22af88d7984d897a3d
7
+ data.tar.gz: b78a8ec6a802d32daa660b60cf124fc0bc422d2bb7d05d651fde65abeb2d3fa00136fe5e3660575de9626ff2e1686df8c8b10a048d05f0df889c367353efeb3a
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -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
Binary file
@@ -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 9.0 release 3/2021. #{PLATFORM_LIST_MESSAGE}"
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