branston 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. data/README.rdoc +44 -16
  2. data/bin/branston +15 -0
  3. data/lib/branston/app/controllers/application_controller.rb +17 -2
  4. data/lib/branston/app/controllers/iterations_controller.rb +15 -0
  5. data/lib/branston/app/controllers/outcomes_controller.rb +14 -0
  6. data/lib/branston/app/controllers/preconditions_controller.rb +14 -0
  7. data/lib/branston/app/controllers/releases_controller.rb +14 -0
  8. data/lib/branston/app/controllers/scenarios_controller.rb +14 -0
  9. data/lib/branston/app/controllers/sessions_controller.rb +14 -0
  10. data/lib/branston/app/controllers/stories_controller.rb +15 -44
  11. data/lib/branston/app/controllers/user_roles_controller.rb +14 -0
  12. data/lib/branston/app/controllers/users_controller.rb +14 -0
  13. data/lib/branston/app/models/iteration.rb +16 -0
  14. data/lib/branston/app/models/outcome.rb +14 -0
  15. data/lib/branston/app/models/participation.rb +14 -0
  16. data/lib/branston/app/models/precondition.rb +14 -0
  17. data/lib/branston/app/models/release.rb +18 -3
  18. data/lib/branston/app/models/scenario.rb +14 -0
  19. data/lib/branston/app/models/story.rb +24 -10
  20. data/lib/branston/app/models/user.rb +18 -3
  21. data/lib/branston/app/models/user_role.rb +14 -0
  22. data/lib/branston/app/views/layouts/_footer.html.erb +3 -2
  23. data/lib/branston/coverage/app-controllers-application_controller_rb.html +105 -15
  24. data/lib/branston/coverage/app-controllers-iterations_controller_rb.html +216 -108
  25. data/lib/branston/coverage/app-controllers-outcomes_controller_rb.html +200 -104
  26. data/lib/branston/coverage/app-controllers-preconditions_controller_rb.html +202 -154
  27. data/lib/branston/coverage/app-controllers-releases_controller_rb.html +190 -94
  28. data/lib/branston/coverage/app-controllers-scenarios_controller_rb.html +213 -105
  29. data/lib/branston/coverage/app-controllers-sessions_controller_rb.html +146 -44
  30. data/lib/branston/coverage/app-controllers-stories_controller_rb.html +328 -112
  31. data/lib/branston/coverage/app-controllers-user_roles_controller_rb.html +208 -88
  32. data/lib/branston/coverage/app-controllers-users_controller_rb.html +125 -29
  33. data/lib/branston/coverage/app-helpers-application_helper_rb.html +25 -7
  34. data/lib/branston/coverage/app-helpers-iterations_helper_rb.html +238 -10
  35. data/lib/branston/coverage/app-helpers-outcomes_helper_rb.html +1 -1
  36. data/lib/branston/coverage/app-helpers-preconditions_helper_rb.html +1 -1
  37. data/lib/branston/coverage/app-helpers-releases_helper_rb.html +1 -1
  38. data/lib/branston/coverage/app-helpers-sessions_helper_rb.html +1 -1
  39. data/lib/branston/coverage/app-helpers-stories_helper_rb.html +1 -1
  40. data/lib/branston/coverage/app-helpers-user_roles_helper_rb.html +1 -1
  41. data/lib/branston/coverage/app-models-iteration_rb.html +192 -24
  42. data/lib/branston/coverage/app-models-outcome_rb.html +102 -18
  43. data/lib/branston/coverage/app-models-participation_rb.html +93 -9
  44. data/lib/branston/coverage/app-models-precondition_rb.html +107 -17
  45. data/lib/branston/coverage/app-models-release_rb.html +99 -9
  46. data/lib/branston/coverage/app-models-scenario_rb.html +100 -16
  47. data/lib/branston/coverage/app-models-story_rb.html +354 -24
  48. data/lib/branston/coverage/app-models-user_rb.html +173 -59
  49. data/lib/branston/coverage/app-models-user_role_rb.html +93 -9
  50. data/lib/branston/coverage/index.html +132 -116
  51. data/lib/branston/coverage/lib-client_rb.html +537 -0
  52. data/lib/branston/coverage/lib-faker_extras_rb.html +1 -1
  53. data/lib/branston/coverage/lib-story_generator_rb.html +43 -49
  54. data/lib/branston/db/development.sqlite3 +0 -0
  55. data/lib/branston/db/test.sqlite3 +0 -0
  56. data/lib/branston/log/development.log +1516 -0
  57. data/lib/branston/log/test.log +10156 -0
  58. data/lib/branston/public/images/agplv3.png +0 -0
  59. data/lib/branston/test/functional/stories_controller_test.rb +33 -32
  60. metadata +5 -5
  61. data/LICENSE +0 -20
