mixlib-archive 0.4.7 → 0.4.8

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
  SHA256:
3
- metadata.gz: e7e09ddcbf0747e2a0aa06d2e124b5723f2940032a2f8924e9b270f9a466fc5b
4
- data.tar.gz: 20391f69a6734354fc147771e381b9138c9bec2baa85a28633782e0561370013
3
+ metadata.gz: 89f65f9ebf0b9670aa04782cab4ee5887c64ec8e609f96b5cb0979b328ee0a1a
4
+ data.tar.gz: dd8460110ee8f6e20cfece1848f4420ebf4575c947b0133704ce8da0fd65ad9c
5
5
  SHA512:
6
- metadata.gz: a1d7097dd729027803b5f78cf25c8fcbb5ab03f62e50fa7f78b730a9fdb6b5e97b0bfc229279c38b7f2af37ec07071ceeefe55d2cc8a3bb534345404e9d6f51b
7
- data.tar.gz: fb9ae229b68ad49c2f0a8bb51f0cf44cd80115eb759bd9b830e2352e35e30b5edb1837651f62884a37b89c72579d7875980fc4094cc6e293f4750146807cd8fd
6
+ metadata.gz: 128ed8853d6d686101c8a120ce7cd7e862f89877ba7bc5a8965ce60d690ee02139a8d4a0a964278331fdfc4ad5f00c3761f3b4cbbda09d6584ee581c107e04e4
7
+ data.tar.gz: 7d394e01de3f3638c728e3e14bfd0b24bde6aea0488d3065f9cdd2b70e59173173cf652f41f60bce6b75adc1652851f7c1a83e6592494616717e061332bef459
data/CHANGELOG.md CHANGED
@@ -1,26 +1,31 @@
1
1
  <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ -->
2
2
  # Change Log
3
3
 
4
- <!-- latest_release 0.4.7 -->
5
- ## [v0.4.7](https://github.com/chef/mixlib-archive/tree/v0.4.7) (2018-05-14)
4
+ <!-- latest_release 0.4.8 -->
5
+ ## [v0.4.8](https://github.com/chef/mixlib-archive/tree/v0.4.8) (2018-06-21)
6
6
 
7
7
  #### Merged Pull Requests
8
- - fixup strange edge case around tar magic reading [#22](https://github.com/chef/mixlib-archive/pull/22) ([spion06](https://github.com/spion06))
8
+ - Use the correct entry size for content with multi-byte characters. [#23](https://github.com/chef/mixlib-archive/pull/23) ([coderanger](https://github.com/coderanger))
9
9
  <!-- latest_release -->
10
10
 
11
- <!-- release_rollup since=0.4.6 -->
11
+ <!-- release_rollup since=0.4.7 -->
12
12
  ### Changes not yet released to rubygems.org
13
13
 
14
14
  #### Merged Pull Requests
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 -->
15
+ - Use the correct entry size for content with multi-byte characters. [#23](https://github.com/chef/mixlib-archive/pull/23) ([coderanger](https://github.com/coderanger)) <!-- 0.4.8 -->
16
16
  <!-- release_rollup -->
17
17
 
18
18
  <!-- latest_stable_release -->
19
+ ## [v0.4.7](https://github.com/chef/mixlib-archive/tree/v0.4.7) (2018-06-07)
20
+
21
+ #### Merged Pull Requests
22
+ - fixup strange edge case around tar magic reading [#22](https://github.com/chef/mixlib-archive/pull/22) ([spion06](https://github.com/spion06))
23
+ <!-- latest_stable_release -->
24
+
19
25
  ## [v0.4.6](https://github.com/chef/mixlib-archive/tree/v0.4.6) (2018-05-08)
20
26
 
21
27
  #### Merged Pull Requests
22
28
  - 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
29
 
25
30
  ## [v0.4.5](https://github.com/chef/mixlib-archive/tree/v0.4.5) (2018-05-04)
26
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7
1
+ 0.4.8
@@ -53,7 +53,7 @@ module Mixlib
53
53
  stat = File.lstat(fn)
54
54
  if File.file?(fn)
55
55
  content = File.read(fn)
56
- entry.size = content.size
56
+ entry.size = content.bytesize
57
57
  end
58
58
  entry.mode = stat.mode
59
59
  entry.filetype = resolve_type(stat.ftype)
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Archive
3
- VERSION = "0.4.7"
3
+ VERSION = "0.4.8"
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.7
4
+ version: 0.4.8
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-14 00:00:00.000000000 Z
11
+ date: 2018-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake