rubyzip 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zip.rb +0 -21
  3. data/lib/zip/version.rb +1 -1
  4. metadata +22 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e91e4188ec03ce5ae7377b7eada4513ee75c6e0753d4f5ea97e0695fbf28a8f4
4
- data.tar.gz: '098d3b2c4456e90a754b7f227022148031552c9f3537a7992c51b5ed09738ac9'
3
+ metadata.gz: 35bd078119c42cd2250fadd127a0feae3299184b0bf90804c3ff0bc28d1c427f
4
+ data.tar.gz: 98e034b50a428ff970f25b28348993d938a88c5d5c93506561761f260062c059
5
5
  SHA512:
6
- metadata.gz: 8c1b2ddc7bcab51c91c36a567bf74fc24333984cf4489f5a41220b8589ea48c8b8a3dcbc2084cdd07d576f66250d956c4bcdf33096e82ffd8a8c8e163615162f
7
- data.tar.gz: a53a5f50235c9b8d093f8360c23e853a69acb44a7642ac8aecc657ec53bcb0d0d888969cb17ba4d45c047749df3f21ea97688e0e9a1d6d7d7117eafcde5ad3d6
6
+ metadata.gz: 421a8884fbfe6f720e2e0da35f34e4208b96f83529faf5cba03501aa2693d95d51b9c19e04e4567801de1822120a0e14faf1c4d0991a164b8f0d011eaa6c0f7b
7
+ data.tar.gz: 59f29c6b49a14c777605224b351d8d14f7fdfe88a2ffc75a5f2120f51152831ed9afa04d8daf1f971bad982c3bcdd86e17d5616c8c9d57ddff7509b7f59e58b1
data/lib/zip.rb CHANGED
@@ -34,25 +34,6 @@ 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
-
56
37
  extend self
57
38
  attr_accessor :unicode_names,
58
39
  :on_exists_proc,
@@ -66,8 +47,6 @@ module Zip
66
47
  :validate_entry_sizes
67
48
 
68
49
  def reset!
69
- warn BANNER.join("\n") unless BANNER.empty?
70
-
71
50
  @_ran_once = false
72
51
  @unicode_names = false
73
52
  @on_exists_proc = false
data/lib/zip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Zip
2
- VERSION = '2.3.1'
2
+ VERSION = '2.3.2'
3
3
  end
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.1
4
+ version: 2.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Simonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-03 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -146,11 +146,27 @@ 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.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
149
+ changelog_uri: https://github.com/rubyzip/rubyzip/blob/v2.3.2/Changelog.md
150
+ documentation_uri: https://www.rubydoc.info/gems/rubyzip/2.3.2
151
+ source_code_uri: https://github.com/rubyzip/rubyzip/tree/v2.3.2
152
152
  wiki_uri: https://github.com/rubyzip/rubyzip/wiki
153
- post_install_message:
153
+ post_install_message: |
154
+ RubyZip 3.0 is coming!
155
+ **********************
156
+
157
+ The public API of some Rubyzip classes has been modernized to use named
158
+ parameters for optional arguments. Please check your usage of the
159
+ following classes:
160
+ * `Zip::File`
161
+ * `Zip::Entry`
162
+ * `Zip::InputStream`
163
+ * `Zip::OutputStream`
164
+
165
+ Please ensure that your Gemfiles and .gemspecs are suitably restrictive
166
+ to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
167
+ See https://github.com/rubyzip/rubyzip for details. The Changelog also
168
+ lists other enhancements and bugfixes that have been implemented since
169
+ version 2.3.0.
154
170
  rdoc_options: []
155
171
  require_paths:
156
172
  - lib