@@ -28,8 +28,8 @@
28
28
  <tbody>
29
29
  <tr>
30
30
  <td class="left_align"><a href="app-controllers-user_roles_controller_rb.html">app/controllers/user_roles_controller.rb</a></td>
31
- <td class='right_align'><tt>85</tt></td>
32
- <td class='right_align'><tt>60</tt></td>
31
+ <td class='right_align'><tt>105</tt></td>
32
+ <td class='right_align'><tt>62</tt></td>
33
33
  <td class="left_align"><div class="percent_graph_legend"><tt class=''>100.00%</tt></div>
34
34
  <div class="percent_graph">
35
35
  <div class="covered" style="width:100px"></div>
@@ -56,518 +56,638 @@
56
56
 
57
57
 
58
58
 
59
+ <tr class="inferred">
60
+ <td><pre><a name="line1">1</a> # This file is part of Branston.</pre></td>
61
+ </tr>
62
+
63
+
64
+
65
+ <tr class="inferred">
66
+ <td><pre><a name="line2">2</a> #</pre></td>
67
+ </tr>
68
+
69
+
70
+
71
+ <tr class="inferred">
72
+ <td><pre><a name="line3">3</a> # Branston is free software: you can redistribute it and/or modify</pre></td>
73
+ </tr>
74
+
75
+
76
+
77
+ <tr class="inferred">
78
+ <td><pre><a name="line4">4</a> # it under the terms of the GNU Affero General Public License as published by</pre></td>
79
+ </tr>
80
+
81
+
82
+
83
+ <tr class="inferred">
84
+ <td><pre><a name="line5">5</a> # the Free Software Foundation.</pre></td>
85
+ </tr>
86
+
87
+
88
+
89
+ <tr class="inferred">
90
+ <td><pre><a name="line6">6</a> #</pre></td>
91
+ </tr>
92
+
93
+
94
+
95
+ <tr class="inferred">
96
+ <td><pre><a name="line7">7</a> # Branston is distributed in the hope that it will be useful,</pre></td>
97
+ </tr>
98
+
99
+
100
+
101
+ <tr class="inferred">
102
+ <td><pre><a name="line8">8</a> # but WITHOUT ANY WARRANTY; without even the implied warranty of</pre></td>
103
+ </tr>
104
+
105
+
106
+
107
+ <tr class="inferred">
108
+ <td><pre><a name="line9">9</a> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</pre></td>
109
+ </tr>
110
+
111
+
112
+
113
+ <tr class="inferred">
114
+ <td><pre><a name="line10">10</a> # GNU Affero General Public License for more details.</pre></td>
115
+ </tr>
116
+
117
+
118
+
119
+ <tr class="inferred">
120
+ <td><pre><a name="line11">11</a> #</pre></td>
121
+ </tr>
122
+
123
+
124
+
125
+ <tr class="inferred">
126
+ <td><pre><a name="line12">12</a> # You should have received a copy of the GNU Affero General Public License</pre></td>
127
+ </tr>
128
+
129
+
130
+
131
+ <tr class="inferred">
132
+ <td><pre><a name="line13">13</a> # along with Branston. If not, see &lt;http://www.gnu.org/licenses/&gt;.</pre></td>
133
+ </tr>
134
+
135
+
136
+
137
+ <tr class="inferred">
138
+ <td><pre><a name="line14">14</a> </pre></td>
139
+ </tr>
140
+
141
+
142
+
143
+ <tr class="marked">
144
+ <td><pre><a name="line15">15</a> class UserRolesController &lt; ApplicationController</pre></td>
145
+ </tr>
146
+
147
+
148
+
149
+ <tr class="inferred">
150
+ <td><pre><a name="line16">16</a> </pre></td>
151
+ </tr>
152
+
153
+
154
+
59
155
  <tr class="marked">
