seven_zip_ruby 1.2.3-x64-mingw32 → 1.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/README.md +18 -15
- data/lib/seven_zip_ruby/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d4596d6211a361864e712a25fff7d5b95df3c43
|
4
|
+
data.tar.gz: 7cc3732c78530761c246e30e23be829ea0e269aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6203811a4bceef389a7e16eb8530c93f25fc18c9a31f749092257d246166acf6403a158a1c2079f7157550561b65449cbf3628c028c0593a00e4c292f9b0adae
|
7
|
+
data.tar.gz: 6a8d06847542e03a4f719647d03d605bb0ed5771f8c324a42eee3951caa668d20fd18661d1dc6f236313a15c2b6bb4b66c1b352ac7086e4cf660a97ca9a3c53a
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -4,15 +4,18 @@
|
|
4
4
|
|
5
5
|
This is a Ruby gem library to extract/compress [7-Zip](http://www.7-zip.org) archives.
|
6
6
|
|
7
|
-
This extension calls the native library, 7z.dll or 7z.so, internally and
|
7
|
+
This extension calls the native library, 7z.dll or 7z.so, internally and these libraries are included in this gem.
|
8
8
|
|
9
9
|
## Features
|
10
|
-
*
|
11
|
-
*
|
10
|
+
* Uses official DLL, 7z.dll, internally.
|
11
|
+
* Supports extracting data into memory.
|
12
|
+
|
13
|
+
## Document
|
14
|
+
[RDoc](http://rubydoc.info/gems/seven_zip_ruby/frames) shows you the details.
|
12
15
|
|
13
16
|
## Examples
|
14
17
|
|
15
|
-
### Extract
|
18
|
+
### Extract archives
|
16
19
|
|
17
20
|
```ruby
|
18
21
|
File.open("filename.7z", "rb") do |file|
|
@@ -22,7 +25,7 @@ File.open("filename.7z", "rb") do |file|
|
|
22
25
|
end
|
23
26
|
```
|
24
27
|
|
25
|
-
You can also use
|
28
|
+
You can also use simpler method.
|
26
29
|
|
27
30
|
```ruby
|
28
31
|
File.open("filename.7z", "rb") do |file|
|
@@ -30,7 +33,7 @@ File.open("filename.7z", "rb") do |file|
|
|
30
33
|
end
|
31
34
|
```
|
32
35
|
|
33
|
-
### Show entries in archive
|
36
|
+
### Show the entries in the archive
|
34
37
|
|
35
38
|
```ruby
|
36
39
|
File.open("filename.7z", "rb") do |file|
|
@@ -42,7 +45,7 @@ File.open("filename.7z", "rb") do |file|
|
|
42
45
|
end
|
43
46
|
```
|
44
47
|
|
45
|
-
### Extract encrypted
|
48
|
+
### Extract encrypted archives
|
46
49
|
|
47
50
|
```ruby
|
48
51
|
File.open("filename.7z", "rb") do |file|
|
@@ -60,7 +63,7 @@ end
|
|
60
63
|
```
|
61
64
|
|
62
65
|
|
63
|
-
### Verify
|
66
|
+
### Verify archives
|
64
67
|
|
65
68
|
```ruby
|
66
69
|
File.open("filename.7z", "rb") do |file|
|
@@ -114,7 +117,7 @@ File.open("filename.7z", "rb") do |file|
|
|
114
117
|
end
|
115
118
|
```
|
116
119
|
|
117
|
-
### Get data from
|
120
|
+
### Get data from archives
|
118
121
|
|
119
122
|
Extract data into memory.
|
120
123
|
|
@@ -130,7 +133,7 @@ p data
|
|
130
133
|
# => File content is shown.
|
131
134
|
```
|
132
135
|
|
133
|
-
### Create archive manually
|
136
|
+
### Create an archive manually
|
134
137
|
|
135
138
|
```ruby
|
136
139
|
File.open("filename.7z", "rb") do |file|
|
@@ -178,8 +181,8 @@ p(Time.now - start)
|
|
178
181
|
## TODO
|
179
182
|
|
180
183
|
* Support file attributes on Linux and Mac OSX.
|
181
|
-
* Support
|
182
|
-
* Support
|
184
|
+
* Support update of an archive.
|
185
|
+
* Support extract of a rar archive.
|
183
186
|
|
184
187
|
|
185
188
|
## License
|
@@ -188,9 +191,9 @@ LGPL and unRAR license. Please refer to LICENSE.txt.
|
|
188
191
|
## Releases
|
189
192
|
|
190
193
|
* 1.2.*
|
191
|
-
|
194
|
+
- Fixed cosmetic bugs.
|
192
195
|
* 1.1.0
|
193
|
-
|
196
|
+
- Fixed a bug. Raises an exception when wrong password is specified.
|
194
197
|
* 1.0.0
|
195
|
-
Initial release.
|
198
|
+
- Initial release.
|
196
199
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seven_zip_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Masamitsu MURASE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- spec/seven_zip_ruby_spec.rb
|
81
81
|
- spec/seven_zip_ruby_spec_helper.rb
|
82
82
|
- lib/seven_zip_ruby/2.0/seven_zip_archive.so
|
83
|
+
- lib/seven_zip_ruby/2.1/seven_zip_archive.so
|
83
84
|
homepage: https://github.com/masamitsu-murase/seven_zip_ruby
|
84
85
|
licenses:
|
85
86
|
- LGPL + unRAR
|