Sha256: c51a040358d1ae5109edb1b564960c5b2cda5f1b7f28d45f4981d8f53de40b41

Contents?: true

Size: 287 Bytes

Versions: 122

Compression:

Stored size: 287 Bytes

Contents

require 'pathname'
included_flag_file = Pathname.new("/tmp/included_rb_is_included")
if included_flag_file.exist? && included_flag_file.read == $$.to_s
  raise "included.rb should not be included twice."
else
  included_flag_file.write($$.to_s)
end

execute "touch /tmp/included_recipe"

Version data entries

122 entries across 122 versions & 3 rubygems

Version Path
itamae-1.1.16 spec/integration/recipes/included.rb
itamae-1.1.15 spec/integration/recipes/included.rb