60
- <td><pre><a name="line1">1</a> class UserRolesController &lt; ApplicationController</pre></td>
156
+ <td><pre><a name="line17">17</a> layout 'main'</pre></td>
61
157
  </tr>
62
158
 
63
159
 
64
160
 
65
161
  <tr class="inferred">
66
- <td><pre><a name="line2">2</a> # GET /user_roles</pre></td>
162
+ <td><pre><a name="line18">18</a> </pre></td>
163
+ </tr>
164
+
165
+
166
+
167
+ <tr class="marked">
168
+ <td><pre><a name="line19">19</a> before_filter :login_required</pre></td>
67
169
  </tr>
68
170
 
69
171
 
70
172
 
71
173
  <tr class="inferred">
72
- <td><pre><a name="line3">3</a> # GET /user_roles.xml</pre></td>
174
+ <td><pre><a name="line20">20</a> </pre></td>
175
+ </tr>
176
+
177
+
178
+
179
+ <tr class="inferred">
180
+ <td><pre><a name="line21">21</a> # GET /user_roles</pre></td>
181
+ </tr>
182
+
183
+
184
+
185
+ <tr class="inferred">
186
+ <td><pre><a name="line22">22</a> # GET /user_roles.xml</pre></td>
73
187
  </tr>
74
188
 
75
189
 
76
190
 
77
191
  <tr class="marked">
78
- <td><pre><a name="line4">4</a> def index</pre></td>
192
+ <td><pre><a name="line23">23</a> def index</pre></td>
79
193
  </tr>
80
194
 
81
195
 
82
196
 
83
197
  <tr class="marked">
84
- <td><pre><a name="line5">5</a> @user_roles = UserRole.all</pre></td>
198
+ <td><pre><a name="line24">24</a> @user_roles = UserRole.all</pre></td>
85
199
  </tr>
86
200
 
87
201
 
88
202
 
89
203
  <tr class="inferred">
90
- <td><pre><a name="line6">6</a> </pre></td>
204
+ <td><pre><a name="line25">25</a> </pre></td>
91
205
  </tr>
92
206
 
93
207
 
94
208
 
95
209
  <tr class="marked">
96
- <td><pre><a name="line7">7</a> respond_to do |format|</pre></td>
210
+ <td><pre><a name="line26">26</a> respond_to do |format|</pre></td>
97
211
  </tr>
98
212
 
99
213
 
100
214
 
101
215
  <tr class="marked">
102
- <td><pre><a name="line8">8</a> format.html # index.html.erb</pre></td>
216
+ <td><pre><a name="line27">27</a> format.html # index.html.erb</pre></td>
103
217
  </tr>
104
218
 
105
219
 
106
220
 
107
221
  <tr class="marked">
108
- <td><pre><a name="line9">9</a> format.xml { render :xml =&gt; @user_roles }</pre></td>
222
+ <td><pre><a name="line28">28</a> format.xml { render :xml =&gt; @user_roles }</pre></td>
109
223
  </tr>
110
224
 
111
225
 
112
226
 
113
227
  <tr class="inferred">
114
- <td><pre><a name="line10">10</a> end</pre></td>
228
+ <td><pre><a name="line29">29</a> end</pre></td>
115
229
  </tr>
116
230
 
117
231
 
118
232
 
119
233
  <tr class="inferred">
120
- <td><pre><a name="line11">11</a> end</pre></td>
234
+ <td><pre><a name="line30">30</a> end</pre></td>
121
235
  </tr>
122
236
 
123
237
 
124
238
 
125
239
  <tr class="inferred">
126
- <td><pre><a name="line12">12</a> </pre></td>
240
+ <td><pre><a name="line31">31</a> </pre></td>
127
241
  </tr>
128
242
 
129
243
 
130
244
 
131
245
  <tr class="inferred">
132
- <td><pre><a name="line13">13</a> # GET /user_roles/1</pre></td>
246
+ <td><pre><a name="line32">32</a> # GET /user_roles/1</pre></td>
133
247
  </tr>
134
248
 
135
249
 
136
250
 
137
251
  <tr class="inferred">
