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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 976f5254ae7c62abbfb93b5a6128fe76c99fb86c
4
- data.tar.gz: 280933fa17b8f66a8d2a4ef389739c2b75aa633f
3
+ metadata.gz: 51d246fa95c95c9d4e8dde0d00803d0693464be9
4
+ data.tar.gz: 2f259fec8b8283fb0156529833f33bfc5d093e18
5
5
  SHA512:
6
- metadata.gz: fa163b030e8253cca05bc6f465e78c1e233a6fe21337d72fcb24407696e0fd269183f34cb5927ec5cbf2c60b15fde0cef82ad18937c8356e806d48f204f0b06b
7
- data.tar.gz: 248586a08145a91751df79b20323682c34ec7d18979cb1de698b12e0507a4b0a961e401098f91134256e570aa7ba78b84b546b2e2bff25c4eeb0ec02f7acde25
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
@@ -9,12 +9,12 @@ USAGE
9
9
  exit
10
10
  end
11
11
 
12
- path = ARGV[0]
13
-
14
- if File.directory?(path)
15
- Dir.glob("#{path}/**/*").each do |file|
16
- RmXattr.rm_xattrs(file)
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
@@ -1,3 +1,3 @@
1
1
  module RmXattr
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-21 00:00:00.000000000 Z
11
+ date: 2013-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler