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
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1a4751f2d97b26b30c6e032a6abddab435f52ab5
4
+ data.tar.gz: 304d9a344cbaa635c24ceb5be8ccc84243eff3ea
5
+ SHA512:
6
+ metadata.gz: 728dbc39ed5c46ebfb8203e7da6169f9b071ebe4106dddb280030f8a87acb37c881c68089dac42c5fde82bcc32b89710c6251c9d58b09b294a1279c8b3179955
7
+ data.tar.gz: c3d7a279aaba421c3a9c883770c59098ae957caab3a98c1711afeca1e0ccba3460eedcb561524b266c0a2124a98c553f79d31a8777bedfaf83736d53476a61c3
data/.gitignore CHANGED
@@ -1,7 +1,15 @@
1
- .bundle/
2
- log/*.log
3
- pkg/
4
- *.gem
5
- rails_test/bundler_cache/
6
- rails_test/rails-*/Gemfile
7
- rails_test/rails-*/Gemfile.lock
1
+ /.bundle/
2
+ /.yardoc
3
+ Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
15
+ *.gemfile.lock
data/.travis.yml CHANGED
@@ -1,6 +1,11 @@
1
+ sudo: false
1
2
  language: ruby
2
3
  rvm:
3
- - 1.8.7
4
- - 1.9.2
5
- - 1.9.3
6
- - ree
4
+ - 2.0
5
+ - 2.1
6
+ gemfile:
7
+ - gemfiles/rails_3.2.gemfile
8
+ - gemfiles/rails_4.0.gemfile
9
+ - gemfiles/rails_4.1.gemfile
10
+ - gemfiles/rails_4.2.gemfile
11
+ cache: bundler
data/Appraisals ADDED
@@ -0,0 +1,15 @@
1
+ appraise "rails-3.2" do
2
+ gem "rails", "3.2.21"
3
+ end
4
+
5
+ appraise "rails-4.0" do
6
+ gem "rails", "4.0.9"
7
+ end
8
+
9
+ appraise "rails-4.1" do
10
+ gem "rails", "4.1.9"
11
+ end
12
+
13
+ appraise "rails-4.2" do
14
+ gem "rails", "4.2.0"
15
+ end
data/CHANGES.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Changes to `paper_trail_manager`
2
2
  ================================
3
3
 
4
+ * 0.3.0
5
+ * Support Rails 3.2, 4.0, 4.1, and 4.2
6
+ * Drop support for Rails 3.0 and 3.1
7
+ * Improve test suite across multiple Rails versions
8
+
4
9
  * 0.2.0
5
10
  * Add support for Rails 3.1 and 3.2, while retaining support for Rails 3.0.
6
11
  * Add test suite to check engine against multiple versions. This test suite is derived from Mike Dalessio's "loofah-activerecord" gem, available at https://github.com/flavorjones/loofah-activerecord
