mixlib-archive 1.1.4 → 1.1.6

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: 95a6b092d43b8a7c86fa53642f18463add7d2144b72579a9bb36d8a372610db2
4
- data.tar.gz: f3dbad75990977256d807cb59878a0c31f8a1e1e8acac3212e6bbd2541583f20
3
+ metadata.gz: e7583fe3ebc715aae1b1a0a9f2e1dea0821bac791cfdaf948c2ce25248bb85b3
4
+ data.tar.gz: 1c098798996d573f47403de8a87b6819959a1c8482edc5155b496b22582953a0
5
5
  SHA512:
6
- metadata.gz: 10bdc649aa411f8eed22253339d7a1327da0a20980fe534006c92dd3bb73fed57fb4ecbb1855629d198d93af0bbe90ef957b8cdadde8c0c9fb85fcd615884625
7
- data.tar.gz: c9cee26fa1a5b98c1a9d904c8cd62a7a48439c977abd044381a80fa90225243b02b71e27382e53291db47e0a369778659d91ba17fb735b71733de43d70cc0385
6
+ metadata.gz: bb15981cc414cf3faad750ef1b6bf4174aa9bd2fada20d378c1ee7df29c6f2fd178573c78cf2e746a0044194d624fb92a515a7f7d384749a4f9157900ba6cab2
7
+ data.tar.gz: f6d86b869dbf7b587273fddc516c084c4a82fe6a0094a59e3badcf9b6aafc297f06cad0ed19fd3f2c9803c16558d7fba76b00524e08a0ded2c2e6788901c1e5e
@@ -51,7 +51,7 @@ module Mixlib
51
51
  entry.pathname = fn
52
52
  stat = File.lstat(fn)
53
53
  if File.file?(fn)
54
- content = File.read(fn)
54
+ content = File.read(fn, mode: "rb")
55
55
  entry.size = content.bytesize
56
56
  end
57
57
  entry.mode = stat.mode
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Archive
3
- VERSION = "1.1.4".freeze
3
+ VERSION = "1.1.6".freeze
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: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software, Inc
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-11 00:00:00.000000000 Z
11
+ date: 2021-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log
@@ -40,7 +40,7 @@ homepage: https://github.com/chef/mixlib-archive
40
40
  licenses:
41
41
  - Apache-2.0
42
42
  metadata: {}
43
- post_install_message:
43
+ post_install_message:
44
44
  rdoc_options: []
45
45
  require_paths:
46
46
  - lib
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubygems_version: 3.1.4
59
- signing_key:
59
+ signing_key:
60
60
  specification_version: 4
61
61
  summary: A simple interface to various archive formats
62
62
  test_files: []