branston 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ class StoriesController < ApplicationController
17
17
  layout 'main'
18
18
  before_filter :login_required, :except => [:show, :generate_feature]
19
19
  before_filter :retrieve_iterations, :except => [:generate_feature]
20
- before_filter :load_iteration
20
+ before_filter :load_iteration, :except => [:generate_feature, :show]
21
21
 
22
22
  in_place_edit_for :story, :title
23
23
  in_place_edit_for :story, :description
@@ -5,7 +5,7 @@
5
5
  <%= in_place_editor_field 'story', 'title', {}, :url => {
6
6
  :action => "set_story_title", :id => @story.id,
7
7
  :iteration_id => @iteration.to_param } %> &nbsp;
8
- <%= clippy("branston -f -g #{@story.to_param} -b #{request.host} -p #{request.port} ", "#FFFF99") %>
8
+ <%= clippy("branston -g -f #{@story.to_param} -b #{request.host} -p #{request.port} ", "#FFFF99") %>
9
9
  <%= link_to image_tag("/images/icons/delete_icon_20x19.png", :alt => "Delete"),
10
10
  iteration_story_path(@iteration, @story), :confirm => 'Delete this story?',
11
11
  :method => :delete, :class => "delete-small" %>
@@ -19,7 +19,7 @@
19
19
  <%= hidden_field_tag 'id', @story.id %>
20
20
  <div>
21
21
  <%= f.select :points, (1..10).to_a, {}, :id => element_id(@story,'points') %> Points
22
- </div>
22
+ </div>
23
23
  <div>
24
24
  <%= f.label :status %>
25
25
  <%= f.select :status, ['new', 'in_progress', 'completed'], {},
@@ -3598,3 +3598,140 @@ Migrating to AddStatusToStory (20091223100903)
3598
3598
  SQL (0.1ms) PRAGMA index_list("user_roles")
3599
3599
  SQL (0.2ms) PRAGMA index_list("users")
3600
3600
  SQL (0.2ms) PRAGMA index_info('index_users_on_login')
