faye-websocket 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of faye-websocket might be problematic. Click here for more details.

@@ -1,3 +1,8 @@
1
+ === 0.4.4 / 2012-03-16
2
+
3
+ * Fix installation on JRuby with a platform-specific gem
4
+
5
+
1
6
  === 0.4.3 / 2012-03-12
2
7
 
3
8
  * Make extconf.rb a no-op on JRuby
@@ -1,6 +1,5 @@
1
- return if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
2
-
3
1
  require 'mkmf'
4
2
  extension_name = 'faye_websocket_mask'
5
3
  dir_config(extension_name)
6
4
  create_makefile(extension_name)
5
+
@@ -91,6 +91,7 @@ module Faye
91
91
  end
92
92
 
93
93
  def self.websocket?(env)
94
+ env['REQUEST_METHOD'] == 'GET' and
94
95
  env['HTTP_CONNECTION'] and
95
96
  env['HTTP_CONNECTION'].split(/\s*,\s*/).include?('Upgrade') and
96
97
  ['WebSocket', 'websocket'].include?(env['HTTP_UPGRADE'])
metadata CHANGED
@@ -1,137 +1,153 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: faye-websocket
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.4
4
5
  prerelease:
5
- version: 0.4.3
6
6
  platform: ruby
7
- authors:
8
- - James Coglan
7
+ authors:
8
+ - James Coglan
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-03-12 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: eventmachine
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 0.12.0
24
- type: :runtime
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: rack
28
- prerelease: false
29
- requirement: &id002 !ruby/object:Gem::Requirement
30
- none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
35
- type: :development
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: rake-compiler
39
- prerelease: false
40
- requirement: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- version: "0"
46
- type: :development
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: rspec
50
- prerelease: false
51
- requirement: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 2.8.0
57
- type: :development
58
- version_requirements: *id004
12
+ date: 2012-03-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: eventmachine
16
+ requirement: &22269800 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.12.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *22269800
25
+ - !ruby/object:Gem::Dependency
26
+ name: rack
27
+ requirement: &22269120 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *22269120
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake-compiler
38
+ requirement: &22284720 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *22284720
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &22284080 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.8.0
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *22284080
58
+ - !ruby/object:Gem::Dependency
59
+ name: rainbows
60
+ requirement: &22283380 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *22283380
69
+ - !ruby/object:Gem::Dependency
70
+ name: thin
71
+ requirement: &22282920 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: 1.2.0
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *22282920
59
80
  description:
60
81
  email: jcoglan@gmail.com
61
82
  executables: []