138
- <td><pre><a name="line14">14</a> # GET /user_roles/1.xml</pre></td>
252
+ <td><pre><a name="line33">33</a> # GET /user_roles/1.xml</pre></td>
139
253
  </tr>
140
254
 
141
255
 
142
256
 
143
257
  <tr class="marked">
144
- <td><pre><a name="line15">15</a> def show</pre></td>
258
+ <td><pre><a name="line34">34</a> def show</pre></td>
145
259
  </tr>
146
260
 
147
261
 
148
262
 
149
263
  <tr class="marked">
150
- <td><pre><a name="line16">16</a> @user_role = UserRole.find(params[:id])</pre></td>
264
+ <td><pre><a name="line35">35</a> @user_role = UserRole.find(params[:id])</pre></td>
151
265
  </tr>
152
266
 
153
267
 
154
268
 
155
269
  <tr class="inferred">
156
- <td><pre><a name="line17">17</a> </pre></td>
270
+ <td><pre><a name="line36">36</a> </pre></td>
157
271
  </tr>
158
272
 
159
273
 
160
274
 
161
275
  <tr class="marked">
162
- <td><pre><a name="line18">18</a> respond_to do |format|</pre></td>
276
+ <td><pre><a name="line37">37</a> respond_to do |format|</pre></td>
163
277
  </tr>
164
278
 
165
279
 
166
280
 
167
281
  <tr class="marked">
168
- <td><pre><a name="line19">19</a> format.html # show.html.erb</pre></td>
282
+ <td><pre><a name="line38">38</a> format.html # show.html.erb</pre></td>
169
283
  </tr>
170
284
 
171
285
 
172
286
 
173
287
  <tr class="marked">
174
- <td><pre><a name="line20">20</a> format.xml { render :xml =&gt; @user_role }</pre></td>
288
+ <td><pre><a name="line39">39</a> format.xml { render :xml =&gt; @user_role }</pre></td>
175
289
  </tr>
176
290
 
177
291
 
178
292
 
179
293
  <tr class="inferred">
180
- <td><pre><a name="line21">21</a> end</pre></td>
294
+ <td><pre><a name="line40">40</a> end</pre></td>
181
295
  </tr>
182
296
 
183
297
 
184
298
 
185
299
  <tr class="inferred">
186
- <td><pre><a name="line22">22</a> end</pre></td>
300
+ <td><pre><a name="line41">41</a> end</pre></td>
187
301
  </tr>
188
302
 
189
303
 
190
304
 
191
305
  <tr class="inferred">
192
- <td><pre><a name="line23">23</a> </pre></td>
306
+ <td><pre><a name="line42">42</a> </pre></td>
193
307
  </tr>
194
308
 
195
309
 
196
310
 
197
311
  <tr class="inferred">
198
- <td><pre><a name="line24">24</a> # GET /user_roles/new</pre></td>
312
+ <td><pre><a name="line43">43</a> # GET /user_roles/new</pre></td>
199
313
  </tr>
200
314
 
201
315
 
202
316
 
203
317
  <tr class="inferred">
204
- <td><pre><a name="line25">25</a> # GET /user_roles/new.xml</pre></td>
318
+ <td><pre><a name="line44">44</a> # GET /user_roles/new.xml</pre></td>
205
319
  </tr>
206
320
 
207
321
 
208
322
 
209
323
  <tr class="marked">
210
- <td><pre><a name="line26">26</a> def new</pre></td>
324
+ <td><pre><a name="line45">45</a> def new</pre></td>
211
325
  </tr>
212
326
 
213
327
 
214
328
 
215
329
  <tr class="marked">
216
- <td><pre><a name="line27">27</a> @user_role = UserRole.new</pre></td>
330
+ <td><pre><a name="line46">46</a> @user_role = UserRole.new</pre></td>
217
331
  </tr>
218
332
 
219
333
 
220
334
 
221
335
  <tr class="inferred">
222
- <td><pre><a name="line28">28</a> </pre></td>
336
+ <td><pre><a name="line47">47</a> </pre></td>
223
337
  </tr>
224
338
 
225
339
 
226
340
 
227
341
  <tr class="marked">
228
- <td><pre><a name="line29">29</a> respond_to do |format|</pre></td>
342
+ <td><pre><a name="line48">48</a> respond_to do |format|</pre></td>
229
343
  </tr>
