paper_trail_manager 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -7
- data/.travis.yml +9 -4
- data/Appraisals +15 -0
- data/CHANGES.md +5 -0
- data/Gemfile +3 -26
- data/README.md +6 -1
- data/Rakefile +8 -31
- data/app/controllers/paper_trail_manager/changes_controller.rb +3 -3
- data/app/helpers/paper_trail_manager/changes_helper.rb +1 -1
- data/app/views/paper_trail_manager/changes/_version.html.erb +1 -1
- data/gemfiles/rails_3.2.gemfile +7 -0
- data/gemfiles/rails_4.0.gemfile +7 -0
- data/gemfiles/rails_4.1.gemfile +7 -0
- data/gemfiles/rails_4.2.gemfile +7 -0
- data/lib/paper_trail_manager.rb +1 -0
- data/paper_trail_manager.gemspec +27 -381
- data/{rails_test/common/spec → spec}/controllers/entities_controller_spec.rb +1 -1
- data/{rails_test/common/spec → spec}/controllers/platforms_controller_spec.rb +1 -1
- data/{rails_test/rails-3.1.8 → spec/dummy}/.gitignore +0 -0
- data/spec/dummy/Gemfile +9 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/README.rdoc +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/Rakefile +0 -0
- data/{rails_test/rails-3.0.17/public → spec/dummy/app/assets}/images/rails.png +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/app/assets/javascripts/application.js +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/app/assets/stylesheets/application.css +0 -0
- data/{rails_test/common → spec/dummy}/app/controllers/application_controller.rb +0 -0
- data/{rails_test/common → spec/dummy}/app/controllers/entities_controller.rb +0 -0
- data/{rails_test/common → spec/dummy}/app/controllers/platforms_controller.rb +0 -0
- data/{rails_test/common → spec/dummy}/app/helpers/application_helper.rb +0 -0
- data/{rails_test/common → spec/dummy}/app/helpers/entities_helper.rb +0 -0
- data/{rails_test/common → spec/dummy}/app/helpers/platforms_helper.rb +0 -0
- data/{rails_test/rails-3.0.17/lib/tasks → spec/dummy/app/mailers}/.gitkeep +0 -0
- data/{rails_test/rails-3.0.17/public/stylesheets → spec/dummy/app/models}/.gitkeep +0 -0
- data/{rails_test/common → spec/dummy}/app/models/entity.rb +0 -2
- data/{rails_test/rails-3.1.8 → spec/dummy}/app/models/platform.rb +0 -2
- data/{rails_test/common → spec/dummy}/app/views/application/index.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/entities/_form.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/entities/edit.html.erb +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/app/views/entities/index.html.erb +1 -1
- data/{rails_test/common → spec/dummy}/app/views/entities/new.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/entities/show.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/layouts/application.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/platforms/_form.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/platforms/edit.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/platforms/index.html.erb +1 -1
- data/{rails_test/common → spec/dummy}/app/views/platforms/new.html.erb +0 -0
- data/{rails_test/common → spec/dummy}/app/views/platforms/show.html.erb +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config.ru +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/application.rb +3 -1
- data/{rails_test/rails-3.0.17 → spec/dummy}/config/boot.rb +0 -0
- data/{rails_test/common → spec/dummy}/config/database.yml +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/environment.rb +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/development.rb +1 -1
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/production.rb +1 -1
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/test.rb +4 -5
- data/{rails_test/rails-3.0.17 → spec/dummy}/config/initializers/backtrace_silencers.rb +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/initializers/inflections.rb +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/config/initializers/mime_types.rb +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/config/initializers/secret_token.rb +1 -1
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/initializers/session_store.rb +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/config/initializers/wrap_parameters.rb +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/config/locales/en.yml +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/config/routes.rb +0 -0
- data/{rails_test/common → spec/dummy}/db/migrate/20110228091428_create_entities.rb +0 -0
- data/{rails_test/common → spec/dummy}/db/migrate/20110228093241_create_platforms.rb +0 -0
- data/{rails_test/common → spec/dummy}/db/migrate/20110228094444_create_versions.rb +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/db/schema.rb +15 -14
- data/{rails_test/rails-3.1.8 → spec/dummy}/db/seeds.rb +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/doc/README_FOR_APP +0 -0
- data/{rails_test/rails-3.0.17/vendor/plugins → spec/dummy/lib/assets}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/app/mailers → spec/dummy/lib/tasks}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/app/models → spec/dummy/log}/.gitkeep +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/public/404.html +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/public/422.html +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/public/500.html +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/public/favicon.ico +0 -0
- data/{rails_test/rails-3.2.8 → spec/dummy}/public/index.html +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/public/robots.txt +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/script/rails +0 -0
- data/{rails_test/rails-3.1.8/lib/assets → spec/dummy/test/fixtures}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/lib/tasks → spec/dummy/test/functional}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/log → spec/dummy/test/integration}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8 → spec/dummy}/test/performance/browsing_test.rb +0 -0
- data/{rails_test/rails-3.0.17 → spec/dummy}/test/test_helper.rb +0 -0
- data/{rails_test/rails-3.1.8/test/fixtures → spec/dummy/test/unit}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/test/functional → spec/dummy/vendor/assets/javascripts}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/test/integration → spec/dummy/vendor/assets/stylesheets}/.gitkeep +0 -0
- data/{rails_test/rails-3.1.8/test/unit → spec/dummy/vendor/plugins}/.gitkeep +0 -0
- data/{rails_test/common/spec → spec}/helpers/entities_helper_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/helpers/platforms_helper_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/integration/navigation_spec.rb +0 -0
- data/{rails_test/rails-3.1.8/spec → spec}/integration/paper_trail_manager_spec.rb +14 -14
- data/{rails_test/common/spec → spec}/models/entity_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/models/platform_spec.rb +0 -0
- data/spec/rails_helper.rb +27 -0
- data/{rails_test/common/spec → spec}/requests/entities_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/requests/platforms_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/routing/entities_routing_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/routing/platforms_routing_spec.rb +0 -0
- data/spec/spec_helper.rb +90 -0
- data/{rails_test/rails-3.0.17/spec → spec}/support/factories.rb +1 -1
- data/{rails_test/common/spec → spec}/views/entities/edit.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/entities/index.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/entities/new.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/entities/show.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/platforms/edit.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/platforms/index.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/platforms/new.html.erb_spec.rb +0 -0
- data/{rails_test/common/spec → spec}/views/platforms/show.html.erb_spec.rb +0 -0
- metadata +368 -458
- data/Gemfile.lock +0 -104
- data/VERSION +0 -1
- data/rails_test/Rakefile +0 -90
- data/rails_test/common/app/models/platform.rb +0 -8
- data/rails_test/common/app/views/entities/index.html.erb +0 -21
- data/rails_test/common/spec/integration/paper_trail_manager_spec.rb +0 -232
- data/rails_test/common/spec/spec_helper.rb +0 -32
- data/rails_test/common/spec/support/factories.rb +0 -14
- data/rails_test/generate_test_directory +0 -59
- data/rails_test/rails-3.0.17/.gitignore +0 -4
- data/rails_test/rails-3.0.17/README +0 -256
- data/rails_test/rails-3.0.17/Rakefile +0 -7
- data/rails_test/rails-3.0.17/app/controllers/application_controller.rb +0 -6
- data/rails_test/rails-3.0.17/app/controllers/entities_controller.rb +0 -83
- data/rails_test/rails-3.0.17/app/controllers/platforms_controller.rb +0 -83
- data/rails_test/rails-3.0.17/app/helpers/application_helper.rb +0 -2
- data/rails_test/rails-3.0.17/app/helpers/entities_helper.rb +0 -2
- data/rails_test/rails-3.0.17/app/helpers/platforms_helper.rb +0 -2
- data/rails_test/rails-3.0.17/app/models/entity.rb +0 -8
- data/rails_test/rails-3.0.17/app/models/platform.rb +0 -8
- data/rails_test/rails-3.0.17/app/views/application/index.html.erb +0 -6
- data/rails_test/rails-3.0.17/app/views/entities/_form.html.erb +0 -17
- data/rails_test/rails-3.0.17/app/views/entities/edit.html.erb +0 -6
- data/rails_test/rails-3.0.17/app/views/entities/index.html.erb +0 -21
- data/rails_test/rails-3.0.17/app/views/entities/new.html.erb +0 -5
- data/rails_test/rails-3.0.17/app/views/entities/show.html.erb +0 -5
- data/rails_test/rails-3.0.17/app/views/layouts/application.html.erb +0 -14
- data/rails_test/rails-3.0.17/app/views/platforms/_form.html.erb +0 -17
- data/rails_test/rails-3.0.17/app/views/platforms/edit.html.erb +0 -6
- data/rails_test/rails-3.0.17/app/views/platforms/index.html.erb +0 -21
- data/rails_test/rails-3.0.17/app/views/platforms/new.html.erb +0 -5
- data/rails_test/rails-3.0.17/app/views/platforms/show.html.erb +0 -5
- data/rails_test/rails-3.0.17/config.ru +0 -4
- data/rails_test/rails-3.0.17/config/application.rb +0 -42
- data/rails_test/rails-3.0.17/config/database.yml +0 -22
- data/rails_test/rails-3.0.17/config/environment.rb +0 -5
- data/rails_test/rails-3.0.17/config/environments/development.rb +0 -26
- data/rails_test/rails-3.0.17/config/environments/production.rb +0 -49
- data/rails_test/rails-3.0.17/config/environments/test.rb +0 -35
- data/rails_test/rails-3.0.17/config/initializers/inflections.rb +0 -10
- data/rails_test/rails-3.0.17/config/initializers/secret_token.rb +0 -7
- data/rails_test/rails-3.0.17/config/initializers/session_store.rb +0 -8
- data/rails_test/rails-3.0.17/config/locales/en.yml +0 -5
- data/rails_test/rails-3.0.17/config/routes.rb +0 -8
- data/rails_test/rails-3.0.17/db/migrate/20110228091428_create_entities.rb +0 -14
- data/rails_test/rails-3.0.17/db/migrate/20110228093241_create_platforms.rb +0 -14
- data/rails_test/rails-3.0.17/db/migrate/20110228094444_create_versions.rb +0 -18
- data/rails_test/rails-3.0.17/db/schema.rb +0 -40
- data/rails_test/rails-3.0.17/db/seeds.rb +0 -7
- data/rails_test/rails-3.0.17/public/500.html +0 -26
- data/rails_test/rails-3.0.17/public/index.html +0 -239
- data/rails_test/rails-3.0.17/public/javascripts/application.js +0 -2
- data/rails_test/rails-3.0.17/public/javascripts/controls.js +0 -965
- data/rails_test/rails-3.0.17/public/javascripts/dragdrop.js +0 -974
- data/rails_test/rails-3.0.17/public/javascripts/effects.js +0 -1123
- data/rails_test/rails-3.0.17/public/javascripts/prototype.js +0 -6001
- data/rails_test/rails-3.0.17/public/javascripts/rails.js +0 -202
- data/rails_test/rails-3.0.17/spec/controllers/entities_controller_spec.rb +0 -125
- data/rails_test/rails-3.0.17/spec/controllers/platforms_controller_spec.rb +0 -125
- data/rails_test/rails-3.0.17/spec/helpers/entities_helper_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/helpers/platforms_helper_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/integration/navigation_spec.rb +0 -7
- data/rails_test/rails-3.0.17/spec/integration/paper_trail_manager_spec.rb +0 -232
- data/rails_test/rails-3.0.17/spec/models/entity_spec.rb +0 -14
- data/rails_test/rails-3.0.17/spec/models/platform_spec.rb +0 -14
- data/rails_test/rails-3.0.17/spec/requests/entities_spec.rb +0 -11
- data/rails_test/rails-3.0.17/spec/requests/platforms_spec.rb +0 -11
- data/rails_test/rails-3.0.17/spec/routing/entities_routing_spec.rb +0 -35
- data/rails_test/rails-3.0.17/spec/routing/platforms_routing_spec.rb +0 -35
- data/rails_test/rails-3.0.17/spec/spec_helper.rb +0 -32
- data/rails_test/rails-3.0.17/spec/views/entities/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/views/entities/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.0.17/spec/views/entities/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/views/entities/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.0.17/spec/views/platforms/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/views/platforms/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.0.17/spec/views/platforms/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.0.17/spec/views/platforms/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.0.17/test/performance/browsing_test.rb +0 -9
- data/rails_test/rails-3.1.8/README +0 -261
- data/rails_test/rails-3.1.8/Rakefile +0 -7
- data/rails_test/rails-3.1.8/app/assets/images/rails.png +0 -0
- data/rails_test/rails-3.1.8/app/assets/javascripts/application.js +0 -9
- data/rails_test/rails-3.1.8/app/assets/stylesheets/application.css +0 -7
- data/rails_test/rails-3.1.8/app/controllers/application_controller.rb +0 -6
- data/rails_test/rails-3.1.8/app/controllers/entities_controller.rb +0 -83
- data/rails_test/rails-3.1.8/app/controllers/platforms_controller.rb +0 -83
- data/rails_test/rails-3.1.8/app/helpers/application_helper.rb +0 -2
- data/rails_test/rails-3.1.8/app/helpers/entities_helper.rb +0 -2
- data/rails_test/rails-3.1.8/app/helpers/platforms_helper.rb +0 -2
- data/rails_test/rails-3.1.8/app/models/entity.rb +0 -8
- data/rails_test/rails-3.1.8/app/views/application/index.html.erb +0 -6
- data/rails_test/rails-3.1.8/app/views/entities/_form.html.erb +0 -17
- data/rails_test/rails-3.1.8/app/views/entities/edit.html.erb +0 -6
- data/rails_test/rails-3.1.8/app/views/entities/new.html.erb +0 -5
- data/rails_test/rails-3.1.8/app/views/entities/show.html.erb +0 -5
- data/rails_test/rails-3.1.8/app/views/layouts/application.html.erb +0 -14
- data/rails_test/rails-3.1.8/app/views/platforms/_form.html.erb +0 -17
- data/rails_test/rails-3.1.8/app/views/platforms/edit.html.erb +0 -6
- data/rails_test/rails-3.1.8/app/views/platforms/index.html.erb +0 -21
- data/rails_test/rails-3.1.8/app/views/platforms/new.html.erb +0 -5
- data/rails_test/rails-3.1.8/app/views/platforms/show.html.erb +0 -5
- data/rails_test/rails-3.1.8/config.ru +0 -4
- data/rails_test/rails-3.1.8/config/application.rb +0 -48
- data/rails_test/rails-3.1.8/config/boot.rb +0 -6
- data/rails_test/rails-3.1.8/config/database.yml +0 -22
- data/rails_test/rails-3.1.8/config/environment.rb +0 -5
- data/rails_test/rails-3.1.8/config/environments/development.rb +0 -30
- data/rails_test/rails-3.1.8/config/environments/production.rb +0 -60
- data/rails_test/rails-3.1.8/config/environments/test.rb +0 -39
- data/rails_test/rails-3.1.8/config/initializers/backtrace_silencers.rb +0 -7
- data/rails_test/rails-3.1.8/config/initializers/inflections.rb +0 -10
- data/rails_test/rails-3.1.8/config/initializers/mime_types.rb +0 -5
- data/rails_test/rails-3.1.8/config/initializers/session_store.rb +0 -8
- data/rails_test/rails-3.1.8/config/routes.rb +0 -8
- data/rails_test/rails-3.1.8/db/migrate/20110228091428_create_entities.rb +0 -14
- data/rails_test/rails-3.1.8/db/migrate/20110228093241_create_platforms.rb +0 -14
- data/rails_test/rails-3.1.8/db/migrate/20110228094444_create_versions.rb +0 -18
- data/rails_test/rails-3.1.8/doc/README_FOR_APP +0 -2
- data/rails_test/rails-3.1.8/public/404.html +0 -26
- data/rails_test/rails-3.1.8/public/422.html +0 -26
- data/rails_test/rails-3.1.8/public/500.html +0 -26
- data/rails_test/rails-3.1.8/public/favicon.ico +0 -0
- data/rails_test/rails-3.1.8/public/index.html +0 -241
- data/rails_test/rails-3.1.8/public/robots.txt +0 -5
- data/rails_test/rails-3.1.8/script/rails +0 -6
- data/rails_test/rails-3.1.8/spec/controllers/entities_controller_spec.rb +0 -125
- data/rails_test/rails-3.1.8/spec/controllers/platforms_controller_spec.rb +0 -125
- data/rails_test/rails-3.1.8/spec/helpers/entities_helper_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/helpers/platforms_helper_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/integration/navigation_spec.rb +0 -7
- data/rails_test/rails-3.1.8/spec/models/entity_spec.rb +0 -14
- data/rails_test/rails-3.1.8/spec/models/platform_spec.rb +0 -14
- data/rails_test/rails-3.1.8/spec/requests/entities_spec.rb +0 -11
- data/rails_test/rails-3.1.8/spec/requests/platforms_spec.rb +0 -11
- data/rails_test/rails-3.1.8/spec/routing/entities_routing_spec.rb +0 -35
- data/rails_test/rails-3.1.8/spec/routing/platforms_routing_spec.rb +0 -35
- data/rails_test/rails-3.1.8/spec/spec_helper.rb +0 -32
- data/rails_test/rails-3.1.8/spec/support/factories.rb +0 -14
- data/rails_test/rails-3.1.8/spec/views/entities/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/views/entities/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.1.8/spec/views/entities/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/views/entities/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.1.8/spec/views/platforms/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/views/platforms/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.1.8/spec/views/platforms/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.1.8/spec/views/platforms/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.1.8/test/test_helper.rb +0 -13
- data/rails_test/rails-3.1.8/vendor/assets/stylesheets/.gitkeep +0 -0
- data/rails_test/rails-3.1.8/vendor/plugins/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/.gitignore +0 -15
- data/rails_test/rails-3.2.8/app/assets/images/rails.png +0 -0
- data/rails_test/rails-3.2.8/app/controllers/application_controller.rb +0 -6
- data/rails_test/rails-3.2.8/app/controllers/entities_controller.rb +0 -83
- data/rails_test/rails-3.2.8/app/controllers/platforms_controller.rb +0 -83
- data/rails_test/rails-3.2.8/app/helpers/application_helper.rb +0 -2
- data/rails_test/rails-3.2.8/app/helpers/entities_helper.rb +0 -2
- data/rails_test/rails-3.2.8/app/helpers/platforms_helper.rb +0 -2
- data/rails_test/rails-3.2.8/app/mailers/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/app/models/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/app/models/entity.rb +0 -8
- data/rails_test/rails-3.2.8/app/models/platform.rb +0 -8
- data/rails_test/rails-3.2.8/app/views/application/index.html.erb +0 -6
- data/rails_test/rails-3.2.8/app/views/entities/_form.html.erb +0 -17
- data/rails_test/rails-3.2.8/app/views/entities/edit.html.erb +0 -6
- data/rails_test/rails-3.2.8/app/views/entities/index.html.erb +0 -21
- data/rails_test/rails-3.2.8/app/views/entities/new.html.erb +0 -5
- data/rails_test/rails-3.2.8/app/views/entities/show.html.erb +0 -5
- data/rails_test/rails-3.2.8/app/views/layouts/application.html.erb +0 -14
- data/rails_test/rails-3.2.8/app/views/platforms/_form.html.erb +0 -17
- data/rails_test/rails-3.2.8/app/views/platforms/edit.html.erb +0 -6
- data/rails_test/rails-3.2.8/app/views/platforms/index.html.erb +0 -21
- data/rails_test/rails-3.2.8/app/views/platforms/new.html.erb +0 -5
- data/rails_test/rails-3.2.8/app/views/platforms/show.html.erb +0 -5
- data/rails_test/rails-3.2.8/config/boot.rb +0 -6
- data/rails_test/rails-3.2.8/config/database.yml +0 -22
- data/rails_test/rails-3.2.8/config/initializers/backtrace_silencers.rb +0 -7
- data/rails_test/rails-3.2.8/config/initializers/mime_types.rb +0 -5
- data/rails_test/rails-3.2.8/config/initializers/secret_token.rb +0 -7
- data/rails_test/rails-3.2.8/config/initializers/wrap_parameters.rb +0 -14
- data/rails_test/rails-3.2.8/config/locales/en.yml +0 -5
- data/rails_test/rails-3.2.8/db/migrate/20110228091428_create_entities.rb +0 -14
- data/rails_test/rails-3.2.8/db/migrate/20110228093241_create_platforms.rb +0 -14
- data/rails_test/rails-3.2.8/db/migrate/20110228094444_create_versions.rb +0 -18
- data/rails_test/rails-3.2.8/db/schema.rb +0 -40
- data/rails_test/rails-3.2.8/db/seeds.rb +0 -7
- data/rails_test/rails-3.2.8/doc/README_FOR_APP +0 -2
- data/rails_test/rails-3.2.8/lib/assets/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/lib/tasks/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/log/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/public/404.html +0 -26
- data/rails_test/rails-3.2.8/public/422.html +0 -26
- data/rails_test/rails-3.2.8/public/favicon.ico +0 -0
- data/rails_test/rails-3.2.8/public/robots.txt +0 -5
- data/rails_test/rails-3.2.8/script/rails +0 -6
- data/rails_test/rails-3.2.8/spec/controllers/entities_controller_spec.rb +0 -125
- data/rails_test/rails-3.2.8/spec/controllers/platforms_controller_spec.rb +0 -125
- data/rails_test/rails-3.2.8/spec/helpers/entities_helper_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/helpers/platforms_helper_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/integration/navigation_spec.rb +0 -7
- data/rails_test/rails-3.2.8/spec/integration/paper_trail_manager_spec.rb +0 -232
- data/rails_test/rails-3.2.8/spec/models/entity_spec.rb +0 -14
- data/rails_test/rails-3.2.8/spec/models/platform_spec.rb +0 -14
- data/rails_test/rails-3.2.8/spec/requests/entities_spec.rb +0 -11
- data/rails_test/rails-3.2.8/spec/requests/platforms_spec.rb +0 -11
- data/rails_test/rails-3.2.8/spec/routing/entities_routing_spec.rb +0 -35
- data/rails_test/rails-3.2.8/spec/routing/platforms_routing_spec.rb +0 -35
- data/rails_test/rails-3.2.8/spec/spec_helper.rb +0 -32
- data/rails_test/rails-3.2.8/spec/support/factories.rb +0 -14
- data/rails_test/rails-3.2.8/spec/views/entities/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/views/entities/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.2.8/spec/views/entities/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/views/entities/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.2.8/spec/views/platforms/edit.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/views/platforms/index.html.erb_spec.rb +0 -14
- data/rails_test/rails-3.2.8/spec/views/platforms/new.html.erb_spec.rb +0 -15
- data/rails_test/rails-3.2.8/spec/views/platforms/show.html.erb_spec.rb +0 -11
- data/rails_test/rails-3.2.8/test/fixtures/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/test/functional/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/test/integration/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/test/performance/browsing_test.rb +0 -12
- data/rails_test/rails-3.2.8/test/test_helper.rb +0 -13
- data/rails_test/rails-3.2.8/test/unit/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/vendor/assets/javascripts/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/vendor/assets/stylesheets/.gitkeep +0 -0
- data/rails_test/rails-3.2.8/vendor/plugins/.gitkeep +0 -0
@@ -1,83 +0,0 @@
|
|
1
|
-
class PlatformsController < ApplicationController
|
2
|
-
# GET /platforms
|
3
|
-
# GET /platforms.xml
|
4
|
-
def index
|
5
|
-
@platforms = Platform.all
|
6
|
-
|
7
|
-
respond_to do |format|
|
8
|
-
format.html # index.html.erb
|
9
|
-
format.xml { render :xml => @platforms }
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
# GET /platforms/1
|
14
|
-
# GET /platforms/1.xml
|
15
|
-
def show
|
16
|
-
@platform = Platform.find(params[:id])
|
17
|
-
|
18
|
-
respond_to do |format|
|
19
|
-
format.html # show.html.erb
|
20
|
-
format.xml { render :xml => @platform }
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
# GET /platforms/new
|
25
|
-
# GET /platforms/new.xml
|
26
|
-
def new
|
27
|
-
@platform = Platform.new
|
28
|
-
|
29
|
-
respond_to do |format|
|
30
|
-
format.html # new.html.erb
|
31
|
-
format.xml { render :xml => @platform }
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# GET /platforms/1/edit
|
36
|
-
def edit
|
37
|
-
@platform = Platform.find(params[:id])
|
38
|
-
end
|
39
|
-
|
40
|
-
# POST /platforms
|
41
|
-
# POST /platforms.xml
|
42
|
-
def create
|
43
|
-
@platform = Platform.new(params[:platform])
|
44
|
-
|
45
|
-
respond_to do |format|
|
46
|
-
if @platform.save
|
47
|
-
format.html { redirect_to(@platform, :notice => 'Platform was successfully created.') }
|
48
|
-
format.xml { render :xml => @platform, :status => :created, :location => @platform }
|
49
|
-
else
|
50
|
-
format.html { render :action => "new" }
|
51
|
-
format.xml { render :xml => @platform.errors, :status => :unprocessable_entity }
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
# PUT /platforms/1
|
57
|
-
# PUT /platforms/1.xml
|
58
|
-
def update
|
59
|
-
@platform = Platform.find(params[:id])
|
60
|
-
|
61
|
-
respond_to do |format|
|
62
|
-
if @platform.update_attributes(params[:platform])
|
63
|
-
format.html { redirect_to(@platform, :notice => 'Platform was successfully updated.') }
|
64
|
-
format.xml { head :ok }
|
65
|
-
else
|
66
|
-
format.html { render :action => "edit" }
|
67
|
-
format.xml { render :xml => @platform.errors, :status => :unprocessable_entity }
|
68
|
-
end
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
|
-
# DELETE /platforms/1
|
73
|
-
# DELETE /platforms/1.xml
|
74
|
-
def destroy
|
75
|
-
@platform = Platform.find(params[:id])
|
76
|
-
@platform.destroy
|
77
|
-
|
78
|
-
respond_to do |format|
|
79
|
-
format.html { redirect_to(platforms_url) }
|
80
|
-
format.xml { head :ok }
|
81
|
-
end
|
82
|
-
end
|
83
|
-
end
|
@@ -1,6 +0,0 @@
|
|
1
|
-
<h1>Paper Trail Manager demo app</h1>
|
2
|
-
|
3
|
-
<ul>
|
4
|
-
<li><%= link_to "Changes", changes_path %>: list and manage the changes made within this application, which is the point of Paper Trail Manager.</li>
|
5
|
-
<li><%= link_to "Entities", entities_path %>: list of records you can manipulate to create changes.</li>
|
6
|
-
</ul>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= form_for(@entity) do |f| %>
|
2
|
-
<% if @entity.errors.any? %>
|
3
|
-
<div id="error_explanation">
|
4
|
-
<h2><%= pluralize(@entity.errors.count, "error") %> prohibited this entity from being saved:</h2>
|
5
|
-
|
6
|
-
<ul>
|
7
|
-
<% @entity.errors.full_messages.each do |msg| %>
|
8
|
-
<li><%= msg %></li>
|
9
|
-
<% end %>
|
10
|
-
</ul>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<div class="actions">
|
15
|
-
<%= f.submit %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= form_for(@platform) do |f| %>
|
2
|
-
<% if @platform.errors.any? %>
|
3
|
-
<div id="error_explanation">
|
4
|
-
<h2><%= pluralize(@platform.errors.count, "error") %> prohibited this platform from being saved:</h2>
|
5
|
-
|
6
|
-
<ul>
|
7
|
-
<% @platform.errors.full_messages.each do |msg| %>
|
8
|
-
<li><%= msg %></li>
|
9
|
-
<% end %>
|
10
|
-
</ul>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
13
|
-
|
14
|
-
<div class="actions">
|
15
|
-
<%= f.submit %>
|
16
|
-
</div>
|
17
|
-
<% end %>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<h1>Listing platforms</h1>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
<tr>
|
5
|
-
<th></th>
|
6
|
-
<th></th>
|
7
|
-
<th></th>
|
8
|
-
</tr>
|
9
|
-
|
10
|
-
<% @platforms.each do |platform| %>
|
11
|
-
<tr>
|
12
|
-
<td><%= link_to 'Show', platform %></td>
|
13
|
-
<td><%= link_to 'Edit', edit_platform_path(platform) %></td>
|
14
|
-
<td><%= link_to 'Destroy', platform, :confirm => 'Are you sure?', :method => :delete %></td>
|
15
|
-
</tr>
|
16
|
-
<% end %>
|
17
|
-
</table>
|
18
|
-
|
19
|
-
<br />
|
20
|
-
|
21
|
-
<%= link_to 'New Platform', new_platform_path %>
|
@@ -1,48 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
if defined?(Bundler)
|
6
|
-
# If you precompile assets before deploying to production, use this line
|
7
|
-
Bundler.require(*Rails.groups(:assets => %w(development test)))
|
8
|
-
# If you want your assets lazily compiled in production, use this line
|
9
|
-
# Bundler.require(:default, :assets, Rails.env)
|
10
|
-
end
|
11
|
-
|
12
|
-
module Rails318
|
13
|
-
class Application < Rails::Application
|
14
|
-
# Settings in config/environments/* take precedence over those specified here.
|
15
|
-
# Application configuration should go into files in config/initializers
|
16
|
-
# -- all .rb files in that directory are automatically loaded.
|
17
|
-
|
18
|
-
# Custom directories with classes and modules you want to be autoloadable.
|
19
|
-
# config.autoload_paths += %W(#{config.root}/extras)
|
20
|
-
|
21
|
-
# Only load the plugins named here, in the order given (default is alphabetical).
|
22
|
-
# :all can be used as a placeholder for all plugins not explicitly named.
|
23
|
-
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
24
|
-
|
25
|
-
# Activate observers that should always be running.
|
26
|
-
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
27
|
-
|
28
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
29
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
30
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
31
|
-
|
32
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
33
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
34
|
-
# config.i18n.default_locale = :de
|
35
|
-
|
36
|
-
# Configure the default encoding used in templates for Ruby 1.9.
|
37
|
-
config.encoding = "utf-8"
|
38
|
-
|
39
|
-
# Configure sensitive parameters which will be filtered from the log file.
|
40
|
-
config.filter_parameters += [:password]
|
41
|
-
|
42
|
-
# Enable the asset pipeline
|
43
|
-
config.assets.enabled = true
|
44
|
-
|
45
|
-
# Version of your assets, change this if you want to expire all your assets
|
46
|
-
config.assets.version = '1.0'
|
47
|
-
end
|
48
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3-ruby (not necessary on OS X Leopard)
|
3
|
-
development:
|
4
|
-
adapter: sqlite3
|
5
|
-
database: db/development.sqlite3
|
6
|
-
pool: 5
|
7
|
-
timeout: 5000
|
8
|
-
|
9
|
-
# Warning: The database defined as "test" will be erased and
|
10
|
-
# re-generated from your development database when you run "rake".
|
11
|
-
# Do not set this db to the same as development or production.
|
12
|
-
test:
|
13
|
-
adapter: sqlite3
|
14
|
-
database: db/test.sqlite3
|
15
|
-
pool: 5
|
16
|
-
timeout: 5000
|
17
|
-
|
18
|
-
production:
|
19
|
-
adapter: sqlite3
|
20
|
-
database: db/production.sqlite3
|
21
|
-
pool: 5
|
22
|
-
timeout: 5000
|
@@ -1,30 +0,0 @@
|
|
1
|
-
Rails318::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Log error messages when you accidentally call methods on nil.
|
10
|
-
config.whiny_nils = true
|
11
|
-
|
12
|
-
# Show full error reports and disable caching
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Don't care if the mailer can't send
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
18
|
-
|
19
|
-
# Print deprecation notices to the Rails logger
|
20
|
-
config.active_support.deprecation = :log
|
21
|
-
|
22
|
-
# Only use best-standards-support built into browsers
|
23
|
-
config.action_dispatch.best_standards_support = :builtin
|
24
|
-
|
25
|
-
# Do not compress assets
|
26
|
-
config.assets.compress = false
|
27
|
-
|
28
|
-
# Expands the lines which load the assets
|
29
|
-
config.assets.debug = true
|
30
|
-
end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
Rails318::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# Code is not reloaded between requests
|
5
|
-
config.cache_classes = true
|
6
|
-
|
7
|
-
# Full error reports are disabled and caching is turned on
|
8
|
-
config.consider_all_requests_local = false
|
9
|
-
config.action_controller.perform_caching = true
|
10
|
-
|
11
|
-
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
-
config.serve_static_assets = false
|
13
|
-
|
14
|
-
# Compress JavaScripts and CSS
|
15
|
-
config.assets.compress = true
|
16
|
-
|
17
|
-
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
-
config.assets.compile = false
|
19
|
-
|
20
|
-
# Generate digests for assets URLs
|
21
|
-
config.assets.digest = true
|
22
|
-
|
23
|
-
# Defaults to Rails.root.join("public/assets")
|
24
|
-
# config.assets.manifest = YOUR_PATH
|
25
|
-
|
26
|
-
# Specifies the header that your server uses for sending files
|
27
|
-
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
-
|
30
|
-
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
-
# config.force_ssl = true
|
32
|
-
|
33
|
-
# See everything in the log (default is :info)
|
34
|
-
# config.log_level = :debug
|
35
|
-
|
36
|
-
# Use a different logger for distributed setups
|
37
|
-
# config.logger = SyslogLogger.new
|
38
|
-
|
39
|
-
# Use a different cache store in production
|
40
|
-
# config.cache_store = :mem_cache_store
|
41
|
-
|
42
|
-
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
43
|
-
# config.action_controller.asset_host = "http://assets.example.com"
|
44
|
-
|
45
|
-
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
46
|
-
# config.assets.precompile += %w( search.js )
|
47
|
-
|
48
|
-
# Disable delivery errors, bad email addresses will be ignored
|
49
|
-
# config.action_mailer.raise_delivery_errors = false
|
50
|
-
|
51
|
-
# Enable threaded mode
|
52
|
-
# config.threadsafe!
|
53
|
-
|
54
|
-
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
55
|
-
# the I18n.default_locale when a translation can not be found)
|
56
|
-
config.i18n.fallbacks = true
|
57
|
-
|
58
|
-
# Send deprecation notices to registered listeners
|
59
|
-
config.active_support.deprecation = :notify
|
60
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
Rails318::Application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Configure static asset server for tests with Cache-Control for performance
|
11
|
-
config.serve_static_assets = true
|
12
|
-
config.static_cache_control = "public, max-age=3600"
|
13
|
-
|
14
|
-
# Log error messages when you accidentally call methods on nil
|
15
|
-
config.whiny_nils = true
|
16
|
-
|
17
|
-
# Show full error reports and disable caching
|
18
|
-
config.consider_all_requests_local = true
|
19
|
-
config.action_controller.perform_caching = false
|
20
|
-
|
21
|
-
# Raise exceptions instead of rendering exception templates
|
22
|
-
config.action_dispatch.show_exceptions = false
|
23
|
-
|
24
|
-
# Disable request forgery protection in test environment
|
25
|
-
config.action_controller.allow_forgery_protection = false
|
26
|
-
|
27
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
-
# The :test delivery method accumulates sent emails in the
|
29
|
-
# ActionMailer::Base.deliveries array.
|
30
|
-
config.action_mailer.delivery_method = :test
|
31
|
-
|
32
|
-
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
-
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
-
# like if you have constraints or database-specific column types
|
35
|
-
# config.active_record.schema_format = :sql
|
36
|
-
|
37
|
-
# Print deprecation notices to the stderr
|
38
|
-
config.active_support.deprecation = :stderr
|
39
|
-
end
|