websocket-rails 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/lib/websocket-rails.rb +0 -2
- data/lib/websocket_rails/engine.rb +4 -0
- data/lib/websocket_rails/version.rb +1 -1
- metadata +5 -5
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
## Version 0.6.0
|
4
4
|
|
5
|
+
## Version 0.6.1
|
6
|
+
|
7
|
+
September 6 2013
|
8
|
+
|
9
|
+
* Fixed the loading of event routes when launched in the production
|
10
|
+
environment.
|
11
|
+
|
12
|
+
## Version 0.6.0
|
13
|
+
|
5
14
|
September 3 2013
|
6
15
|
|
7
16
|
* Added the UserManager accessible through the `WebsocketRails.users`
|
data/lib/websocket-rails.rb
CHANGED
@@ -49,8 +49,6 @@ require 'websocket_rails/connection_adapters'
|
|
49
49
|
require 'websocket_rails/connection_adapters/http'
|
50
50
|
require 'websocket_rails/connection_adapters/web_socket'
|
51
51
|
|
52
|
-
load "#{Rails.root}/config/events.rb" if File.exists?("#{Rails.root}/config/events.rb")
|
53
|
-
|
54
52
|
# Exceptions
|
55
53
|
class WebsocketRails::InvalidConnectionError < StandardError
|
56
54
|
def rack_response
|
@@ -13,6 +13,10 @@ module WebsocketRails
|
|
13
13
|
paths["config/routes"] << "lib/rails/config/routes.rb"
|
14
14
|
end
|
15
15
|
|
16
|
+
initializer 'websocket_rails.load_event_routes', :before => :preload_frameworks do |app|
|
17
|
+
load "#{Rails.root}/config/events.rb" if File.exists?("#{Rails.root}/config/events.rb")
|
18
|
+
end
|
19
|
+
|
16
20
|
rake_tasks do
|
17
21
|
require 'websocket-rails'
|
18
22
|
load 'rails/tasks/websocket_rails.tasks'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: websocket-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-09-
|
14
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -309,7 +309,7 @@ files:
|
|
309
309
|
homepage: http://danknox.github.com/websocket-rails/
|
310
310
|
licenses:
|
311
311
|
- MIT
|
312
|
-
post_install_message: Welcome to WebsocketRails v0.6.
|
312
|
+
post_install_message: Welcome to WebsocketRails v0.6.1!
|
313
313
|
rdoc_options: []
|
314
314
|
require_paths:
|
315
315
|
- lib
|
@@ -321,7 +321,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
321
321
|
version: '0'
|
322
322
|
segments:
|
323
323
|
- 0
|
324
|
-
hash: -
|
324
|
+
hash: -1481679817274698257
|
325
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
326
326
|
none: false
|
327
327
|
requirements:
|
@@ -330,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
330
330
|
version: '0'
|
331
331
|
segments:
|
332
332
|
- 0
|
333
|
-
hash: -
|
333
|
+
hash: -1481679817274698257
|
334
334
|
requirements: []
|
335
335
|
rubyforge_project: websocket-rails
|
336
336
|
rubygems_version: 1.8.25
|