data/Gemfile CHANGED
@@ -1,27 +1,4 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'rake'
4
- gem 'rails', '~> 3.0'
5
- gem 'paper_trail', '~> 2.0'
6
- gem 'will_paginate', '~> 3.0.pre2'
7
-
8
- group :development do
9
- gem 'rdoc'
10
- gem 'jeweler', '~> 1.8.4'
11
- gem 'sqlite3-ruby', :require => 'sqlite3'
12
-
13
- # OPTIONAL LIBRARIES: These libraries upset travis-ci and may cause Ruby or
14
- # RVM to hang, so only use them when needed.
15
- if ENV['DEBUGGER']
16
- platform :mri_18 do
17
- gem 'rcov', :require => false
18
- gem 'ruby-debug'
19
- end
20
-
21
- platform :mri_19 do
22
- gem 'simplecov', :require => false
23
- gem 'debugger-ruby_core_source'
24
- gem 'debugger'
25
- end
26
- end
27
- end
3
+ # Specify your gem's dependencies in paper_trail_manager.gemspec
4
+ gemspec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://secure.travis-ci.org/igal/paper_trail_manager.png)](http://travis-ci.org/igal/paper_trail_manager)
1
+ [![Build Status](https://secure.travis-ci.org/fusion94/paper_trail_manager.png)](http://travis-ci.org/fusion94/paper_trail_manager)
2
2
 
3
3
  PaperTrailManager
4
4
  ================
@@ -54,3 +54,8 @@ License
54
54
  -------
55
55
 
56
56
  This program is provided under an MIT open source license, read the [LICENSE.txt](http://github.com/igal/paper_trail_manager/blob/master/LICENSE.txt) file for details.
57
+
58
+ To Note:
59
+ --------
60
+
61
+ This project was originally devloped by [Igal Koshevoy](http://github.com/igal). Unfortunately @igal passed away on April 9th, 2013 and I took over the project afterwords.
data/Rakefile CHANGED
@@ -1,28 +1,18 @@
1
1
  # encoding: UTF-8
2
2
 
3
- =begin
4
- RELEASE PROCESS
5
- ---------------
6
-
7
- * Update VERSION file
8
- * % rm -f Gemfile.lock; bundle --local
9
- * % rake gemspec build test
10
- * % rake install
11
- * Commit any changes
12
- * % git tag v`cat VERSION`
13
- * % git push --tags
14
- * % rake release
15
- * % gem push $GEM
16
- =end
17
-
18
3
  require 'rubygems'
19
4
 
5
+ require "bundler/gem_tasks"
6
+ Bundler::GemHelper.install_tasks
7
+ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
8
+ load 'rails/tasks/engine.rake'
9
+
20
10
  require 'rake'
21
11
  require 'rdoc/task'
22
12
 
23
- task :default => 'test:rails'
24
- task :spec => 'test:rails'
25
- task :test => 'test:rails'
13
+ require 'rspec/core/rake_task'
14
+ RSpec::Core::RakeTask.new
15
+ task :default => ["db:create", "db:migrate", "spec"]
26
16
 
27
17
  Rake::RDocTask.new(:rdoc) do |rdoc|
28
18
  rdoc.rdoc_dir = 'rdoc'
@@ -32,16 +22,3 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
32
22
  rdoc.rdoc_files.include('lib/**/*.rb')
33
23
  end
34
24
 
35
- require "jeweler"
36
- Jeweler::Tasks.new do |gem|
37
- gem.name = "paper_trail_manager"
38
- gem.summary = gem.description = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
39
- gem.files = `git ls-files`.split("\n")
40
- gem.test_files = `git ls-files -- {rails_test}/*`.split("\n")
41
-
42
- gem.authors = ["Igal Koshevoy"]
43
- gem.email = "igal@pragmaticraft.com"
44
- gem.homepage = "http://github.com/igal/paper_trail_manager"
45
- end
46
-
47
- load 'rails_test/Rakefile'
@@ -9,7 +9,7 @@ class PaperTrailManager::ChangesController < ApplicationController
9
9
  return(redirect_to root_url)
10
10
  end
11
11
 
12
- @versions = Version.order('created_at DESC, id DESC')
12
+ @versions = PaperTrail::Version.order('created_at DESC, id DESC')
13
13
  if params[:type]
14
14
  @versions = @versions.where(:item_type => params[:type])
15
15
  end
@@ -33,7 +33,7 @@ class PaperTrailManager::ChangesController < ApplicationController
33
33
  # Show a change
34
34
  def show
35
35
  begin
36
- @version = Version.find(params[:id])
36
+ @version = PaperTrail::Version.find(params[:id])
37
37
  rescue ActiveRecord::RecordNotFound
38
38
  flash[:error] = "No such version."
39
39
  return(redirect_to :action => :index)
@@ -53,7 +53,7 @@ class PaperTrailManager::ChangesController < ApplicationController
53
53
  # Rollback a change
54
54
  def update
55
55
  begin
56
- @version = Version.find(params[:id])
56
+ @version = PaperTrail::Version.find(params[:id])
57
57
  rescue ActiveRecord::RecordNotFound
58
58
  flash[:error] = "No such version."
59
59
  return(redirect_to(:action => :index))
@@ -9,7 +9,7 @@ class PaperTrailManager
9
9
  end
10
10
  end
11
11
 
12
- # Return an hash of changes for the given +Version+ record. The resulting
12
+ # Return an hash of changes for the given +PaperTrail::Version+ record. The resulting
13
13
  # data structure is a hash whose keys are the names of changed columns and
14
14
  # values containing a hash with current and previous value. E.g.,:
15
15
  #
@@ -16,7 +16,7 @@
16
16
  <% end %>
17
17
  <% end %>
18
18
  <% if change_revert_allowed?(version) %>
19
- <%= link_to 'Roll back', change_path(version), :method => 'put', :confirm => 'Are you sure?', :class => 'rollback' %>
19
+ <%= link_to 'Roll back', change_path(version), :method => 'put', :class => 'rollback', :data => { :confirm => 'Are you sure?' } %>
20
20
  <% end %>
21
21
  </p>
22
22
  <% if version.event == 'update' or version.event == 'create' %>
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "3.2.21"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "4.0.9"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "4.1.9"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "4.2.0"
6
+
7
+ gemspec :path => "../"
@@ -1,5 +1,6 @@
1
1
  require 'rails'
2
2
  require 'paper_trail'
3
+ require 'will_paginate'
3
4
 
4
5
  # = PaperTrailManager
5
6
  #
@@ -1,387 +1,33 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
4
 
6
- Gem::Specification.new do |s|
7
- s.name = "paper_trail_manager"
8
- s.version = "0.2.0"
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "paper_trail_manager"
7
+ spec.version = "0.3.0"
8
+ spec.authors = ["Igal Koshevoy", "Reid Beels"]
9
+ spec.authors = ["mail@reidbeels.com"]
10
+ spec.summary = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
11
+ spec.description = "Browse, subscribe, view and revert changes to records when using Ruby on Rails 3 and the `paper_trail` gem."
12
+ spec.homepage = "https://github.com/fusion94/paper_trail_manager"
13
+ spec.license = "MIT"
9
14
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Igal Koshevoy"]
12
- s.date = "2012-08-13"
13
- s.description = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
14
- s.email = "igal@pragmaticraft.com"
15
- s.extra_rdoc_files = [
16
- "LICENSE.txt",
17
- "README.md"
18
- ]
19
- s.files = [
20
- ".gitignore",
21
- ".travis.yml",
22
- "CHANGES.md",
23
- "Gemfile",
24
- "Gemfile.lock",
25
- "LICENSE.txt",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "app/controllers/paper_trail_manager/changes_controller.rb",
30
- "app/helpers/paper_trail_manager/changes_helper.rb",
31
- "app/views/paper_trail_manager/changes/_version.html.erb",
32
- "app/views/paper_trail_manager/changes/index.atom.builder",
33
- "app/views/paper_trail_manager/changes/index.html.erb",
34
- "app/views/paper_trail_manager/changes/show.html.erb",
35
- "lib/paper_trail_manager.rb",
36
- "paper_trail_manager.gemspec",
37
- "rails_test/Rakefile",
38
- "rails_test/common/app/controllers/application_controller.rb",
39
- "rails_test/common/app/controllers/entities_controller.rb",
40
- "rails_test/common/app/controllers/platforms_controller.rb",
41
- "rails_test/common/app/helpers/application_helper.rb",
42
- "rails_test/common/app/helpers/entities_helper.rb",
43
- "rails_test/common/app/helpers/platforms_helper.rb",
44
- "rails_test/common/app/models/entity.rb",
45
- "rails_test/common/app/models/platform.rb",
46
- "rails_test/common/app/views/application/index.html.erb",
47
- "rails_test/common/app/views/entities/_form.html.erb",
48
- "rails_test/common/app/views/entities/edit.html.erb",
49
- "rails_test/common/app/views/entities/index.html.erb",
50
- "rails_test/common/app/views/entities/new.html.erb",
51
- "rails_test/common/app/views/entities/show.html.erb",
52
- "rails_test/common/app/views/layouts/application.html.erb",
53
- "rails_test/common/app/views/platforms/_form.html.erb",
54
- "rails_test/common/app/views/platforms/edit.html.erb",
55
- "rails_test/common/app/views/platforms/index.html.erb",
56
- "rails_test/common/app/views/platforms/new.html.erb",
57
- "rails_test/common/app/views/platforms/show.html.erb",
58
- "rails_test/common/config/database.yml",
59
- "rails_test/common/db/migrate/20110228091428_create_entities.rb",
60
- "rails_test/common/db/migrate/20110228093241_create_platforms.rb",
61
- "rails_test/common/db/migrate/20110228094444_create_versions.rb",
62
- "rails_test/common/spec/controllers/entities_controller_spec.rb",
63
- "rails_test/common/spec/controllers/platforms_controller_spec.rb",
64
- "rails_test/common/spec/helpers/entities_helper_spec.rb",
65
- "rails_test/common/spec/helpers/platforms_helper_spec.rb",
66
- "rails_test/common/spec/integration/navigation_spec.rb",
67
- "rails_test/common/spec/integration/paper_trail_manager_spec.rb",
68
- "rails_test/common/spec/models/entity_spec.rb",
69
- "rails_test/common/spec/models/platform_spec.rb",
70
- "rails_test/common/spec/requests/entities_spec.rb",
71
- "rails_test/common/spec/requests/platforms_spec.rb",
72
- "rails_test/common/spec/routing/entities_routing_spec.rb",
73
- "rails_test/common/spec/routing/platforms_routing_spec.rb",
74
- "rails_test/common/spec/spec_helper.rb",
75
- "rails_test/common/spec/support/factories.rb",
76
- "rails_test/common/spec/views/entities/edit.html.erb_spec.rb",
77
- "rails_test/common/spec/views/entities/index.html.erb_spec.rb",
78
- "rails_test/common/spec/views/entities/new.html.erb_spec.rb",
79
- "rails_test/common/spec/views/entities/show.html.erb_spec.rb",
80
- "rails_test/common/spec/views/platforms/edit.html.erb_spec.rb",
81
- "rails_test/common/spec/views/platforms/index.html.erb_spec.rb",
82
- "rails_test/common/spec/views/platforms/new.html.erb_spec.rb",
83
- "rails_test/common/spec/views/platforms/show.html.erb_spec.rb",
84
- "rails_test/generate_test_directory",
85
- "rails_test/rails-3.0.17/.gitignore",
86
- "rails_test/rails-3.0.17/README",
87
- "rails_test/rails-3.0.17/Rakefile",
88
- "rails_test/rails-3.0.17/app/controllers/application_controller.rb",
89
- "rails_test/rails-3.0.17/app/controllers/entities_controller.rb",
90
- "rails_test/rails-3.0.17/app/controllers/platforms_controller.rb",
91
- "rails_test/rails-3.0.17/app/helpers/application_helper.rb",
92
- "rails_test/rails-3.0.17/app/helpers/entities_helper.rb",
93
- "rails_test/rails-3.0.17/app/helpers/platforms_helper.rb",
94
- "rails_test/rails-3.0.17/app/models/entity.rb",
95
- "rails_test/rails-3.0.17/app/models/platform.rb",
96
- "rails_test/rails-3.0.17/app/views/application/index.html.erb",
97
- "rails_test/rails-3.0.17/app/views/entities/_form.html.erb",
98
- "rails_test/rails-3.0.17/app/views/entities/edit.html.erb",
99
- "rails_test/rails-3.0.17/app/views/entities/index.html.erb",
100
- "rails_test/rails-3.0.17/app/views/entities/new.html.erb",
101
- "rails_test/rails-3.0.17/app/views/entities/show.html.erb",
102
- "rails_test/rails-3.0.17/app/views/layouts/application.html.erb",
103
- "rails_test/rails-3.0.17/app/views/platforms/_form.html.erb",
104
- "rails_test/rails-3.0.17/app/views/platforms/edit.html.erb",
105
- "rails_test/rails-3.0.17/app/views/platforms/index.html.erb",
106
- "rails_test/rails-3.0.17/app/views/platforms/new.html.erb",
107
- "rails_test/rails-3.0.17/app/views/platforms/show.html.erb",
108
- "rails_test/rails-3.0.17/config.ru",
109
- "rails_test/rails-3.0.17/config/application.rb",
110
- "rails_test/rails-3.0.17/config/boot.rb",
111
- "rails_test/rails-3.0.17/config/database.yml",
112
- "rails_test/rails-3.0.17/config/environment.rb",
113
- "rails_test/rails-3.0.17/config/environments/development.rb",
114
- "rails_test/rails-3.0.17/config/environments/production.rb",
115
- "rails_test/rails-3.0.17/config/environments/test.rb",
116
- "rails_test/rails-3.0.17/config/initializers/backtrace_silencers.rb",
117
- "rails_test/rails-3.0.17/config/initializers/inflections.rb",
118
- "rails_test/rails-3.0.17/config/initializers/mime_types.rb",
119
- "rails_test/rails-3.0.17/config/initializers/secret_token.rb",
120
- "rails_test/rails-3.0.17/config/initializers/session_store.rb",
121
- "rails_test/rails-3.0.17/config/locales/en.yml",
122
- "rails_test/rails-3.0.17/config/routes.rb",
123
- "rails_test/rails-3.0.17/db/migrate/20110228091428_create_entities.rb",
124
- "rails_test/rails-3.0.17/db/migrate/20110228093241_create_platforms.rb",
125
- "rails_test/rails-3.0.17/db/migrate/20110228094444_create_versions.rb",
126
- "rails_test/rails-3.0.17/db/schema.rb",
127
- "rails_test/rails-3.0.17/db/seeds.rb",
128
- "rails_test/rails-3.0.17/doc/README_FOR_APP",
129
- "rails_test/rails-3.0.17/lib/tasks/.gitkeep",
130
- "rails_test/rails-3.0.17/public/404.html",
131
- "rails_test/rails-3.0.17/public/422.html",
132
- "rails_test/rails-3.0.17/public/500.html",
133
- "rails_test/rails-3.0.17/public/favicon.ico",
134
- "rails_test/rails-3.0.17/public/images/rails.png",
135
- "rails_test/rails-3.0.17/public/index.html",
136
- "rails_test/rails-3.0.17/public/javascripts/application.js",
137
- "rails_test/rails-3.0.17/public/javascripts/controls.js",
138
- "rails_test/rails-3.0.17/public/javascripts/dragdrop.js",
139
- "rails_test/rails-3.0.17/public/javascripts/effects.js",
140
- "rails_test/rails-3.0.17/public/javascripts/prototype.js",
141
- "rails_test/rails-3.0.17/public/javascripts/rails.js",
142
- "rails_test/rails-3.0.17/public/robots.txt",
143
- "rails_test/rails-3.0.17/public/stylesheets/.gitkeep",
144
- "rails_test/rails-3.0.17/script/rails",
145
- "rails_test/rails-3.0.17/spec/controllers/entities_controller_spec.rb",
146
- "rails_test/rails-3.0.17/spec/controllers/platforms_controller_spec.rb",
147
- "rails_test/rails-3.0.17/spec/helpers/entities_helper_spec.rb",
148
- "rails_test/rails-3.0.17/spec/helpers/platforms_helper_spec.rb",
149
- "rails_test/rails-3.0.17/spec/integration/navigation_spec.rb",
150
- "rails_test/rails-3.0.17/spec/integration/paper_trail_manager_spec.rb",
151
- "rails_test/rails-3.0.17/spec/models/entity_spec.rb",
152
- "rails_test/rails-3.0.17/spec/models/platform_spec.rb",
153
- "rails_test/rails-3.0.17/spec/requests/entities_spec.rb",
154
- "rails_test/rails-3.0.17/spec/requests/platforms_spec.rb",
155
- "rails_test/rails-3.0.17/spec/routing/entities_routing_spec.rb",
156
- "rails_test/rails-3.0.17/spec/routing/platforms_routing_spec.rb",
157
- "rails_test/rails-3.0.17/spec/spec_helper.rb",
158
- "rails_test/rails-3.0.17/spec/support/factories.rb",
159
- "rails_test/rails-3.0.17/spec/views/entities/edit.html.erb_spec.rb",
160
- "rails_test/rails-3.0.17/spec/views/entities/index.html.erb_spec.rb",
161
- "rails_test/rails-3.0.17/spec/views/entities/new.html.erb_spec.rb",
162
- "rails_test/rails-3.0.17/spec/views/entities/show.html.erb_spec.rb",
163
- "rails_test/rails-3.0.17/spec/views/platforms/edit.html.erb_spec.rb",
164
- "rails_test/rails-3.0.17/spec/views/platforms/index.html.erb_spec.rb",
165
- "rails_test/rails-3.0.17/spec/views/platforms/new.html.erb_spec.rb",
166
- "rails_test/rails-3.0.17/spec/views/platforms/show.html.erb_spec.rb",
167
- "rails_test/rails-3.0.17/test/performance/browsing_test.rb",
168
- "rails_test/rails-3.0.17/test/test_helper.rb",
169
- "rails_test/rails-3.0.17/vendor/plugins/.gitkeep",
170
- "rails_test/rails-3.1.8/.gitignore",
171
- "rails_test/rails-3.1.8/README",
172
- "rails_test/rails-3.1.8/Rakefile",
173
- "rails_test/rails-3.1.8/app/assets/images/rails.png",
174
- "rails_test/rails-3.1.8/app/assets/javascripts/application.js",
175
- "rails_test/rails-3.1.8/app/assets/stylesheets/application.css",
176
- "rails_test/rails-3.1.8/app/controllers/application_controller.rb",
177
- "rails_test/rails-3.1.8/app/controllers/entities_controller.rb",
178
- "rails_test/rails-3.1.8/app/controllers/platforms_controller.rb",
179
- "rails_test/rails-3.1.8/app/helpers/application_helper.rb",
180
- "rails_test/rails-3.1.8/app/helpers/entities_helper.rb",
181
- "rails_test/rails-3.1.8/app/helpers/platforms_helper.rb",
182
- "rails_test/rails-3.1.8/app/mailers/.gitkeep",
183
- "rails_test/rails-3.1.8/app/models/.gitkeep",
184
- "rails_test/rails-3.1.8/app/models/entity.rb",
185
- "rails_test/rails-3.1.8/app/models/platform.rb",
186
- "rails_test/rails-3.1.8/app/views/application/index.html.erb",
187
- "rails_test/rails-3.1.8/app/views/entities/_form.html.erb",
188
- "rails_test/rails-3.1.8/app/views/entities/edit.html.erb",
189
- "rails_test/rails-3.1.8/app/views/entities/index.html.erb",
190
- "rails_test/rails-3.1.8/app/views/entities/new.html.erb",
191
- "rails_test/rails-3.1.8/app/views/entities/show.html.erb",
192
- "rails_test/rails-3.1.8/app/views/layouts/application.html.erb",
193
- "rails_test/rails-3.1.8/app/views/platforms/_form.html.erb",
194
- "rails_test/rails-3.1.8/app/views/platforms/edit.html.erb",
195
- "rails_test/rails-3.1.8/app/views/platforms/index.html.erb",
196
- "rails_test/rails-3.1.8/app/views/platforms/new.html.erb",
197
- "rails_test/rails-3.1.8/app/views/platforms/show.html.erb",
198
- "rails_test/rails-3.1.8/config.ru",
199
- "rails_test/rails-3.1.8/config/application.rb",
200
- "rails_test/rails-3.1.8/config/boot.rb",
201
- "rails_test/rails-3.1.8/config/database.yml",
202
- "rails_test/rails-3.1.8/config/environment.rb",
203
- "rails_test/rails-3.1.8/config/environments/development.rb",
204
- "rails_test/rails-3.1.8/config/environments/production.rb",
205
- "rails_test/rails-3.1.8/config/environments/test.rb",
206
- "rails_test/rails-3.1.8/config/initializers/backtrace_silencers.rb",
207
- "rails_test/rails-3.1.8/config/initializers/inflections.rb",
208
- "rails_test/rails-3.1.8/config/initializers/mime_types.rb",
209
- "rails_test/rails-3.1.8/config/initializers/secret_token.rb",
210
- "rails_test/rails-3.1.8/config/initializers/session_store.rb",
211
- "rails_test/rails-3.1.8/config/initializers/wrap_parameters.rb",
212
- "rails_test/rails-3.1.8/config/locales/en.yml",
213
- "rails_test/rails-3.1.8/config/routes.rb",
214
- "rails_test/rails-3.1.8/db/migrate/20110228091428_create_entities.rb",
215
- "rails_test/rails-3.1.8/db/migrate/20110228093241_create_platforms.rb",
216
- "rails_test/rails-3.1.8/db/migrate/20110228094444_create_versions.rb",
217
- "rails_test/rails-3.1.8/db/schema.rb",
218
- "rails_test/rails-3.1.8/db/seeds.rb",
219
- "rails_test/rails-3.1.8/doc/README_FOR_APP",
220
- "rails_test/rails-3.1.8/lib/assets/.gitkeep",
221
- "rails_test/rails-3.1.8/lib/tasks/.gitkeep",
222
- "rails_test/rails-3.1.8/log/.gitkeep",
223
- "rails_test/rails-3.1.8/public/404.html",
224
- "rails_test/rails-3.1.8/public/422.html",
225
- "rails_test/rails-3.1.8/public/500.html",
226
- "rails_test/rails-3.1.8/public/favicon.ico",
227
- "rails_test/rails-3.1.8/public/index.html",
228
- "rails_test/rails-3.1.8/public/robots.txt",
229
- "rails_test/rails-3.1.8/script/rails",
230
- "rails_test/rails-3.1.8/spec/controllers/entities_controller_spec.rb",
231
- "rails_test/rails-3.1.8/spec/controllers/platforms_controller_spec.rb",
232
- "rails_test/rails-3.1.8/spec/helpers/entities_helper_spec.rb",
233
- "rails_test/rails-3.1.8/spec/helpers/platforms_helper_spec.rb",
234
- "rails_test/rails-3.1.8/spec/integration/navigation_spec.rb",
235
- "rails_test/rails-3.1.8/spec/integration/paper_trail_manager_spec.rb",
236
- "rails_test/rails-3.1.8/spec/models/entity_spec.rb",
237
- "rails_test/rails-3.1.8/spec/models/platform_spec.rb",
238
- "rails_test/rails-3.1.8/spec/requests/entities_spec.rb",
239
- "rails_test/rails-3.1.8/spec/requests/platforms_spec.rb",
240
- "rails_test/rails-3.1.8/spec/routing/entities_routing_spec.rb",
241
- "rails_test/rails-3.1.8/spec/routing/platforms_routing_spec.rb",
242
- "rails_test/rails-3.1.8/spec/spec_helper.rb",
243
- "rails_test/rails-3.1.8/spec/support/factories.rb",
244
- "rails_test/rails-3.1.8/spec/views/entities/edit.html.erb_spec.rb",
245
- "rails_test/rails-3.1.8/spec/views/entities/index.html.erb_spec.rb",
246
- "rails_test/rails-3.1.8/spec/views/entities/new.html.erb_spec.rb",
247
- "rails_test/rails-3.1.8/spec/views/entities/show.html.erb_spec.rb",
248
- "rails_test/rails-3.1.8/spec/views/platforms/edit.html.erb_spec.rb",
249
- "rails_test/rails-3.1.8/spec/views/platforms/index.html.erb_spec.rb",
250
- "rails_test/rails-3.1.8/spec/views/platforms/new.html.erb_spec.rb",
251
- "rails_test/rails-3.1.8/spec/views/platforms/show.html.erb_spec.rb",
252
- "rails_test/rails-3.1.8/test/fixtures/.gitkeep",
253
- "rails_test/rails-3.1.8/test/functional/.gitkeep",
254
- "rails_test/rails-3.1.8/test/integration/.gitkeep",
255
- "rails_test/rails-3.1.8/test/performance/browsing_test.rb",
256
- "rails_test/rails-3.1.8/test/test_helper.rb",
257
- "rails_test/rails-3.1.8/test/unit/.gitkeep",
258
- "rails_test/rails-3.1.8/vendor/assets/stylesheets/.gitkeep",
259
- "rails_test/rails-3.1.8/vendor/plugins/.gitkeep",
260
- "rails_test/rails-3.2.8/.gitignore",
261
- "rails_test/rails-3.2.8/README.rdoc",
262
- "rails_test/rails-3.2.8/Rakefile",
263
- "rails_test/rails-3.2.8/app/assets/images/rails.png",
264
- "rails_test/rails-3.2.8/app/assets/javascripts/application.js",
265
- "rails_test/rails-3.2.8/app/assets/stylesheets/application.css",
266
- "rails_test/rails-3.2.8/app/controllers/application_controller.rb",
267
- "rails_test/rails-3.2.8/app/controllers/entities_controller.rb",
268
- "rails_test/rails-3.2.8/app/controllers/platforms_controller.rb",
269
- "rails_test/rails-3.2.8/app/helpers/application_helper.rb",
270
- "rails_test/rails-3.2.8/app/helpers/entities_helper.rb",
271
- "rails_test/rails-3.2.8/app/helpers/platforms_helper.rb",
272
- "rails_test/rails-3.2.8/app/mailers/.gitkeep",
273
- "rails_test/rails-3.2.8/app/models/.gitkeep",
274
- "rails_test/rails-3.2.8/app/models/entity.rb",
275
- "rails_test/rails-3.2.8/app/models/platform.rb",
276
- "rails_test/rails-3.2.8/app/views/application/index.html.erb",
277
- "rails_test/rails-3.2.8/app/views/entities/_form.html.erb",
278
- "rails_test/rails-3.2.8/app/views/entities/edit.html.erb",
279
- "rails_test/rails-3.2.8/app/views/entities/index.html.erb",
280
- "rails_test/rails-3.2.8/app/views/entities/new.html.erb",
281
- "rails_test/rails-3.2.8/app/views/entities/show.html.erb",
282
- "rails_test/rails-3.2.8/app/views/layouts/application.html.erb",
283
- "rails_test/rails-3.2.8/app/views/platforms/_form.html.erb",
284
- "rails_test/rails-3.2.8/app/views/platforms/edit.html.erb",
285
- "rails_test/rails-3.2.8/app/views/platforms/index.html.erb",
286
- "rails_test/rails-3.2.8/app/views/platforms/new.html.erb",
287
- "rails_test/rails-3.2.8/app/views/platforms/show.html.erb",
288
- "rails_test/rails-3.2.8/config.ru",
289
- "rails_test/rails-3.2.8/config/application.rb",
290
- "rails_test/rails-3.2.8/config/boot.rb",
291
- "rails_test/rails-3.2.8/config/database.yml",
292
- "rails_test/rails-3.2.8/config/environment.rb",
293
- "rails_test/rails-3.2.8/config/environments/development.rb",
294
- "rails_test/rails-3.2.8/config/environments/production.rb",
295
- "rails_test/rails-3.2.8/config/environments/test.rb",
296
- "rails_test/rails-3.2.8/config/initializers/backtrace_silencers.rb",
297
- "rails_test/rails-3.2.8/config/initializers/inflections.rb",
298
- "rails_test/rails-3.2.8/config/initializers/mime_types.rb",
299
- "rails_test/rails-3.2.8/config/initializers/secret_token.rb",
300
- "rails_test/rails-3.2.8/config/initializers/session_store.rb",
301
- "rails_test/rails-3.2.8/config/initializers/wrap_parameters.rb",
302
- "rails_test/rails-3.2.8/config/locales/en.yml",
303
- "rails_test/rails-3.2.8/config/routes.rb",
304
- "rails_test/rails-3.2.8/db/migrate/20110228091428_create_entities.rb",
305
- "rails_test/rails-3.2.8/db/migrate/20110228093241_create_platforms.rb",
306
- "rails_test/rails-3.2.8/db/migrate/20110228094444_create_versions.rb",
307
- "rails_test/rails-3.2.8/db/schema.rb",
308
- "rails_test/rails-3.2.8/db/seeds.rb",
309
- "rails_test/rails-3.2.8/doc/README_FOR_APP",
310
- "rails_test/rails-3.2.8/lib/assets/.gitkeep",
311
- "rails_test/rails-3.2.8/lib/tasks/.gitkeep",
312
- "rails_test/rails-3.2.8/log/.gitkeep",
313
- "rails_test/rails-3.2.8/public/404.html",
314
- "rails_test/rails-3.2.8/public/422.html",
315
- "rails_test/rails-3.2.8/public/500.html",
316
- "rails_test/rails-3.2.8/public/favicon.ico",
317
- "rails_test/rails-3.2.8/public/index.html",
318
- "rails_test/rails-3.2.8/public/robots.txt",
319
- "rails_test/rails-3.2.8/script/rails",
320
- "rails_test/rails-3.2.8/spec/controllers/entities_controller_spec.rb",
321
- "rails_test/rails-3.2.8/spec/controllers/platforms_controller_spec.rb",
322
- "rails_test/rails-3.2.8/spec/helpers/entities_helper_spec.rb",
323
- "rails_test/rails-3.2.8/spec/helpers/platforms_helper_spec.rb",
324
- "rails_test/rails-3.2.8/spec/integration/navigation_spec.rb",
325
- "rails_test/rails-3.2.8/spec/integration/paper_trail_manager_spec.rb",
326
- "rails_test/rails-3.2.8/spec/models/entity_spec.rb",
327
- "rails_test/rails-3.2.8/spec/models/platform_spec.rb",
328
- "rails_test/rails-3.2.8/spec/requests/entities_spec.rb",
329
- "rails_test/rails-3.2.8/spec/requests/platforms_spec.rb",
330
- "rails_test/rails-3.2.8/spec/routing/entities_routing_spec.rb",
331
- "rails_test/rails-3.2.8/spec/routing/platforms_routing_spec.rb",
332
- "rails_test/rails-3.2.8/spec/spec_helper.rb",
333
- "rails_test/rails-3.2.8/spec/support/factories.rb",
334
- "rails_test/rails-3.2.8/spec/views/entities/edit.html.erb_spec.rb",
335
- "rails_test/rails-3.2.8/spec/views/entities/index.html.erb_spec.rb",
336
- "rails_test/rails-3.2.8/spec/views/entities/new.html.erb_spec.rb",
337
- "rails_test/rails-3.2.8/spec/views/entities/show.html.erb_spec.rb",
338
- "rails_test/rails-3.2.8/spec/views/platforms/edit.html.erb_spec.rb",
339
- "rails_test/rails-3.2.8/spec/views/platforms/index.html.erb_spec.rb",
340
- "rails_test/rails-3.2.8/spec/views/platforms/new.html.erb_spec.rb",
341
- "rails_test/rails-3.2.8/spec/views/platforms/show.html.erb_spec.rb",
342
- "rails_test/rails-3.2.8/test/fixtures/.gitkeep",
343
- "rails_test/rails-3.2.8/test/functional/.gitkeep",
344
- "rails_test/rails-3.2.8/test/integration/.gitkeep",
345
- "rails_test/rails-3.2.8/test/performance/browsing_test.rb",
346
- "rails_test/rails-3.2.8/test/test_helper.rb",
347
- "rails_test/rails-3.2.8/test/unit/.gitkeep",
348
- "rails_test/rails-3.2.8/vendor/assets/javascripts/.gitkeep",
349
- "rails_test/rails-3.2.8/vendor/assets/stylesheets/.gitkeep",
350
- "rails_test/rails-3.2.8/vendor/plugins/.gitkeep"
351
- ]
352
- s.homepage = "http://github.com/igal/paper_trail_manager"
353
- s.require_paths = ["lib"]
354
- s.rubygems_version = "1.8.11"
355
- s.summary = "A user interface for `paper_trail` versioning data in Ruby on Rails 3 applications."
15
+ spec.files = `git ls-files -z`.split("\x0")
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
356
19
 
357
- if s.respond_to? :specification_version then
358
- s.specification_version = 3
20
+ spec.add_dependency "rails", [">= 3.0", "< 5.0"]
21
+ spec.add_dependency "paper_trail", "~> 3.0"
22
+ spec.add_dependency "will_paginate", "~> 3.0"
359
23
 
360
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
361
- s.add_runtime_dependency(%q<rake>, [">= 0"])
362
- s.add_runtime_dependency(%q<rails>, ["~> 3.0"])
363
- s.add_runtime_dependency(%q<paper_trail>, ["~> 2.0"])
364
- s.add_runtime_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
365
- s.add_development_dependency(%q<rdoc>, [">= 0"])
366
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
367
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
368
- else
369
- s.add_dependency(%q<rake>, [">= 0"])
370
- s.add_dependency(%q<rails>, ["~> 3.0"])
371
- s.add_dependency(%q<paper_trail>, ["~> 2.0"])
372
- s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
373
- s.add_dependency(%q<rdoc>, [">= 0"])
374
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
375
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
376
- end
377
- else
378
- s.add_dependency(%q<rake>, [">= 0"])
379
- s.add_dependency(%q<rails>, ["~> 3.0"])
380
- s.add_dependency(%q<paper_trail>, ["~> 2.0"])
381
- s.add_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
382
- s.add_dependency(%q<rdoc>, [">= 0"])
383
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
384
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
385
- end
24
+ spec.add_development_dependency "rake", "~> 10.4"
25
+ spec.add_development_dependency "sqlite3", "~> 1.3"
26
+ spec.add_development_dependency "factory_girl_rails", "~> 4.0"
27
+ spec.add_development_dependency "rspec-rails", "~> 3.0"
28
+ spec.add_development_dependency "rspec-activemodel-mocks", "~> 1.0"
29
+ spec.add_development_dependency "rspec-its", "~> 1.0"
30
+ spec.add_development_dependency "appraisal", "~> 1.0"
31
+ spec.add_development_dependency "byebug"
386
32
  end
387
33