230
344
 
231
345
 
232
346
 
233
347
  <tr class="marked">
234
- <td><pre><a name="line30">30</a> format.html # new.html.erb</pre></td>
348
+ <td><pre><a name="line49">49</a> format.html # new.html.erb</pre></td>
235
349
  </tr>
236
350
 
237
351
 
238
352
 
239
353
  <tr class="marked">
240
- <td><pre><a name="line31">31</a> format.xml { render :xml =&gt; @user_role }</pre></td>
354
+ <td><pre><a name="line50">50</a> format.xml { render :xml =&gt; @user_role }</pre></td>
241
355
  </tr>
242
356
 
243
357
 
244
358
 
245
359
  <tr class="inferred">
246
- <td><pre><a name="line32">32</a> end</pre></td>
360
+ <td><pre><a name="line51">51</a> end</pre></td>
247
361
  </tr>
248
362
 
249
363
 
250
364
 
251
365
  <tr class="inferred">
252
- <td><pre><a name="line33">33</a> end</pre></td>
366
+ <td><pre><a name="line52">52</a> end</pre></td>
253
367
  </tr>
254
368
 
255
369
 
256
370
 
257
371
  <tr class="inferred">
258
- <td><pre><a name="line34">34</a> </pre></td>
372
+ <td><pre><a name="line53">53</a> </pre></td>
259
373
  </tr>
260
374
 
261
375
 
262
376
 
263
377
  <tr class="inferred">
264
- <td><pre><a name="line35">35</a> # GET /user_roles/1/edit</pre></td>
378
+ <td><pre><a name="line54">54</a> # GET /user_roles/1/edit</pre></td>
265
379
  </tr>
266
380
 
267
381
 
268
382
 
269
383
  <tr class="marked">
270
- <td><pre><a name="line36">36</a> def edit</pre></td>
384
+ <td><pre><a name="line55">55</a> def edit</pre></td>
271
385
  </tr>
272
386
 
273
387
 
274
388
 
275
389
  <tr class="marked">
276
- <td><pre><a name="line37">37</a> @user_role = UserRole.find(params[:id])</pre></td>
390
+ <td><pre><a name="line56">56</a> @user_role = UserRole.find(params[:id])</pre></td>
277
391
  </tr>
278
392
 
279
393
 
280
394
 
281
395
  <tr class="inferred">
282
- <td><pre><a name="line38">38</a> end</pre></td>
396
+ <td><pre><a name="line57">57</a> end</pre></td>
283
397
  </tr>
284
398
 
285
399
 
286
400
 
287
401
  <tr class="inferred">
288
- <td><pre><a name="line39">39</a> </pre></td>
402
+ <td><pre><a name="line58">58</a> </pre></td>
289
403
  </tr>
290
404
 
291
405
 
292
406
 
293
407
  <tr class="inferred">
294
- <td><pre><a name="line40">40</a> # POST /user_roles</pre></td>
408
+ <td><pre><a name="line59">59</a> # POST /user_roles</pre></td>
295
409
  </tr>
296
410
 
297
411
 
298
412
 
299
413
  <tr class="inferred">
300
- <td><pre><a name="line41">41</a> # POST /user_roles.xml</pre></td>
414
+ <td><pre><a name="line60">60</a> # POST /user_roles.xml</pre></td>
301
415
  </tr>
302
416
 
303
417
 
304
418
 
305
419
  <tr class="marked">
306
- <td><pre><a name="line42">42</a> def create</pre></td>
420
+ <td><pre><a name="line61">61</a> def create</pre></td>
307
421
  </tr>
308
422
 
309
423
 
310
424
 
311
425
  <tr class="marked">
312
- <td><pre><a name="line43">43</a> @user_role = UserRole.new(params[:user_role])</pre></td>
426
+ <td><pre><a name="line62">62</a> @user_role = UserRole.new(params[:user_role])</pre></td>
313
427
  </tr>
314
428
 
315
429
 
316
430
 
317
431
  <tr class="inferred">
318
- <td><pre><a name="line44">44</a> </pre></td>
432
+ <td><pre><a name="line63">63</a> </pre></td>
319
433
  </tr>
