xdg 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/xdg/base_dir.rb +1 -1
- data/lib/xdg/version.rb +1 -1
- data/qed/01_base_dir.rdoc +6 -6
- data/qed/02_base_dir_extended.rdoc +3 -3
- metadata +3 -3
data/lib/xdg/base_dir.rb
CHANGED
data/lib/xdg/version.rb
CHANGED
data/qed/01_base_dir.rdoc
CHANGED
@@ -16,7 +16,7 @@ coorepsonding environment settings to use as test fixtures.
|
|
16
16
|
|
17
17
|
=== Home
|
18
18
|
|
19
|
-
XDG['DATA_HOME'].
|
19
|
+
XDG['DATA_HOME'].environment.assert == ENV['XDG_DATA_HOME'].to_s
|
20
20
|
XDG['DATA_HOME'].environment_variables.assert == ['XDG_DATA_HOME']
|
21
21
|
|
22
22
|
Looking at the data home location by default it should be point to
|
@@ -26,7 +26,7 @@ our joe user's home directory under `.local/share`.
|
|
26
26
|
|
27
27
|
=== Dirs
|
28
28
|
|
29
|
-
XDG['DATA_DIRS'].
|
29
|
+
XDG['DATA_DIRS'].environment.assert == ENV['XDG_DATA_DIRS'].to_s
|
30
30
|
XDG['DATA_DIRS'].environment_variables.assert == ['XDG_DATA_DIRS']
|
31
31
|
|
32
32
|
Looking at the system data locations
|
@@ -46,12 +46,12 @@ Lookking at both data location combined
|
|
46
46
|
|
47
47
|
=== Home
|
48
48
|
|
49
|
-
XDG['CONFIG_HOME'].
|
49
|
+
XDG['CONFIG_HOME'].environment.assert == ENV['XDG_CONFIG_HOME'].to_s
|
50
50
|
XDG['CONFIG_HOME'].to_a.assert == [$froot + 'home/joe/.config']
|
51
51
|
|
52
52
|
=== Dirs
|
53
53
|
|
54
|
-
XDG['CONFIG_DIRS'].
|
54
|
+
XDG['CONFIG_DIRS'].environment.assert == ENV['XDG_CONFIG_DIRS'].to_s
|
55
55
|
XDG['CONFIG_DIRS'].to_a.assert == [$froot + 'etc/xdg', $froot + 'etc']
|
56
56
|
|
57
57
|
=== Combined
|
@@ -63,12 +63,12 @@ Lookking at both data location combined
|
|
63
63
|
|
64
64
|
=== Home
|
65
65
|
|
66
|
-
XDG['CACHE_HOME'].
|
66
|
+
XDG['CACHE_HOME'].environment.assert == ENV['XDG_CACHE_HOME'].to_s
|
67
67
|
XDG['CACHE_HOME'].to_a.assert == [$froot + 'home/joe/.cache']
|
68
68
|
|
69
69
|
=== Dirs
|
70
70
|
|
71
|
-
XDG['CACHE_DIRS'].
|
71
|
+
XDG['CACHE_DIRS'].environment.assert == ENV['XDG_CACHE_DIRS'].to_s
|
72
72
|
XDG['CACHE_DIRS'].to_a.assert == [$froot + 'tmp']
|
73
73
|
|
74
74
|
=== Combined
|
@@ -6,7 +6,7 @@ The extended base directory standard provides
|
|
6
6
|
|
7
7
|
== Resource
|
8
8
|
|
9
|
-
XDG['RESOURCE_HOME'].
|
9
|
+
XDG['RESOURCE_HOME'].environment.assert == ENV['XDG_RESOURCE_HOME'].to_s
|
10
10
|
|
11
11
|
XDG['RESOURCE_HOME'].environment_variables.assert == ['XDG_RESOURCE_HOME']
|
12
12
|
|
@@ -22,7 +22,7 @@ our joe user's home directory under `.local`.
|
|
22
22
|
|
23
23
|
The working configuration directory
|
24
24
|
|
25
|
-
XDG['CONFIG_WORK'].
|
25
|
+
XDG['CONFIG_WORK'].environment.assert == ENV['XDG_CONFIG_WORK'].to_s
|
26
26
|
|
27
27
|
XDG['CONFIG_WORK'].environment_variables.assert == ['XDG_CONFIG_WORK']
|
28
28
|
|
@@ -35,7 +35,7 @@ the current working directory's `.config` or `config` directory.
|
|
35
35
|
|
36
36
|
The working cache directory
|
37
37
|
|
38
|
-
XDG['CACHE_WORK'].
|
38
|
+
XDG['CACHE_WORK'].environment.assert == ENV['XDG_CACHE_WORK'].to_s
|
39
39
|
|
40
40
|
XDG['CACHE_WORK'].environment_variables.assert == ['XDG_CACHE_WORK']
|
41
41
|
|
metadata
CHANGED