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