fauxhai-chef 9.3.26 → 9.4.20

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
  SHA256:
3
- metadata.gz: e4c38caaf81629950a287ff3b3039eb9766df5634dd71e0beb7fcd836b74790b
4
- data.tar.gz: 6a52f1a3c289df67e3e57014aa57cc639f44c300db9a23b2b0217731aa1f4149
3
+ metadata.gz: 40beeff2487b3b0ce772cfb4041251e72a86dc71eef86643dd7892feedfdb8e3
4
+ data.tar.gz: 496d19e2800125745db014ae39f47a02ee1dea025a6d8dff11be9e79823c484a
5
5
  SHA512:
6
- metadata.gz: 431bab49c0de1b2ec73e20593ab206589710b0cbc1f64baa720bb896fba2e66075c21d02960335b3db0cc2eff8eb012a69cf566a3c63662371a577d88c7e21ff
7
- data.tar.gz: b0ffe964b36be8d626aeebadf2f2df780f2aa1e9889d5599f55f7a64976a6ad7dd70e1f0062dd870192a4b98f480f0a22de45fa35d5faa449ebb75b54ed5b137
6
+ metadata.gz: 4678f6997bdd6b6b1b02a06f9dcd7aa2314fbaa5237f4eb14d48f5aec5dff017fbee46980b91464f37d2c11e1f7b65b829f546b94f3a7635c1a8b42e5976ab5a
7
+ data.tar.gz: 5105a5b070333fc2bfc7a342af9c4507ab6402a621650b5d89fd61aadc0d515dc9cefa04181470c4b60b36b6facb89991e38d7916ff6b0caa874435fe96e9540
data/fauxhai-chef.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "https://github.com/chef/fauxhai"
13
13
  spec.license = "MIT"
14
14
 
15
- spec.required_ruby_version = ">= 2.7"
15
+ spec.required_ruby_version = ">= 3.1"
16
16
 
17
17
  spec.files = %w{LICENSE Gemfile fauxhai-chef.gemspec} + Dir.glob("{lib,bin}/**/*", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
18
18
  spec.executables = "fauxhai"
@@ -65,7 +65,7 @@ module Fauxhai
65
65
  end
66
66
  return parse_and_validate(response_body)
67
67
  else
68
- raise Fauxhai::Exception::InvalidPlatform.new("Could not find platform '#{platform}/#{version}' on the local disk and an Github fetching returned http error code #{response.status.first.to_i}! #{PLATFORM_LIST_MESSAGE}")
68
+ raise Fauxhai::Exception::InvalidPlatform.new("Could not find platform '#{platform}/#{version}' on the local disk and an Github fetching returned http error code #{response.code}! #{PLATFORM_LIST_MESSAGE}")
69
69
  end
70
70
  else
71
71
  raise Fauxhai::Exception::InvalidPlatform.new("Could not find platform '#{platform}/#{version}' on the local disk and Github fetching is disabled! #{PLATFORM_LIST_MESSAGE}")