320
434
 
321
435
 
322
436
 
323
437
  <tr class="marked">
324
- <td><pre><a name="line45">45</a> respond_to do |format|</pre></td>
438
+ <td><pre><a name="line64">64</a> respond_to do |format|</pre></td>
325
439
  </tr>
326
440
 
327
441
 
328
442
 
329
443
  <tr class="marked">
330
- <td><pre><a name="line46">46</a> if @user_role.save</pre></td>
444
+ <td><pre><a name="line65">65</a> if @user_role.save</pre></td>
331
445
  </tr>
332
446
 
333
447
 
334
448
 
335
449
  <tr class="marked">
336
- <td><pre><a name="line47">47</a> flash[:notice] = 'UserRole was successfully created.'</pre></td>
450
+ <td><pre><a name="line66">66</a> flash[:notice] = 'UserRole was successfully created.'</pre></td>
337
451
  </tr>
338
452
 
339
453
 
340
454
 
341
455
  <tr class="marked">
342
- <td><pre><a name="line48">48</a> format.html { redirect_to(@user_role) }</pre></td>
456
+ <td><pre><a name="line67">67</a> format.html { redirect_to(@user_role) }</pre></td>
343
457
  </tr>
344
458
 
345
459
 
346
460
 
347
461
  <tr class="marked">
348
- <td><pre><a name="line49">49</a> format.xml { render :xml =&gt; @user_role, :status =&gt; :created, :location =&gt; @user_role }</pre></td>
462
+ <td><pre><a name="line68">68</a> format.xml { render :xml =&gt; @user_role, :status =&gt; :created, :location =&gt; @user_role }</pre></td>
349
463
  </tr>
350
464
 
351
465
 
352
466
 
353
467
  <tr class="inferred">
354
- <td><pre><a name="line50">50</a> else</pre></td>
468
+ <td><pre><a name="line69">69</a> else</pre></td>
355
469
  </tr>
356
470
 
357
471
 
358
472
 
359
473
  <tr class="marked">
360
- <td><pre><a name="line51">51</a> format.html { render :action =&gt; &quot;new&quot; }</pre></td>
474
+ <td><pre><a name="line70">70</a> format.html { render :action =&gt; &quot;new&quot; }</pre></td>
361
475
  </tr>
362
476
 
363
477
 
364
478
 
365
479
  <tr class="marked">
366
- <td><pre><a name="line52">52</a> format.xml { render :xml =&gt; @user_role.errors, :status =&gt; :unprocessable_entity }</pre></td>
480
+ <td><pre><a name="line71">71</a> format.xml { render :xml =&gt; @user_role.errors, :status =&gt; :unprocessable_entity }</pre></td>
367
481
  </tr>
368
482
 
369
483
 
370
484
 
371
485
  <tr class="inferred">
372
- <td><pre><a name="line53">53</a> end</pre></td>
486
+ <td><pre><a name="line72">72</a> end</pre></td>
373
487
  </tr>
374
488
 
375
489
 
376
490
 
377
491
  <tr class="inferred">
378
- <td><pre><a name="line54">54</a> end</pre></td>
492
+ <td><pre><a name="line73">73</a> end</pre></td>
379
493
  </tr>
380
494
 
381
495
 
382
496
 
383
497
  <tr class="inferred">
384
- <td><pre><a name="line55">55</a> end</pre></td>
498
+ <td><pre><a name="line74">74</a> end</pre></td>
385
499
  </tr>
386
500
 
387
501
 
388
502
 
389
503
  <tr class="inferred">
390
- <td><pre><a name="line56">56</a> </pre></td>
504
+ <td><pre><a name="line75">75</a> </pre></td>
391
505
  </tr>
392
506
 
393
507
 
394
508
 
395
509
  <tr class="inferred">
396
- <td><pre><a name="line57">57</a> # PUT /user_roles/1</pre></td>
510
+ <td><pre><a name="line76">76</a> # PUT /user_roles/1</pre></td>
397
511
  </tr>
398
512
 
399
513
 
400
514
 
401
515
  <tr class="inferred">
402
- <td><pre><a name="line58">58</a> # PUT /user_roles/1.xml</pre></td>
516
+ <td><pre><a name="line77">77</a> # PUT /user_roles/1.xml</pre></td>
403
517
  </tr>
