wtails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Wtails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -27,7 +27,7 @@ module Wtails
27
27
  @logs.shift if @logs.size > LOG_SIZE
28
28
  end
29
29
 
30
- opts = {:host => "127.0.0.1", :port => port}
30
+ opts = {:host => "0.0.0.0", :port => port}
31
31
  s = ::WebSocket::EventMachine::Server.start(opts) do |socket|
32
32
  socket.onopen(&onopen(socket))
33
33
  socket.onmessage(&onmessage)
data/public/js/wtails.js CHANGED
@@ -3,7 +3,6 @@ var Wtails = {
3
3
  var self = this;
4
4
  jQuery(function($) {
5
5
  var url = 'ws://' + host + ':' + port;
6
- console.log(url);
7
6
  var socket = new (WebSocket || MozWebSocket)(url);
8
7
  var context = { port: port };
9
8
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wtails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Naoyuki HIRAYAMA