diff --git a/CHANGELOG.md b/CHANGELOG.md index f556702..f6c9a61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 1.31.0 / 2023-07-18 +* Fixed: + * Compatibility with Ruby 3.2 + ### 1.30.0 / 2023-05-15 * Added: * Default `puppet_collection` to `puppet7` diff --git a/lib/simp/beaker_helpers.rb b/lib/simp/beaker_helpers.rb index 20b59b8..c2a455e 100644 --- a/lib/simp/beaker_helpers.rb +++ b/lib/simp/beaker_helpers.rb @@ -310,7 +310,7 @@ def fixtures_yml_path while( fixtures_yml.empty? && File.expand_path(dir) != '/' ) do file = File.expand_path( '.fixtures.yml', dir ) STDERR.puts " ** fixtures_yml_path: #{file}" if ENV['BEAKER_helpers_verbose'] - if File.exists? file + if File.exist? file fixtures_yml = file break end @@ -1367,7 +1367,7 @@ def set_hieradata_on(sut, hieradata, terminus = 'deprecated') def clear_temp_hieradata if @temp_hieradata_dirs && !@temp_hieradata_dirs.empty? @temp_hieradata_dirs.each do |data_dir| - if File.exists?(data_dir) + if File.exist?(data_dir) FileUtils.rm_r(data_dir) end end diff --git a/lib/simp/beaker_helpers/version.rb b/lib/simp/beaker_helpers/version.rb index 5065271..54c31c8 100644 --- a/lib/simp/beaker_helpers/version.rb +++ b/lib/simp/beaker_helpers/version.rb @@ -1,5 +1,5 @@ module Simp; end module Simp::BeakerHelpers - VERSION = '1.30.0' + VERSION = '1.31.0' end