mixlib-archive 0.4.6 → 0.4.7

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
  SHA256:
3
- metadata.gz: eb6b5777f942567cd93464de95bf2acb0308fd5764476e6dc36ef60ccb859251
4
- data.tar.gz: b16e701f76d88218b4895048763357cf962fdc12bf5912269fb379e046f66051
3
+ metadata.gz: e7e09ddcbf0747e2a0aa06d2e124b5723f2940032a2f8924e9b270f9a466fc5b
4
+ data.tar.gz: 20391f69a6734354fc147771e381b9138c9bec2baa85a28633782e0561370013
5
5
  SHA512:
6
- metadata.gz: ddb5c379da84794af3428f55dbcef397bf41dbf5d1a58fc448d9705c280f04ba7b3ae69988d028ebda70c5f75fe1259f1fdbbac708eb54c807251b0f2e9cee2d
7
- data.tar.gz: 9b77a501440be2b107437315811ae449e6fbe7d7f1d56eb618bc657901e9b15c76a87fcfa8b04242e49402d7159582c5b68dfb193ee777d1fe06ea8071782838
6
+ metadata.gz: a1d7097dd729027803b5f78cf25c8fcbb5ab03f62e50fa7f78b730a9fdb6b5e97b0bfc229279c38b7f2af37ec07071ceeefe55d2cc8a3bb534345404e9d6f51b
7
+ data.tar.gz: fb9ae229b68ad49c2f0a8bb51f0cf44cd80115eb759bd9b830e2352e35e30b5edb1837651f62884a37b89c72579d7875980fc4094cc6e293f4750146807cd8fd
data/CHANGELOG.md CHANGED
@@ -1,27 +1,32 @@
1
1
  <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
2
2
  # Change Log
3
3
 
4
- <!-- latest_release 0.4.6 -->
5
- ## [v0.4.6](https://github.com/chef/mixlib-archive/tree/v0.4.6) (2018-05-08)
4
+ <!-- latest_release 0.4.7 -->
5
+ ## [v0.4.7](https://github.com/chef/mixlib-archive/tree/v0.4.7) (2018-05-14)
6
6
 
7
7
  #### Merged Pull Requests
8
- - update tar magic to identify oldgnu style tar headers [#21](https://github.com/chef/mixlib-archive/pull/21) ([spion06](https://github.com/spion06))
8
+ - fixup strange edge case around tar magic reading [#22](https://github.com/chef/mixlib-archive/pull/22) ([spion06](https://github.com/spion06))
9
9
  <!-- latest_release -->
10
10
 
11
- <!-- release_rollup since=0.4.5 -->
11
+ <!-- release_rollup since=0.4.6 -->
12
12
  ### Changes not yet released to rubygems.org
13
13
 
14
14
  #### Merged Pull Requests
15
- - update tar magic to identify oldgnu style tar headers [#21](https://github.com/chef/mixlib-archive/pull/21) ([spion06](https://github.com/spion06)) <!-- 0.4.6 -->
15
+ - fixup strange edge case around tar magic reading [#22](https://github.com/chef/mixlib-archive/pull/22) ([spion06](https://github.com/spion06)) <!-- 0.4.7 -->
16
16
  <!-- release_rollup -->
17
17
 
18
18
  <!-- latest_stable_release -->
19
+ ## [v0.4.6](https://github.com/chef/mixlib-archive/tree/v0.4.6) (2018-05-08)
20
+
21
+ #### Merged Pull Requests
22
+ - update tar magic to identify oldgnu style tar headers [#21](https://github.com/chef/mixlib-archive/pull/21) ([spion06](https://github.com/spion06))
23
+ <!-- latest_stable_release -->
24
+
19
25
  ## [v0.4.5](https://github.com/chef/mixlib-archive/tree/v0.4.5) (2018-05-04)
20
26
 
21
27
  #### Merged Pull Requests
22
28
  - Fix up creating archives [#18](https://github.com/chef/mixlib-archive/pull/18) ([thommay](https://github.com/thommay))
23
29
  - Fix up writing tar archives with the rubygems tar [#19](https://github.com/chef/mixlib-archive/pull/19) ([thommay](https://github.com/thommay))
24
- <!-- latest_stable_release -->
25
30
 
26
31
  ## [v0.4.2](https://github.com/chef/mixlib-archive/tree/v0.4.2) (2018-04-25)
27
32
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6
1
+ 0.4.7
@@ -125,7 +125,7 @@ module Mixlib
125
125
 
126
126
  def read_tar_magic(io)
127
127
  io.rewind
128
- magic = io.read[257..264]
128
+ magic = io.read(512).bytes[257..264].pack("C*")
129
129
  io.rewind
130
130
  magic
131
131
  end
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Archive
3
- VERSION = "0.4.6"
3
+ VERSION = "0.4.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-08 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake