websocket 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,3 @@ rvm:
10
10
  - rbx-18mode
11
11
  - rbx-19mode
12
12
  - ree
13
- matrix:
14
- allow_failures:
15
- - rvm: 2.0.0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.7
4
+
5
+ - fix requiring url under Ruby 1.9.1
6
+ - support for Ruby 2.0.0
7
+
3
8
  ## 1.0.6
4
9
 
5
10
  - support text frame types instead of only symbol ones
data/README.md CHANGED
@@ -104,6 +104,7 @@ frame.next # "world!""
104
104
 
105
105
  - [WebSocket-EventMachine-Client](https://github.com/imanel/websocket-eventmachine-client) - client based on EventMachine
106
106
  - [WebSocket-EventMachine-Server](https://github.com/imanel/websocket-eventmachine-server) - server based on EventMachine (drop-in replacement for EM-WebSocket)
107
+ - [Rubame](https://github.com/saward/Rubame) - websocket game server
107
108
 
108
109
  ## Native extension
109
110
 
@@ -1,4 +1,4 @@
1
- require 'URI' unless defined?(URI)
1
+ require 'uri'
2
2
 
3
3
  module WebSocket
4
4
  module Handshake
@@ -1,3 +1,3 @@
1
1
  module WebSocket
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming frame draft 03' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming frame draft 04' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming frame draft 05' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming frame draft 07' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming frame draft 75' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Incoming common frame' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Masking frame draft 07' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing frame draft 03' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing frame draft 04' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing frame draft 05' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing frame draft 07' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing frame draft 75' do
@@ -1,3 +1,4 @@
1
+ # encoding: binary
1
2
  require 'spec_helper'
2
3
 
3
4
  describe 'Outgoing common frame' do
metadata CHANGED
@@ -1,39 +1,47 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: websocket
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 25
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 7
10
+ version: 1.0.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Bernard Potocki
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-01-27 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rspec
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '2.11'
22
- type: :development
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
25
+ requirements:
27
26
  - - ~>
28
- - !ruby/object:Gem::Version
29
- version: '2.11'
27
+ - !ruby/object:Gem::Version
28
+ hash: 21
29
+ segments:
30
+ - 2
31
+ - 11
32
+ version: "2.11"
33
+ type: :development
34
+ version_requirements: *id001
30
35
  description: Universal Ruby library to handle WebSocket protocol
31
- email:
36
+ email:
32
37
  - bernard.potocki@imanel.org
33
38
  executables: []
39
+
34
40
  extensions: []
41
+
35
42
  extra_rdoc_files: []
36
- files:
43
+
44
+ files:
37
45
  - .gitignore
38
46
  - .travis.yml
39
47
  - CHANGELOG.md
@@ -102,29 +110,38 @@ files:
102
110
  - websocket.gemspec
103
111
  homepage: http://github.com/imanel/websocket-ruby
104
112
  licenses: []
113
+
105
114
  post_install_message:
106
115
  rdoc_options: []
107
- require_paths:
116
+
117
+ require_paths:
108
118
  - lib
109
- required_ruby_version: !ruby/object:Gem::Requirement
119
+ required_ruby_version: !ruby/object:Gem::Requirement
110
120
  none: false
111
- requirements:
112
- - - ! '>='
113
- - !ruby/object:Gem::Version
114
- version: '0'
115
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ hash: 3
125
+ segments:
126
+ - 0
127
+ version: "0"
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
116
129
  none: false
117
- requirements:
118
- - - ! '>='
119
- - !ruby/object:Gem::Version
120
- version: '0'
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ hash: 3
134
+ segments:
135
+ - 0
136
+ version: "0"
121
137
  requirements: []
138
+
122
139
  rubyforge_project:
123
140
  rubygems_version: 1.8.24
124
141
  signing_key:
125
142
  specification_version: 3
126
143
  summary: Universal Ruby library to handle WebSocket protocol
127
- test_files:
144
+ test_files:
128
145
  - spec/frame/incoming_03_spec.rb
129
146
  - spec/frame/incoming_04_spec.rb
130
147
  - spec/frame/incoming_05_spec.rb
@@ -151,3 +168,4 @@ test_files:
151
168
  - spec/support/handshake_requests.rb
152
169
  - spec/support/incoming_frames.rb
153
170
  - spec/support/outgoing_frames.rb
171
+ has_rdoc: