Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set default host properly in client.

  • Loading branch information...
commit 9cecbecaebb4cb00b760b0eacbf4a32ff6b6e3d7 1 parent a29a511
Corey Ehmke authored
Showing with 2 additions and 9 deletions.
  1. +0 −7 Gemfile
  2. +1 −1  lib/synack/client.rb
  3. +1 −1  lib/synack/server.rb
View
7 Gemfile
@@ -1,12 +1,5 @@
source "http://rubygems.org"
-# Add dependencies required to use your gem here.
-# Example:
-# gem "activesupport", ">= 2.3.5"
-gem "getopt"
-
-# Add dependencies to develop your gem here.
-# Include everything needed to run rake, tests, features, etc.
group :development do
gem "bundler"
gem "jeweler"
View
2  lib/synack/client.rb
@@ -6,7 +6,7 @@ module Synack
class Client
DEFAULT_OPTIONS = {
- host: '0.0.0.0',
+ host: 'localhost',
port: 11113
}
View
2  lib/synack/server.rb
@@ -19,7 +19,7 @@ def self.start(options={})
@host = options[:host]
@port = options[:port].to_i
@@server = Synack::Server.new
- puts "Synack Server Running. Fire at will."
+ puts "Synack server running. Fire at will."
::DRb.start_service("druby://#{@host}:#{@port}", @@server)
::DRb.thread.join
end
Please sign in to comment.
Something went wrong with that request. Please try again.