qed/01_base_dir.rdoc in xdg-2.2.0 vs qed/01_base_dir.rdoc in xdg-2.2.1
- old
+ new
@@ -14,21 +14,21 @@
== Data Paths
=== Home
- XDG['DATA_HOME'].env.assert == ENV['XDG_DATA_HOME'].to_s
+ XDG['DATA_HOME'].environment.assert == ENV['XDG_DATA_HOME'].to_s
XDG['DATA_HOME'].environment_variables.assert == ['XDG_DATA_HOME']
Looking at the data home location by default it should be point to
our joe user's home directory under `.local/share`.
XDG['DATA_HOME'].to_a.assert == [$froot + 'home/joe/.local/share']
=== Dirs
- XDG['DATA_DIRS'].env.assert == ENV['XDG_DATA_DIRS'].to_s
+ XDG['DATA_DIRS'].environment.assert == ENV['XDG_DATA_DIRS'].to_s
XDG['DATA_DIRS'].environment_variables.assert == ['XDG_DATA_DIRS']
Looking at the system data locations
XDG['DATA_DIRS'].to_a.assert == [$froot + 'usr/share']
@@ -44,16 +44,16 @@
== Config Paths
=== Home
- XDG['CONFIG_HOME'].env.assert == ENV['XDG_CONFIG_HOME'].to_s
+ XDG['CONFIG_HOME'].environment.assert == ENV['XDG_CONFIG_HOME'].to_s
XDG['CONFIG_HOME'].to_a.assert == [$froot + 'home/joe/.config']
=== Dirs
- XDG['CONFIG_DIRS'].env.assert == ENV['XDG_CONFIG_DIRS'].to_s
+ XDG['CONFIG_DIRS'].environment.assert == ENV['XDG_CONFIG_DIRS'].to_s
XDG['CONFIG_DIRS'].to_a.assert == [$froot + 'etc/xdg', $froot + 'etc']
=== Combined
XDG['CONFIG'].to_a.assert == [$froot + 'home/joe/.config', $froot + 'etc/xdg', $froot + 'etc']
@@ -61,15 +61,15 @@
== Cache Paths
=== Home
- XDG['CACHE_HOME'].env.assert == ENV['XDG_CACHE_HOME'].to_s
+ XDG['CACHE_HOME'].environment.assert == ENV['XDG_CACHE_HOME'].to_s
XDG['CACHE_HOME'].to_a.assert == [$froot + 'home/joe/.cache']
=== Dirs
- XDG['CACHE_DIRS'].env.assert == ENV['XDG_CACHE_DIRS'].to_s
+ XDG['CACHE_DIRS'].environment.assert == ENV['XDG_CACHE_DIRS'].to_s
XDG['CACHE_DIRS'].to_a.assert == [$froot + 'tmp']
=== Combined
XDG['CACHE'].to_a.assert == [$froot + 'home/joe/.cache', $froot + 'tmp']