extract_files 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -1
- data/Rakefile +1 -1
- data/bin/extract_files +1 -1
- data/lib/extract_files.rb +1 -1
- data/lib/extract_files/cli.rb +1 -1
- metadata +35 -55
- data/lib/extract_files/optparse.rb +0 -4
data/README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
|
-
# extract_files
|
1
|
+
# Extract Files [![Build Status](https://secure.travis-ci.org/guillermo/extract_files.png)](http://travis-ci.org/guillermo/extract_files)
|
2
2
|
|
3
3
|
Extract files from files or stdin for a given extension.
|
4
|
+
[![endorse](http://api.coderwall.com/guillermo/endorsecount.png)](http://coderwall.com/guillermo)
|
4
5
|
|
5
6
|
## Yes, but i can do that with sed.
|
6
7
|
|
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ task :test do
|
|
6
6
|
sh "ruby -I lib -rubygems test/extract_files_test.rb"
|
7
7
|
end
|
8
8
|
|
9
|
-
file 'bin/extract_files' => ['lib/extract_files.rb', 'lib/extract_files/
|
9
|
+
file 'bin/extract_files' => ['lib/extract_files.rb', 'lib/extract_files/cli.rb'] do
|
10
10
|
sh "echo '#!/usr/bin/env ruby' > bin/extract_files"
|
11
11
|
sh "cat lib/extract_files.rb >> bin/extract_files"
|
12
12
|
sh "cat lib/extract_files/cli.rb >> bin/extract_files"
|
data/bin/extract_files
CHANGED
data/lib/extract_files.rb
CHANGED
data/lib/extract_files/cli.rb
CHANGED
metadata
CHANGED
@@ -1,48 +1,38 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: extract_files
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 0.0.2
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
7
|
+
authors:
|
8
|
+
- Guillermo Álvarez
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-14 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: minitest
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70220539492880 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
32
22
|
type: :development
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70220539492880
|
25
|
+
description: ! "Tired of generating big builds for the cdn? Just want to know wich
|
26
|
+
files your designers in their css are really using? The images of all the static
|
27
|
+
fiels? extract_files look inside json, html, css, and look for files based on a
|
28
|
+
given extension or extensions.\n\t\trun extract_files -h to have more help."
|
29
|
+
email:
|
38
30
|
- guillermo@cientifico.net
|
39
|
-
executables:
|
31
|
+
executables:
|
40
32
|
- extract_files
|
41
33
|
extensions: []
|
42
|
-
|
43
34
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
files:
|
35
|
+
files:
|
46
36
|
- .gitignore
|
47
37
|
- .travis.yml
|
48
38
|
- Gemfile
|
@@ -52,45 +42,35 @@ files:
|
|
52
42
|
- extract_files.gemspec
|
53
43
|
- lib/extract_files.rb
|
54
44
|
- lib/extract_files/cli.rb
|
55
|
-
- lib/extract_files/optparse.rb
|
56
45
|
- test/extract_files_test.rb
|
57
46
|
- test/fixtures/files.json
|
58
47
|
- test/fixtures/index.html
|
59
48
|
- test/fixtures/style.css
|
60
49
|
homepage: https://github.com/guillermo/extract_files
|
61
50
|
licenses: []
|
62
|
-
|
63
51
|
post_install_message:
|
64
52
|
rdoc_options: []
|
65
|
-
|
66
|
-
require_paths:
|
53
|
+
require_paths:
|
67
54
|
- lib
|
68
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
55
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
56
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
|
75
|
-
- 0
|
76
|
-
version: "0"
|
77
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
62
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
segments:
|
84
|
-
- 0
|
85
|
-
version: "0"
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
86
67
|
requirements: []
|
87
|
-
|
88
68
|
rubyforge_project: extract_files
|
89
|
-
rubygems_version: 1.8.
|
69
|
+
rubygems_version: 1.8.16
|
90
70
|
signing_key:
|
91
71
|
specification_version: 3
|
92
72
|
summary: Extract files from stdin or files given an extension/extensions
|
93
|
-
test_files:
|
73
|
+
test_files:
|
94
74
|
- test/extract_files_test.rb
|
95
75
|
- test/fixtures/files.json
|
96
76
|
- test/fixtures/index.html
|