3601
+
3602
+
3603
+ Processing IterationsController#index (for 127.0.0.1 at 2010-01-07 17:30:21) [GET]
3604
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3605
+ Iteration Load (0.4ms) SELECT * FROM "iterations" 
3606
+ Rendering template within layouts/main
3607
+ Rendering iterations/index
3608
+ Rendered layouts/_meta (0.1ms)
3609
+ Rendered layouts/_header (0.2ms)
3610
+ Rendered layouts/_footer (0.4ms)
3611
+ Completed in 60ms (View: 16, DB: 1) | 200 OK [http://localhost/]
3612
+
3613
+
3614
+ Processing StoriesController#index (for 127.0.0.1 at 2010-01-07 17:30:24) [GET]
3615
+ Parameters: {"iteration_id"=>"1"}
3616
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3617
+ Iteration Load (0.5ms) SELECT * FROM "iterations" 
3618
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
3619
+ Rendering template within layouts/main
3620
+ Rendering stories/index
3621
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
3622
+ SQL (0.2ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3623
+ Story Load (0.1ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
3624
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3625
+ Story Load (1.1ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3626
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3627
+ Rendered stories/_story (21.3ms)
3628
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3629
+ Rendered stories/_story (12.0ms)
3630
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3631
+ Rendered stories/_story (122.6ms)
3632
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3633
+ Rendered stories/_story (14.2ms)
3634
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
3635
+ Rendered layouts/_meta (0.1ms)
3636
+ Rendered layouts/_header (0.2ms)
3637
+ Rendered layouts/_footer (0.4ms)
3638
+ Completed in 248ms (View: 194, DB: 4) | 200 OK [http://localhost/iterations/1/stories]
3639
+
3640
+
3641
+ Processing ScenariosController#index (for 127.0.0.1 at 2010-01-07 17:30:26) [GET]
3642
+ Parameters: {"authenticity_token"=>"2vLNrAJRQ8dKqgkVAhzA6SkE+MBbZnZ8+1M9y9zFhkI=", "story_id"=>"add-video", "iteration_id"=>"1"}
3643
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3644
+ Story Load (0.5ms) SELECT * FROM "stories" WHERE ("stories"."slug" = 'add-video') LIMIT 1
3645
+ Iteration Load (0.4ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
3646
+ Rendering scenarios/index
3647
+ Scenario Load (0.5ms) SELECT * FROM "scenarios" WHERE ("scenarios".story_id = 3) 
3648
+ Rendered scenarios/_scenario (8.2ms)
3649
+ Rendered scenarios/_scenarios (134.5ms)
3650
+ Completed in 192ms (View: 136, DB: 2) | 200 OK [http://localhost/iterations/1/stories/add-video/scenarios?authenticity_token=2vLNrAJRQ8dKqgkVAhzA6SkE%2BMBbZnZ8%2B1M9y9zFhkI%3D]
3651
+
3652
+
3653
+ Processing PreconditionsController#index (for 127.0.0.1 at 2010-01-07 17:30:27) [GET]
3654
+ Parameters: {"scenario_id"=>"2", "authenticity_token"=>"2vLNrAJRQ8dKqgkVAhzA6SkE+MBbZnZ8+1M9y9zFhkI="}
3655
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3656
+ Scenario Load (0.3ms) SELECT * FROM "scenarios" WHERE ("scenarios"."id" = 2) 
3657
+ Rendering preconditions/index
3658
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "preconditions" WHERE ("preconditions".scenario_id = 2) 
3659
+ Precondition Load (0.3ms) SELECT * FROM "preconditions" WHERE ("preconditions".scenario_id = 2) 
3660
+ Rendered preconditions/_precondition (3.6ms)
3661
+ Rendered preconditions/_preconditions (11.0ms)
3662
+ Story Load (12.5ms) SELECT * FROM "stories" WHERE ("stories"."id" = 3) 
3663
+ Completed in 183ms (View: 135, DB: 14) | 200 OK [http://localhost/preconditions?scenario_id=2&authenticity_token=2vLNrAJRQ8dKqgkVAhzA6SkE%2BMBbZnZ8%2B1M9y9zFhkI%3D]
3664
+
3665
+
3666
+ Processing OutcomesController#index (for 127.0.0.1 at 2010-01-07 17:30:30) [GET]
3667
+ Parameters: {"scenario_id"=>"2", "authenticity_token"=>"2vLNrAJRQ8dKqgkVAhzA6SkE+MBbZnZ8+1M9y9zFhkI="}
3668
+ User Load (0.4ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3669
+ Scenario Load (0.4ms) SELECT * FROM "scenarios" WHERE ("scenarios"."id" = 2) 
3670
+ Rendering outcomes/index
3671
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "outcomes" WHERE ("outcomes".scenario_id = 2) 
3672
+ Outcome Load (0.3ms) SELECT * FROM "outcomes" WHERE ("outcomes".scenario_id = 2) 
3673
+ Rendered outcomes/_outcome (3.7ms)
3674
+ Rendered outcomes/_outcomes (10.8ms)
3675
+ Story Load (0.5ms) SELECT * FROM "stories" WHERE ("stories"."id" = 3) 
3676
+ Completed in 72ms (View: 36, DB: 2) | 200 OK [http://localhost/outcomes?scenario_id=2&authenticity_token=2vLNrAJRQ8dKqgkVAhzA6SkE%2BMBbZnZ8%2B1M9y9zFhkI%3D]
3677
+
3678
+
3679
+ Processing StoriesController#show to xml (for 127.0.0.1 at 2010-01-07 17:30:38) [GET]
3680
+ Parameters: {"id"=>"add-video"}
3681
+ Iteration Load (0.9ms) SELECT * FROM "iterations" 
3682
+
3683
+ ActiveRecord::RecordNotFound (Couldn't find Iteration without an ID):
3684
+ app/controllers/stories_controller.rb:142:in `load_iteration'
3685
+
3686
+ Rendered rescues/_trace (48.6ms)
3687
+ Rendered rescues/_request_and_response (0.4ms)
3688
+ Rendering rescues/layout (not_found)
3689
+
3690
+
3691
+ Processing StoriesController#show to xml (for 127.0.0.1 at 2010-01-07 17:31:41) [GET]
3692
+ Parameters: {"id"=>"add-video"}
3693
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
3694
+
3695
+ ActiveRecord::RecordNotFound (Couldn't find Iteration without an ID):
3696
+ app/controllers/stories_controller.rb:142:in `load_iteration'
3697
+
3698
+ Rendered rescues/_trace (49.8ms)
3699
+ Rendered rescues/_request_and_response (0.5ms)
3700
+ Rendering rescues/layout (not_found)
3701
+
3702
+
3703
+ Processing StoriesController#index (for 127.0.0.1 at 2010-01-07 17:31:55) [GET]
3704
+ Parameters: {"iteration_id"=>"1"}
3705
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
3706
+ Iteration Load (0.5ms) SELECT * FROM "iterations" 
3707
+ Iteration Load (0.3ms) SELECT * FROM "iterations" WHERE ("iterations"."id" = 1) 
3708
+ Rendering template within layouts/main
3709
+ Rendering stories/index
3710
+ SQL (0.3ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
3711
+ SQL (0.2ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3712
+ Story Load (0.1ms) SELECT * FROM "stories" WHERE ((status = "in_progress") AND (iteration_id = 1)) 
3713
+ CACHE (0.0ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3714
+ Story Load (1.2ms) SELECT * FROM "stories" WHERE ((status = "new") AND (iteration_id = 1)) 
3715
+ User Load (0.5ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3716
+ Rendered stories/_story (19.7ms)
3717
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3718
+ Rendered stories/_story (13.4ms)
3719
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3720
+ Rendered stories/_story (14.7ms)
3721
+ CACHE (0.0ms) SELECT * FROM "users" WHERE ("users"."id" = 1) 
3722
+ Rendered stories/_story (13.9ms)
3723
+ SQL (0.4ms) SELECT count(*) AS count_all FROM "stories" WHERE ((status = "completed") AND (iteration_id = 1)) 
3724
+ Rendered layouts/_meta (0.1ms)
3725
+ Rendered layouts/_header (0.2ms)
3726
+ Rendered layouts/_footer (0.4ms)
3727
+ Completed in 248ms (View: 82, DB: 4) | 200 OK [http://localhost/iterations/1/stories]
3728
+
3729
+
3730
+ Processing StoriesController#show to xml (for 127.0.0.1 at 2010-01-07 17:32:03) [GET]
3731
+ Parameters: {"id"=>"add-video"}
3732
+ Iteration Load (0.8ms) SELECT * FROM "iterations" 
3733
+ Story Load (0.6ms) SELECT * FROM "stories" WHERE ("stories"."slug" = 'add-video') LIMIT 1
3734
+ Scenario Load (0.4ms) SELECT * FROM "scenarios" WHERE ("scenarios".story_id = 3) 
3735
+ Precondition Load (0.4ms) SELECT * FROM "preconditions" WHERE ("preconditions".scenario_id = 2) 
3736
+ Outcome Load (0.4ms) SELECT * FROM "outcomes" WHERE ("outcomes".scenario_id = 2) 
3737
+ Completed in 194ms (View: 1, DB: 3) | 200 OK [http://localhost/stories/add-video.xml]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: branston
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - dave.hrycyszyn@headlondon.com