404
518
 
405
519
 
406
520
 
407
521
  <tr class="marked">
408
- <td><pre><a name="line59">59</a> def update</pre></td>
522
+ <td><pre><a name="line78">78</a> def update</pre></td>
409
523
  </tr>
410
524
 
411
525
 
412
526
 
413
527
  <tr class="marked">
414
- <td><pre><a name="line60">60</a> @user_role = UserRole.find(params[:id])</pre></td>
528
+ <td><pre><a name="line79">79</a> @user_role = UserRole.find(params[:id])</pre></td>
415
529
  </tr>
416
530
 
417
531
 
418
532
 
419
533
  <tr class="inferred">
420
- <td><pre><a name="line61">61</a> </pre></td>
534
+ <td><pre><a name="line80">80</a> </pre></td>
421
535
  </tr>
422
536
 
423
537
 
424
538
 
425
539
  <tr class="marked">
426
- <td><pre><a name="line62">62</a> respond_to do |format|</pre></td>
540
+ <td><pre><a name="line81">81</a> respond_to do |format|</pre></td>
427
541
  </tr>
428
542
 
429
543
 
430
544
 
431
545
  <tr class="marked">
432
- <td><pre><a name="line63">63</a> if @user_role.update_attributes(params[:user_role])</pre></td>
546
+ <td><pre><a name="line82">82</a> if @user_role.update_attributes(params[:user_role])</pre></td>
433
547
  </tr>
434
548
 
435
549
 
436
550
 
437
551
  <tr class="marked">
438
- <td><pre><a name="line64">64</a> flash[:notice] = 'UserRole was successfully updated.'</pre></td>
552
+ <td><pre><a name="line83">83</a> flash[:notice] = 'UserRole was successfully updated.'</pre></td>
439
553
  </tr>
440
554
 
441
555
 
442
556
 
443
557
  <tr class="marked">
444
- <td><pre><a name="line65">65</a> format.html { redirect_to(@user_role) }</pre></td>
558
+ <td><pre><a name="line84">84</a> format.html { redirect_to(@user_role) }</pre></td>
445
559
  </tr>
446
560
 
447
561
 
448
562
 
449
563
  <tr class="marked">
450
- <td><pre><a name="line66">66</a> format.xml { head :ok }</pre></td>
564
+ <td><pre><a name="line85">85</a> format.xml { head :ok }</pre></td>
451
565
  </tr>
452
566
 
453
567
 
454
568
 
455
569
  <tr class="inferred">
456
- <td><pre><a name="line67">67</a> else</pre></td>
570
+ <td><pre><a name="line86">86</a> else</pre></td>
457
571
  </tr>
458
572
 
459
573
 
460
574
 
461
575
  <tr class="marked">
462
- <td><pre><a name="line68">68</a> format.html { render :action =&gt; &quot;edit&quot; }</pre></td>
576
+ <td><pre><a name="line87">87</a> format.html { render :action =&gt; &quot;edit&quot; }</pre></td>
463
577
  </tr>
464
578
 
465
579
 
466
580
 
467
581
  <tr class="marked">
468
- <td><pre><a name="line69">69</a> format.xml { render :xml =&gt; @user_role.errors, :status =&gt; :unprocessable_entity }</pre></td>
582
+ <td><pre><a name="line88">88</a> format.xml { render :xml =&gt; @user_role.errors, :status =&gt; :unprocessable_entity }</pre></td>
469
583
  </tr>
470
584
 
471
585
 
472
586
 
473
587
  <tr class="inferred">
474
- <td><pre><a name="line70">70</a> end</pre></td>
588
+ <td><pre><a name="line89">89</a> end</pre></td>
475
589
  </tr>
476
590
 
477
591
 
478
592
 
479
593
  <tr class="inferred">
480
- <td><pre><a name="line71">71</a> end</pre></td>
594
+ <td><pre><a name="line90">90</a> end</pre></td>
481
595
  </tr>
482
596
 
483
597
 
484
598
 
485
599
  <tr class="inferred">
486
- <td><pre><a name="line72">72</a> end</pre></td>
600
+ <td><pre><a name="line91">91</a> end</pre></td>
487
601
  </tr>
