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.
Files changed (337) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +15 -7
  3. data/.travis.yml +9 -4
  4. data/Appraisals +15 -0
  5. data/CHANGES.md +5 -0
  6. data/Gemfile +3 -26
  7. data/README.md +6 -1
  8. data/Rakefile +8 -31
  9. data/app/controllers/paper_trail_manager/changes_controller.rb +3 -3
  10. data/app/helpers/paper_trail_manager/changes_helper.rb +1 -1
  11. data/app/views/paper_trail_manager/changes/_version.html.erb +1 -1
  12. data/gemfiles/rails_3.2.gemfile +7 -0
  13. data/gemfiles/rails_4.0.gemfile +7 -0
  14. data/gemfiles/rails_4.1.gemfile +7 -0
  15. data/gemfiles/rails_4.2.gemfile +7 -0
  16. data/lib/paper_trail_manager.rb +1 -0
  17. data/paper_trail_manager.gemspec +27 -381
  18. data/{rails_test/common/spec → spec}/controllers/entities_controller_spec.rb +1 -1
  19. data/{rails_test/common/spec → spec}/controllers/platforms_controller_spec.rb +1 -1
  20. data/{rails_test/rails-3.1.8 → spec/dummy}/.gitignore +0 -0
  21. data/spec/dummy/Gemfile +9 -0
  22. data/{rails_test/rails-3.2.8 → spec/dummy}/README.rdoc +0 -0
  23. data/{rails_test/rails-3.2.8 → spec/dummy}/Rakefile +0 -0
  24. data/{rails_test/rails-3.0.17/public → spec/dummy/app/assets}/images/rails.png +0 -0
  25. data/{rails_test/rails-3.2.8 → spec/dummy}/app/assets/javascripts/application.js +0 -0
  26. data/{rails_test/rails-3.2.8 → spec/dummy}/app/assets/stylesheets/application.css +0 -0
  27. data/{rails_test/common → spec/dummy}/app/controllers/application_controller.rb +0 -0
  28. data/{rails_test/common → spec/dummy}/app/controllers/entities_controller.rb +0 -0
  29. data/{rails_test/common → spec/dummy}/app/controllers/platforms_controller.rb +0 -0
  30. data/{rails_test/common → spec/dummy}/app/helpers/application_helper.rb +0 -0
  31. data/{rails_test/common → spec/dummy}/app/helpers/entities_helper.rb +0 -0
  32. data/{rails_test/common → spec/dummy}/app/helpers/platforms_helper.rb +0 -0
  33. data/{rails_test/rails-3.0.17/lib/tasks → spec/dummy/app/mailers}/.gitkeep +0 -0
  34. data/{rails_test/rails-3.0.17/public/stylesheets → spec/dummy/app/models}/.gitkeep +0 -0
  35. data/{rails_test/common → spec/dummy}/app/models/entity.rb +0 -2
  36. data/{rails_test/rails-3.1.8 → spec/dummy}/app/models/platform.rb +0 -2
  37. data/{rails_test/common → spec/dummy}/app/views/application/index.html.erb +0 -0
  38. data/{rails_test/common → spec/dummy}/app/views/entities/_form.html.erb +0 -0
  39. data/{rails_test/common → spec/dummy}/app/views/entities/edit.html.erb +0 -0
  40. data/{rails_test/rails-3.1.8 → spec/dummy}/app/views/entities/index.html.erb +1 -1
  41. data/{rails_test/common → spec/dummy}/app/views/entities/new.html.erb +0 -0
  42. data/{rails_test/common → spec/dummy}/app/views/entities/show.html.erb +0 -0
  43. data/{rails_test/common → spec/dummy}/app/views/layouts/application.html.erb +0 -0
  44. data/{rails_test/common → spec/dummy}/app/views/platforms/_form.html.erb +0 -0
  45. data/{rails_test/common → spec/dummy}/app/views/platforms/edit.html.erb +0 -0
  46. data/{rails_test/common → spec/dummy}/app/views/platforms/index.html.erb +1 -1
  47. data/{rails_test/common → spec/dummy}/app/views/platforms/new.html.erb +0 -0
  48. data/{rails_test/common → spec/dummy}/app/views/platforms/show.html.erb +0 -0
  49. data/{rails_test/rails-3.2.8 → spec/dummy}/config.ru +0 -0
  50. data/{rails_test/rails-3.2.8 → spec/dummy}/config/application.rb +3 -1
  51. data/{rails_test/rails-3.0.17 → spec/dummy}/config/boot.rb +0 -0
  52. data/{rails_test/common → spec/dummy}/config/database.yml +0 -0
  53. data/{rails_test/rails-3.2.8 → spec/dummy}/config/environment.rb +0 -0
  54. data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/development.rb +1 -1
  55. data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/production.rb +1 -1
  56. data/{rails_test/rails-3.2.8 → spec/dummy}/config/environments/test.rb +4 -5
  57. data/{rails_test/rails-3.0.17 → spec/dummy}/config/initializers/backtrace_silencers.rb +0 -0
  58. data/{rails_test/rails-3.2.8 → spec/dummy}/config/initializers/inflections.rb +0 -0
  59. data/{rails_test/rails-3.0.17 → spec/dummy}/config/initializers/mime_types.rb +0 -0
  60. data/{rails_test/rails-3.1.8 → spec/dummy}/config/initializers/secret_token.rb +1 -1
  61. data/{rails_test/rails-3.2.8 → spec/dummy}/config/initializers/session_store.rb +0 -0
  62. data/{rails_test/rails-3.1.8 → spec/dummy}/config/initializers/wrap_parameters.rb +0 -0
  63. data/{rails_test/rails-3.1.8 → spec/dummy}/config/locales/en.yml +0 -0
  64. data/{rails_test/rails-3.2.8 → spec/dummy}/config/routes.rb +0 -0
  65. data/{rails_test/common → spec/dummy}/db/migrate/20110228091428_create_entities.rb +0 -0
  66. data/{rails_test/common → spec/dummy}/db/migrate/20110228093241_create_platforms.rb +0 -0
  67. data/{rails_test/common → spec/dummy}/db/migrate/20110228094444_create_versions.rb +0 -0
  68. data/{rails_test/rails-3.1.8 → spec/dummy}/db/schema.rb +15 -14
  69. data/{rails_test/rails-3.1.8 → spec/dummy}/db/seeds.rb +0 -0
  70. data/{rails_test/rails-3.0.17 → spec/dummy}/doc/README_FOR_APP +0 -0
  71. data/{rails_test/rails-3.0.17/vendor/plugins → spec/dummy/lib/assets}/.gitkeep +0 -0
  72. data/{rails_test/rails-3.1.8/app/mailers → spec/dummy/lib/tasks}/.gitkeep +0 -0
  73. data/{rails_test/rails-3.1.8/app/models → spec/dummy/log}/.gitkeep +0 -0
  74. data/{rails_test/rails-3.0.17 → spec/dummy}/public/404.html +0 -0
  75. data/{rails_test/rails-3.0.17 → spec/dummy}/public/422.html +0 -0
  76. data/{rails_test/rails-3.2.8 → spec/dummy}/public/500.html +0 -0
  77. data/{rails_test/rails-3.0.17 → spec/dummy}/public/favicon.ico +0 -0
  78. data/{rails_test/rails-3.2.8 → spec/dummy}/public/index.html +0 -0
  79. data/{rails_test/rails-3.0.17 → spec/dummy}/public/robots.txt +0 -0
  80. data/{rails_test/rails-3.0.17 → spec/dummy}/script/rails +0 -0
  81. data/{rails_test/rails-3.1.8/lib/assets → spec/dummy/test/fixtures}/.gitkeep +0 -0
  82. data/{rails_test/rails-3.1.8/lib/tasks → spec/dummy/test/functional}/.gitkeep +0 -0
  83. data/{rails_test/rails-3.1.8/log → spec/dummy/test/integration}/.gitkeep +0 -0
  84. data/{rails_test/rails-3.1.8 → spec/dummy}/test/performance/browsing_test.rb +0 -0
  85. data/{rails_test/rails-3.0.17 → spec/dummy}/test/test_helper.rb +0 -0
  86. data/{rails_test/rails-3.1.8/test/fixtures → spec/dummy/test/unit}/.gitkeep +0 -0
  87. data/{rails_test/rails-3.1.8/test/functional → spec/dummy/vendor/assets/javascripts}/.gitkeep +0 -0
  88. data/{rails_test/rails-3.1.8/test/integration → spec/dummy/vendor/assets/stylesheets}/.gitkeep +0 -0
  89. data/{rails_test/rails-3.1.8/test/unit → spec/dummy/vendor/plugins}/.gitkeep +0 -0
  90. data/{rails_test/common/spec → spec}/helpers/entities_helper_spec.rb +0 -0
  91. data/{rails_test/common/spec → spec}/helpers/platforms_helper_spec.rb +0 -0
  92. data/{rails_test/common/spec → spec}/integration/navigation_spec.rb +0 -0
  93. data/{rails_test/rails-3.1.8/spec → spec}/integration/paper_trail_manager_spec.rb +14 -14
  94. data/{rails_test/common/spec → spec}/models/entity_spec.rb +0 -0
  95. data/{rails_test/common/spec → spec}/models/platform_spec.rb +0 -0
  96. data/spec/rails_helper.rb +27 -0
  97. data/{rails_test/common/spec → spec}/requests/entities_spec.rb +0 -0
  98. data/{rails_test/common/spec → spec}/requests/platforms_spec.rb +0 -0
  99. data/{rails_test/common/spec → spec}/routing/entities_routing_spec.rb +0 -0
  100. data/{rails_test/common/spec → spec}/routing/platforms_routing_spec.rb +0 -0
  101. data/spec/spec_helper.rb +90 -0
  102. data/{rails_test/rails-3.0.17/spec → spec}/support/factories.rb +1 -1
  103. data/{rails_test/common/spec → spec}/views/entities/edit.html.erb_spec.rb +0 -0
  104. data/{rails_test/common/spec → spec}/views/entities/index.html.erb_spec.rb +0 -0
  105. data/{rails_test/common/spec → spec}/views/entities/new.html.erb_spec.rb +0 -0
  106. data/{rails_test/common/spec → spec}/views/entities/show.html.erb_spec.rb +0 -0
  107. data/{rails_test/common/spec → spec}/views/platforms/edit.html.erb_spec.rb +0 -0
  108. data/{rails_test/common/spec → spec}/views/platforms/index.html.erb_spec.rb +0 -0
  109. data/{rails_test/common/spec → spec}/views/platforms/new.html.erb_spec.rb +0 -0
  110. data/{rails_test/common/spec → spec}/views/platforms/show.html.erb_spec.rb +0 -0
  111. metadata +368 -458
  112. data/Gemfile.lock +0 -104
  113. data/VERSION +0 -1
  114. data/rails_test/Rakefile +0 -90
  115. data/rails_test/common/app/models/platform.rb +0 -8
  116. data/rails_test/common/app/views/entities/index.html.erb +0 -21
  117. data/rails_test/common/spec/integration/paper_trail_manager_spec.rb +0 -232
  118. data/rails_test/common/spec/spec_helper.rb +0 -32
  119. data/rails_test/common/spec/support/factories.rb +0 -14
  120. data/rails_test/generate_test_directory +0 -59
  121. data/rails_test/rails-3.0.17/.gitignore +0 -4
  122. data/rails_test/rails-3.0.17/README +0 -256
  123. data/rails_test/rails-3.0.17/Rakefile +0 -7
  124. data/rails_test/rails-3.0.17/app/controllers/application_controller.rb +0 -6
  125. data/rails_test/rails-3.0.17/app/controllers/entities_controller.rb +0 -83
  126. data/rails_test/rails-3.0.17/app/controllers/platforms_controller.rb +0 -83
  127. data/rails_test/rails-3.0.17/app/helpers/application_helper.rb +0 -2
  128. data/rails_test/rails-3.0.17/app/helpers/entities_helper.rb +0 -2
  129. data/rails_test/rails-3.0.17/app/helpers/platforms_helper.rb +0 -2
  130. data/rails_test/rails-3.0.17/app/models/entity.rb +0 -8
  131. data/rails_test/rails-3.0.17/app/models/platform.rb +0 -8
  132. data/rails_test/rails-3.0.17/app/views/application/index.html.erb +0 -6
  133. data/rails_test/rails-3.0.17/app/views/entities/_form.html.erb +0 -17
  134. data/rails_test/rails-3.0.17/app/views/entities/edit.html.erb +0 -6
  135. data/rails_test/rails-3.0.17/app/views/entities/index.html.erb +0 -21
  136. data/rails_test/rails-3.0.17/app/views/entities/new.html.erb +0 -5
  137. data/rails_test/rails-3.0.17/app/views/entities/show.html.erb +0 -5
  138. data/rails_test/rails-3.0.17/app/views/layouts/application.html.erb +0 -14
  139. data/rails_test/rails-3.0.17/app/views/platforms/_form.html.erb +0 -17
  140. data/rails_test/rails-3.0.17/app/views/platforms/edit.html.erb +0 -6
  141. data/rails_test/rails-3.0.17/app/views/platforms/index.html.erb +0 -21
  142. data/rails_test/rails-3.0.17/app/views/platforms/new.html.erb +0 -5
  143. data/rails_test/rails-3.0.17/app/views/platforms/show.html.erb +0 -5
  144. data/rails_test/rails-3.0.17/config.ru +0 -4
  145. data/rails_test/rails-3.0.17/config/application.rb +0 -42
  146. data/rails_test/rails-3.0.17/config/database.yml +0 -22
  147. data/rails_test/rails-3.0.17/config/environment.rb +0 -5
  148. data/rails_test/rails-3.0.17/config/environments/development.rb +0 -26
  149. data/rails_test/rails-3.0.17/config/environments/production.rb +0 -49
  150. data/rails_test/rails-3.0.17/config/environments/test.rb +0 -35
  151. data/rails_test/rails-3.0.17/config/initializers/inflections.rb +0 -10
  152. data/rails_test/rails-3.0.17/config/initializers/secret_token.rb +0 -7
  153. data/rails_test/rails-3.0.17/config/initializers/session_store.rb +0 -8
  154. data/rails_test/rails-3.0.17/config/locales/en.yml +0 -5
  155. data/rails_test/rails-3.0.17/config/routes.rb +0 -8
  156. data/rails_test/rails-3.0.17/db/migrate/20110228091428_create_entities.rb +0 -14
  157. data/rails_test/rails-3.0.17/db/migrate/20110228093241_create_platforms.rb +0 -14
  158. data/rails_test/rails-3.0.17/db/migrate/20110228094444_create_versions.rb +0 -18
  159. data/rails_test/rails-3.0.17/db/schema.rb +0 -40
  160. data/rails_test/rails-3.0.17/db/seeds.rb +0 -7
  161. data/rails_test/rails-3.0.17/public/500.html +0 -26
  162. data/rails_test/rails-3.0.17/public/index.html +0 -239
  163. data/rails_test/rails-3.0.17/public/javascripts/application.js +0 -2
  164. data/rails_test/rails-3.0.17/public/javascripts/controls.js +0 -965
  165. data/rails_test/rails-3.0.17/public/javascripts/dragdrop.js +0 -974
  166. data/rails_test/rails-3.0.17/public/javascripts/effects.js +0 -1123
  167. data/rails_test/rails-3.0.17/public/javascripts/prototype.js +0 -6001
  168. data/rails_test/rails-3.0.17/public/javascripts/rails.js +0 -202
  169. data/rails_test/rails-3.0.17/spec/controllers/entities_controller_spec.rb +0 -125
  170. data/rails_test/rails-3.0.17/spec/controllers/platforms_controller_spec.rb +0 -125
  171. data/rails_test/rails-3.0.17/spec/helpers/entities_helper_spec.rb +0 -15
  172. data/rails_test/rails-3.0.17/spec/helpers/platforms_helper_spec.rb +0 -15
  173. data/rails_test/rails-3.0.17/spec/integration/navigation_spec.rb +0 -7
  174. data/rails_test/rails-3.0.17/spec/integration/paper_trail_manager_spec.rb +0 -232
  175. data/rails_test/rails-3.0.17/spec/models/entity_spec.rb +0 -14
  176. data/rails_test/rails-3.0.17/spec/models/platform_spec.rb +0 -14
  177. data/rails_test/rails-3.0.17/spec/requests/entities_spec.rb +0 -11
  178. data/rails_test/rails-3.0.17/spec/requests/platforms_spec.rb +0 -11
  179. data/rails_test/rails-3.0.17/spec/routing/entities_routing_spec.rb +0 -35
  180. data/rails_test/rails-3.0.17/spec/routing/platforms_routing_spec.rb +0 -35
  181. data/rails_test/rails-3.0.17/spec/spec_helper.rb +0 -32
  182. data/rails_test/rails-3.0.17/spec/views/entities/edit.html.erb_spec.rb +0 -15
  183. data/rails_test/rails-3.0.17/spec/views/entities/index.html.erb_spec.rb +0 -14
  184. data/rails_test/rails-3.0.17/spec/views/entities/new.html.erb_spec.rb +0 -15
  185. data/rails_test/rails-3.0.17/spec/views/entities/show.html.erb_spec.rb +0 -11
  186. data/rails_test/rails-3.0.17/spec/views/platforms/edit.html.erb_spec.rb +0 -15
  187. data/rails_test/rails-3.0.17/spec/views/platforms/index.html.erb_spec.rb +0 -14
  188. data/rails_test/rails-3.0.17/spec/views/platforms/new.html.erb_spec.rb +0 -15
  189. data/rails_test/rails-3.0.17/spec/views/platforms/show.html.erb_spec.rb +0 -11
  190. data/rails_test/rails-3.0.17/test/performance/browsing_test.rb +0 -9
  191. data/rails_test/rails-3.1.8/README +0 -261
  192. data/rails_test/rails-3.1.8/Rakefile +0 -7
  193. data/rails_test/rails-3.1.8/app/assets/images/rails.png +0 -0
  194. data/rails_test/rails-3.1.8/app/assets/javascripts/application.js +0 -9
  195. data/rails_test/rails-3.1.8/app/assets/stylesheets/application.css +0 -7
  196. data/rails_test/rails-3.1.8/app/controllers/application_controller.rb +0 -6
  197. data/rails_test/rails-3.1.8/app/controllers/entities_controller.rb +0 -83
  198. data/rails_test/rails-3.1.8/app/controllers/platforms_controller.rb +0 -83
  199. data/rails_test/rails-3.1.8/app/helpers/application_helper.rb +0 -2
  200. data/rails_test/rails-3.1.8/app/helpers/entities_helper.rb +0 -2
  201. data/rails_test/rails-3.1.8/app/helpers/platforms_helper.rb +0 -2
  202. data/rails_test/rails-3.1.8/app/models/entity.rb +0 -8
  203. data/rails_test/rails-3.1.8/app/views/application/index.html.erb +0 -6
  204. data/rails_test/rails-3.1.8/app/views/entities/_form.html.erb +0 -17
  205. data/rails_test/rails-3.1.8/app/views/entities/edit.html.erb +0 -6
  206. data/rails_test/rails-3.1.8/app/views/entities/new.html.erb +0 -5
  207. data/rails_test/rails-3.1.8/app/views/entities/show.html.erb +0 -5
  208. data/rails_test/rails-3.1.8/app/views/layouts/application.html.erb +0 -14
  209. data/rails_test/rails-3.1.8/app/views/platforms/_form.html.erb +0 -17
  210. data/rails_test/rails-3.1.8/app/views/platforms/edit.html.erb +0 -6
  211. data/rails_test/rails-3.1.8/app/views/platforms/index.html.erb +0 -21
  212. data/rails_test/rails-3.1.8/app/views/platforms/new.html.erb +0 -5
  213. data/rails_test/rails-3.1.8/app/views/platforms/show.html.erb +0 -5
  214. data/rails_test/rails-3.1.8/config.ru +0 -4
  215. data/rails_test/rails-3.1.8/config/application.rb +0 -48
  216. data/rails_test/rails-3.1.8/config/boot.rb +0 -6
  217. data/rails_test/rails-3.1.8/config/database.yml +0 -22
  218. data/rails_test/rails-3.1.8/config/environment.rb +0 -5
  219. data/rails_test/rails-3.1.8/config/environments/development.rb +0 -30
  220. data/rails_test/rails-3.1.8/config/environments/production.rb +0 -60
  221. data/rails_test/rails-3.1.8/config/environments/test.rb +0 -39
  222. data/rails_test/rails-3.1.8/config/initializers/backtrace_silencers.rb +0 -7
  223. data/rails_test/rails-3.1.8/config/initializers/inflections.rb +0 -10
  224. data/rails_test/rails-3.1.8/config/initializers/mime_types.rb +0 -5
  225. data/rails_test/rails-3.1.8/config/initializers/session_store.rb +0 -8
  226. data/rails_test/rails-3.1.8/config/routes.rb +0 -8
  227. data/rails_test/rails-3.1.8/db/migrate/20110228091428_create_entities.rb +0 -14
  228. data/rails_test/rails-3.1.8/db/migrate/20110228093241_create_platforms.rb +0 -14
  229. data/rails_test/rails-3.1.8/db/migrate/20110228094444_create_versions.rb +0 -18
  230. data/rails_test/rails-3.1.8/doc/README_FOR_APP +0 -2
  231. data/rails_test/rails-3.1.8/public/404.html +0 -26
  232. data/rails_test/rails-3.1.8/public/422.html +0 -26
  233. data/rails_test/rails-3.1.8/public/500.html +0 -26
  234. data/rails_test/rails-3.1.8/public/favicon.ico +0 -0
  235. data/rails_test/rails-3.1.8/public/index.html +0 -241
  236. data/rails_test/rails-3.1.8/public/robots.txt +0 -5
  237. data/rails_test/rails-3.1.8/script/rails +0 -6
  238. data/rails_test/rails-3.1.8/spec/controllers/entities_controller_spec.rb +0 -125
  239. data/rails_test/rails-3.1.8/spec/controllers/platforms_controller_spec.rb +0 -125
  240. data/rails_test/rails-3.1.8/spec/helpers/entities_helper_spec.rb +0 -15
  241. data/rails_test/rails-3.1.8/spec/helpers/platforms_helper_spec.rb +0 -15
  242. data/rails_test/rails-3.1.8/spec/integration/navigation_spec.rb +0 -7
  243. data/rails_test/rails-3.1.8/spec/models/entity_spec.rb +0 -14
  244. data/rails_test/rails-3.1.8/spec/models/platform_spec.rb +0 -14
  245. data/rails_test/rails-3.1.8/spec/requests/entities_spec.rb +0 -11
  246. data/rails_test/rails-3.1.8/spec/requests/platforms_spec.rb +0 -11
  247. data/rails_test/rails-3.1.8/spec/routing/entities_routing_spec.rb +0 -35
  248. data/rails_test/rails-3.1.8/spec/routing/platforms_routing_spec.rb +0 -35
  249. data/rails_test/rails-3.1.8/spec/spec_helper.rb +0 -32
  250. data/rails_test/rails-3.1.8/spec/support/factories.rb +0 -14
  251. data/rails_test/rails-3.1.8/spec/views/entities/edit.html.erb_spec.rb +0 -15
  252. data/rails_test/rails-3.1.8/spec/views/entities/index.html.erb_spec.rb +0 -14
  253. data/rails_test/rails-3.1.8/spec/views/entities/new.html.erb_spec.rb +0 -15
  254. data/rails_test/rails-3.1.8/spec/views/entities/show.html.erb_spec.rb +0 -11
  255. data/rails_test/rails-3.1.8/spec/views/platforms/edit.html.erb_spec.rb +0 -15
  256. data/rails_test/rails-3.1.8/spec/views/platforms/index.html.erb_spec.rb +0 -14
  257. data/rails_test/rails-3.1.8/spec/views/platforms/new.html.erb_spec.rb +0 -15
  258. data/rails_test/rails-3.1.8/spec/views/platforms/show.html.erb_spec.rb +0 -11
  259. data/rails_test/rails-3.1.8/test/test_helper.rb +0 -13
  260. data/rails_test/rails-3.1.8/vendor/assets/stylesheets/.gitkeep +0 -0
  261. data/rails_test/rails-3.1.8/vendor/plugins/.gitkeep +0 -0
  262. data/rails_test/rails-3.2.8/.gitignore +0 -15
  263. data/rails_test/rails-3.2.8/app/assets/images/rails.png +0 -0
  264. data/rails_test/rails-3.2.8/app/controllers/application_controller.rb +0 -6
  265. data/rails_test/rails-3.2.8/app/controllers/entities_controller.rb +0 -83
  266. data/rails_test/rails-3.2.8/app/controllers/platforms_controller.rb +0 -83
  267. data/rails_test/rails-3.2.8/app/helpers/application_helper.rb +0 -2
  268. data/rails_test/rails-3.2.8/app/helpers/entities_helper.rb +0 -2
  269. data/rails_test/rails-3.2.8/app/helpers/platforms_helper.rb +0 -2
  270. data/rails_test/rails-3.2.8/app/mailers/.gitkeep +0 -0
  271. data/rails_test/rails-3.2.8/app/models/.gitkeep +0 -0
  272. data/rails_test/rails-3.2.8/app/models/entity.rb +0 -8
  273. data/rails_test/rails-3.2.8/app/models/platform.rb +0 -8
  274. data/rails_test/rails-3.2.8/app/views/application/index.html.erb +0 -6
  275. data/rails_test/rails-3.2.8/app/views/entities/_form.html.erb +0 -17
  276. data/rails_test/rails-3.2.8/app/views/entities/edit.html.erb +0 -6
  277. data/rails_test/rails-3.2.8/app/views/entities/index.html.erb +0 -21
  278. data/rails_test/rails-3.2.8/app/views/entities/new.html.erb +0 -5
  279. data/rails_test/rails-3.2.8/app/views/entities/show.html.erb +0 -5
  280. data/rails_test/rails-3.2.8/app/views/layouts/application.html.erb +0 -14
  281. data/rails_test/rails-3.2.8/app/views/platforms/_form.html.erb +0 -17
  282. data/rails_test/rails-3.2.8/app/views/platforms/edit.html.erb +0 -6
  283. data/rails_test/rails-3.2.8/app/views/platforms/index.html.erb +0 -21
  284. data/rails_test/rails-3.2.8/app/views/platforms/new.html.erb +0 -5
  285. data/rails_test/rails-3.2.8/app/views/platforms/show.html.erb +0 -5
  286. data/rails_test/rails-3.2.8/config/boot.rb +0 -6
  287. data/rails_test/rails-3.2.8/config/database.yml +0 -22
  288. data/rails_test/rails-3.2.8/config/initializers/backtrace_silencers.rb +0 -7
  289. data/rails_test/rails-3.2.8/config/initializers/mime_types.rb +0 -5
  290. data/rails_test/rails-3.2.8/config/initializers/secret_token.rb +0 -7
  291. data/rails_test/rails-3.2.8/config/initializers/wrap_parameters.rb +0 -14
  292. data/rails_test/rails-3.2.8/config/locales/en.yml +0 -5
  293. data/rails_test/rails-3.2.8/db/migrate/20110228091428_create_entities.rb +0 -14
  294. data/rails_test/rails-3.2.8/db/migrate/20110228093241_create_platforms.rb +0 -14
  295. data/rails_test/rails-3.2.8/db/migrate/20110228094444_create_versions.rb +0 -18
  296. data/rails_test/rails-3.2.8/db/schema.rb +0 -40
  297. data/rails_test/rails-3.2.8/db/seeds.rb +0 -7
  298. data/rails_test/rails-3.2.8/doc/README_FOR_APP +0 -2
  299. data/rails_test/rails-3.2.8/lib/assets/.gitkeep +0 -0
  300. data/rails_test/rails-3.2.8/lib/tasks/.gitkeep +0 -0
  301. data/rails_test/rails-3.2.8/log/.gitkeep +0 -0
  302. data/rails_test/rails-3.2.8/public/404.html +0 -26
  303. data/rails_test/rails-3.2.8/public/422.html +0 -26
  304. data/rails_test/rails-3.2.8/public/favicon.ico +0 -0
  305. data/rails_test/rails-3.2.8/public/robots.txt +0 -5
  306. data/rails_test/rails-3.2.8/script/rails +0 -6
  307. data/rails_test/rails-3.2.8/spec/controllers/entities_controller_spec.rb +0 -125
  308. data/rails_test/rails-3.2.8/spec/controllers/platforms_controller_spec.rb +0 -125
  309. data/rails_test/rails-3.2.8/spec/helpers/entities_helper_spec.rb +0 -15
  310. data/rails_test/rails-3.2.8/spec/helpers/platforms_helper_spec.rb +0 -15
  311. data/rails_test/rails-3.2.8/spec/integration/navigation_spec.rb +0 -7
  312. data/rails_test/rails-3.2.8/spec/integration/paper_trail_manager_spec.rb +0 -232
  313. data/rails_test/rails-3.2.8/spec/models/entity_spec.rb +0 -14
  314. data/rails_test/rails-3.2.8/spec/models/platform_spec.rb +0 -14
  315. data/rails_test/rails-3.2.8/spec/requests/entities_spec.rb +0 -11
  316. data/rails_test/rails-3.2.8/spec/requests/platforms_spec.rb +0 -11
  317. data/rails_test/rails-3.2.8/spec/routing/entities_routing_spec.rb +0 -35
  318. data/rails_test/rails-3.2.8/spec/routing/platforms_routing_spec.rb +0 -35
  319. data/rails_test/rails-3.2.8/spec/spec_helper.rb +0 -32
  320. data/rails_test/rails-3.2.8/spec/support/factories.rb +0 -14
  321. data/rails_test/rails-3.2.8/spec/views/entities/edit.html.erb_spec.rb +0 -15
  322. data/rails_test/rails-3.2.8/spec/views/entities/index.html.erb_spec.rb +0 -14
  323. data/rails_test/rails-3.2.8/spec/views/entities/new.html.erb_spec.rb +0 -15
  324. data/rails_test/rails-3.2.8/spec/views/entities/show.html.erb_spec.rb +0 -11
  325. data/rails_test/rails-3.2.8/spec/views/platforms/edit.html.erb_spec.rb +0 -15
  326. data/rails_test/rails-3.2.8/spec/views/platforms/index.html.erb_spec.rb +0 -14
  327. data/rails_test/rails-3.2.8/spec/views/platforms/new.html.erb_spec.rb +0 -15
  328. data/rails_test/rails-3.2.8/spec/views/platforms/show.html.erb_spec.rb +0 -11
  329. data/rails_test/rails-3.2.8/test/fixtures/.gitkeep +0 -0
  330. data/rails_test/rails-3.2.8/test/functional/.gitkeep +0 -0
  331. data/rails_test/rails-3.2.8/test/integration/.gitkeep +0 -0
  332. data/rails_test/rails-3.2.8/test/performance/browsing_test.rb +0 -12
  333. data/rails_test/rails-3.2.8/test/test_helper.rb +0 -13
  334. data/rails_test/rails-3.2.8/test/unit/.gitkeep +0 -0
  335. data/rails_test/rails-3.2.8/vendor/assets/javascripts/.gitkeep +0 -0
  336. data/rails_test/rails-3.2.8/vendor/assets/stylesheets/.gitkeep +0 -0
  337. data/rails_test/rails-3.2.8/vendor/plugins/.gitkeep +0 -0
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,8 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails318::Application.config.session_store :cookie_store, :key => '_rails-3.1.8_session'
4
-
5
- # Use the database for sessions instead of the cookie-based default,
6
- # which shouldn't be used to store highly confidential information
7
- # (create the session table with "rails generate session_migration")
8
- # Rails318::Application.config.session_store :active_record_store
@@ -1,8 +0,0 @@
1
- Rails318::Application.routes.draw do
2
- root :to => 'application#index'
3
-
4
- resources :changes, :controller => 'paper_trail_manager/changes'
5
- resources :entities
6
- resources :platforms
7
-
8
- end
@@ -1,14 +0,0 @@
1
- class CreateEntities < ActiveRecord::Migration
2
- def self.up
3
- create_table :entities do |t|
4
- t.string :name
5
- t.string :status
6
-
7
- t.timestamps
8
- end
9
- end
10
-
11
- def self.down
12
- drop_table :entities
13
- end
14
- end
@@ -1,14 +0,0 @@
1
- class CreatePlatforms < ActiveRecord::Migration
2
- def self.up
3
- create_table :platforms do |t|
4
- t.string :name
5
- t.string :status
6
-
7
- t.timestamps
8
- end
9
- end
10
-
11
- def self.down
12
- drop_table :platforms
13
- end
14
- end
@@ -1,18 +0,0 @@
1
- class CreateVersions < ActiveRecord::Migration
2
- def self.up
3
- create_table :versions do |t|
4
- t.string :item_type, :null => false
5
- t.integer :item_id, :null => false
6
- t.string :event, :null => false
7
- t.string :whodunnit
8
- t.text :object
9
- t.datetime :created_at
10
- end
11
- add_index :versions, [:item_type, :item_id]
12
- end
13
-
14
- def self.down
15
- remove_index :versions, [:item_type, :item_id]
16
- drop_table :versions
17
- end
18
- end
@@ -1,2 +0,0 @@
1
- Use this README file to introduce your application and point to useful places in the API for learning more.
2
- Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The page you were looking for doesn't exist (404)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/404.html -->
21
- <div class="dialog">
22
- <h1>The page you were looking for doesn't exist.</h1>
23
- <p>You may have mistyped the address or the page may have moved.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>The change you wanted was rejected (422)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/422.html -->
21
- <div class="dialog">
22
- <h1>The change you wanted was rejected.</h1>
23
- <p>Maybe you tried to change something you didn't have access to.</p>
24
- </div>
25
- </body>
26
- </html>
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>We're sorry, but something went wrong (500)</title>
5
- <style type="text/css">
6
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
- div.dialog {
8
- width: 25em;
9
- padding: 0 4em;
10
- margin: 4em auto 0 auto;
11
- border: 1px solid #ccc;
12
- border-right-color: #999;
13
- border-bottom-color: #999;
14
- }
15
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
- </style>
17
- </head>
18
-
19
- <body>
20
- <!-- This file lives in public/500.html -->
21
- <div class="dialog">
22
- <h1>We're sorry, but something went wrong.</h1>
23
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
24
- </div>
25
- </body>
26
- </html>
File without changes
@@ -1,241 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Ruby on Rails: Welcome aboard</title>
5
- <style type="text/css" media="screen">
6
- body {
7
- margin: 0;
8
- margin-bottom: 25px;
9
- padding: 0;
10
- background-color: #f0f0f0;
11
- font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
12
- font-size: 13px;
13
- color: #333;
14
- }
15
-
16
- h1 {
17
- font-size: 28px;
18
- color: #000;
19
- }
20
-
21
- a {color: #03c}
22
- a:hover {
23
- background-color: #03c;
24
- color: white;
25
- text-decoration: none;
26
- }
27
-
28
-
29
- #page {
30
- background-color: #f0f0f0;
31
- width: 750px;
32
- margin: 0;
33
- margin-left: auto;
34
- margin-right: auto;
35
- }
36
-
37
- #content {
38
- float: left;
39
- background-color: white;
40
- border: 3px solid #aaa;
41
- border-top: none;
42
- padding: 25px;
43
- width: 500px;
44
- }
45
-
46
- #sidebar {
47
- float: right;
48
- width: 175px;
49
- }
50
-
51
- #footer {
52
- clear: both;
53
- }
54
-
55
- #header, #about, #getting-started {
56
- padding-left: 75px;
57
- padding-right: 30px;
58
- }
59
-
60
-
61
- #header {
62
- background-image: url("/assets/rails.png");
63
- background-repeat: no-repeat;
64
- background-position: top left;
65
- height: 64px;
66
- }
67
- #header h1, #header h2 {margin: 0}
68
- #header h2 {
69
- color: #888;
70
- font-weight: normal;
71
- font-size: 16px;
72
- }
73
-
74
-
75
- #about h3 {
76
- margin: 0;
77
- margin-bottom: 10px;
78
- font-size: 14px;
79
- }
80
-
81
- #about-content {
82
- background-color: #ffd;
83
- border: 1px solid #fc0;
84
- margin-left: -55px;
85
- margin-right: -10px;
86
- }
87
- #about-content table {
88
- margin-top: 10px;
89
- margin-bottom: 10px;
90
- font-size: 11px;
91
- border-collapse: collapse;
92
- }
93
- #about-content td {
94
- padding: 10px;
95
- padding-top: 3px;
96
- padding-bottom: 3px;
97
- }
98
- #about-content td.name {color: #555}
99
- #about-content td.value {color: #000}
100
-
101
- #about-content ul {
102
- padding: 0;
103
- list-style-type: none;
104
- }
105
-
106
- #about-content.failure {
107
- background-color: #fcc;
108
- border: 1px solid #f00;
109
- }
110
- #about-content.failure p {
111
- margin: 0;
112
- padding: 10px;
113
- }
114
-
115
-
116
- #getting-started {
117
- border-top: 1px solid #ccc;
118
- margin-top: 25px;
119
- padding-top: 15px;
120
- }
121
- #getting-started h1 {
122
- margin: 0;
123
- font-size: 20px;
124
- }
125
- #getting-started h2 {
126
- margin: 0;
127
- font-size: 14px;
128
- font-weight: normal;
129
- color: #333;
130
- margin-bottom: 25px;
131
- }
132
- #getting-started ol {
133
- margin-left: 0;
134
- padding-left: 0;
135
- }
136
- #getting-started li {
137
- font-size: 18px;
138
- color: #888;
139
- margin-bottom: 25px;
140
- }
141
- #getting-started li h2 {
142
- margin: 0;
143
- font-weight: normal;
144
- font-size: 18px;
145
- color: #333;
146
- }
147
- #getting-started li p {
148
- color: #555;
149
- font-size: 13px;
150
- }
151
-
152
-
153
- #sidebar ul {
154
- margin-left: 0;
155
- padding-left: 0;
156
- }
157
- #sidebar ul h3 {
158
- margin-top: 25px;
159
- font-size: 16px;
160
- padding-bottom: 10px;
161
- border-bottom: 1px solid #ccc;
162
- }
163
- #sidebar li {
164
- list-style-type: none;
165
- }
166
- #sidebar ul.links li {
167
- margin-bottom: 5px;
168
- }
169
-
170
- .filename {
171
- font-style: italic;
172
- }
173
- </style>
174
- <script type="text/javascript">
175
- function about() {
176
- info = document.getElementById('about-content');
177
- if (window.XMLHttpRequest)
178
- { xhr = new XMLHttpRequest(); }
179
- else
180
- { xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
181
- xhr.open("GET","rails/info/properties",false);
182
- xhr.send("");
183
- info.innerHTML = xhr.responseText;
184
- info.style.display = 'block'
185
- }
186
- </script>
187
- </head>
188
- <body>
189
- <div id="page">
190
- <div id="sidebar">
191
- <ul id="sidebar-items">
192
- <li>
193
- <h3>Browse the documentation</h3>
194
- <ul class="links">
195
- <li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
196
- <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
197
- <li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
198
- <li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
199
- </ul>
200
- </li>
201
- </ul>
202
- </div>
203
-
204
- <div id="content">
205
- <div id="header">
206
- <h1>Welcome aboard</h1>
207
- <h2>You&rsquo;re riding Ruby on Rails!</h2>
208
- </div>
209
-
210
- <div id="about">
211
- <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
212
- <div id="about-content" style="display: none"></div>
213
- </div>
214
-
215
- <div id="getting-started">
216
- <h1>Getting started</h1>
217
- <h2>Here&rsquo;s how to get rolling:</h2>
218
-
219
- <ol>
220
- <li>
221
- <h2>Use <code>rails generate</code> to create your models and controllers</h2>
222
- <p>To see all available options, run it without parameters.</p>
223
- </li>
224
-
225
- <li>
226
- <h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
227
- <p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
228
- </li>
229
-
230
- <li>
231
- <h2>Create your database</h2>
232
- <p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
233
- </li>
234
- </ol>
235
- </div>
236
- </div>
237
-
238
- <div id="footer">&nbsp;</div>
239
- </div>
240
- </body>
241
- </html>
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-Agent: *
5
- # Disallow: /
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'