branston 0.3.2 → 0.3.3

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