branston 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/branston/app/controllers/scenarios_controller.rb +6 -5
- data/lib/branston/app/controllers/stories_controller.rb +101 -89
- data/lib/branston/app/models/story.rb +30 -1
- data/lib/branston/app/models/user.rb +4 -0
- data/lib/branston/app/views/iterations/index.html.erb +1 -1
- data/lib/branston/app/views/layouts/_header.html.erb +1 -2
- data/lib/branston/app/views/scenarios/_scenario.html.erb +6 -3
- data/lib/branston/app/views/scenarios/_scenarios.html.erb +4 -2
- data/lib/branston/app/views/stories/_form.html.erb +15 -4
- data/lib/branston/app/views/stories/_story.html.erb +26 -6
- data/lib/branston/app/views/stories/edit.html.erb +3 -3
- data/lib/branston/app/views/stories/index.html.erb +22 -3
- data/lib/branston/app/views/stories/new.html.erb +2 -2
- data/lib/branston/app/views/stories/show.html.erb +3 -3
- data/lib/branston/config/routes.rb +7 -4
- data/lib/branston/coverage/app-controllers-application_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-iterations_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-outcomes_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-preconditions_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-releases_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-scenarios_controller_rb.html +18 -12
- data/lib/branston/coverage/app-controllers-sessions_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-stories_controller_rb.html +193 -121
- data/lib/branston/coverage/app-controllers-user_roles_controller_rb.html +1 -1
- data/lib/branston/coverage/app-controllers-users_controller_rb.html +1 -1
- data/lib/branston/coverage/app-helpers-application_helper_rb.html +1 -1
- 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 +1 -1
- data/lib/branston/coverage/app-models-release_rb.html +1 -1
- data/lib/branston/coverage/app-models-scenario_rb.html +1 -1
- data/lib/branston/coverage/app-models-story_rb.html +192 -18
- data/lib/branston/coverage/app-models-user_rb.html +33 -9
- data/lib/branston/coverage/app-models-user_role_rb.html +1 -1
- data/lib/branston/coverage/index.html +13 -13
- data/lib/branston/coverage/lib-client_rb.html +1 -1
- data/lib/branston/coverage/lib-faker_extras_rb.html +1 -1
- data/lib/branston/coverage/lib-story_generator_rb.html +1 -1
- data/lib/branston/db/development.sqlite3 +0 -0
- data/lib/branston/db/migrate/20091223100903_add_status_to_story.rb +11 -0
- data/lib/branston/db/pristine.sqlite3 +0 -0
- data/lib/branston/db/schema.rb +5 -3
- data/lib/branston/db/test.sqlite3 +0 -0
- data/lib/branston/lib/branston.rb +4 -2
- data/lib/branston/log/development.log +4970 -0
- data/lib/branston/log/test.log +88225 -0
- data/lib/branston/test/blueprints.rb +10 -7
- data/lib/branston/test/functional/scenarios_controller_test.rb +22 -15
- data/lib/branston/test/functional/stories_controller_test.rb +51 -30
- data/lib/branston/test/unit/story_test.rb +47 -7
- data/lib/branston/test/unit/user_test.rb +4 -0
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_flat.txt +3 -2
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_graph.html +2041 -1307
- data/lib/branston/tmp/performance/BrowsingTest#test_homepage_process_time_tree.txt +7922 -7922
- data/lib/branston/vendor/plugins/state_machine/CHANGELOG.rdoc +298 -0
- data/lib/branston/vendor/plugins/state_machine/LICENSE +20 -0
- data/lib/branston/vendor/plugins/state_machine/README.rdoc +466 -0
- data/lib/branston/vendor/plugins/state_machine/Rakefile +98 -0
- data/lib/branston/vendor/plugins/state_machine/examples/AutoShop_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/Car_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/TrafficLight_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/Vehicle_state.png +0 -0
- data/lib/branston/vendor/plugins/state_machine/examples/auto_shop.rb +11 -0
- data/lib/branston/vendor/plugins/state_machine/examples/car.rb +19 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/controller.rb +51 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/model.rb +28 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_edit.html.erb +24 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_index.html.erb +23 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_new.html.erb +13 -0
- data/lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_show.html.erb +17 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/controller.rb +43 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/migration.rb +11 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/model.rb +23 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_edit.html.erb +25 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_index.html.erb +23 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_new.html.erb +14 -0
- data/lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_show.html.erb +17 -0
- data/lib/branston/vendor/plugins/state_machine/examples/traffic_light.rb +7 -0
- data/lib/branston/vendor/plugins/state_machine/examples/vehicle.rb +31 -0
- data/lib/branston/vendor/plugins/state_machine/init.rb +1 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/assertions.rb +36 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/callback.rb +189 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/condition_proxy.rb +94 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/eval_helpers.rb +67 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/event.rb +252 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/event_collection.rb +122 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/extensions.rb +149 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/guard.rb +230 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/locale.rb +11 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/observer.rb +41 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record.rb +492 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper/observer.rb +139 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper.rb +351 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/sequel.rb +322 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations.rb +68 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/machine.rb +1467 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/machine_collection.rb +155 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher.rb +123 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher_helpers.rb +54 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/node_collection.rb +152 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/state.rb +249 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/state_collection.rb +112 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine/transition.rb +394 -0
- data/lib/branston/vendor/plugins/state_machine/lib/state_machine.rb +388 -0
- data/lib/branston/vendor/plugins/state_machine/state_machine.gemspec +30 -0
- data/lib/branston/vendor/plugins/state_machine/tasks/state_machine.rake +1 -0
- data/lib/branston/vendor/plugins/state_machine/tasks/state_machine.rb +30 -0
- data/lib/branston/vendor/plugins/state_machine/test/classes/switch.rb +11 -0
- data/lib/branston/vendor/plugins/state_machine/test/functional/state_machine_test.rb +941 -0
- data/lib/branston/vendor/plugins/state_machine/test/test_helper.rb +4 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/assertions_test.rb +40 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/callback_test.rb +455 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/condition_proxy_test.rb +328 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/eval_helpers_test.rb +120 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/event_collection_test.rb +326 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/event_test.rb +743 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/guard_test.rb +908 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/active_record_test.rb +1367 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/data_mapper_test.rb +962 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations/sequel_test.rb +859 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/integrations_test.rb +42 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/invalid_event_test.rb +7 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb +7 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/machine_collection_test.rb +938 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/machine_test.rb +2004 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/matcher_helpers_test.rb +37 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/matcher_test.rb +155 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/node_collection_test.rb +207 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_collection_test.rb +280 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_machine_test.rb +31 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/state_test.rb +795 -0
- data/lib/branston/vendor/plugins/state_machine/test/unit/transition_test.rb +1212 -0
- metadata +81 -2
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
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dave.hrycyszyn@headlondon.com
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2009-12-
|
14
|
+
date: 2009-12-23 00:00:00 +00:00
|
15
15
|
default_executable: branston
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
@@ -232,6 +232,7 @@ files:
|
|
232
232
|
- lib/branston/db/migrate/20091127173744_add_author_id_to_story.rb
|
233
233
|
- lib/branston/db/migrate/20091202105555_create_releases.rb
|
234
234
|
- lib/branston/db/migrate/20091204173634_add_slug_to_stories.rb
|
235
|
+
- lib/branston/db/migrate/20091223100903_add_status_to_story.rb
|
235
236
|
- lib/branston/db/pristine.sqlite3
|
236
237
|
- lib/branston/db/schema.rb
|
237
238
|
- lib/branston/db/seeds.rb
|
@@ -483,6 +484,84 @@ files:
|
|
483
484
|
- lib/branston/vendor/plugins/restful_authentication/rails/init.rb
|
484
485
|
- lib/branston/vendor/plugins/restful_authentication/restful-authentication.gemspec
|
485
486
|
- lib/branston/vendor/plugins/restful_authentication/tasks/auth.rake
|
487
|
+
- lib/branston/vendor/plugins/state_machine/CHANGELOG.rdoc
|
488
|
+
- lib/branston/vendor/plugins/state_machine/LICENSE
|
489
|
+
- lib/branston/vendor/plugins/state_machine/README.rdoc
|
490
|
+
- lib/branston/vendor/plugins/state_machine/Rakefile
|
491
|
+
- lib/branston/vendor/plugins/state_machine/examples/AutoShop_state.png
|
492
|
+
- lib/branston/vendor/plugins/state_machine/examples/Car_state.png
|
493
|
+
- lib/branston/vendor/plugins/state_machine/examples/TrafficLight_state.png
|
494
|
+
- lib/branston/vendor/plugins/state_machine/examples/Vehicle_state.png
|
495
|
+
- lib/branston/vendor/plugins/state_machine/examples/auto_shop.rb
|
496
|
+
- lib/branston/vendor/plugins/state_machine/examples/car.rb
|
497
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/controller.rb
|
498
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/model.rb
|
499
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_edit.html.erb
|
500
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_index.html.erb
|
501
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_new.html.erb
|
502
|
+
- lib/branston/vendor/plugins/state_machine/examples/merb-rest/view_show.html.erb
|
503
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/controller.rb
|
504
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/migration.rb
|
505
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/model.rb
|
506
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_edit.html.erb
|
507
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_index.html.erb
|
508
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_new.html.erb
|
509
|
+
- lib/branston/vendor/plugins/state_machine/examples/rails-rest/view_show.html.erb
|
510
|
+
- lib/branston/vendor/plugins/state_machine/examples/traffic_light.rb
|
511
|
+
- lib/branston/vendor/plugins/state_machine/examples/vehicle.rb
|
512
|
+
- lib/branston/vendor/plugins/state_machine/init.rb
|
513
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine.rb
|
514
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/assertions.rb
|
515
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/callback.rb
|
516
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/condition_proxy.rb
|
517
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/eval_helpers.rb
|
518
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/event.rb
|
519
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/event_collection.rb
|
520
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/extensions.rb
|
521
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/guard.rb
|
522
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations.rb
|
523
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record.rb
|
524
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/locale.rb
|
525
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/active_record/observer.rb
|
526
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper.rb
|
527
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/data_mapper/observer.rb
|
528
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/integrations/sequel.rb
|
529
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/machine.rb
|
530
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/machine_collection.rb
|
531
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher.rb
|
532
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/matcher_helpers.rb
|
533
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/node_collection.rb
|
534
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/state.rb
|
535
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/state_collection.rb
|
536
|
+
- lib/branston/vendor/plugins/state_machine/lib/state_machine/transition.rb
|
537
|
+
- lib/branston/vendor/plugins/state_machine/state_machine.gemspec
|
538
|
+
- lib/branston/vendor/plugins/state_machine/tasks/state_machine.rake
|
539
|
+
- lib/branston/vendor/plugins/state_machine/tasks/state_machine.rb
|
540
|
+
- lib/branston/vendor/plugins/state_machine/test/classes/switch.rb
|
541
|
+
- lib/branston/vendor/plugins/state_machine/test/functional/state_machine_test.rb
|
542
|
+
- lib/branston/vendor/plugins/state_machine/test/test_helper.rb
|
543
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/assertions_test.rb
|
544
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/callback_test.rb
|
545
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/condition_proxy_test.rb
|
546
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/eval_helpers_test.rb
|
547
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/event_collection_test.rb
|
548
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/event_test.rb
|
549
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/guard_test.rb
|
550
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/integrations/active_record_test.rb
|
551
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/integrations/data_mapper_test.rb
|
552
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/integrations/sequel_test.rb
|
553
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/integrations_test.rb
|
554
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/invalid_event_test.rb
|
555
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/invalid_transition_test.rb
|
556
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/machine_collection_test.rb
|
557
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/machine_test.rb
|
558
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/matcher_helpers_test.rb
|
559
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/matcher_test.rb
|
560
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/node_collection_test.rb
|
561
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/state_collection_test.rb
|
562
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/state_machine_test.rb
|
563
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/state_test.rb
|
564
|
+
- lib/branston/vendor/plugins/state_machine/test/unit/transition_test.rb
|
486
565
|
- LICENSE
|
487
566
|
- README.rdoc
|
488
567
|
has_rdoc: true
|