rm_xattr 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -2
- data/bin/rm_xattr +7 -7
- data/lib/rm_xattr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51d246fa95c95c9d4e8dde0d00803d0693464be9
|
4
|
+
data.tar.gz: 2f259fec8b8283fb0156529833f33bfc5d093e18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb72d8e6d83f506686d17414611d9ac27b84fda77c2b04dad8828c9a306429cb7195550b80744e4dd18a00bd76dfd48220c1b39e0579eaa92ed277ccf899275
|
7
|
+
data.tar.gz: d9e9d6e1c35af4210728274106c1bb595e72f4d50ec2db5201efe13d502bd70dbb41ce5a130cd2dd499e15cd83e80c3cf7f1e3592384aa5ff42fce73c19905f7
|
data/README.md
CHANGED
@@ -1,14 +1,18 @@
|
|
1
|
-
# RmXattr
|
1
|
+
# RmXattr [![Gem Version](https://badge.fury.io/rb/rm_xattr.png)](http://badge.fury.io/rb/rm_xattr)
|
2
2
|
|
3
3
|
Remove Mac Extended Attributes
|
4
4
|
|
5
|
+
## Requirements
|
6
|
+
|
7
|
+
ruby >= 1.9
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
$ gem install rm_xattr
|
8
12
|
|
9
13
|
## Usage
|
10
14
|
```sh
|
11
|
-
rm_xattr [file | directory]
|
15
|
+
rm_xattr [file | directory] ...
|
12
16
|
```
|
13
17
|
|
14
18
|
## Example
|
@@ -24,6 +28,18 @@ total 129208
|
|
24
28
|
-rw-r--r-- 1 sue445 staff 66150602 12 21 22:10 jenkins.war
|
25
29
|
```
|
26
30
|
|
31
|
+
## Changelog
|
32
|
+
### master
|
33
|
+
[full changelog](http://github.com/sue445/rm_xattr/compare/v0.0.2...master)
|
34
|
+
|
35
|
+
### 0.0.2
|
36
|
+
[full changelog](http://github.com/sue445/rm_xattr/compare/v0.0.1...v0.0.2)
|
37
|
+
|
38
|
+
* support multiple args
|
39
|
+
|
40
|
+
### 0.0.1
|
41
|
+
* first release
|
42
|
+
|
27
43
|
## Contributing
|
28
44
|
|
29
45
|
1. Fork it
|
data/bin/rm_xattr
CHANGED
@@ -9,12 +9,12 @@ USAGE
|
|
9
9
|
exit
|
10
10
|
end
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
ARGV.each do |path|
|
13
|
+
if File.directory?(path)
|
14
|
+
Dir.glob("#{path}/**/*").each do |file|
|
15
|
+
RmXattr.rm_xattrs(file)
|
16
|
+
end
|
17
|
+
else
|
18
|
+
RmXattr.rm_xattrs(path)
|
17
19
|
end
|
18
|
-
else
|
19
|
-
RmXattr.rm_xattrs(path)
|
20
20
|
end
|
data/lib/rm_xattr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rm_xattr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|