registrar-rails 0.0.11.alpha → 0.0.12.alpha

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6957bf2fed6c7691a8c8b64ed500ace9b974f25c
4
- data.tar.gz: 63e9eb27c8eb8e7604d99c2fba886c6517e1cbce
3
+ metadata.gz: 38b839959d1219301968e01491d6128cc7629008
4
+ data.tar.gz: bad7edeed2429f57b69d9d841e52b423ae8586f0
5
5
  SHA512:
6
- metadata.gz: 8cd1e4c6b3e9c4607f0e57e4a668efabc68b7cdd0bb3484cb1a64dd18c10ce7b3b970ce43a01bec057e935dba4018d371b38086eb4cbf1ebbcb0944aac4ed1a2
7
- data.tar.gz: 1d19640bca05a384fd61076d4f5e785d1beae7469e302ce876dd6931b6df8a526f8a6dd703b3d07cfd284e65383fed1aa4c5a5a965b7a6f5c1e32ebd1778bf3c
6
+ metadata.gz: 15e0845a502d1c70e9fe8ca87f3482ac8d567c3ef20f4f9335a557674ce1b316a6492d04717d25f13ee996350419a5772dcbc63174b6cf3c428aa2f8c6727932
7
+ data.tar.gz: bb6f2053f3f8768bada0db3229e45f005131c5f6bb17fa8d9c955cd98182c014bd2344ad9014994814ec206e58bc6fb28878310122a687a3ecdf63ed530b06fe
@@ -1,11 +1,20 @@
1
- require 'yaml'
2
-
3
1
  module Registrar
4
2
  module Rails
3
+ class CurrentProfile
4
+ attr_reader :uid
5
+ def initialize(uid)
6
+ @uid = uid
7
+ end
8
+
9
+ def profile_uid
10
+ @uid
11
+ end
12
+ end
13
+
5
14
  module ControllerExtensions
6
15
  def self.included(klass)
7
16
  klass.send :include, InstanceMethods
8
- klass.before_action :try_to_store_current_profile
17
+ klass.before_action :try_to_store_current_profile_uid
9
18
 
10
19
  klass.class_eval do
11
20
  helper_method :current_profile
@@ -17,35 +26,39 @@ module Registrar
17
26
 
18
27
  module InstanceMethods
19
28
  REGISTRAR_PROFILE_KEY = 'registrar.profile'
20
- CURRENT_PROFILE_KEY = 'current.profile'
29
+ CURRENT_PROFILE_UID = 'current.profile.uid'
21
30
 
22
- def try_to_store_current_profile
31
+ def try_to_store_current_profile_uid
23
32
  if registrar_profile = env[REGISTRAR_PROFILE_KEY]
24
- store_current_profile(registrar_profile)
33
+ store_current_profile_uid(registrar_profile)
25
34
  end
26
35
  end
27
36
 
28
- def store_current_profile(registrar_profile)
29
- session[CURRENT_PROFILE_KEY] = YAML.dump(registrar_profile)
37
+ def store_current_profile_uid(registrar_profile)
38
+ session[CURRENT_PROFILE_UID] = registrar_profile.uid
39
+ end
40
+
41
+ def current_profile_uid
42
+ session[CURRENT_PROFILE_UID]
30
43
  end
31
44
 
32
45
  def logout
33
- session[CURRENT_PROFILE_KEY] = nil
46
+ session[CURRENT_PROFILE_UID] = nil
34
47
  end
35
48
 
36
49
  def reload_current_profile
37
- if current_profile
38
- env[REGISTRAR_PROFILE_KEY] = Registrar::Middleware::config.handler.call(current_profile)
39
- try_to_store_current_profile
40
- end
41
50
  end
42
51
 
43
52
  def current_profile
44
- if session[CURRENT_PROFILE_KEY]
45
- YAML.load session[CURRENT_PROFILE_KEY]
46
- else
47
- nil
53
+ return @current_user if @current_user
54
+
55
+ if current_profile_uid
56
+ @current_user = Registrar::Middleware::config.handler.call(
57
+ Registrar::Rails::CurrentProfile.new(current_profile_uid)
58
+ )
48
59
  end
60
+
61
+ @current_user
49
62
  end
50
63
 
51
64
  def current_profile?
@@ -1,5 +1,5 @@
1
1
  module Registrar
2
2
  module Rails
3
- VERSION = "0.0.11.alpha"
3
+ VERSION = "0.0.12.alpha"
4
4
  end
5
5
  end
@@ -1,13 +1,9 @@
1
1
  require 'test_helper'
2
2
 
3
- class CurrentProfileTest < ActionController::TestCase
4
- tests SomeController
5
-
6
- test 'no current profile by default' do
7
- get :index
8
-
9
- refute @controller.current_profile
10
- refute @controller.current_profile?
3
+ class CurrentProfileTest < ActionDispatch::IntegrationTest
4
+ test 'exposes current profile if registrar.profile is avaliable' do
5
+ get '/'
6
+ current_profile_uid = response.body
7
+ assert_equal '1', current_profile_uid
11
8
  end
12
-
13
9
  end
@@ -1,5 +1,5 @@
1
1
  class SomeController < ApplicationController
2
2
  def index
3
- render :text => 'Hello World!'
3
+ render :text => current_profile.uid
4
4
  end
5
5
  end
@@ -0,0 +1,24 @@
1
+ class StubbedRegistarMiddleware
2
+ def initialize(app)
3
+ @app = app
4
+ end
5
+
6
+ def call(env)
7
+ env['registrar.profile'] = ApplicationSpecificProfile.new
8
+ @app.call(env)
9
+ end
10
+
11
+ private
12
+
13
+ class ApplicationSpecificProfile
14
+ def uid
15
+ '1'
16
+ end
17
+ end
18
+ end
19
+
20
+ Rails.application.config.middleware.insert_after(ActionDispatch::Session::CookieStore, StubbedRegistarMiddleware)
21
+
22
+ Registrar::Rails.configure do |config|
23
+ config.handler(Proc.new{|profile| profile})
24
+ end
@@ -1,5 +1,4 @@
1
1
  Rails.application.routes.draw do
2
2
  mount Registrar::Rails::Engine => "/registrar"
3
-
4
- get "some/index" => "some#index"
3
+ get '/' => 'some#index'
5
4
  end
File without changes
@@ -106,3 +106,738 @@ CurrentProfileTest: test_no_current_profile_by_default
106
106
  Processing by SomeController#index as HTML
107
107
  Rendered text template (0.0ms)
108
108
  Completed 200 OK in 3ms (Views: 2.8ms)
