gzipped_tar 0.0.3 → 0.0.4

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: c679776bcba2c01c4cfcc60b906335dded172e5a
4
- data.tar.gz: e78923592b35588d09cb738d9f76765371f5458e
3
+ metadata.gz: c9020c4f3848255eb93c6dd596cfa4216346253e
4
+ data.tar.gz: 41c20c89d72237fec73913c44810769ea61a7e6d
5
5
  SHA512:
6
- metadata.gz: 7a20c07ade01ce74a19e53e5619f4b16b3a6b88924418837710e75d0d79be2f035599cf62364b78be4a2e8a3a0f00bca6a3fa0532ddee2e5f9e0afcce0835341
7
- data.tar.gz: 78195123fcb04b760acfc8e6eb42507a4173ec8cb8c90af41113d84b4d7b91021b19e62a2ea104957155421f93c789edd14cf768f07ddaab4bb8f50afa0847d3
6
+ metadata.gz: cea6867c8e703e071716760e0d7c9f00239fbe6fca68b9a53325ee4b0d5c0fe98a0b75a29e66afb549f401573e6da1eb153005edc9e2016e79c9e6b2cb9caa7c
7
+ data.tar.gz: 7f2a741f3c222085ac7b33112e5c0caa09270827971344e781d9476de92dd7e3b9462c6a9134a3ab4723df21ac12dd104e11003f79a0b58f3904054978b9a1d9
data/README.md CHANGED
@@ -5,7 +5,7 @@ A simple interface for reading and writing gzipped tar files (.tar.gz) in memory
5
5
  ## Installation
6
6
 
7
7
  ```ruby
8
- gem "gzipped_tar", "~> 0.0.3"
8
+ gem "gzipped_tar", "~> 0.0.4"
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "gzipped_tar"
5
- spec.version = "0.0.3"
5
+ spec.version = "0.0.4"
6
6
  spec.authors = ["Pat Allan"]
7
7
  spec.email = ["pat@freelancing-gods.com"]
8
8
 
@@ -13,8 +13,6 @@ module GZippedTar
13
13
  result = nil
14
14
  reader.each { |entry| result = entry.read if entry.full_name == path }
15
15
  result
16
- ensure
17
- reader.rewind
18
16
  end
19
17
 
20
18
  private
@@ -22,7 +20,7 @@ module GZippedTar
22
20
  attr_reader :raw
23
21
 
24
22
  def reader
25
- @reader ||= Gem::Package::TarReader.new unzipped
23
+ Gem::Package::TarReader.new unzipped
26
24
  end
27
25
 
28
26
  def unzipped
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gzipped_tar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pat Allan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2017-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake