fauxhai-chef 9.3.26 → 9.4.22

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: ba5380582f9aaf70be1d1fdffe5a9cca1b5ead2a7d4feaf1e25ec67a5edf62a9
4
+ data.tar.gz: 489b9f39d57f658b2572518187186f624144f65f168145a4988c474745eacbd2
5
5
  SHA512:
6
- metadata.gz: 431bab49c0de1b2ec73e20593ab206589710b0cbc1f64baa720bb896fba2e66075c21d02960335b3db0cc2eff8eb012a69cf566a3c63662371a577d88c7e21ff
7
- data.tar.gz: b0ffe964b36be8d626aeebadf2f2df780f2aa1e9889d5599f55f7a64976a6ad7dd70e1f0062dd870192a4b98f480f0a22de45fa35d5faa449ebb75b54ed5b137
6
+ metadata.gz: 486c57d615876ee057bd53f813a87708066d531c817d67c1c5cef9ab4956132318aff60a4fda981bd76fd6f8dc0682d95e1eb721399767d5cba1336954318bd8
7
+ data.tar.gz: 408bad732a22ff3a8631c2646174d1a9ba87aabc5e1b39cc4246724b05211e1ef6fb9f8fadc0f4b5e71f2b7662d80060e4df287253c8bbb3def02b5519bc4a13
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}")