Sha256: 22d84e1ea6755a42d9332124ca7144fb9dd60defc4a8fe94c029e2bdc652deb6

Contents?: true

Size: 505 Bytes

Versions: 5

Compression:

Stored size: 505 Bytes

Contents

require 'fileutils'

dir = File.expand_path(File.dirname(File.dirname(__FILE__)))

$froot = File.join(dir, 'fixtures/fakeroot/')

puts "Fake root at: `#{$froot}'."

#
ENV['HOME']            = $froot + 'home/joe'
#ENV['XDG_DATA_HOME']   = $froot + '.local/share'
ENV['XDG_DATA_DIRS']   = $froot + 'usr/share'
#ENV['XDG_CONFIG_HOME'] = $froot + '.config'
ENV['XDG_CONFIG_DIRS'] = $froot + 'etc/xdg' + ':' + $froot + 'etc'
#ENV['XDG_CACHE_HOME']  = $froot + '.cache'
ENV['XDG_CACHE_DIRS']  = $froot + 'tmp'

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
xdg-2.2.5 demo/applique/fakeroot.rb
xdg-2.2.4 demo/applique/fakeroot.rb
xdg-2.2.3 demo/applique/fakeroot.rb
maid-xdg-2.2.1.2 demo/applique/fakeroot.rb
xdg-2.2.2 qed/applique/fakeroot.rb