asir 1.2.7 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +5 -0
- data/lib/asir/transport/conduit.rb +6 -2
- data/lib/asir/version.rb +1 -1
- metadata +4 -4
data/ChangeLog
CHANGED
@@ -4,7 +4,7 @@ module Asir
|
|
4
4
|
class Transport
|
5
5
|
# Conduit service support.
|
6
6
|
module Conduit
|
7
|
-
attr_accessor :conduit_options, :conduit_pid
|
7
|
+
attr_accessor :conduit_options, :conduit_pid, :conduit_host
|
8
8
|
|
9
9
|
def start_conduit! options = nil
|
10
10
|
opts = @conduit_options ||= {}
|
@@ -36,7 +36,11 @@ module Asir
|
|
36
36
|
[ STDIN, STDOUT, STDERR, $stdin, $stdout, $stderr ].each do | io |
|
37
37
|
io.reopen(n) rescue nil
|
38
38
|
end
|
39
|
-
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def conduit_host
|
42
|
+
@conduit_host || (@conduit_options || EMPTY_HASH)[:bind_host] || host
|
43
|
+
end
|
40
44
|
|
41
45
|
def conduit_pid
|
42
46
|
if ! @conduit_pid and pid_file = (@conduit_options || EMPTY_HASH)[:pid_file]
|
data/lib/asir/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
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-03-
|
12
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: uuid
|
@@ -270,7 +270,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
270
270
|
version: '0'
|
271
271
|
segments:
|
272
272
|
- 0
|
273
|
-
hash:
|
273
|
+
hash: 2378832726393842164
|
274
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
275
275
|
none: false
|
276
276
|
requirements:
|
@@ -279,7 +279,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
279
|
version: '0'
|
280
280
|
segments:
|
281
281
|
- 0
|
282
|
-
hash:
|
282
|
+
hash: 2378832726393842164
|
283
283
|
requirements: []
|
284
284
|
rubyforge_project:
|
285
285
|
rubygems_version: 1.8.25
|