rubyzip 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zip.rb +21 -0
- data/lib/zip/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91e4188ec03ce5ae7377b7eada4513ee75c6e0753d4f5ea97e0695fbf28a8f4
|
4
|
+
data.tar.gz: '098d3b2c4456e90a754b7f227022148031552c9f3537a7992c51b5ed09738ac9'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1b2ddc7bcab51c91c36a567bf74fc24333984cf4489f5a41220b8589ea48c8b8a3dcbc2084cdd07d576f66250d956c4bcdf33096e82ffd8a8c8e163615162f
|
7
|
+
data.tar.gz: a53a5f50235c9b8d093f8360c23e853a69acb44a7642ac8aecc657ec53bcb0d0d888969cb17ba4d45c047749df3f21ea97688e0e9a1d6d7d7117eafcde5ad3d6
|
data/lib/zip.rb
CHANGED
@@ -34,6 +34,25 @@ require 'zip/streamable_directory'
|
|
34
34
|
require 'zip/errors'
|
35
35
|
|
36
36
|
module Zip
|
37
|
+
BANNER = [
|
38
|
+
'RubyZip 3.0 is coming!',
|
39
|
+
'**********************',
|
40
|
+
'',
|
41
|
+
'The public API of some Rubyzip classes has been modernized to use named',
|
42
|
+
'parameters for optional arguments. Please check your usage of the',
|
43
|
+
'following classes:',
|
44
|
+
' * `Zip::File`',
|
45
|
+
' * `Zip::Entry`',
|
46
|
+
' * `Zip::InputStream`',
|
47
|
+
' * `Zip::OutputStream`',
|
48
|
+
'',
|
49
|
+
'Please ensure that your Gemfiles and .gemspecs are suitably restrictive',
|
50
|
+
'to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).',
|
51
|
+
'See https://github.com/rubyzip/rubyzip for details. The Changelog also',
|
52
|
+
'lists other enhancements and bugfixes that have been implemented since',
|
53
|
+
'version 2.3.0.'
|
54
|
+
].freeze
|
55
|
+
|
37
56
|
extend self
|
38
57
|
attr_accessor :unicode_names,
|
39
58
|
:on_exists_proc,
|
@@ -47,6 +66,8 @@ module Zip
|
|
47
66
|
:validate_entry_sizes
|
48
67
|
|
49
68
|
def reset!
|
69
|
+
warn BANNER.join("\n") unless BANNER.empty?
|
70
|
+
|
50
71
|
@_ran_once = false
|
51
72
|
@unicode_names = false
|
52
73
|
@on_exists_proc = false
|
data/lib/zip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyzip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Simonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -146,9 +146,9 @@ licenses:
|
|
146
146
|
- BSD 2-Clause
|
147
147
|
metadata:
|
148
148
|
bug_tracker_uri: https://github.com/rubyzip/rubyzip/issues
|
149
|
-
changelog_uri: https://github.com/rubyzip/rubyzip/blob/v2.3.
|
150
|
-
documentation_uri: https://www.rubydoc.info/gems/rubyzip/2.3.
|
151
|
-
source_code_uri: https://github.com/rubyzip/rubyzip/tree/v2.3.
|
149
|
+
changelog_uri: https://github.com/rubyzip/rubyzip/blob/v2.3.1/Changelog.md
|
150
|
+
documentation_uri: https://www.rubydoc.info/gems/rubyzip/2.3.1
|
151
|
+
source_code_uri: https://github.com/rubyzip/rubyzip/tree/v2.3.1
|
152
152
|
wiki_uri: https://github.com/rubyzip/rubyzip/wiki
|
153
153
|
post_install_message:
|
154
154
|
rdoc_options: []
|
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
168
|
+
rubygems_version: 3.1.4
|
169
169
|
signing_key:
|
170
170
|
specification_version: 4
|
171
171
|
summary: rubyzip is a ruby module for reading and writing zip files
|