109
+ ------------------------------------------------------
110
+ CurrentProfileTest: test_no_current_profile_by_default
111
+ ------------------------------------------------------
112
+ Processing by SomeController#index as HTML
113
+ Rendered text template (0.0ms)
114
+ Completed 200 OK in 5ms (Views: 4.4ms)
115
+ ------------------------------------------------------
116
+ CurrentProfileTest: test_no_current_profile_by_default
117
+ ------------------------------------------------------
118
+ Processing by SomeController#index as HTML
119
+ Rendered text template (0.0ms)
120
+ Completed 200 OK in 3ms (Views: 2.7ms)
121
+ -----------------------------------------------------
122
+ CurrentProfileTest: test_with_given_registrar_profile
123
+ -----------------------------------------------------
124
+ ------------------------------------------------------
125
+ CurrentProfileTest: test_no_current_profile_by_default
126
+ ------------------------------------------------------
127
+ Processing by SomeController#index as HTML
128
+ Rendered text template (0.0ms)
129
+ Completed 200 OK in 3ms (Views: 2.7ms)
130
+ ------------------------------------------------------
131
+ CurrentProfileTest: test_no_current_profile_by_default
132
+ ------------------------------------------------------
133
+ Processing by SomeController#index as HTML
134
+ Rendered text template (0.0ms)
135
+ Completed 200 OK in 3ms (Views: 2.6ms)
136
+ -----------------------------------------------------
137
+ CurrentProfileTest: test_with_given_registrar_profile
138
+ -----------------------------------------------------
139
+ Processing by SomeController#index as HTML
140
+ Rendered text template (0.0ms)
141
+ Completed 200 OK in 0ms (Views: 0.2ms)
142
+ ------------------------------------------------------
143
+ CurrentProfileTest: test_no_current_profile_by_default
144
+ ------------------------------------------------------
145
+ Processing by SomeController#index as HTML
146
+ Rendered text template (0.0ms)
147
+ Completed 200 OK in 3ms (Views: 2.7ms)
148
+ -----------------------------------------------------
149
+ CurrentProfileTest: test_with_given_registrar_profile
150
+ -----------------------------------------------------
151
+ Processing by SomeController#index as HTML
152
+ Rendered text template (0.0ms)
153
+ Completed 200 OK in 0ms (Views: 0.2ms)
154
+ ------------------------------------------------------
155
+ CurrentProfileTest: test_no_current_profile_by_default
156
+ ------------------------------------------------------
157
+ Processing by SomeController#index as HTML
158
+ Rendered text template (0.0ms)
159
+ Completed 200 OK in 3ms (Views: 2.9ms)
160
+ -----------------------------------------------------
161
+ CurrentProfileTest: test_with_given_registrar_profile
162
+ -----------------------------------------------------
163
+ ------------------------------------------------------
164
+ CurrentProfileTest: test_no_current_profile_by_default
165
+ ------------------------------------------------------
166
+ Processing by SomeController#index as HTML
167
+ Rendered text template (0.0ms)
168
+ Completed 200 OK in 3ms (Views: 3.0ms)
169
+ -----------------------------------------------------
170
+ CurrentProfileTest: test_with_given_registrar_profile
171
+ -----------------------------------------------------
172
+ ------------------------------------------------------
173
+ CurrentProfileTest: test_no_current_profile_by_default
174
+ ------------------------------------------------------
175
+ Processing by SomeController#index as HTML
176
+ Rendered text template (0.0ms)
177
+ Completed 200 OK in 3ms (Views: 2.9ms)
178
+ -----------------------------------------------------
179
+ CurrentProfileTest: test_with_given_registrar_profile
180
+ -----------------------------------------------------
181
+ ------------------------------------------------------
182
+ CurrentProfileTest: test_no_current_profile_by_default
183
+ ------------------------------------------------------
184
+ Processing by SomeController#index as HTML
185
+ Rendered text template (0.0ms)
186
+ Completed 200 OK in 3ms (Views: 2.6ms)
187
+ -----------------------------------------------------
188
+ CurrentProfileTest: test_with_given_registrar_profile
189
+ -----------------------------------------------------
190
+ Processing by SomeController#index as HTML
191
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
192
+ Rendered text template (0.0ms)
193
+ Completed 200 OK in 0ms (Views: 0.2ms)
194
+ ------------------------------------------------------
195
+ CurrentProfileTest: test_no_current_profile_by_default
196
+ ------------------------------------------------------
197
+ Processing by SomeController#index as HTML
198
+ Rendered text template (0.0ms)
199
+ Completed 200 OK in 3ms (Views: 2.7ms)
200
+ -----------------------------------------------------
201
+ CurrentProfileTest: test_with_given_registrar_profile
202
+ -----------------------------------------------------
203
+ Processing by SomeController#index as HTML
204
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
205
+ Rendered text template (0.0ms)
206
+ Completed 200 OK in 0ms (Views: 0.2ms)
207
+ ------------------------------------------------------
208
+ CurrentProfileTest: test_no_current_profile_by_default
209
+ ------------------------------------------------------
210
+ Processing by SomeController#index as HTML
211
+ Rendered text template (0.0ms)
212
+ Completed 200 OK in 4ms (Views: 2.7ms)
213
+ -----------------------------------------------------
214
+ CurrentProfileTest: test_with_given_registrar_profile
215
+ -----------------------------------------------------
216
+ Processing by SomeController#index as HTML
217
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
218
+ Rendered text template (0.0ms)
219
+ Completed 200 OK in 1ms (Views: 0.2ms)
220
+ ------------------------------------------------------
221
+ CurrentProfileTest: test_no_current_profile_by_default
222
+ ------------------------------------------------------
223
+ Processing by SomeController#index as HTML
224
+ Rendered text template (0.0ms)
225
+ Completed 200 OK in 3ms (Views: 2.7ms)
226
+ -----------------------------------------------------
227
+ CurrentProfileTest: test_with_given_registrar_profile
228
+ -----------------------------------------------------
229
+ Processing by SomeController#index as HTML
230
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
231
+ Rendered text template (0.0ms)
232
+ Completed 200 OK in 0ms (Views: 0.2ms)
233
+ ------------------------------------------------------
234
+ CurrentProfileTest: test_no_current_profile_by_default
235
+ ------------------------------------------------------
236
+ Processing by SomeController#index as HTML
237
+ Rendered text template (0.0ms)
238
+ Completed 200 OK in 4ms (Views: 3.0ms)
239
+ -----------------------------------------------------
240
+ CurrentProfileTest: test_with_given_registrar_profile
241
+ -----------------------------------------------------
242
+ Processing by SomeController#index as HTML
243
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
244
+ Rendered text template (0.0ms)
245
+ Completed 200 OK in 1ms (Views: 0.2ms)
246
+ ------------------------------------------------------
247
+ CurrentProfileTest: test_no_current_profile_by_default
248
+ ------------------------------------------------------
249
+ Processing by SomeController#index as HTML
250
+ Rendered text template (0.0ms)
251
+ Completed 200 OK in 3ms (Views: 2.9ms)
252
+ -----------------------------------------------------
253
+ CurrentProfileTest: test_with_given_registrar_profile
254
+ -----------------------------------------------------
255
+ Processing by SomeController#index as HTML
256
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
257
+ Rendered text template (0.0ms)
258
+ Completed 200 OK in 0ms (Views: 0.2ms)
259
+ ------------------------------------------------------
260
+ CurrentProfileTest: test_no_current_profile_by_default
261
+ ------------------------------------------------------
262
+ Processing by SomeController#index as HTML
263
+ Rendered text template (0.0ms)
264
+ Completed 200 OK in 3ms (Views: 2.6ms)
265
+ -----------------------------------------------------
266
+ CurrentProfileTest: test_with_given_registrar_profile
267
+ -----------------------------------------------------
268
+ Processing by SomeController#index as HTML
269
+ Parameters: {"rack_env"=>{"registrar.profile"=>"my profile"}}
270
+ Rendered text template (0.0ms)
271
+ Completed 200 OK in 0ms (Views: 0.3ms)
272
+ ----------------------------------------------------------------------------------
273
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
274
+ ----------------------------------------------------------------------------------
275
+ Processing by SomeController#index as HTML
276
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
277
+ Rendered text template (0.0ms)
278
+ Completed 200 OK in 3ms (Views: 2.7ms)
279
+ ---------------------------------------------------------------
280
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
281
+ ---------------------------------------------------------------
282
+ Processing by SomeController#index as HTML
283
+ Rendered text template (0.0ms)
284
+ Completed 200 OK in 0ms (Views: 0.2ms)
285
+ ----------------------------------------------------------------------------------
286
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
287
+ ----------------------------------------------------------------------------------
288
+ Processing by SomeController#index as HTML
289
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
290
+ Rendered text template (0.0ms)
291
+ Completed 200 OK in 3ms (Views: 2.9ms)
292
+ ---------------------------------------------------------------
293
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
294
+ ---------------------------------------------------------------
295
+ Processing by SomeController#index as HTML
296
+ Rendered text template (0.0ms)
297
+ Completed 200 OK in 0ms (Views: 0.2ms)
298
+ ---------------------------------------------------------------
299
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
300
+ ---------------------------------------------------------------
301
+ Processing by SomeController#index as HTML
302
+ Rendered text template (0.0ms)
303
+ Completed 200 OK in 3ms (Views: 2.8ms)
304
+ ----------------------------------------------------------------------------------
305
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
306
+ ----------------------------------------------------------------------------------
307
+ Processing by SomeController#index as HTML
308
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
309
+ Rendered text template (0.0ms)
310
+ Completed 200 OK in 0ms (Views: 0.2ms)
311
+ ---------------------------------------------------------------
312
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
313
+ ---------------------------------------------------------------
314
+ Processing by SomeController#index as HTML
315
+ Rendered text template (0.0ms)
316
+ Completed 200 OK in 3ms (Views: 2.6ms)
317
+ ----------------------------------------------------------------------------------
318
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
319
+ ----------------------------------------------------------------------------------
320
+ ----------------------------------------------------------------------------------
321
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
322
+ ----------------------------------------------------------------------------------
323
+ ---------------------------------------------------------------
324
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
325
+ ---------------------------------------------------------------
326
+ Processing by SomeController#index as HTML
327
+ Rendered text template (0.0ms)
328
+ Completed 200 OK in 3ms (Views: 2.7ms)
329
+ ----------------------------------------------------------------------------------
330
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
331
+ ----------------------------------------------------------------------------------
332
+ ---------------------------------------------------------------
333
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
334
+ ---------------------------------------------------------------
335
+ Processing by SomeController#index as HTML
336
+ Rendered text template (0.0ms)
337
+ Completed 200 OK in 3ms (Views: 2.7ms)
338
+ ----------------------------------------------------------------------------------
339
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
340
+ ----------------------------------------------------------------------------------
341
+ ---------------------------------------------------------------
342
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
343
+ ---------------------------------------------------------------
344
+ Processing by SomeController#index as HTML
345
+ Rendered text template (0.0ms)
346
+ Completed 200 OK in 3ms (Views: 2.7ms)
347
+ ----------------------------------------------------------------------------------
348
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
349
+ ----------------------------------------------------------------------------------
350
+ ---------------------------------------------------------------
351
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
352
+ ---------------------------------------------------------------
353
+ ----------------------------------------------------------------------------------
354
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
355
+ ----------------------------------------------------------------------------------
356
+ ---------------------------------------------------------------
357
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
358
+ ---------------------------------------------------------------
359
+ ---------------------------------------------------------------
360
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
361
+ ---------------------------------------------------------------
362
+ ----------------------------------------------------------------------------------
363
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
364
+ ----------------------------------------------------------------------------------
365
+ ---------------------------------------------------------------
366
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
367
+ ---------------------------------------------------------------
368
+ ----------------------------------------------------------------------------------
369
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
370
+ ----------------------------------------------------------------------------------
371
+ ----------------------------------------------------------------------------------
372
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
373
+ ----------------------------------------------------------------------------------
374
+ Processing by SomeController#index as HTML
375
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
376
+ Rendered text template (0.0ms)
377
+ Completed 200 OK in 3ms (Views: 2.9ms)
378
+ ---------------------------------------------------------------
379
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
380
+ ---------------------------------------------------------------
381
+ ---------------------------------------------------------------
382
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
383
+ ---------------------------------------------------------------
384
+ ----------------------------------------------------------------------------------
385
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
386
+ ----------------------------------------------------------------------------------
387
+ Processing by SomeController#index as HTML
388
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
389
+ Rendered text template (0.0ms)
390
+ Completed 200 OK in 3ms (Views: 2.7ms)
391
+ ----------------------------------------------------------------------------------
392
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
393
+ ----------------------------------------------------------------------------------
394
+ Processing by SomeController#index as HTML
395
+ Parameters: {"rack_env"=>{"registrar.profile"=>"foo"}}
396
+ Rendered text template (0.0ms)
397
+ Completed 200 OK in 3ms (Views: 2.7ms)
398
+ ---------------------------------------------------------------
399
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
400
+ ---------------------------------------------------------------
401
+ ----------------------------------------------------------------------------------
402
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
403
+ ----------------------------------------------------------------------------------
404
+ Processing by SomeController#index as HTML
405
+ Parameters: {"rack_env"=>{"registrar.profile"=>"#<OpenStruct uid=\"1\">"}}
406
+ Rendered text template (0.0ms)
407
+ Completed 200 OK in 3ms (Views: 2.8ms)
408
+ ---------------------------------------------------------------
409
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
410
+ ---------------------------------------------------------------
411
+ ----------------------------------------------------------------------------------
412
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
413
+ ----------------------------------------------------------------------------------
414
+ Processing by SomeController#index as HTML
415
+ Parameters: {"rack_env"=>{"registrar.profile"=>"#<OpenStruct uid=\"1\">"}}
416
+ Rendered text template (0.0ms)
417
+ Completed 200 OK in 3ms (Views: 2.7ms)
418
+ ---------------------------------------------------------------
419
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
420
+ ---------------------------------------------------------------
421
+ ----------------------------------------------------------------------------------
422
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
423
+ ----------------------------------------------------------------------------------
424
+ Processing by SomeController#index as HTML
425
+ Parameters: {"rack_env"=>{"registrar.profile"=>"#<OpenStruct uid=\"1\">"}}
426
+ Rendered text template (0.0ms)
427
+ Completed 200 OK in 3ms (Views: 2.7ms)
428
+ ---------------------------------------------------------------
429
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
430
+ ---------------------------------------------------------------
431
+ ---------------------------------------------------------------
432
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
433
+ ---------------------------------------------------------------
434
+ ----------------------------------------------------------------------------------
435
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
436
+ ----------------------------------------------------------------------------------
437
+ Processing by SomeController#index as HTML
438
+ Parameters: {"rack_env"=>{"registrar.profile"=>"#<OpenStruct uid=\"1\">"}}
439
+ Rendered text template (0.0ms)
440
+ Completed 200 OK in 3ms (Views: 2.7ms)
441
+ ----------------------------------------------------------------------------------
442
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
443
+ ----------------------------------------------------------------------------------
444
+ Processing by SomeController#index as HTML
445
+ Parameters: {"rack_env"=>{"registrar.profile"=>"#<OpenStruct uid=\"1\">"}}
446
+ Rendered text template (0.0ms)
447
+ Completed 200 OK in 3ms (Views: 2.7ms)
448
+ ---------------------------------------------------------------
449
+ CurrentProfileTest: test_not_exposes_current_profile_by_default
450
+ ---------------------------------------------------------------
451
+ ----------------------------------------------------------------------------------
452
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
453
+ ----------------------------------------------------------------------------------
454
+ Processing by SomeController#index as HTML
455
+ Rendered text template (0.0ms)
456
+ Completed 200 OK in 3ms (Views: 2.6ms)
457
+ ----------------------------------------------------------------------------------
458
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
459
+ ----------------------------------------------------------------------------------
460
+ Processing by SomeController#index as HTML
461
+ Rendered text template (0.0ms)
462
+ Completed 200 OK in 3ms (Views: 2.9ms)
463
+ ----------------------------------------------------------------------------------
464
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
465
+ ----------------------------------------------------------------------------------
466
+ Processing by SomeController#index as HTML
467
+ Rendered text template (0.0ms)
468
+ Completed 200 OK in 3ms (Views: 2.7ms)
469
+ ----------------------------------------------------------------------------------
470
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
471
+ ----------------------------------------------------------------------------------
472
+ Processing by SomeController#index as HTML
473
+ Rendered text template (0.0ms)
474
+ Completed 200 OK in 3ms (Views: 2.7ms)
475
+ ----------------------------------------------------------------------------------
476
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
477
+ ----------------------------------------------------------------------------------
478
+ Processing by SomeController#index as HTML
479
+ Rendered text template (0.0ms)
480
+ Completed 200 OK in 3ms (Views: 2.7ms)
481
+ ----------------------------------------------------------------------------------
482
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
483
+ ----------------------------------------------------------------------------------
484
+ Processing by SomeController#index as HTML
485
+ Rendered text template (0.0ms)
486
+ Completed 200 OK in 3ms (Views: 2.7ms)
487
+ ----------------------------------------------------------------------------------
488
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
489
+ ----------------------------------------------------------------------------------
490
+ Processing by SomeController#index as HTML
491
+ Rendered text template (0.0ms)
492
+ Completed 200 OK in 3ms (Views: 2.9ms)
493
+ ----------------------------------------------------------------------------------
494
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
495
+ ----------------------------------------------------------------------------------
496
+ Processing by SomeController#index as HTML
497
+ Rendered text template (0.0ms)
498
+ Completed 200 OK in 3ms (Views: 2.7ms)
499
+ ----------------------------------------------------------------------------------
500
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
501
+ ----------------------------------------------------------------------------------
502
+ Processing by SomeController#index as HTML
503
+ Rendered text template (0.0ms)
504
+ Completed 200 OK in 3ms (Views: 2.8ms)
505
+ ----------------------------------------------------------------------------------
506
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
507
+ ----------------------------------------------------------------------------------
508
+ Processing by SomeController#index as HTML
509
+ Rendered text template (0.0ms)
510
+ Completed 200 OK in 3ms (Views: 2.7ms)
511
+ ----------------------------------------------------------------------------------
512
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
513
+ ----------------------------------------------------------------------------------
514
+ Processing by SomeController#index as HTML
515
+ Rendered text template (0.0ms)
516
+ Completed 200 OK in 3ms (Views: 2.9ms)
517
+ ----------------------------------------------------------------------------------
518
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
519
+ ----------------------------------------------------------------------------------
520
+ Processing by SomeController#index as HTML
521
+ Rendered text template (0.0ms)
522
+ Completed 200 OK in 3ms (Views: 2.7ms)
523
+ ----------------------------------------------------------------------------------
524
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
525
+ ----------------------------------------------------------------------------------
526
+ Processing by SomeController#index as HTML
527
+ Rendered text template (0.0ms)
528
+ Completed 200 OK in 3ms (Views: 2.9ms)
529
+ ----------------------------------------------------------------------------------
530
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
531
+ ----------------------------------------------------------------------------------
532
+ Processing by SomeController#index as HTML
533
+ Rendered text template (0.0ms)
534
+ Completed 200 OK in 3ms (Views: 2.7ms)
535
+ ----------------------------------------------------------------------------------
536
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
537
+ ----------------------------------------------------------------------------------
538
+ Processing by SomeController#index as HTML
539
+ Rendered text template (0.0ms)
540
+ Completed 200 OK in 3ms (Views: 2.7ms)
541
+ ----------------------------------------------------------------------------------
542
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
543
+ ----------------------------------------------------------------------------------
544
+ Processing by SomeController#index as HTML
545
+ Rendered text template (0.0ms)
546
+ Completed 200 OK in 3ms (Views: 2.9ms)
547
+ ----------------------------------------------------------------------------------
548
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
549
+ ----------------------------------------------------------------------------------
550
+ Processing by SomeController#index as HTML
551
+ Rendered text template (0.0ms)
552
+ Completed 200 OK in 3ms (Views: 2.7ms)
553
+ ----------------------------------------------------------------------------------
554
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
555
+ ----------------------------------------------------------------------------------
556
+ Processing by SomeController#index as HTML
557
+ Rendered text template (0.0ms)
558
+ Completed 200 OK in 3ms (Views: 2.7ms)
559
+ ----------------------------------------------------------------------------------
560
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
561
+ ----------------------------------------------------------------------------------
562
+ Processing by SomeController#index as HTML
563
+ Rendered text template (0.0ms)
564
+ Completed 200 OK in 3ms (Views: 2.7ms)
565
+ ----------------------------------------------------------------------------------
566
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
567
+ ----------------------------------------------------------------------------------
568
+ Processing by SomeController#index as HTML
569
+ Rendered text template (0.0ms)
570
+ Completed 200 OK in 3ms (Views: 2.7ms)
571
+ ----------------------------------------------------------------------------------
572
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
573
+ ----------------------------------------------------------------------------------
574
+ Processing by SomeController#index as HTML
575
+ Rendered text template (0.0ms)
576
+ Completed 200 OK in 3ms (Views: 2.8ms)
577
+ ----------------------------------------------------------------------------------
578
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
579
+ ----------------------------------------------------------------------------------
580
+ Processing by SomeController#index as HTML
581
+ Rendered text template (0.0ms)
582
+ Completed 200 OK in 3ms (Views: 3.0ms)
583
+ ----------------------------------------------------------------------------------
584
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
585
+ ----------------------------------------------------------------------------------
586
+ Processing by SomeController#index as HTML
587
+ Rendered text template (0.0ms)
588
+ Completed 200 OK in 3ms (Views: 2.7ms)
589
+ ----------------------------------------------------------------------------------
590
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
591
+ ----------------------------------------------------------------------------------
592
+ Processing by SomeController#index as HTML
593
+ Rendered text template (0.0ms)
594
+ Completed 200 OK in 3ms (Views: 2.6ms)
595
+ ----------------------------------------------------------------------------------
596
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
597
+ ----------------------------------------------------------------------------------
598
+ Processing by SomeController#index as HTML
599
+ Rendered text template (0.0ms)
600
+ Completed 200 OK in 3ms (Views: 2.7ms)
601
+ ----------------------------------------------------------------------------------
602
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
603
+ ----------------------------------------------------------------------------------
604
+ Processing by SomeController#index as HTML
605
+ Rendered text template (0.0ms)
606
+ Completed 200 OK in 3ms (Views: 2.7ms)
607
+ ----------------------------------------------------------------------------------
608
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
609
+ ----------------------------------------------------------------------------------
610
+ Processing by SomeController#index as HTML
611
+ Rendered text template (0.0ms)
612
+ Completed 200 OK in 3ms (Views: 2.6ms)
613
+ ----------------------------------------------------------------------------------
614
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
615
+ ----------------------------------------------------------------------------------
616
+ Processing by SomeController#index as HTML
617
+ Rendered text template (0.0ms)
618
+ Completed 200 OK in 3ms (Views: 2.6ms)
619
+ ----------------------------------------------------------------------------------
620
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
621
+ ----------------------------------------------------------------------------------
622
+ Processing by SomeController#index as HTML
623
+ Rendered text template (0.0ms)
624
+ Completed 200 OK in 3ms (Views: 2.7ms)
625
+ ----------------------------------------------------------------------------------
626
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
627
+ ----------------------------------------------------------------------------------
628
+ Processing by SomeController#index as HTML
629
+ Rendered text template (0.0ms)
630
+ Completed 200 OK in 3ms (Views: 2.8ms)
631
+ ----------------------------------------------------------------------------------
632
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
633
+ ----------------------------------------------------------------------------------
634
+ Processing by SomeController#index as HTML
635
+ Rendered text template (0.0ms)
636
+ Completed 200 OK in 3ms (Views: 2.7ms)
637
+ ----------------------------------------------------------------------------------
638
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
639
+ ----------------------------------------------------------------------------------
640
+ Processing by SomeController#index as HTML
641
+ Rendered text template (0.0ms)
642
+ Completed 200 OK in 3ms (Views: 2.7ms)
643
+ ----------------------------------------------------------------------------------
644
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
645
+ ----------------------------------------------------------------------------------
646
+ Processing by SomeController#index as HTML
647
+ Rendered text template (0.0ms)
648
+ Completed 200 OK in 3ms (Views: 2.7ms)
649
+ ----------------------------------------------------------------------------------
650
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
651
+ ----------------------------------------------------------------------------------
652
+ Processing by SomeController#index as HTML
653
+ Rendered text template (0.0ms)
654
+ Completed 200 OK in 3ms (Views: 2.7ms)
655
+ ----------------------------------------------------------------------------------
656
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
657
+ ----------------------------------------------------------------------------------
658
+ Processing by SomeController#index as HTML
659
+ Rendered text template (0.0ms)
660
+ Completed 200 OK in 3ms (Views: 2.6ms)
661
+ ----------------------------------------------------------------------------------
662
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
663
+ ----------------------------------------------------------------------------------
664
+ ----------------------------------------------------------------------------------
665
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
666
+ ----------------------------------------------------------------------------------
667
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:08:33 +0200
668
+ ----------------------------------------------------------------------------------
669
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
670
+ ----------------------------------------------------------------------------------
671
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:09:20 +0200
672
+ Processing by SomeController#index as HTML
673
+ Rendered text template (0.0ms)
674
+ Completed 200 OK in 3ms (Views: 2.9ms)
675
+ ----------------------------------------------------------------------------------
676
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
677
+ ----------------------------------------------------------------------------------
678
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:09:40 +0200
679
+ Processing by SomeController#index as HTML
680
+ Rendered text template (0.0ms)
681
+ Completed 200 OK in 3ms (Views: 2.9ms)
682
+ ----------------------------------------------------------------------------------
683
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
684
+ ----------------------------------------------------------------------------------
685
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:11:32 +0200
686
+ Processing by SomeController#index as HTML
687
+ Completed 500 Internal Server Error in 2ms
688
+ ----------------------------------------------------------------------------------
689
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
690
+ ----------------------------------------------------------------------------------
691
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:11:46 +0200
692
+ Processing by SomeController#index as HTML
693
+ Completed 500 Internal Server Error in 3ms
694
+ ----------------------------------------------------------------------------------
695
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
696
+ ----------------------------------------------------------------------------------
697
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:12:58 +0200
698
+ Processing by SomeController#index as HTML
699
+ Completed 500 Internal Server Error in 3ms
700
+ ----------------------------------------------------------------------------------
701
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
702
+ ----------------------------------------------------------------------------------
703
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:13:26 +0200
704
+ Processing by SomeController#index as HTML
705
+ Completed 200 OK in 18ms (Views: 0.3ms)
706
+ ----------------------------------------------------------------------------------
707
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
708
+ ----------------------------------------------------------------------------------
709
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:14:21 +0200
710
+ Processing by SomeController#index as HTML
711
+ Completed 200 OK in 15ms (Views: 0.2ms)
712
+ ----------------------------------------------------------------------------------
713
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
714
+ ----------------------------------------------------------------------------------
715
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:14:44 +0200
716
+ Processing by SomeController#index as HTML
717
+ Completed 200 OK in 14ms (Views: 0.1ms)
718
+ ----------------------------------------------------------------------------------
719
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
720
+ ----------------------------------------------------------------------------------
721
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:16:12 +0200
722
+ Processing by SomeController#index as HTML
723
+ Completed 200 OK in 14ms (Views: 0.1ms)
724
+ ----------------------------------------------------------------------------------
725
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
726
+ ----------------------------------------------------------------------------------
727
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:16:38 +0200
728
+ Processing by SomeController#index as HTML
729
+ Rendered text template (0.0ms)
730
+ Completed 200 OK in 17ms (Views: 2.8ms)
731
+ ----------------------------------------------------------------------------------
732
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
733
+ ----------------------------------------------------------------------------------
734
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:16:56 +0200
735
+ Processing by SomeController#index as HTML
736
+ Rendered text template (0.0ms)
737
+ Completed 200 OK in 17ms (Views: 3.0ms)
738
+ ----------------------------------------------------------------------------------
739
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
740
+ ----------------------------------------------------------------------------------
741
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:17:11 +0200
742
+ Processing by SomeController#index as HTML
743
+ Rendered text template (0.0ms)
744
+ Completed 200 OK in 17ms (Views: 2.7ms)
745
+ ----------------------------------------------------------------------------------
746
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
747
+ ----------------------------------------------------------------------------------
748
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:17:37 +0200
749
+ ----------------------------------------------------------------------------------
750
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
751
+ ----------------------------------------------------------------------------------
752
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:19:32 +0200
753
+ Processing by SomeController#index as HTML
754
+ Completed 500 Internal Server Error in 0ms
755
+ ----------------------------------------------------------------------------------
756
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
757
+ ----------------------------------------------------------------------------------
758
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:19:46 +0200
759
+ Processing by SomeController#index as HTML
760
+ Rendered text template (0.0ms)
761
+ Completed 200 OK in 17ms (Views: 2.7ms)
762
+ ----------------------------------------------------------------------------------
763
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
764
+ ----------------------------------------------------------------------------------
765
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:20:19 +0200
766
+ Processing by SomeController#index as HTML
767
+ Rendered text template (0.0ms)
768
+ Completed 200 OK in 17ms (Views: 2.7ms)
769
+ ----------------------------------------------------------------------------------
770
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
771
+ ----------------------------------------------------------------------------------
772
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:20:46 +0200
773
+ Processing by SomeController#index as HTML
774
+ Rendered text template (0.0ms)
775
+ Completed 200 OK in 17ms (Views: 2.8ms)
776
+ ----------------------------------------------------------------------------------
777
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
778
+ ----------------------------------------------------------------------------------
779
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:20:59 +0200
780
+ Processing by SomeController#index as HTML
781
+ Rendered text template (0.0ms)
782
+ Completed 200 OK in 17ms (Views: 2.8ms)
783
+ ----------------------------------------------------------------------------------
784
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
785
+ ----------------------------------------------------------------------------------
786
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:21:27 +0200
787
+ Processing by SomeController#index as HTML
788
+ Rendered text template (0.0ms)
789
+ Completed 200 OK in 17ms (Views: 2.7ms)
790
+ ----------------------------------------------------------------------------------
791
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
792
+ ----------------------------------------------------------------------------------
793
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:21:40 +0200
794
+ Processing by SomeController#index as HTML
795
+ Completed 500 Internal Server Error in 14ms
796
+ ----------------------------------------------------------------------------------
797
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
798
+ ----------------------------------------------------------------------------------
799
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:21:55 +0200
800
+ Processing by SomeController#index as HTML
801
+ Rendered text template (0.0ms)
802
+ Completed 200 OK in 18ms (Views: 3.5ms)
803
+ ----------------------------------------------------------------------------------
804
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
805
+ ----------------------------------------------------------------------------------
806
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:26:17 +0200
807
+ Processing by SomeController#index as HTML
808
+ Rendered text template (0.0ms)
809
+ Completed 200 OK in 17ms (Views: 2.8ms)
810
+ ----------------------------------------------------------------------------------
811
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
812
+ ----------------------------------------------------------------------------------
813
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:46:21 +0200
814
+ Processing by SomeController#index as HTML
815
+ Rendered text template (0.0ms)
816
+ Completed 200 OK in 17ms (Views: 2.9ms)
817
+ ----------------------------------------------------------------------------------
818
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
819
+ ----------------------------------------------------------------------------------
820
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:46:51 +0200
821
+ Processing by SomeController#index as HTML
822
+ Completed 500 Internal Server Error in 14ms
823
+ ----------------------------------------------------------------------------------
824
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
825
+ ----------------------------------------------------------------------------------
826
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:47:16 +0200
827
+ Processing by SomeController#index as HTML
828
+ Rendered text template (0.0ms)
829
+ Completed 200 OK in 17ms (Views: 2.9ms)
830
+ ----------------------------------------------------------------------------------
831
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
832
+ ----------------------------------------------------------------------------------
833
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:47:52 +0200
834
+ Processing by SomeController#index as HTML
835
+ Rendered text template (0.0ms)
836
+ Completed 200 OK in 17ms (Views: 3.1ms)
837
+ ----------------------------------------------------------------------------------
838
+ CurrentProfileTest: test_exposes_current_profile_if_registrar.profile_is_avaliable
839
+ ----------------------------------------------------------------------------------
840
+ Started GET "/" for 127.0.0.1 at 2015-06-01 16:55:41 +0200
841
+ Processing by SomeController#index as HTML
842
+ Rendered text template (0.0ms)
843
+ Completed 200 OK in 17ms (Views: 2.7ms)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: registrar-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11.alpha
4
+ version: 0.0.12.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Owiesniak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-15 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -70,12 +70,14 @@ files:
70
70
  - test/dummy/config/environments/production.rb
