WEBSocket 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ *-debug.rb
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  Establish a websocket communication using Ruby standard sockets or Celluloid::IO sockets if required.
14
14
  EOS
15
15
  gem.summary = %q{Establish a websocket communication}
16
- gem.homepage = "https://github.com/Ezveus/ruby-websocket"
16
+ gem.homepage = "https://github.com/Ezveus/WEBSocket"
17
17
 
18
18
  gem.files = `git ls-files`.split($/)
19
19
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -1,3 +1,5 @@
1
+ require "forwardable"
2
+
1
3
  require "websocket"
2
4
  require "uri"
3
5
 
@@ -94,7 +94,7 @@ module WEBSocket
94
94
  end
95
95
 
96
96
  def initialize hostname, port
97
- @server = Celluloid::IO::TCPServer.new hostname, port
97
+ @server = TCPServer.new hostname, port
98
98
  end
99
99
 
100
100
  def accept
@@ -1,4 +1,4 @@
1
1
  module WEBSocket
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  DATE = Time.now.to_s.split[0]
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: WEBSocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
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-01-11 00:00:00.000000000 Z
12
+ date: 2013-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: websocket
@@ -57,7 +57,7 @@ files:
57
57
  - lib/WEBSocket/server.rb
58
58
  - lib/WEBSocket/socket.rb
59
59
  - lib/WEBSocket/version.rb
60
- homepage: https://github.com/Ezveus/ruby-websocket
60
+ homepage: https://github.com/Ezveus/WEBSocket
61
61
  licenses: []
62
62
  post_install_message:
63
63
  rdoc_options: []
@@ -82,4 +82,3 @@ signing_key:
82
82
  specification_version: 3
83
83
  summary: Establish a websocket communication
84
84
  test_files: []
85
- has_rdoc: