tartlet 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/tartlet +5 -3
- data/lib/tartlet/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: 59e2c07d760ce133492bce3891ad0b22cdf70c7a
|
4
|
+
data.tar.gz: e2573940dec3b62926fc964293b149801ad8f7e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb9e41da4516654859651029dcacbbcd10800ca2614419a9751b0680b22569a82b3ee08795d4e7fdaf2ee271d71683c504876bfd86690c18268b749fb809782
|
7
|
+
data.tar.gz: cd5066d4d586925e584682bfa7c72cb75d65230fbaebf97968f5e5027c854845fd049335ec19b51d1a5f19eeb1d075063fc02030e122a4190d6a850145003406
|
data/README.md
CHANGED
data/bin/tartlet
CHANGED
@@ -27,7 +27,7 @@ class App
|
|
27
27
|
cmd = Tartlet::compressSingle(files, !options['tarball'], outfile)
|
28
28
|
|
29
29
|
# Either output or run the command
|
30
|
-
if options['dry'] then puts cmd else sh(cmd) {|o,e|
|
30
|
+
if options['dry'] then puts cmd else sh(cmd) {|o,e| print o; STDERR.print e} end
|
31
31
|
|
32
32
|
## Extract the tarballs into their respective folders
|
33
33
|
when "extract"
|
@@ -47,7 +47,7 @@ class App
|
|
47
47
|
cmd = Tartlet::extractSingle(files[0], !options['tarball'], target)
|
48
48
|
|
49
49
|
# Either output or run the command
|
50
|
-
if options['dry'] then puts cmd else sh(cmd) {|o,e|
|
50
|
+
if options['dry'] then puts cmd else sh(cmd) {|o,e| print o; STDERR.print e} end
|
51
51
|
|
52
52
|
end
|
53
53
|
|
@@ -61,12 +61,14 @@ class App
|
|
61
61
|
cmd = Tartlet::listSingle(files[0], !options['tarball'])
|
62
62
|
|
63
63
|
# Either output or run the command
|
64
|
-
if options['dry'] then puts cmd else sh(cmd) {|o,e|
|
64
|
+
if options['dry'] then puts cmd else sh(cmd) {|o,e| print o; STDERR.print e} end
|
65
65
|
end
|
66
66
|
else
|
67
67
|
help_now!("#{command} is not a valid command. Must be one of {#{COMMANDS.join(",")}}")
|
68
68
|
end
|
69
69
|
|
70
|
+
STDOUT.flush
|
71
|
+
STDERR.flush
|
70
72
|
|
71
73
|
end
|
72
74
|
|
data/lib/tartlet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tartlet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jake M
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|