motiro 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/app/controllers/wiki_controller.rb +25 -12
- data/app/core/version.rb +1 -1
- data/app/helpers/default_page_provider.rb +0 -2
- data/app/models/page.rb +64 -26
- data/app/models/revision.rb +27 -0
- data/app/views/javascript/motiro.rjs +1 -0
- data/app/views/wiki/_editbar.rhtml +3 -0
- data/app/views/wiki/history.rhtml +28 -0
- data/app/views/wiki/show.rhtml +2 -2
- data/db/migrate/016_create_revisions.rb +19 -0
- data/db/migrate/017_revision_mimics_page.rb +13 -0
- data/db/migrate/018_drop_redundant_page_columns.rb +25 -0
- data/db/migrate/019_move_event_date_to_revision.rb +13 -0
- data/db/motirodb.sqlite.initial +0 -0
- data/db/schema_version +1 -1
- data/db/translation/pt-BR.rb +4 -2
- data/test/acceptance/wiki_test.rb +4 -4
- data/test/fixtures/pages.yml +14 -54
- data/test/fixtures/revisions.yml +134 -0
- data/test/functional/root_controller_test.rb +2 -2
- data/test/functional/wiki_controller_test.rb +52 -8
- data/test/test_helper.rb +29 -0
- data/test/unit/page_test.rb +173 -51
- data/test/unit/revision_test.rb +32 -0
- data/test/unit/user_test.rb +4 -4
- data/test/unit/wiki_reporter_test.rb +5 -6
- metadata +327 -320
- data/app/controllers/edition_controller.rb +0 -13