noda 0.0.5 → 0.0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.5.1
data/bin/noda_job_server CHANGED
@@ -18,7 +18,7 @@ options = {
18
18
  :monitor => true
19
19
  }
20
20
  require "socket"
21
- ip= IPSocket::getaddress(Socket::gethostname)
21
+ ip==TCPSocket.gethostbyname(Socket::gethostname).last
22
22
  STDOUT.puts " job_monitor at http://#{ip}:10080"
23
23
  STDOUT.puts " job_server at druby://#{ip}:10001"
24
24
  Daemons.run_proc("job_server",options){
data/bin/noda_job_worker CHANGED
@@ -18,7 +18,7 @@ options = {
18
18
  :monitor => true
19
19
  }
20
20
  require "socket"
21
- ip= IPSocket::getaddress(Socket::gethostname)
21
+ ip==TCPSocket.gethostbyname(Socket::gethostname).last
22
22
  STDOUT.puts " connect to job_server at druby://#{ip}:10001"
23
23
  Daemons.call(options){
24
24
  s=Noda::JobWorker.new("#{ip}", "10001")
data/noda.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{noda}
8
- s.version = "0.0.5"
8
+ s.version = "0.0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["takuya"]
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noda
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 89
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
9
  - 5
10
- version: 0.0.5
10
+ - 1
11
+ version: 0.0.5.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - takuya