websocket-rails 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,11 @@
1
1
  # WebsocketRails Change Log
2
2
 
3
- ## Version 0.6.0
3
+ ## Version 0.6.2
4
+
5
+ September 8 2013
6
+
7
+ * Updated Dispatcher#broadcast_message to work with the new
8
+ ConnectionManager connections hash. - Thanks to @Frustrate @moaa
4
9
 
5
10
  ## Version 0.6.1
6
11
 
@@ -37,7 +37,7 @@ module WebsocketRails
37
37
  end
38
38
 
39
39
  def broadcast_message(event)
40
- connection_manager.connections.map do |connection|
40
+ connection_manager.connections.map do |_, connection|
41
41
  connection.trigger event
42
42
  end
43
43
  end
@@ -1,3 +1,3 @@
1
1
  module WebsocketRails
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -1,158 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
- Connecting to database specified by database.yml
4
- Connecting to database specified by database.yml
5
- Connecting to database specified by database.yml
6
- Connecting to database specified by database.yml
7
- Connecting to database specified by database.yml
8
- Connecting to database specified by database.yml
9
- Connecting to database specified by database.yml
10
- Connecting to database specified by database.yml
11
- Connecting to database specified by database.yml
12
- Connecting to database specified by database.yml
13
- Connecting to database specified by database.yml
14
- Connecting to database specified by database.yml
15
- Connecting to database specified by database.yml
16
- Connecting to database specified by database.yml
17
- Connecting to database specified by database.yml
18
- Connecting to database specified by database.yml
19
- Connecting to database specified by database.yml
20
- Connecting to database specified by database.yml
21
- Connecting to database specified by database.yml
22
- Connecting to database specified by database.yml
23
- Connecting to database specified by database.yml
24
- Connecting to database specified by database.yml
25
- Connecting to database specified by database.yml
26
- Connecting to database specified by database.yml
27
- Connecting to database specified by database.yml
28
- Connecting to database specified by database.yml
29
- Connecting to database specified by database.yml
30
- Connecting to database specified by database.yml
31
- Connecting to database specified by database.yml
32
- Connecting to database specified by database.yml
33
- Connecting to database specified by database.yml
34
- Connecting to database specified by database.yml
35
- Connecting to database specified by database.yml
36
- Connecting to database specified by database.yml
37
- Connecting to database specified by database.yml
38
- Connecting to database specified by database.yml
39
- Connecting to database specified by database.yml
40
- Connecting to database specified by database.yml
41
- Connecting to database specified by database.yml
42
- Connecting to database specified by database.yml
43
- Connecting to database specified by database.yml
44
- Connecting to database specified by database.yml
45
- Connecting to database specified by database.yml
46
- Connecting to database specified by database.yml
47
- Connecting to database specified by database.yml
48
- Connecting to database specified by database.yml
49
- Connecting to database specified by database.yml
50
- Connecting to database specified by database.yml
51
- Connecting to database specified by database.yml
52
- Connecting to database specified by database.yml
53
- Connecting to database specified by database.yml
54
- Connecting to database specified by database.yml
55
- Connecting to database specified by database.yml
56
- Connecting to database specified by database.yml
57
- Connecting to database specified by database.yml
58
- Connecting to database specified by database.yml
59
- Connecting to database specified by database.yml
60
- Connecting to database specified by database.yml
61
- Connecting to database specified by database.yml
62
- Connecting to database specified by database.yml
63
- Connecting to database specified by database.yml
64
- Connecting to database specified by database.yml
65
- Connecting to database specified by database.yml
66
- Connecting to database specified by database.yml
67
- Connecting to database specified by database.yml
68
- Connecting to database specified by database.yml
69
- Connecting to database specified by database.yml
70
- Connecting to database specified by database.yml
71
- Connecting to database specified by database.yml
72
- Connecting to database specified by database.yml
73
- Connecting to database specified by database.yml
74
- Connecting to database specified by database.yml
75
- Connecting to database specified by database.yml
76
- Connecting to database specified by database.yml
77
- Connecting to database specified by database.yml
78
- Connecting to database specified by database.yml
79
- Connecting to database specified by database.yml
80
- Connecting to database specified by database.yml
81
- Connecting to database specified by database.yml
82
- Connecting to database specified by database.yml
83
- Connecting to database specified by database.yml
84
- Connecting to database specified by database.yml
85
- Connecting to database specified by database.yml
86
- Connecting to database specified by database.yml
87
- Connecting to database specified by database.yml
88
- Connecting to database specified by database.yml
89
- Connecting to database specified by database.yml
90
- Connecting to database specified by database.yml
91
- Connecting to database specified by database.yml
92
- Connecting to database specified by database.yml
93
- Connecting to database specified by database.yml
94
- Connecting to database specified by database.yml
95
- Connecting to database specified by database.yml
96
- Connecting to database specified by database.yml
97
- Connecting to database specified by database.yml
98
- Connecting to database specified by database.yml
99
- Connecting to database specified by database.yml
100
- Connecting to database specified by database.yml
101
- Connecting to database specified by database.yml
102
- Connecting to database specified by database.yml
103
- Connecting to database specified by database.yml
104
- Connecting to database specified by database.yml
105
- Connecting to database specified by database.yml
106
- Connecting to database specified by database.yml
107
- Connecting to database specified by database.yml
108
- Connecting to database specified by database.yml
109
- Connecting to database specified by database.yml
110
- Connecting to database specified by database.yml
111
- Connecting to database specified by database.yml
112
- Connecting to database specified by database.yml
113
- Connecting to database specified by database.yml
114
- Connecting to database specified by database.yml
115
- Connecting to database specified by database.yml
116
- Connecting to database specified by database.yml
117
- Connecting to database specified by database.yml
118
- Connecting to database specified by database.yml
119
- Connecting to database specified by database.yml
120
- Connecting to database specified by database.yml
121
- Connecting to database specified by database.yml
122
- Connecting to database specified by database.yml
123
- Connecting to database specified by database.yml
124
- Connecting to database specified by database.yml
125
- Connecting to database specified by database.yml
126
- Connecting to database specified by database.yml
127
- Connecting to database specified by database.yml
128
- Connecting to database specified by database.yml
129
- Connecting to database specified by database.yml
130
- Connecting to database specified by database.yml
131
- Connecting to database specified by database.yml
132
- Connecting to database specified by database.yml
133
- Connecting to database specified by database.yml
134
- Connecting to database specified by database.yml
135
- Connecting to database specified by database.yml
136
- Connecting to database specified by database.yml
137
- Connecting to database specified by database.yml
138
- Connecting to database specified by database.yml
139
- Connecting to database specified by database.yml
140
- Connecting to database specified by database.yml
141
- Connecting to database specified by database.yml
142
- Connecting to database specified by database.yml
143
- Connecting to database specified by database.yml
144
- Connecting to database specified by database.yml
145
- Connecting to database specified by database.yml
146
- Connecting to database specified by database.yml
147
- Connecting to database specified by database.yml
148
- Connecting to database specified by database.yml
149
- Connecting to database specified by database.yml
150
- Connecting to database specified by database.yml
151
- Connecting to database specified by database.yml
152
- Connecting to database specified by database.yml
153
- Connecting to database specified by database.yml
154
- Connecting to database specified by database.yml
155
- Connecting to database specified by database.yml
156
- Connecting to database specified by database.yml
157
- Connecting to database specified by database.yml
158
- Connecting to database specified by database.yml
@@ -110,7 +110,7 @@ module WebsocketRails
110
110
 
111
111
  describe "#broadcast_message" do
112
112
  before do
113
- connection_manager.stub(:connections).and_return([connection])
113
+ connection_manager.stub(:connections).and_return({"connection_id" => connection})
114
114
  @event = Event.new_from_json( encoded_message, connection )
115
115
  end
116
116
 
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.1
4
+ version: 0.6.2
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-06 00:00:00.000000000 Z
14
+ date: 2013-09-09 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.1!
312
+ post_install_message: Welcome to WebsocketRails v0.6.2!
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: -1481679817274698257
324
+ hash: -822058374610225796
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: -1481679817274698257
333
+ hash: -822058374610225796
334
334
  requirements: []
335
335
  rubyforge_project: websocket-rails
336
336
  rubygems_version: 1.8.25