71
71
  - test/dummy/config/environments/test.rb
72
72
  - test/dummy/config/initializers/assets.rb
73
+ - test/dummy/config/initializers/authentication.rb
73
74
  - test/dummy/config/initializers/cookies_serializer.rb
74
75
  - test/dummy/config/initializers/filter_parameter_logging.rb
75
76
  - test/dummy/config/initializers/session_store.rb
76
77
  - test/dummy/config/initializers/wrap_parameters.rb
77
78
  - test/dummy/config/routes.rb
78
79
  - test/dummy/config/secrets.yml
80
+ - test/dummy/log/development.log
79
81
  - test/dummy/log/test.log
80
82
  - test/test_helper.rb
81
83
  homepage:
@@ -113,12 +115,14 @@ test_files:
113
115
  - test/dummy/config/environment.rb
114
116
  - test/dummy/config/initializers/cookies_serializer.rb
115
117
  - test/dummy/config/initializers/assets.rb
118
+ - test/dummy/config/initializers/authentication.rb
116
119
  - test/dummy/config/initializers/wrap_parameters.rb
117
120
  - test/dummy/config/initializers/session_store.rb
118
121
  - test/dummy/config/initializers/filter_parameter_logging.rb
119
122
  - test/dummy/config/application.rb
120
123
  - test/dummy/config/boot.rb
121
124
  - test/dummy/config/secrets.yml
125
+ - test/dummy/log/development.log
122
126
  - test/dummy/log/test.log
123
127
  - test/dummy/README.rdoc
124
128
  - test/dummy/Rakefile