sigdump 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ChangeLog +4 -0
  2. data/lib/sigdump.rb +2 -2
  3. metadata +2 -2
data/ChangeLog CHANGED
@@ -1,4 +1,8 @@
1
1
 
2
+ 2013-04-27 version 0.2.2:
3
+
4
+ * Fixed SIGDUMP_PATH=- handling (by @yu74n / Yuta Hongo)
5
+
2
6
  2013-04-27 version 0.2.1:
3
7
 
4
8
  * Fixed setup.rb
@@ -1,5 +1,5 @@
1
1
  module Sigdump
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
 
4
4
  def self.setup(signal=ENV['SIGDUMP_SIGNAL'] || 'SIGCONT', path=ENV['SIGDUMP_PATH'])
5
5
  Kernel.trap(signal) do
@@ -108,7 +108,7 @@ module Sigdump
108
108
  when IO
109
109
  yield path
110
110
  when "-"
111
- yield STDIN
111
+ yield STDOUT
112
112
  when "+"
113
113
  yield STDERR
114
114
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigdump
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-27 00:00:00.000000000 Z
12
+ date: 2013-04-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake