fspath 0.1.0-darwin → 0.1.1-darwin
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/{README.rdoc → README.markdown} +5 -5
- data/VERSION +1 -1
- data/fspath.gemspec +3 -3
- metadata +5 -5
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
# fspath
|
2
2
|
|
3
3
|
Better than Pathname
|
4
4
|
|
5
|
-
|
5
|
+
## Synopsis
|
6
6
|
|
7
7
|
User dir:
|
8
8
|
|
@@ -48,7 +48,7 @@ Path parts:
|
|
48
48
|
|
49
49
|
FSPath('/a/b/c').parts # => ['/', 'a', 'b', 'c']
|
50
50
|
|
51
|
-
|
51
|
+
### Extended attributes (using xattr gem)
|
52
52
|
|
53
53
|
Get extended attribute:
|
54
54
|
|
@@ -58,7 +58,7 @@ Set extended attribute:
|
|
58
58
|
|
59
59
|
FSPath('/a/b/c').xattr['good'] = 'bad'
|
60
60
|
|
61
|
-
|
61
|
+
### OS X stuff
|
62
62
|
|
63
63
|
Move to trash:
|
64
64
|
|
@@ -80,6 +80,6 @@ Set spotlight comment:
|
|
80
80
|
|
81
81
|
FSPath('a').spotlight_comment = 'a file'
|
82
82
|
|
83
|
-
|
83
|
+
## Copyright
|
84
84
|
|
85
85
|
Copyright (c) 2010 Boba Fat. See LICENSE.txt for further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/fspath.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{fspath}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
s.platform = %q{darwin}
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
@@ -13,12 +13,12 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.date = %q{2010-12-14}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.txt",
|
16
|
-
"README.
|
16
|
+
"README.markdown",
|
17
17
|
"TODO"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
"LICENSE.txt",
|
21
|
-
"README.
|
21
|
+
"README.markdown",
|
22
22
|
"Rakefile",
|
23
23
|
"TODO",
|
24
24
|
"VERSION",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fspath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: darwin
|
12
12
|
authors:
|
13
13
|
- Boba Fat
|
@@ -98,11 +98,11 @@ extensions: []
|
|
98
98
|
|
99
99
|
extra_rdoc_files:
|
100
100
|
- LICENSE.txt
|
101
|
-
- README.
|
101
|
+
- README.markdown
|
102
102
|
- TODO
|
103
103
|
files:
|
104
104
|
- LICENSE.txt
|
105
|
-
- README.
|
105
|
+
- README.markdown
|
106
106
|
- Rakefile
|
107
107
|
- TODO
|
108
108
|
- VERSION
|