rios 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/rios/proxy.rb +3 -0
  3. data/rios.gemspec +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.3.0
data/lib/rios/proxy.rb CHANGED
@@ -37,6 +37,7 @@ module Rios
37
37
  @pty_lock.synchronize {
38
38
  terminal.master.syswrite(string)
39
39
  }
40
+ nil
40
41
  end
41
42
 
42
43
  ##
@@ -45,6 +46,7 @@ module Rios
45
46
  @pty_lock.synchronize {
46
47
  $stdout.syswrite(string)
47
48
  }
49
+ nil
48
50
  end
49
51
 
50
52
  ##
@@ -137,6 +139,7 @@ module Rios
137
139
  if block
138
140
  block.call
139
141
  elsif @command.class == Array
142
+ puts "execute #{@command}"
140
143
  exec(*@command)
141
144
  else
142
145
  exec(@command)
data/rios.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rios}
8
- s.version = "0.2.0"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mooz"]
12
- s.date = %q{2011-07-16}
12
+ s.date = %q{2011-07-17}
13
13
  s.default_executable = %q{script.rb}
14
14
  s.description = %q{Rios is a proxy framework which works as a proxy
15
15
  for command line applications and allows developer to hook input/output
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rios
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - mooz
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-16 00:00:00 +09:00
13
+ date: 2011-07-17 00:00:00 +09:00
14
14
  default_executable: script.rb
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -109,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- hash: -339107533
112
+ hash: -557920241
113
113
  segments:
114
114
  - 0
115
115
  version: "0"