mixlib-archive 0.4.18 → 0.4.19
Sign up to get free protection for your applications and to get access to all the features.
- 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: 77411d5efdfb7898eab901f379550979ae27e9e6ee083cf6d7c6fabba24517c0
|
4
|
+
data.tar.gz: 02672c482df0f110b51bb7ee71593765c1553b206777e544cd04a5cabf7fca02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eafd8c52c7efeddae09acf2d1883e5466fea0efa15e0801a4860f2a12f2162c562e767077e8515dc594cf9ebebb53562328a2bc8751c6aaaa371e0c4945d370
|
7
|
+
data.tar.gz: 75688d740ce22b52c3826f860b2ab1cca519be337ab4ad2daa2ba223e68b1049bde75ea45f216411d6d568ebefe798bfd2d3a05c742f1746c3ee951e6c7e76fe
|
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: ruby
|
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
|
- lib/mixlib/archive.rb
|
37
36
|
- lib/mixlib/archive/lib_archive.rb
|
38
37
|
- lib/mixlib/archive/tar.rb
|
data/README.md
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
# Mixlib::Archive
|
2
|
-
|
3
|
-
[![Build Status Master](https://travis-ci.org/chef/mixlib-archive.svg?branch=master)](https://travis-ci.org/chef/mixlib-archive) [![Gem Version](https://badge.fury.io/rb/mixlib-archive.svg)](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
|
-
```
|