Skip to content

Commit

Permalink
(#1) Fix Ruby 3.2 compatibility (#211)
Browse files Browse the repository at this point in the history
Fixes #1
  • Loading branch information
silug authored Jul 18, 2023
1 parent 822aa09 commit 0a5be82
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
4 changes: 2 additions & 2 deletions lib/simp/beaker_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/simp/beaker_helpers/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Simp; end

module Simp::BeakerHelpers
VERSION = '1.30.0'
VERSION = '1.31.0'
end

0 comments on commit 0a5be82

Please sign in to comment.