mixlib-archive 0.4.18-universal-mingw32 → 0.4.19-universal-mingw32
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 +4 -4
- data/lib/mixlib/archive/version.rb +1 -1
- metadata +2 -3
- data/README.md +0 -78
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb1cdabe421e0eb1711a438f3930254e0a803ad542f2f9d5a4228a29f13f26b9
|
4
|
+
data.tar.gz: bbbe19257011b09e1b0d20ef176ccd72ce4492d13e1c90e172c2cd2f864ef8e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf5d6e8fe601c5a675a4e4542f3828627f374206b136820322cbd12729a26b57cbf607418f8b52d3a06d050c95f3a2d000c3637ae0ce9db9da4a1b9063158055
|
7
|
+
data.tar.gz: 10405c9fa90de4f5230906fd2d843fdc86e9bcc199ea02e0d2a8b02623e35d982ec7e1e8e58a6d785cddc3f06c8419fe38ca4db0a4e1679d0927d26d1d001bbf
|
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.
|
4
|
+
version: 0.4.19
|
5
5
|
platform: universal-mingw32
|
6
6
|
authors:
|
7
7
|
- Chef Software, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-log
|
@@ -32,7 +32,6 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- LICENSE
|
35
|
-
- README.md
|
36
35
|
- distro/ruby_bin_folder/libarchive.dll
|
37
36
|
- distro/ruby_bin_folder/liblzma-5.dll
|
38
37
|
- distro/ruby_bin_folder/libxml2-2.dll
|
data/README.md
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
# Mixlib::Archive
|
2
|
-
|
3
|
-
[](https://travis-ci.org/chef/mixlib-archive) [](https://badge.fury.io/rb/mixlib-archive)
|
4
|
-
|
5
|
-
A very simple gem to extract archives.
|
6
|
-
|
7
|
-
## Installation
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'mixlib-archive'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
```shell
|
18
|
-
$ bundle
|
19
|
-
```
|
20
|
-
|
21
|
-
Or install it yourself as:
|
22
|
-
|
23
|
-
```shell
|
24
|
-
$ gem install mixlib-archive
|
25
|
-
```
|
26
|
-
|
27
|
-
## Usage
|
28
|
-
|
29
|
-
To extract an archive
|
30
|
-
|
31
|
-
```ruby
|
32
|
-
require "mixlib/archive"
|
33
|
-
tar = Mixlib::Archive.new("/path/to/tar")
|
34
|
-
tar.extract("/destination/directory")
|
35
|
-
```
|
36
|
-
|
37
|
-
To create an archive
|
38
|
-
|
39
|
-
```ruby
|
40
|
-
require "mixlib/archive"
|
41
|
-
tar = Mixlib::Archive.new("/path/to/foo.tar.gz")
|
42
|
-
tar.create(%w{ file.rb file2.rb }, gzip: true)
|
43
|
-
```
|
44
|
-
|
45
|
-
## Development
|
46
|
-
|
47
|
-
After checking out the repo, run `bundle` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bundle console` for an interactive prompt that will allow you to experiment.
|
48
|
-
|
49
|
-
## Documentation
|
50
|
-
|
51
|
-
All documentation is written using YARD. You can generate a by running:
|
52
|
-
|
53
|
-
```
|
54
|
-
rake docs
|
55
|
-
```
|
56
|
-
|
57
|
-
## Contributing
|
58
|
-
|
59
|
-
For information on contributing to this project please see our [Contributing Documentation](https://github.com/chef/chef/blob/master/CONTRIBUTING.md)
|
60
|
-
|
61
|
-
## License & Copyright
|
62
|
-
|
63
|
-
- Copyright:: Copyright (c) 2017-2018 Chef Software, Inc.
|
64
|
-
- License:: Apache License, Version 2.0
|
65
|
-
|
66
|
-
```text
|
67
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
68
|
-
you may not use this file except in compliance with the License.
|
69
|
-
You may obtain a copy of the License at
|
70
|
-
|
71
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
72
|
-
|
73
|
-
Unless required by applicable law or agreed to in writing, software
|
74
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
75
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
76
|
-
See the License for the specific language governing permissions and
|
77
|
-
limitations under the License.
|
78
|
-
```
|