tartlet 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce665847ebe3cd35e93082033fb1367e0a44d5b5
4
- data.tar.gz: 562bbab7333270c377d5a89f1ddab78681544b7d
3
+ metadata.gz: 59e2c07d760ce133492bce3891ad0b22cdf70c7a
4
+ data.tar.gz: e2573940dec3b62926fc964293b149801ad8f7e7
5
5
  SHA512:
6
- metadata.gz: 4cbda51b351f997b7dcbdaeb0016655e1876a80830106cea7f96cdd5ad0d6c27acc8ff24dfdb7dadd092206b2ef1f10a05492a40f84a3ac0d9ed822f4fc734eb
7
- data.tar.gz: e9d9fd713f503b0f8fdeb9e8eec1d76b6d594325890177c44741296552ba9580848506d82eca5b415a4399fc703a9248d5cb425c76ea5ddf5a8e8b1f221c64b5
6
+ metadata.gz: 1bb9e41da4516654859651029dcacbbcd10800ca2614419a9751b0680b22569a82b3ee08795d4e7fdaf2ee271d71683c504876bfd86690c18268b749fb809782
7
+ data.tar.gz: cd5066d4d586925e584682bfa7c72cb75d65230fbaebf97968f5e5027c854845fd049335ec19b51d1a5f19eeb1d075063fc02030e122a4190d6a850145003406
data/README.md CHANGED
@@ -27,7 +27,7 @@ Mmmmmmmmm. Chocolaty compressed cookies. Tartlet makes it easy to make archives
27
27
 
28
28
  Install via gem as:
29
29
 
30
- $ gem install tart
30
+ $ gem install tartlet
31
31
 
32
32
  ## Usage
33
33
 
@@ -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| puts o; puts e} end
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| puts o; puts e} end
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| puts o; puts e} end
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
 
@@ -1,3 +1,3 @@
1
1
  module Tartlet
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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-03 00:00:00.000000000 Z
11
+ date: 2015-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc