ruby-xz 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.rdoc +8 -2
- data/lib/xz.rb +9 -11
- data/lib/xz/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: efdc22da09c7e44e2c6d20b307e103f74975f430
|
4
|
+
data.tar.gz: 5c6bc972a178bd963e8f932fe7c13f7dc7b3e03e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c9e49f86d2b1fd3c7174b45580b5567b34ac644e3b59733c1dafe758d6d4066f253662e16d0313ef7fb55332efb394eef15264102338ca4edb684f3e8aef61f
|
7
|
+
data.tar.gz: cef131976e91ece8b49a152d882271524bd3869931b45b75d1ce04ad8ca6829c3b82f77873a459e984ea1dcd59d2b135ba40515a5180f811c3f9573a724c2953
|
data/HISTORY.rdoc
CHANGED
@@ -1,8 +1,14 @@
|
|
1
1
|
= Version history
|
2
2
|
|
3
|
-
== 0.2.
|
3
|
+
== 0.2.3 (2015-12-29)
|
4
4
|
|
5
|
-
* *
|
5
|
+
* *Fix* documentation of XZ module (a :nodoc: was causing havoc
|
6
|
+
in the XZ module so it appeared to have no methods).
|
7
|
+
* No other changes this release.
|
8
|
+
|
9
|
+
== 0.2.2 (2015-12-27)
|
10
|
+
|
11
|
+
* *Add* XZ.disable_deprecation_notices
|
6
12
|
* *Deprecate* use of XZ::StreamReader.open with an IO argument
|
7
13
|
* *Deprecate* use of XZ::StreamReader.new with a filename argument
|
8
14
|
* *Deprecate* use of XZ::StreamWriter.open with an IO argument
|
data/lib/xz.rb
CHANGED
@@ -48,17 +48,6 @@ module XZ
|
|
48
48
|
|
49
49
|
class << self
|
50
50
|
|
51
|
-
# :nodoc:
|
52
|
-
#
|
53
|
-
# Output a deprecation notice.
|
54
|
-
def deprecate(msg)
|
55
|
-
@disable_deprecation_notices ||= false
|
56
|
-
|
57
|
-
unless @disable_deprecation_notices
|
58
|
-
$stderr.puts("DEPRECATION NOTICE: #{msg}\n#{caller.drop(1).join("\n\t")}")
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
51
|
# Force ruby-xz to be silent about deprecations. Using this is
|
63
52
|
# discouraged so that you are aware of upcoming changes to the
|
64
53
|
# API. However, if your standard error stream is closed,
|
@@ -69,6 +58,15 @@ module XZ
|
|
69
58
|
@disable_deprecation_notices = bool
|
70
59
|
end
|
71
60
|
|
61
|
+
# Output a deprecation notice.
|
62
|
+
def deprecate(msg) # :nodoc:
|
63
|
+
@disable_deprecation_notices ||= false
|
64
|
+
|
65
|
+
unless @disable_deprecation_notices
|
66
|
+
$stderr.puts("DEPRECATION NOTICE: #{msg}\n#{caller.drop(1).join("\n\t")}")
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
72
70
|
# call-seq:
|
73
71
|
# decompress_stream(io [, memory_limit [, flags ] ] ) → a_string
|
74
72
|
# decompress_stream(io [, memory_limit [, flags ] ] ){|chunk| ... } → an_integer
|
data/lib/xz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-xz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marvin Gülker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|