62
-
63
- extensions:
64
- - ext/faye_websocket_mask/extconf.rb
65
- extra_rdoc_files:
66
- - README.rdoc
67
- files:
68
- - README.rdoc
69
- - CHANGELOG.txt
70
- - ext/faye_websocket_mask/faye_websocket_mask.c
71
- - ext/faye_websocket_mask/FayeWebsocketMaskService.java
72
- - ext/faye_websocket_mask/extconf.rb
73
- - lib/faye/websocket.rb
74
- - lib/faye/eventsource.rb
75
- - lib/faye/websocket/draft75_parser.rb
76
- - lib/faye/websocket/client.rb
77
- - lib/faye/websocket/hybi_parser.rb
78
- - lib/faye/websocket/draft76_parser.rb
79
- - lib/faye/websocket/utf8_match.rb
80
- - lib/faye/websocket/api.rb
81
- - lib/faye/websocket/adapter.rb
82
- - lib/faye/websocket/hybi_parser/handshake.rb
83
- - lib/faye/websocket/hybi_parser/stream_reader.rb
84
- - lib/faye/websocket/api/event_target.rb
85
- - lib/faye/websocket/api/event.rb
86
- - lib/faye/adapters/thin.rb
87
- - lib/faye/adapters/rainbows.rb
88
- - lib/faye/adapters/goliath.rb
89
- - lib/faye/adapters/rainbows_client.rb
90
- - lib/faye_websocket_mask.jar
91
- - examples/app.rb
92
- - examples/client.rb
93
- - examples/haproxy.conf
94
- - examples/sse.html
95
- - examples/config.ru
96
- - examples/server.rb
97
- - examples/ws.html
98
- - examples/autobahn_client.rb
99
- - spec/server.key
100
- - spec/server.crt
101
- - spec/rainbows.conf
102
- - spec/spec_helper.rb
103
- - spec/faye/websocket/draft75_parser_spec.rb
104
- - spec/faye/websocket/client_spec.rb
105
- - spec/faye/websocket/draft75_parser_examples.rb
106
- - spec/faye/websocket/draft76_parser_spec.rb
107
- - spec/faye/websocket/hybi_parser_spec.rb
83
+ extensions:
84
+ - ext/faye_websocket_mask/extconf.rb
85
+ extra_rdoc_files:
86
+ - README.rdoc
87
+ files:
88
+ - README.rdoc
89
+ - CHANGELOG.txt
90
+ - ext/faye_websocket_mask/faye_websocket_mask.c
91
+ - ext/faye_websocket_mask/FayeWebsocketMaskService.java
92
+ - ext/faye_websocket_mask/extconf.rb
93
+ - lib/faye/websocket/draft75_parser.rb
94
+ - lib/faye/websocket/client.rb
95
+ - lib/faye/websocket/hybi_parser.rb
96
+ - lib/faye/websocket/draft76_parser.rb
97
+ - lib/faye/websocket/utf8_match.rb
98
+ - lib/faye/websocket/api.rb
99
+ - lib/faye/websocket/hybi_parser/handshake.rb
100
+ - lib/faye/websocket/hybi_parser/stream_reader.rb
101
+ - lib/faye/websocket/api/event_target.rb
102
+ - lib/faye/websocket/api/event.rb
103
+ - lib/faye/websocket/adapter.rb
104
+ - lib/faye/websocket.rb
105
+ - lib/faye/eventsource.rb
106
+ - lib/faye/adapters/thin.rb
107
+ - lib/faye/adapters/rainbows.rb
108
+ - lib/faye/adapters/goliath.rb
109
+ - lib/faye/adapters/rainbows_client.rb
110
+ - examples/app.rb
111
+ - examples/client.rb
112
+ - examples/haproxy.conf
113
+ - examples/sse.html
114
+ - examples/config.ru
115
+ - examples/server.rb
116
+ - examples/ws.html
117
+ - examples/autobahn_client.rb
118
+ - spec/faye/websocket/draft75_parser_spec.rb
119
+ - spec/faye/websocket/client_spec.rb
120
+ - spec/faye/websocket/draft75_parser_examples.rb
121
+ - spec/faye/websocket/draft76_parser_spec.rb
122
+ - spec/faye/websocket/hybi_parser_spec.rb
123
+ - spec/server.key
124
+ - spec/server.crt
125
+ - spec/rainbows.conf
126
+ - spec/spec_helper.rb
108
127
  homepage: http://github.com/faye/faye-websocket-ruby
109
128
  licenses: []
110
-
111
129
  post_install_message:
112
- rdoc_options:
113
- - --main
114
- - README.rdoc
115
- require_paths:
116
- - lib
117
- required_ruby_version: !ruby/object:Gem::Requirement
130
+ rdoc_options:
131
+ - --main
132
+ - README.rdoc
133
+ require_paths:
134
+ - lib
135
+ required_ruby_version: !ruby/object:Gem::Requirement
118
136
  none: false
119
- requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: "0"
123
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
142
  none: false
125
- requirements:
126
- - - ">="
127
- - !ruby/object:Gem::Version
128
- version: "0"
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
129
147
  requirements: []
130
-
131
148
  rubyforge_project:
132
- rubygems_version: 1.8.15
149
+ rubygems_version: 1.8.17
133
150
  signing_key:
134
151
  specification_version: 3
135
152
  summary: Standards-compliant WebSocket server and client
136
153
  test_files: []
137
-
Binary file