paper_trail_manager 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,35 +0,0 @@
|
|
|
1
|
-
require "spec_helper"
|
|
2
|
-
|
|
3
|
-
describe EntitiesController do
|
|
4
|
-
describe "routing" do
|
|
5
|
-
|
|
6
|
-
it "recognizes and generates #index" do
|
|
7
|
-
{ :get => "/entities" }.should route_to(:controller => "entities", :action => "index")
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
it "recognizes and generates #new" do
|
|
11
|
-
{ :get => "/entities/new" }.should route_to(:controller => "entities", :action => "new")
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
it "recognizes and generates #show" do
|
|
15
|
-
{ :get => "/entities/1" }.should route_to(:controller => "entities", :action => "show", :id => "1")
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
it "recognizes and generates #edit" do
|
|
19
|
-
{ :get => "/entities/1/edit" }.should route_to(:controller => "entities", :action => "edit", :id => "1")
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
it "recognizes and generates #create" do
|
|
23
|
-
{ :post => "/entities" }.should route_to(:controller => "entities", :action => "create")
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
it "recognizes and generates #update" do
|
|
27
|
-
{ :put => "/entities/1" }.should route_to(:controller => "entities", :action => "update", :id => "1")
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
it "recognizes and generates #destroy" do
|
|
31
|
-
{ :delete => "/entities/1" }.should route_to(:controller => "entities", :action => "destroy", :id => "1")
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
require "spec_helper"
|
|
2
|
-
|
|
3
|
-
describe PlatformsController do
|
|
4
|
-
describe "routing" do
|
|
5
|
-
|
|
6
|
-
it "recognizes and generates #index" do
|
|
7
|
-
{ :get => "/platforms" }.should route_to(:controller => "platforms", :action => "index")
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
it "recognizes and generates #new" do
|
|
11
|
-
{ :get => "/platforms/new" }.should route_to(:controller => "platforms", :action => "new")
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
it "recognizes and generates #show" do
|
|
15
|
-
{ :get => "/platforms/1" }.should route_to(:controller => "platforms", :action => "show", :id => "1")
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
it "recognizes and generates #edit" do
|
|
19
|
-
{ :get => "/platforms/1/edit" }.should route_to(:controller => "platforms", :action => "edit", :id => "1")
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
it "recognizes and generates #create" do
|
|
23
|
-
{ :post => "/platforms" }.should route_to(:controller => "platforms", :action => "create")
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
it "recognizes and generates #update" do
|
|
27
|
-
{ :put => "/platforms/1" }.should route_to(:controller => "platforms", :action => "update", :id => "1")
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
it "recognizes and generates #destroy" do
|
|
31
|
-
{ :delete => "/platforms/1" }.should route_to(:controller => "platforms", :action => "destroy", :id => "1")
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
end
|
|
35
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
require 'rubygems'
|
|
2
|
-
|
|
3
|
-
# Configure Rails Envinronment
|
|
4
|
-
ENV["RAILS_ENV"] = "test"
|
|
5
|
-
|
|
6
|
-
require File.expand_path("../../config/environment.rb", __FILE__)
|
|
7
|
-
require "rails/test_help"
|
|
8
|
-
require "rspec/rails"
|
|
9
|
-
|
|
10
|
-
ActionMailer::Base.delivery_method = :test
|
|
11
|
-
ActionMailer::Base.perform_deliveries = true
|
|
12
|
-
ActionMailer::Base.default_url_options[:host] = "test.com"
|
|
13
|
-
|
|
14
|
-
Rails.backtrace_cleaner.remove_silencers!
|
|
15
|
-
|
|
16
|
-
# Run any available migration
|
|
17
|
-
ActiveRecord::Migrator.migrate File.expand_path("../../db/migrate/", __FILE__)
|
|
18
|
-
|
|
19
|
-
# Load support files
|
|
20
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
|
21
|
-
|
|
22
|
-
RSpec.configure do |config|
|
|
23
|
-
# Remove this line if you don't want RSpec's should and should_not
|
|
24
|
-
# methods or matchers
|
|
25
|
-
require 'rspec/expectations'
|
|
26
|
-
config.include RSpec::Matchers
|
|
27
|
-
|
|
28
|
-
# == Mock Framework
|
|
29
|
-
config.mock_with :rspec
|
|
30
|
-
|
|
31
|
-
config.use_transactional_fixtures = true
|
|
32
|
-
end
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
require 'factory_girl'
|
|
2
|
-
|
|
3
|
-
FactoryGirl.define do
|
|
4
|
-
factory :entity do
|
|
5
|
-
sequence(:name) { |n| "name_#{n}" }
|
|
6
|
-
sequence(:status) { |n| "status_#{n}" }
|
|
7
|
-
end
|
|
8
|
-
|
|
9
|
-
factory :platform do
|
|
10
|
-
sequence(:name) { |n| "name_#{n}" }
|
|
11
|
-
sequence(:status) { |n| "status_#{n}" }
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
|
|
3
|
-
describe "entities/edit.html.erb" do
|
|
4
|
-
before(:each) do
|
|
5
|
-
@entity = assign(:entity, stub_model(Entity))
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
it "renders the edit entity form" do
|
|
9
|
-
render
|
|
10
|
-
|
|
11
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
|
12
|
-
assert_select "form", :action => entities_path(@entity), :method => "post" do
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
|
|
3
|
-
describe "entities/new.html.erb" do
|
|
4
|
-
before(:each) do
|
|
5
|
-
assign(:entity, stub_model(Entity).as_new_record)
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
it "renders new entity form" do
|
|
9
|
-
render
|
|
10
|
-
|
|
11
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
|
12
|
-
assert_select "form", :action => entities_path, :method => "post" do
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
|
|
3
|
-
describe "platforms/edit.html.erb" do
|
|
4
|
-
before(:each) do
|
|
5
|
-
@platform = assign(:platform, stub_model(Platform))
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
it "renders the edit platform form" do
|
|
9
|
-
render
|
|
10
|
-
|
|
11
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
|
12
|
-
assert_select "form", :action => platforms_path(@platform), :method => "post" do
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require 'spec_helper'
|
|
2
|
-
|
|
3
|
-
describe "platforms/new.html.erb" do
|
|
4
|
-
before(:each) do
|
|
5
|
-
assign(:platform, stub_model(Platform).as_new_record)
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
it "renders new platform form" do
|
|
9
|
-
render
|
|
10
|
-
|
|
11
|
-
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
|
12
|
-
assert_select "form", :action => platforms_path, :method => "post" do
|
|
13
|
-
end
|
|
14
|
-
end
|
|
15
|
-
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
require 'test_helper'
|
|
2
|
-
require 'rails/performance_test_help'
|
|
3
|
-
|
|
4
|
-
class BrowsingTest < ActionDispatch::PerformanceTest
|
|
5
|
-
# Refer to the documentation for all available options
|
|
6
|
-
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
|
7
|
-
# :output => 'tmp/performance', :formats => [:flat] }
|
|
8
|
-
|
|
9
|
-
def test_homepage
|
|
10
|
-
get '/'
|
|
11
|
-
end
|
|
12
|
-
end
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
ENV["RAILS_ENV"] = "test"
|
|
2
|
-
require File.expand_path('../../config/environment', __FILE__)
|
|
3
|
-
require 'rails/test_help'
|
|
4
|
-
|
|
5
|
-
class ActiveSupport::TestCase
|
|
6
|
-
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
|
7
|
-
#
|
|
8
|
-
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
|
9
|
-
# -- they do not yet inherit this setting
|
|
10
|
-
fixtures :all
|
|
11
|
-
|
|
12
|
-
# Add more helper methods to be used by all tests here...
|
|
13
|
-
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|