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 CHANGED
@@ -1,3 +1,8 @@
1
+ 2012-03-14 Kurt A. Stephens <ks.github@kurtstephens.com>
2
+
3
+ * v1.2.8: New Version: Additional functionality.
4
+ * Support #conduit_host.
5
+
1
6
  2012-03-14 Kurt A. Stephens <ks.github@kurtstephens.com>
2
7
 
3
8
  * v1.2.7: New Version: Fixed for 1.9.2-p320.
@@ -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]
@@ -1,3 +1,3 @@
1
1
  module ASIR
2
- VERSION = "1.2.7"
2
+ VERSION = "1.2.8"
3
3
  end
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.7
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-14 00:00:00.000000000 Z
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: 1685953318029082194
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: 1685953318029082194
282
+ hash: 2378832726393842164
283
283
  requirements: []
284
284
  rubyforge_project:
285
285
  rubygems_version: 1.8.25