Sha256: 3222ad5db66c46f04b1f828b05b721a7526b2932ac6d898e98e838cdce8b4864

Contents?: true

Size: 345 Bytes

Versions: 29

Compression:

Stored size: 345 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"

execute "subscribed from parent" do
  command "true"
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
itamae-1.14.1 spec/integration/recipes/included.rb
itamae-1.14.0 spec/integration/recipes/included.rb
itamae-1.13.1 spec/integration/recipes/included.rb
itamae-1.13.0 spec/integration/recipes/included.rb
itamae-1.12.6 spec/integration/recipes/included.rb
itamae-1.12.5 spec/integration/recipes/included.rb
itamae-1.12.4 spec/integration/recipes/included.rb
itamae-1.12.3 spec/integration/recipes/included.rb
itamae-1.12.2 spec/integration/recipes/included.rb
itamae-1.12.1 spec/integration/recipes/included.rb
itamae-1.12.0 spec/integration/recipes/included.rb
itamae-1.11.2 spec/integration/recipes/included.rb
itamae-1.11.1 spec/integration/recipes/included.rb
itamae-1.11.0 spec/integration/recipes/included.rb
itamae-1.10.10 spec/integration/recipes/included.rb
itamae-1.10.9 spec/integration/recipes/included.rb
itamae-1.10.8 spec/integration/recipes/included.rb
itamae-1.10.7 spec/integration/recipes/included.rb
itamae-1.10.6 spec/integration/recipes/included.rb
itamae-1.10.5 spec/integration/recipes/included.rb