sse-rails-engine 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +35 -0
  3. data/app/controllers/sse_rails_engine/application_controller.rb +4 -0
  4. data/app/controllers/sse_rails_engine/sse_controller.rb +13 -0
  5. data/config/initializers/sse_rails_engine.rb +2 -0
  6. data/config/routes.rb +3 -0
  7. data/lib/sse-rails-engine.rb +30 -0
  8. data/lib/sse_rails_engine/engine.rb +7 -0
  9. data/lib/sse_rails_engine/manager.rb +68 -0
  10. data/lib/sse_rails_engine/version.rb +3 -0
  11. data/lib/tasks/sse_rails_engine_tasks.rake +4 -0
  12. data/test/controllers/sse_rails_engine/sse_controller_test.rb +23 -0
  13. data/test/dummy/Rakefile +6 -0
  14. data/test/dummy/app/assets/javascripts/application.js +13 -0
  15. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  16. data/test/dummy/app/controllers/application_controller.rb +5 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/bin/bundle +3 -0
  19. data/test/dummy/bin/rails +4 -0
  20. data/test/dummy/bin/rake +4 -0
  21. data/test/dummy/bin/setup +29 -0
  22. data/test/dummy/config.ru +4 -0
  23. data/test/dummy/config/application.rb +29 -0
  24. data/test/dummy/config/boot.rb +5 -0
  25. data/test/dummy/config/environment.rb +5 -0
  26. data/test/dummy/config/environments/development.rb +38 -0
  27. data/test/dummy/config/environments/production.rb +76 -0
  28. data/test/dummy/config/environments/test.rb +42 -0
  29. data/test/dummy/config/initializers/assets.rb +11 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  32. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  33. data/test/dummy/config/initializers/inflections.rb +16 -0
  34. data/test/dummy/config/initializers/mime_types.rb +4 -0
  35. data/test/dummy/config/initializers/session_store.rb +3 -0
  36. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  37. data/test/dummy/config/locales/en.yml +23 -0
  38. data/test/dummy/config/routes.rb +3 -0
  39. data/test/dummy/config/secrets.yml +22 -0
  40. data/test/dummy/log/development.log +0 -0
  41. data/test/dummy/log/test.log +357 -0
  42. data/test/dummy/public/404.html +67 -0
  43. data/test/dummy/public/422.html +67 -0
  44. data/test/dummy/public/500.html +66 -0
  45. data/test/dummy/public/favicon.ico +0 -0
  46. data/test/integration/navigation_test.rb +9 -0
  47. data/test/lib/sse_rails_engine/manager_test.rb +40 -0
  48. data/test/lib/sse_rails_engine_test.rb +50 -0
  49. data/test/test_helper.rb +27 -0
  50. metadata +202 -0
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,9 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount SseRailsEngine::Engine => "/sse"
3
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 69a034a41fe182d1f2069435a55d2091e5a051900ddb2a3f3a60ec6888de45eb8f8b72efbb915bfcdb53b95c4e51dfb9376a01e5c55c8e2faf6736a2b04cdc45
15
+
16
+ test:
17
+ secret_key_base: a83947b55f44a9d1fd792f0db8da939239752f6af89cc76265d2916597ed5f75a28e70ebdd22215ea0e1654e54ccc171010e311a260da9980a12b0ac83f1f8d2
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,357 @@
1
+ ------------------------------
2
+ SseRailsEngineTest: test_truth
3
+ ------------------------------
4
+ ------------------------------
5
+ SseRailsEngineTest: test_truth
6
+ ------------------------------
7
+ -------------------------------------------------
8
+ SseRailsEngine::SseController: test_0001_Connects
9
+ -------------------------------------------------
10
+ -------------------------------------------------
11
+ SseRailsEngine::SseController: test_0001_Connects
12
+ -------------------------------------------------
13
+ ------------------------------
14
+ SseRailsEngineTest: test_truth
15
+ ------------------------------
16
+ -------------------------------------------------
17
+ SseRailsEngine::SseController: test_0001_Connects
18
+ -------------------------------------------------
19
+ ------------------------------
20
+ SseRailsEngineTest: test_truth
21
+ ------------------------------
22
+ ------------------------------
23
+ SseRailsEngineTest: test_truth
24
+ ------------------------------
25
+ -------------------------------------------------
26
+ SseRailsEngine::SseController: test_0001_Connects
27
+ -------------------------------------------------
28
+ ------------------------------
29
+ SseRailsEngineTest: test_truth
30
+ ------------------------------
31
+ -------------------------------------------------
32
+ SseRailsEngine::SseController: test_0001_Connects
33
+ -------------------------------------------------
34
+ Processing by SseRailsEngine::SseController#connect as HTML
35
+ Registering new connection
36
+ Completed 500 Internal Server Error in 1ms
37
+ ----------------------------------------------------------
38
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
39
+ ----------------------------------------------------------
40
+ ------------------------------
41
+ SseRailsEngineTest: test_truth
42
+ ------------------------------
43
+ ----------------------------------------------------------
44
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
45
+ ----------------------------------------------------------
46
+ -------------------------------------------------
47
+ SseRailsEngine::SseController: test_0001_Connects
48
+ -------------------------------------------------
49
+ Processing by SseRailsEngine::SseController#connect as HTML
50
+ Registering new connection
51
+ Completed 500 Internal Server Error in 1ms
52
+ ----------------------------------------------------------
53
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
54
+ ----------------------------------------------------------
55
+ ----------------------------------------------------------
56
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
57
+ ----------------------------------------------------------
58
+ Processing by SseRailsEngine::FoobarController#bar as HTML
59
+ Completed 500 Internal Server Error in 10ms
60
+ ----------------------------------------------------------
61
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
62
+ ----------------------------------------------------------
63
+ Processing by SseRailsEngine::FoobarController#bar as HTML
64
+ Completed 500 Internal Server Error in 9ms
65
+ ----------------------------------------------------------
66
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
67
+ ----------------------------------------------------------
68
+ Processing by SseRailsEngine::FoobarController#bar as HTML
69
+ Completed 500 Internal Server Error in 6ms
70
+ ----------------------------------------------------------
71
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
72
+ ----------------------------------------------------------
73
+ Processing by SseRailsEngine::FoobarController#bar as JSON
74
+ Completed 500 Internal Server Error in 7ms
75
+ ----------------------------------------------------------
76
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
77
+ ----------------------------------------------------------
78
+ Processing by SseRailsEngine::FoobarController#bar as JSON
79
+ Completed 500 Internal Server Error in 7ms
80
+ ----------------------------------------------------------
81
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
82
+ ----------------------------------------------------------
83
+ Processing by SseRailsEngine::FoobarController#bar as HTML
84
+ Rendered /Users/shender/Code/sse-rails-engine/app/views/sse_rails_engine/foobar/bar.html.erb (1.6ms)
85
+ Completed 200 OK in 9ms (Views: 9.3ms)
86
+ ----------------------------------------------------------
87
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
88
+ ----------------------------------------------------------
89
+ Processing by SseRailsEngine::FoobarController#bar as HTML
90
+ Rendered /Users/shender/Code/sse-rails-engine/app/views/sse_rails_engine/foobar/bar.html.erb (1.1ms)
91
+ Completed 200 OK in 11ms (Views: 10.8ms)
92
+ ----------------------------------------------------------
93
+ SseRailsEngine::FoobarControllerTest: test_should_get_test
94
+ ----------------------------------------------------------
95
+ Processing by SseRailsEngine::FoobarController#bar as HTML
96
+ Rendered /Users/shender/Code/sse-rails-engine/app/views/sse_rails_engine/foobar/bar.html.erb (1.2ms)
97
+ Completed 200 OK in 11ms (Views: 10.7ms)
98
+ -------------------------------------------------
99
+ SseRailsEngine::SseController: test_0001_Connects
100
+ -------------------------------------------------
101
+ Processing by SseRailsEngine::SseController#connect as HTML
102
+ Registering new connection
103
+ Completed 500 Internal Server Error in 1ms
104
+ ------------------------------
105
+ SseRailsEngineTest: test_truth
106
+ ------------------------------
107
+ -------------------------------------------------
108
+ SseRailsEngine::SseController: test_0001_Connects
109
+ -------------------------------------------------
110
+ Processing by SseRailsEngine::SseController#connect as HTML
111
+ Registering new connection
112
+ Sending: heartbeat to 1 clients
113
+ ------------------------------
114
+ SseRailsEngineTest: test_truth
115
+ ------------------------------
116
+ Completed in 5009ms
117
+ -------------------------------------------------
118
+ SseRailsEngine::SseController: test_0001_Connects
119
+ -------------------------------------------------
120
+ Processing by SseRailsEngine::SseController#connect as HTML
121
+ Sending: heartbeat to 1 clients
122
+ Completed in 5004ms
123
+ -------------------------------------------------
124
+ SseRailsEngine::SseController: test_0001_Connects
125
+ -------------------------------------------------
126
+ -------------------------------------------------
127
+ SseRailsEngine::SseController: test_0001_Connects
128
+ -------------------------------------------------
129
+ Processing by SseRailsEngine::SseController#connect as HTML
130
+ Completed 500 Internal Server Error in 8ms
131
+ -------------------------------------------------
132
+ SseRailsEngine::SseController: test_0001_Connects
133
+ -------------------------------------------------
134
+ Processing by SseRailsEngine::SseController#connect as HTML
135
+ Completed 200 OK in 0ms (Views: 0.2ms)
136
+ ------------------------------------------------------------------
137
+ SseRailsEngine::SseController: test_0002_sends event to connection
138
+ ------------------------------------------------------------------
139
+ Processing by SseRailsEngine::SseController#connect as HTML
140
+ Completed 200 OK in 0ms (Views: 0.2ms)
141
+ Sending: foo to 1 clients
142
+ ------------------------------------------------------------------
143
+ SseRailsEngine::SseController: test_0002_sends event to connection
144
+ ------------------------------------------------------------------
145
+ Processing by SseRailsEngine::SseController#connect as HTML
146
+ Completed 200 OK in 0ms (Views: 0.2ms)
147
+ ------------------------------------------------------------------
148
+ SseRailsEngine::SseController: test_0002_sends event to connection
149
+ ------------------------------------------------------------------
150
+ Processing by SseRailsEngine::SseController#connect as HTML
151
+ Completed 200 OK in 0ms (Views: 0.2ms)
152
+ Sending: foo to 1 clients
153
+ ------------------------------------------------------------------
154
+ SseRailsEngine::SseController: test_0002_sends event to connection
155
+ ------------------------------------------------------------------
156
+ Processing by SseRailsEngine::SseController#connect as HTML
157
+ Completed 200 OK in 0ms (Views: 0.2ms)
158
+ Sending: foo to 1 clients
159
+ ------------------------------------------------------------------
160
+ SseRailsEngine::SseController: test_0002_sends event to connection
161
+ ------------------------------------------------------------------
162
+ Processing by SseRailsEngine::SseController#connect as HTML
163
+ Completed 200 OK in 0ms (Views: 0.2ms)
164
+ Sending: foo to 1 clients
165
+ ------------------------------------------------------------------
166
+ SseRailsEngine::SseController: test_0002_sends event to connection
167
+ ------------------------------------------------------------------
168
+ Processing by SseRailsEngine::SseController#connect as HTML
169
+ Completed 200 OK in 1ms (Views: 0.3ms)
170
+ Sending: foo to 1 clients
171
+ ------------------------------------------------------------------
172
+ SseRailsEngine::SseController: test_0001_registers new connections
173
+ ------------------------------------------------------------------
174
+ Processing by SseRailsEngine::SseController#connect as HTML
175
+ Completed 200 OK in 0ms (Views: 0.2ms)
176
+ ------------------------------------------------------------------
177
+ SseRailsEngine::SseController: test_0001_registers new connections
178
+ ------------------------------------------------------------------
179
+ Processing by SseRailsEngine::SseController#connect as HTML
180
+ Completed 200 OK in 0ms (Views: 0.2ms)
181
+ ------------------------------------------------------------------
182
+ SseRailsEngine::SseController: test_0001_registers new connections
183
+ ------------------------------------------------------------------
184
+ Processing by SseRailsEngine::SseController#connect as HTML
185
+ Completed 200 OK in 0ms (Views: 0.2ms)
186
+ ------------------------------------------------------------------
187
+ SseRailsEngine::SseController: test_0001_registers new connections
188
+ ------------------------------------------------------------------
189
+ Processing by SseRailsEngine::SseController#connect as HTML
190
+ Completed 200 OK in 1ms (Views: 0.6ms)
191
+ Sending: foo to 1 clients
192
+ Sending: foo to 1 clients
193
+ Sending: foo to 1 clients
194
+ Sending: foo to 1 clients
195
+ Sending: foo to 1 clients
196
+ Sending: foo to 1 clients
197
+ Sending: foo to 1 clients
198
+ Sending: foo to 1 clients
199
+ Sending: foo to 1 clients
200
+ Sending: foo to 2 clients
201
+ Sending: foo to 1 clients
202
+ Sending: foo to 2 clients
203
+ ------------------------------
204
+ SseRailsEngineTest: test_truth
205
+ ------------------------------
206
+ ------------------------------------------------------------------
207
+ SseRailsEngine::SseController: test_0001_registers new connections
208
+ ------------------------------------------------------------------
209
+ Processing by SseRailsEngine::SseController#connect as HTML
210
+ Completed 200 OK in 1ms (Views: 0.2ms)
211
+ ------------------------------------------------------------------
212
+ SseRailsEngine::SseController: test_0002_sends event to connection
213
+ ------------------------------------------------------------------
214
+ Processing by SseRailsEngine::SseController#connect as HTML
215
+ Completed 200 OK in 0ms (Views: 0.1ms)
216
+ Sending: foo to 3 clients
217
+ Sending: foo to 5 clients
218
+ Sending: foo to 1 clients
219
+ ------------------------------------------------------------------
220
+ SseRailsEngine::SseController: test_0002_sends event to connection
221
+ ------------------------------------------------------------------
222
+ Processing by SseRailsEngine::SseController#connect as HTML
223
+ Completed 200 OK in 0ms (Views: 0.2ms)
224
+ Sending: foo to 1 clients
225
+ ------------------------------------------------------------------
226
+ SseRailsEngine::SseController: test_0002_sends event to connection
227
+ ------------------------------------------------------------------
228
+ ------------------------------------------------------------------
229
+ SseRailsEngine::SseController: test_0002_sends event to connection
230
+ ------------------------------------------------------------------
231
+ ------------------------------------------------------------------
232
+ SseRailsEngine::SseController: test_0001_registers new connections
233
+ ------------------------------------------------------------------
234
+ ------------------------------------------------------------------
235
+ SseRailsEngine::SseController: test_0001_registers new connections
236
+ ------------------------------------------------------------------
237
+ Processing by SseRailsEngine::SseController#connect as HTML
238
+ Completed 200 OK in 1ms (Views: 0.6ms)
239
+ ------------------------------------------------------------------
240
+ SseRailsEngine::SseController: test_0002_sends event to connection
241
+ ------------------------------------------------------------------
242
+ Processing by SseRailsEngine::SseController#connect as HTML
243
+ Completed 200 OK in 0ms (Views: 0.2ms)
244
+ ------------------------------------------------------------------
245
+ SseRailsEngine::SseController: test_0001_registers new connections
246
+ ------------------------------------------------------------------
247
+ Processing by SseRailsEngine::SseController#connect as HTML
248
+ Completed 200 OK in 0ms (Views: 0.2ms)
249
+ ------------------------------------------------------------------
250
+ SseRailsEngine::SseController: test_0002_sends event to connection
251
+ ------------------------------------------------------------------
252
+ Processing by SseRailsEngine::SseController#connect as HTML
253
+ Completed 200 OK in 0ms (Views: 0.1ms)
254
+ ------------------------------
255
+ SseRailsEngineTest: test_truth
256
+ ------------------------------
257
+ ------------------------------
258
+ SseRailsEngineTest: test_truth
259
+ ------------------------------
260
+ ------------------------------------------------------------------
261
+ SseRailsEngine::SseController: test_0001_registers new connections
262
+ ------------------------------------------------------------------
263
+ Processing by SseRailsEngine::SseController#connect as HTML
264
+ Completed 200 OK in 0ms (Views: 0.2ms)
265
+ ------------------------------------------------------------------
266
+ SseRailsEngine::SseController: test_0002_sends event to connection
267
+ ------------------------------------------------------------------
268
+ Processing by SseRailsEngine::SseController#connect as HTML
269
+ Completed 200 OK in 0ms (Views: 0.1ms)
270
+ ------------------------------------------------------------------
271
+ SseRailsEngine::SseController: test_0001_registers new connections
272
+ ------------------------------------------------------------------
273
+ Processing by SseRailsEngine::SseController#connect as HTML
274
+ Completed 200 OK in 1ms (Views: 0.2ms)
275
+ ------------------------------------------------------------------
276
+ SseRailsEngine::SseController: test_0002_sends event to connection
277
+ ------------------------------------------------------------------
278
+ Processing by SseRailsEngine::SseController#connect as HTML
279
+ Completed 200 OK in 0ms (Views: 0.1ms)
280
+ ------------------------------
281
+ SseRailsEngineTest: test_truth
282
+ ------------------------------
283
+ ------------------------------
284
+ SseRailsEngineTest: test_truth
285
+ ------------------------------
286
+ ------------------------------------------------------------------
287
+ SseRailsEngine::SseController: test_0001_registers new connections
288
+ ------------------------------------------------------------------
289
+ Processing by SseRailsEngine::SseController#connect as HTML
290
+ Completed 200 OK in 1ms (Views: 0.3ms)
291
+ ------------------------------------------------------------------
292
+ SseRailsEngine::SseController: test_0002_sends event to connection
293
+ ------------------------------------------------------------------
294
+ Processing by SseRailsEngine::SseController#connect as HTML
295
+ Completed 200 OK in 0ms (Views: 0.1ms)
296
+ ------------------------------------------------------------------
297
+ SseRailsEngine::SseController: test_0001_registers new connections
298
+ ------------------------------------------------------------------
299
+ Processing by SseRailsEngine::SseController#connect as HTML
300
+ Completed 200 OK in 0ms (Views: 0.2ms)
301
+ ------------------------------------------------------------------
302
+ SseRailsEngine::SseController: test_0002_sends event to connection
303
+ ------------------------------------------------------------------
304
+ Processing by SseRailsEngine::SseController#connect as HTML
305
+ Completed 200 OK in 0ms (Views: 0.1ms)
306
+ ------------------------------
307
+ SseRailsEngineTest: test_truth
308
+ ------------------------------
309
+ ------------------------------
310
+ SseRailsEngineTest: test_truth
311
+ ------------------------------
312
+ ------------------------------------------------------------------
313
+ SseRailsEngine::SseController: test_0002_sends event to connection
314
+ ------------------------------------------------------------------
315
+ Processing by SseRailsEngine::SseController#connect as HTML
316
+ Completed 200 OK in 0ms (Views: 0.3ms)
317
+ ------------------------------------------------------------------
318
+ SseRailsEngine::SseController: test_0001_registers new connections
319
+ ------------------------------------------------------------------
320
+ Processing by SseRailsEngine::SseController#connect as HTML
321
+ Completed 200 OK in 0ms (Views: 0.2ms)
322
+ ------------------------------------------------------------------
323
+ SseRailsEngine::SseController: test_0001_registers new connections
324
+ ------------------------------------------------------------------
325
+ Processing by SseRailsEngine::SseController#connect as HTML
326
+ Completed 200 OK in 0ms (Views: 0.2ms)
327
+ ------------------------------------------------------------------
328
+ SseRailsEngine::SseController: test_0002_sends event to connection
329
+ ------------------------------------------------------------------
330
+ Processing by SseRailsEngine::SseController#connect as HTML
331
+ Completed 200 OK in 0ms (Views: 0.2ms)
332
+ ------------------------------
333
+ SseRailsEngineTest: test_truth
334
+ ------------------------------
335
+ ------------------------------------------------------------------
336
+ SseRailsEngine::SseController: test_0001_registers new connections
337
+ ------------------------------------------------------------------
338
+ Processing by SseRailsEngine::SseController#connect as HTML
339
+ Completed 200 OK in 1ms (Views: 0.3ms)
340
+ ------------------------------------------------------------------
341
+ SseRailsEngine::SseController: test_0002_sends event to connection
342
+ ------------------------------------------------------------------
343
+ Processing by SseRailsEngine::SseController#connect as HTML
344
+ Completed 200 OK in 0ms (Views: 0.1ms)
345
+ ------------------------------
346
+ SseRailsEngineTest: test_truth
347
+ ------------------------------
348
+ ------------------------------------------------------------------
349
+ SseRailsEngine::SseController: test_0001_registers new connections
350
+ ------------------------------------------------------------------
351
+ Processing by SseRailsEngine::SseController#connect as HTML
352
+ Completed 200 OK in 0ms (Views: 0.2ms)
353
+ ------------------------------------------------------------------
354
+ SseRailsEngine::SseController: test_0002_sends event to connection
355
+ ------------------------------------------------------------------
356
+ Processing by SseRailsEngine::SseController#connect as HTML
357
+ Completed 200 OK in 0ms (Views: 0.1ms)