488
602
 
489
603
 
490
604
 
491
605
  <tr class="inferred">
492
- <td><pre><a name="line73">73</a> </pre></td>
606
+ <td><pre><a name="line92">92</a> </pre></td>
493
607
  </tr>
494
608
 
495
609
 
496
610
 
497
611
  <tr class="inferred">
498
- <td><pre><a name="line74">74</a> # DELETE /user_roles/1</pre></td>
612
+ <td><pre><a name="line93">93</a> # DELETE /user_roles/1</pre></td>
499
613
  </tr>
500
614
 
501
615
 
502
616
 
503
617
  <tr class="inferred">
504
- <td><pre><a name="line75">75</a> # DELETE /user_roles/1.xml</pre></td>
618
+ <td><pre><a name="line94">94</a> # DELETE /user_roles/1.xml</pre></td>
505
619
  </tr>
506
620
 
507
621
 
508
622
 
509
623
  <tr class="marked">
510
- <td><pre><a name="line76">76</a> def destroy</pre></td>
624
+ <td><pre><a name="line95">95</a> def destroy</pre></td>
511
625
  </tr>
512
626
 
513
627
 
514
628
 
515
629
  <tr class="marked">
516
- <td><pre><a name="line77">77</a> @user_role = UserRole.find(params[:id])</pre></td>
630
+ <td><pre><a name="line96">96</a> @user_role = UserRole.find(params[:id])</pre></td>
517
631
  </tr>
518
632
 
519
633
 
520
634
 
521
635
  <tr class="marked">
522
- <td><pre><a name="line78">78</a> @user_role.destroy</pre></td>
636
+ <td><pre><a name="line97">97</a> @user_role.destroy</pre></td>
523
637
  </tr>
524
638
 
525
639
 
526
640
 
527
641
  <tr class="inferred">
528
- <td><pre><a name="line79">79</a> </pre></td>
642
+ <td><pre><a name="line98">98</a> </pre></td>
529
643
  </tr>
530
644
 
531
645
 
532
646
 
533
647
  <tr class="marked">
534
- <td><pre><a name="line80">80</a> respond_to do |format|</pre></td>
648
+ <td><pre><a name="line99">99</a> respond_to do |format|</pre></td>
535
649
  </tr>
536
650
 
537
651
 
538
652
 
539
653
  <tr class="marked">
540
- <td><pre><a name="line81">81</a> format.html { redirect_to(user_roles_url) }</pre></td>
654
+ <td><pre><a name="line100">100</a> format.html { redirect_to(user_roles_url) }</pre></td>
541
655
  </tr>
542
656
 
543
657
 
544
658
 
545
659
  <tr class="marked">
546
- <td><pre><a name="line82">82</a> format.xml { head :ok }</pre></td>
660
+ <td><pre><a name="line101">101</a> format.xml { head :ok }</pre></td>
661
+ </tr>
662
+
663
+
664
+
665
+ <tr class="inferred">
666
+ <td><pre><a name="line102">102</a> end</pre></td>
547
667
  </tr>
548
668
 
549
669
 
550
670
 
551
671
  <tr class="inferred">
552
- <td><pre><a name="line83">83</a> end</pre></td>
672
+ <td><pre><a name="line103">103</a> end</pre></td>
553
673
  </tr>
554
674
 
555
675
 
556
676
 
557
677
  <tr class="inferred">
558
- <td><pre><a name="line84">84</a> end</pre></td>
678
+ <td><pre><a name="line104">104</a> end</pre></td>
559
679
  </tr>
560
680
 
561
681
 
562
682
 
563
683
  <tr class="inferred">
564
- <td><pre><a name="line85">85</a> end</pre></td>
684
+ <td><pre><a name="line105">105</a> </pre></td>
565
685
  </tr>
566
686
 
567
687
  </tbody>
568
688
  </table>
569
689
 
570
- <p>Generated on Thu Dec 03 16:49:25 +0000 2009 with <a href="http://github.com/relevance/rcov">rcov 0.9.6</a></p>
690
+ <p>Generated on Thu Jan 07 15:27:03 +0000 2010 with <a href="http://github.com/relevance/rcov">rcov 0.9.6</a></p>
571
691
 
572
692
  </body>
573
693
  </html>