minitar-cli 0.6 → 0.6.1

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: b7e1a33ed236a1c4df613b9176391edfa14b61eb
4
- data.tar.gz: 1e961009d5987fe7bbfcb53a1d7fd681ee382a98
3
+ metadata.gz: 739c9163f92f97d0eb4a6c5822687df13fefe669
4
+ data.tar.gz: 2db621677e58c4736e09f35f04550bcd3ce72ec5
5
5
  SHA512:
6
- metadata.gz: b3748531f8787423e3d116d1b15a86d3e50781b7645c3b7c22fbf13eea27320608b52d2b6f44d3ff1ca59be380422e4e7198e6608ba1e5d4401e03dc4a0ef9bf
7
- data.tar.gz: 24917476a4030a12b6af70d498b9ea2fcb70f9624a75504ce5902ea45833bb315c5653e1b296e78358ce691f438c448903b87db5731cfa846bc415a212d1c0aa
6
+ metadata.gz: 24594b21add05e6b4f58bab5d420281f136ee105441c7502c9f21594d867b62036158cfd182a0d68b30c87439881ffb793bb6e770b365e352116129076154755
7
+ data.tar.gz: 0da0efa75e5cfcfaa8344ae885b8132f97a19695aa60e909a3597702987979fe9e623ca8ce6b941c57e8ef6170e032a692a2229b007866a2c264b3bdfa393582
data/History.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.6.1 / 2017-02-08
2
+
3
+ * Fixed an issue where `bin/minitar` was not loading zlib for compressed
4
+ files.
5
+
1
6
  ## 0.6 / 2017-02-07
2
7
 
3
8
  * Hello, minitar-cli. This is a new gem containing code originally from
@@ -4,7 +4,7 @@ require 'minitar'
4
4
 
5
5
  # The Minitar command-line application.
6
6
  class Minitar::CLI
7
- VERSION = '0.6'.freeze #:nodoc:
7
+ VERSION = '0.6.1'.freeze #:nodoc:
8
8
 
9
9
  # rubocop:disable Lint/InheritException
10
10
  class AbstractCommandError < Exception; end
@@ -62,6 +62,7 @@ create Options:
62
62
  end
63
63
 
64
64
  if opts[:name] =~ /\.tar\.gz$|\.tgz$/ or opts[:compress]
65
+ require 'zlib'
65
66
  output = Zlib::GzipWriter.new(output)
66
67
  end
67
68
 
@@ -71,6 +71,7 @@ extract Options:
71
71
  end
72
72
 
73
73
  if opts[:name] =~ /\.tar\.gz$|\.tgz$/ or opts[:uncompress]
74
+ require 'zlib'
74
75
  input = Zlib::GzipReader.new(input)
75
76
  end
76
77
 
@@ -84,6 +84,7 @@ Sort Fields:
84
84
  end
85
85
 
86
86
  if opts[:name] =~ /\.tar\.gz$|\.tgz$/ or opts[:uncompress]
87
+ require 'zlib'
87
88
  input = Zlib::GzipReader.new(input)
88
89
  end
89
90
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitar-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.6'
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Ziegler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitar
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.9'
47
+ version: '5.10'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.9'
54
+ version: '5.10'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: hoe-doofus
57
57
  requirement: !ruby/object:Gem::Requirement