seven_zip_ruby 1.2.3-x86-mswin32-100 → 1.2.4-x86-mswin32-100
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/.travis.yml +2 -2
- data/README.md +18 -15
- data/lib/seven_zip_ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d106ac1fef55a361e2b91a5b381a7a5a1bfa59b6
|
4
|
+
data.tar.gz: 931118d6cc7f27a761ed1ee0a185091a2b4485c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc8dac8b6e63862e7a2091327b50524c9526054094ca02bab3a7a9871bb62bc1d944e638b63d1321f763d98bd3bdd66e56120d2be1deb48d1b0dee2784eb57e0
|
7
|
+
data.tar.gz: 0d215848bbba7d8ea537b2db586781e79f719fc19405be37326327a07bb5d54aec04dab0c0b90149acf97bd7429692b4ddb0eb7c42d169aa66b939c2610a89ee
|
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: x86-mswin32-100
|
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
|