zipruby 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of zipruby might be problematic. Click here for more details.

data/ChangeLog CHANGED
@@ -1,6 +1,6 @@
1
1
  2009-05-16 winebarrel
2
2
 
3
- * improve Zip::Archive#open_buffer, add_io, replace_io, replace_function
3
+ * improve Zip::Archive#add_io, replace_io, add, replace
4
4
 
5
5
  * fixes bug: Zip::Archive#add_io, <<
6
6
 
data/README.txt CHANGED
@@ -165,7 +165,7 @@ https://rubyforge.org/frs/?group_id=6124
165
165
  # end
166
166
 
167
167
  # decrypt
168
- Zip::Archive.decrypt('filename.zip', 'password') # return true if encrypted
168
+ Zip::Archive.decrypt('filename.zip', 'password') # return true if decrypted
169
169
  # or
170
170
  # Zip::Archive.open('filename.zip') do |ar|
171
171
  # ar.decrypt('password')
@@ -257,7 +257,7 @@ https://rubyforge.org/frs/?group_id=6124
257
257
  * Redistributions in binary form must reproduce the above copyright notice,
258
258
  this list of conditions and the following disclaimer in the documentation
259
259
  and/or other materials provided with the distribution.
260
- * The names of its contributors may be used to endorse or promote products
260
+ * The names of its contributors may not be used to endorse or promote products
261
261
  derived from this software without specific prior written permission.
262
262
 
263
263
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
@@ -42,8 +42,6 @@
42
42
 
43
43
  #ifdef _WIN32
44
44
  #define snprintf(s, n, f, ...) _snprintf((s), (n), (f), __VA_ARGS__)
45
- #else
46
- #define snprintf _snprintf
47
45
  #endif
48
46
 
49
47
  #include "zip.h"
data/ext/zipruby.h CHANGED
@@ -21,7 +21,7 @@
21
21
 
22
22
  #define TIME2LONG(v) NUM2LONG(rb_funcall((v), rb_intern("tv_sec"), 0))
23
23
 
24
- #define VERSION "0.3.1"
24
+ #define VERSION "0.3.2"
25
25
  #define ERRSTR_BUFSIZE 256
26
26
  #define DATA_BUFSIZE 8192
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zipruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-16 00:00:00 +09:00
12
+ date: 2009-06-12 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies: []
15
15