xdg 0.5.0 → 0.5.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/CHANGES +19 -3
- data/MANIFEST +0 -1
- data/README +17 -3
- data/RELEASE +6 -23
- data/VERSION +1 -1
- data/lib/xdg.rb +7 -6
- metadata +2 -4
- data/HISTORY +0 -12
data/CHANGES
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
== 0.
|
1
|
+
== 0.5.1 / 2008-11-17
|
2
|
+
|
3
|
+
* 4 Other Enhancements
|
4
|
+
|
5
|
+
* data work directory is '.local', not '.share' (#bc7e35a5686ff70da0f2127daf23d4e7e36438f0)
|
6
|
+
* data_work is deprecated (#356bd562de2d093f99f60f0c9a2a2f87917ea4d3)
|
7
|
+
* updated website (#ed7d71269186a566440bcb4f688ac8335b557f02)
|
8
|
+
|
9
|
+
|
10
|
+
== 0.5.0 / 2008-10-28
|
11
|
+
|
12
|
+
* 1 Other Enhancements
|
13
|
+
|
14
|
+
* changed _glob to _select (#8d1d430a8c404b3d87da675da08257290560333c)
|
15
|
+
|
16
|
+
|
17
|
+
== 0.4.0 / 2008-10-26
|
2
18
|
|
3
19
|
* 9 Other Enhancements
|
4
20
|
|
@@ -13,7 +29,7 @@
|
|
13
29
|
* Fixed plural in RELEASE file. (#ccdf281610d5339aa1bff32be34c8369f204e463)
|
14
30
|
|
15
31
|
|
16
|
-
== 0.0
|
32
|
+
== 0.3.0 / 2008-10-11
|
17
33
|
|
18
34
|
* 5 Other Enhancements
|
19
35
|
|
@@ -24,7 +40,7 @@
|
|
24
40
|
* fixed issue of xdg_ prefix still being used internally (#ad95493af4413e864cfa2ef2f982c7f48f371473)
|
25
41
|
|
26
42
|
|
27
|
-
== 0.0
|
43
|
+
== 0.1.0 / 2008-09-27
|
28
44
|
|
29
45
|
* 1 Major Enhancements
|
30
46
|
|
data/MANIFEST
CHANGED
data/README
CHANGED
@@ -4,10 +4,24 @@
|
|
4
4
|
|
5
5
|
== Introduction
|
6
6
|
|
7
|
-
XDG provides an easy to use
|
8
|
-
the XDG Base Directory
|
7
|
+
XDG provides an easy to use module for utilizing
|
8
|
+
the XDG Base Directory Standard[1].
|
9
9
|
|
10
|
-
|
10
|
+
If your program utilizes user or system-wide support files
|
11
|
+
(eg. configuration files), you owe it to yourself to checkout
|
12
|
+
the XDG standard.
|
13
|
+
|
14
|
+
In this release, _glob methods were renamed to _select and now
|
15
|
+
can take a selection block in addition to, or as opposed to,
|
16
|
+
the glob pattern argument.
|
17
|
+
|
18
|
+
What's next? The API should be stable now. I do not forsee
|
19
|
+
and reasons for it to change. In the future, I may add some
|
20
|
+
additonal ruby-esque features, but that should be purely
|
21
|
+
in addition to what is already there. If all this holds true
|
22
|
+
for a hwile a 1.0 release will be forth-coming.
|
23
|
+
|
24
|
+
[1]http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
|
11
25
|
|
12
26
|
== Release Notes
|
13
27
|
|
data/RELEASE
CHANGED
@@ -1,29 +1,12 @@
|
|
1
|
-
=
|
1
|
+
= Release Notes
|
2
2
|
|
3
|
-
|
3
|
+
This release makes one small change, deprecating
|
4
|
+
the #data_work method.
|
4
5
|
|
5
|
-
XDG provides a module for supporting the XDG Base Directory
|
6
|
-
Standard[1].
|
7
6
|
|
8
|
-
|
9
|
-
(eg. configuration files), you owe it to yourself to checkout
|
10
|
-
the XDG standard.
|
7
|
+
### 0.5.1 / 2008-10-28
|
11
8
|
|
12
|
-
|
13
|
-
can take a selection block in addition to, or as opposed to,
|
14
|
-
the glob pattern argument.
|
9
|
+
* 1 Major Enhancement
|
15
10
|
|
16
|
-
|
17
|
-
and reasons for it to change. In the future, I may add some
|
18
|
-
additonal ruby-esque features, but that should be purely
|
19
|
-
in addition to what is already there. If all this holds true
|
20
|
-
for a hwile a 1.0 release will be forth-coming.
|
21
|
-
|
22
|
-
[1]http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
|
23
|
-
|
24
|
-
---
|
25
|
-
|
26
|
-
### 0.5.0 / 2008-10-28
|
27
|
-
|
28
|
-
* Renamed *_glob methods to *_select, and added block option.
|
11
|
+
* data_work is deprecated
|
29
12
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
xdg 0.5.
|
1
|
+
xdg 0.5.1 beta (2008-11-17)
|
data/lib/xdg.rb
CHANGED
@@ -204,7 +204,7 @@ module XDG
|
|
204
204
|
|
205
205
|
#--
|
206
206
|
# The following are not strictly XDG spec,
|
207
|
-
# but are useful in
|
207
|
+
# but are useful in an analogous respect.
|
208
208
|
#++
|
209
209
|
|
210
210
|
# Location of working config directory.
|
@@ -214,12 +214,13 @@ module XDG
|
|
214
214
|
)
|
215
215
|
end
|
216
216
|
|
217
|
+
# DEPRECATED -- Does not make sense to have this.
|
217
218
|
# Location of working data directory.
|
218
|
-
def data_work
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
end
|
219
|
+
#def data_work
|
220
|
+
# File.expand_path(
|
221
|
+
# File.join(Dir.pwd, '.local')
|
222
|
+
# )
|
223
|
+
#end
|
223
224
|
|
224
225
|
# Location of working cache directory.
|
225
226
|
def cache_work
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xdg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tigerops-community@rubyforge.org
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2008-
|
13
|
+
date: 2008-11-17 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
@@ -25,7 +25,6 @@ extra_rdoc_files:
|
|
25
25
|
- MANIFEST
|
26
26
|
- CHANGES
|
27
27
|
- RELEASE
|
28
|
-
- HISTORY
|
29
28
|
- VERSION
|
30
29
|
- COPYING
|
31
30
|
files:
|
@@ -36,7 +35,6 @@ files:
|
|
36
35
|
- CHANGES
|
37
36
|
- RELEASE
|
38
37
|
- README
|
39
|
-
- HISTORY
|
40
38
|
- VERSION
|
41
39
|
- COPYING
|
42
40
|
- lib/xdg.rb
|
data/HISTORY
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
= CHANGE HISTORY
|
2
|
-
|
3
|
-
=== 0.4.0 / 2008-10-26
|
4
|
-
|
5
|
-
* Renamed instance level methods without 'xdg_' prefix.
|
6
|
-
* Replace _file methods with _find and _glob methods.
|
7
|
-
|
8
|
-
=== 0.3.0 / 2008-09-11
|
9
|
-
|
10
|
-
* Renamed module level methods without 'xdg_' prefix.
|
11
|
-
* The xdg_ versions still exist for backward compatibility.
|
12
|
-
|