raffle_v1 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +6 -14
  2. data/README.md +11 -2
  3. data/app/assets/images/raffle_v1/game.png +0 -0
  4. data/app/assets/images/raffle_v1/gift.png +0 -0
  5. data/app/assets/images/raffle_v1/lifesaver.png +0 -0
  6. data/app/assets/images/raffle_v1/person01.jpg +0 -0
  7. data/app/assets/javascripts/raffle_v1/application.js +2 -1
  8. data/app/assets/javascripts/raffle_v1/home.js.coffee +3 -0
  9. data/app/assets/javascripts/raffle_v1/locales.js.coffee +3 -0
  10. data/app/assets/javascripts/raffle_v1/page_layouts.js.coffee +3 -0
  11. data/app/assets/javascripts/raffle_v1/pages.js.coffee +3 -0
  12. data/app/assets/javascripts/raffle_v1/programs.js.coffee +3 -0
  13. data/app/assets/javascripts/raffle_v1/roles.js.coffee +3 -0
  14. data/app/assets/javascripts/raffle_v1/stylesheets.js.coffee +3 -0
  15. data/app/assets/javascripts/raffle_v1/terms_and_conditions.js.coffee +3 -0
  16. data/app/assets/javascripts/raffle_v1/terms_of_conditions.js.coffee +3 -0
  17. data/app/assets/javascripts/raffle_v1/translation_keys.js.coffee +3 -0
  18. data/app/assets/javascripts/raffle_v1/translation_objects.js.coffee +3 -0
  19. data/app/assets/javascripts/raffle_v1/user.js.coffee +3 -0
  20. data/app/assets/javascripts/raffle_v1/versions.js.coffee +3 -0
  21. data/app/assets/stylesheets/raffle_v1/TableTools.css +264 -0
  22. data/app/assets/stylesheets/raffle_v1/TableTools.css.scss +264 -0
  23. data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css +182 -0
  24. data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css.scss +183 -0
  25. data/app/assets/stylesheets/raffle_v1/_custom.css.scss +3310 -0
  26. data/app/assets/stylesheets/raffle_v1/_variable.scss +122 -0
  27. data/app/assets/stylesheets/raffle_v1/_variable_defaults.scss +83 -0
  28. data/app/assets/stylesheets/raffle_v1/application.css.scss +34 -0
  29. data/app/assets/stylesheets/raffle_v1/application.css.scss.erb +32 -0
  30. data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css +570 -0
  31. data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css.scss +570 -0
  32. data/app/assets/stylesheets/raffle_v1/bootstrap.css +4226 -0
  33. data/app/assets/stylesheets/raffle_v1/bootstrap.css.scss +4226 -0
  34. data/app/assets/stylesheets/raffle_v1/colorbox.css +88 -0
  35. data/app/assets/stylesheets/raffle_v1/colorbox.css.scss +88 -0
  36. data/app/assets/stylesheets/raffle_v1/grid.css.scss +258 -0
  37. data/app/assets/stylesheets/raffle_v1/hierarchy.css.scss +16 -0
  38. data/app/assets/stylesheets/raffle_v1/home.css.scss +18 -0
  39. data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css +83 -0
  40. data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css.scss +83 -0
  41. data/app/assets/stylesheets/raffle_v1/jquery.jcarousel.css +206 -0
  42. data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css +57 -0
  43. data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css.scss +57 -0
  44. data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css +38 -0
  45. data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css.scss +38 -0
  46. data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css +21 -0
  47. data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css.scss +21 -0
  48. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  49. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  50. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  51. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  52. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  53. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  54. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  55. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  56. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  57. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  58. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  59. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  60. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  61. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  62. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css +563 -0
  63. data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css.scss +563 -0
  64. data/app/assets/stylesheets/raffle_v1/locales.css.scss +3 -0
  65. data/app/assets/stylesheets/raffle_v1/page_layouts.css.scss +3 -0
  66. data/app/assets/stylesheets/raffle_v1/pages.css.scss +3 -0
  67. data/app/assets/stylesheets/raffle_v1/programs.css.scss +3 -0
  68. data/app/assets/stylesheets/raffle_v1/reset.css.scss +96 -0
  69. data/app/assets/stylesheets/raffle_v1/roles.css.scss +3 -0
  70. data/app/assets/stylesheets/raffle_v1/scaffolds.css.scss +42 -0
  71. data/app/assets/stylesheets/raffle_v1/stylesheets.css.scss +3 -0
  72. data/app/assets/stylesheets/raffle_v1/terms_and_conditions.css.scss +3 -0
  73. data/app/assets/stylesheets/raffle_v1/terms_of_conditions.css.scss +4 -0
  74. data/app/assets/stylesheets/raffle_v1/translation_keys.css.scss +3 -0
  75. data/app/assets/stylesheets/raffle_v1/translation_objects.css.scss +3 -0
  76. data/app/assets/stylesheets/raffle_v1/ui.multiselect.css +33 -0
  77. data/app/assets/stylesheets/raffle_v1/ui.multiselect.css.scss +33 -0
  78. data/app/assets/stylesheets/raffle_v1/user.css.scss +3 -0
  79. data/app/assets/stylesheets/raffle_v1/versions.css.scss +3 -0
  80. data/app/controllers/raffle_v1/application_controller.rb +80 -0
  81. data/app/controllers/raffle_v1/home_controller.rb +15 -0
  82. data/app/controllers/raffle_v1/locales_controller.rb +87 -0
  83. data/app/controllers/raffle_v1/page_layouts_controller.rb +87 -0
  84. data/app/controllers/raffle_v1/pages_controller.rb +180 -0
  85. data/app/controllers/raffle_v1/programs_controller.rb +140 -0
  86. data/app/controllers/raffle_v1/roles_controller.rb +87 -0
  87. data/app/controllers/raffle_v1/stylesheets_controller.rb +19 -0
  88. data/app/controllers/raffle_v1/terms_and_conditions_controller.rb +118 -0
  89. data/app/controllers/raffle_v1/translation_keys_controller.rb +119 -0
  90. data/app/controllers/raffle_v1/translation_objects_controller.rb +87 -0
  91. data/app/controllers/raffle_v1/user_controller.rb +138 -0
  92. data/app/controllers/raffle_v1/versions_controller.rb +15 -0
  93. data/app/models/raffle_v1/ability.rb +30 -0
  94. data/app/models/raffle_v1/admin.rb +35 -0
  95. data/app/models/raffle_v1/admin_ability.rb +28 -0
  96. data/app/models/raffle_v1/locale.rb +29 -0
  97. data/app/models/raffle_v1/page.rb +26 -0
  98. data/app/models/raffle_v1/page_layout.rb +6 -0
  99. data/app/models/raffle_v1/program.rb +84 -0
  100. data/app/models/raffle_v1/program_locale.rb +11 -0
  101. data/app/models/raffle_v1/program_setting.rb +5 -0
  102. data/app/models/raffle_v1/role.rb +5 -0
  103. data/app/models/raffle_v1/roles_users.rb +5 -0
  104. data/app/models/raffle_v1/stylesheet.rb +9 -0
  105. data/app/models/raffle_v1/terms_and_condition.rb +17 -0
  106. data/app/models/raffle_v1/translation.rb +29 -0
  107. data/app/models/raffle_v1/translation_key.rb +35 -0
  108. data/app/models/raffle_v1/translation_object.rb +11 -0
  109. data/app/models/raffle_v1/user.rb +108 -0
  110. data/config/rafflev1.rb +6 -0
  111. data/db/migrate/20130123214645_devise_create_users.rb +49 -0
  112. data/db/migrate/20130124004626_devise_create_admins.rb +49 -0
  113. data/db/migrate/20130124231541_create_versions.rb +18 -0
  114. data/db/migrate/20130127235347_create_programs.rb +9 -0
  115. data/db/migrate/20130129155515_add_domain_fields_to_programs.rb +6 -0
  116. data/db/migrate/20130129160949_create_terms_and_conditions.rb +18 -0
  117. data/db/migrate/20130129183112_add_program_to_users.rb +5 -0
  118. data/db/migrate/20130129204204_add_username_to_users.rb +6 -0
  119. data/db/migrate/20130129211205_create_roles.rb +9 -0
  120. data/db/migrate/20130129212302_create_roles_users.rb +12 -0
  121. data/db/migrate/20130130013315_create_locales.rb +11 -0
  122. data/db/migrate/20130130154500_create_program_locales.rb +8 -0
  123. data/db/migrate/20130130223342_add_settings_to_users.rb +5 -0
  124. data/db/migrate/20130130223609_add_locale_available_to_program.rb +5 -0
  125. data/db/migrate/20130130223810_add_locales_to_versions.rb +5 -0
  126. data/db/migrate/20130130224141_add_locale_name_to_program.rb +5 -0
  127. data/db/migrate/20130130224327_add_admin_type_to_admins.rb +5 -0
  128. data/db/migrate/20130130225223_add_deleted_at_to_models.rb +9 -0
  129. data/db/migrate/20130130230516_create_translations.rb +13 -0
  130. data/db/migrate/20130131005653_add_timeout_field_to_program.rb +7 -0
  131. data/db/migrate/20130131144951_create_stylesheets.rb +14 -0
  132. data/db/migrate/20130202132442_add_tos_to_program.rb +5 -0
  133. data/db/migrate/20130202133149_add_programid_to_terms.rb +23 -0
  134. data/db/migrate/20130202193646_add_akm_to_terms_and_conditions.rb +5 -0
  135. data/db/migrate/20130203035054_create_translation_keys.rb +10 -0
  136. data/db/migrate/20130203214314_create_program_settings.rb +9 -0
  137. data/db/migrate/20130204025824_add_translationkey_to_translation.rb +5 -0
  138. data/db/migrate/20130204030555_create_translation_objects.rb +39 -0
  139. data/db/migrate/20130205203152_create_pages.rb +25 -0
  140. data/db/migrate/20130208042652_add_fields_to_page.rb +6 -0
  141. data/db/migrate/20130208043123_create_page_layouts.rb +12 -0
  142. data/db/migrate/20130208051925_add_statusitem_to_page.rb +5 -0
  143. data/db/migrate/20130306012135_add_fields_to_user.rb +40 -0
  144. data/db/migrate/20130306162357_change_bad_fields_on_user.rb +11 -0
  145. data/db/migrate/20130306163554_add_password_created_at_to_user.rb +6 -0
  146. data/db/migrate/20130306165455_add_confirmable_to_user.rb +14 -0
  147. data/db/migrate/20130306211253_add_username_index_to_user.rb +41 -0
  148. data/db/migrate/20130313011833_add_field_to_user.rb +5 -0
  149. data/lib/database_cleaner-0.7.2/Gemfile.lock +163 -0
  150. data/lib/database_cleaner-0.7.2/History.txt +209 -0
  151. data/lib/database_cleaner-0.7.2/LICENSE +20 -0
  152. data/lib/database_cleaner-0.7.2/README.textile +223 -0
  153. data/lib/database_cleaner-0.7.2/Rakefile +65 -0
  154. data/lib/database_cleaner-0.7.2/TODO +3 -0
  155. data/lib/database_cleaner-0.7.2/VERSION.yml +5 -0
  156. data/lib/database_cleaner-0.7.2/cucumber.yml +1 -0
  157. data/lib/database_cleaner-0.7.2/examples/Gemfile +49 -0
  158. data/lib/database_cleaner-0.7.2/examples/Gemfile.lock +163 -0
  159. data/lib/database_cleaner-0.7.2/examples/config/database.yml.example +8 -0
  160. data/{test/dummy/db/test.sqlite3 → lib/database_cleaner-0.7.2/examples/db/sqlite_databases_go_here} +0 -0
  161. data/lib/database_cleaner-0.7.2/examples/features/example.feature +11 -0
  162. data/lib/database_cleaner-0.7.2/examples/features/example_multiple_db.feature +23 -0
  163. data/lib/database_cleaner-0.7.2/examples/features/example_multiple_orm.feature +22 -0
  164. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/activerecord_steps.rb +31 -0
  165. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/couchpotato_steps.rb +31 -0
  166. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/datamapper_steps.rb +37 -0
  167. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongoid_steps.rb +23 -0
  168. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongomapper_steps.rb +31 -0
  169. data/lib/database_cleaner-0.7.2/examples/features/step_definitions/translation_steps.rb +55 -0
  170. data/lib/database_cleaner-0.7.2/examples/features/support/env.rb +62 -0
  171. data/lib/database_cleaner-0.7.2/examples/lib/activerecord_models.rb +41 -0
  172. data/lib/database_cleaner-0.7.2/examples/lib/couchpotato_models.rb +61 -0
  173. data/lib/database_cleaner-0.7.2/examples/lib/datamapper_models.rb +50 -0
  174. data/lib/database_cleaner-0.7.2/examples/lib/mongoid_models.rb +49 -0
  175. data/lib/database_cleaner-0.7.2/examples/lib/mongomapper_models.rb +51 -0
  176. data/lib/database_cleaner-0.7.2/features/cleaning.feature +22 -0
  177. data/lib/database_cleaner-0.7.2/features/cleaning_default_strategy.feature +19 -0
  178. data/lib/database_cleaner-0.7.2/features/cleaning_multiple_dbs.feature +21 -0
  179. data/lib/database_cleaner-0.7.2/features/cleaning_multiple_orms.feature +29 -0
  180. data/lib/database_cleaner-0.7.2/features/step_definitions/database_cleaner_steps.rb +32 -0
  181. data/lib/database_cleaner-0.7.2/features/support/env.rb +7 -0
  182. data/lib/database_cleaner-0.7.2/features/support/feature_runner.rb +39 -0
  183. data/lib/database_cleaner-0.7.2/lib/database_cleaner.rb +3 -0
  184. data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/base.rb +53 -0
  185. data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/deletion.rb +69 -0
  186. data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/transaction.rb +28 -0
  187. data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/truncation.rb +151 -0
  188. data/lib/database_cleaner-0.7.2/lib/database_cleaner/base.rb +138 -0
  189. data/lib/database_cleaner-0.7.2/lib/database_cleaner/configuration.rb +94 -0
  190. data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/base.rb +7 -0
  191. data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/truncation.rb +28 -0
  192. data/lib/database_cleaner-0.7.2/lib/database_cleaner/cucumber.rb +11 -0
  193. data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/base.rb +21 -0
  194. data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/transaction.rb +26 -0
  195. data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/truncation.rb +175 -0
  196. data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/base.rb +20 -0
  197. data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/truncation.rb +37 -0
  198. data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo/truncation.rb +22 -0
  199. data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/base.rb +20 -0
  200. data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/truncation.rb +19 -0
  201. data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/base.rb +20 -0
  202. data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb +20 -0
  203. data/lib/database_cleaner-0.7.2/lib/database_cleaner/null_strategy.rb +15 -0
  204. data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/base.rb +22 -0
  205. data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/transaction.rb +25 -0
  206. data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/truncation.rb +50 -0
  207. data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/base_spec.rb +144 -0
  208. data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/transaction_spec.rb +77 -0
  209. data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/truncation_spec.rb +76 -0
  210. data/lib/database_cleaner-0.7.2/spec/database_cleaner/base_spec.rb +493 -0
  211. data/lib/database_cleaner-0.7.2/spec/database_cleaner/configuration_spec.rb +294 -0
  212. data/lib/database_cleaner-0.7.2/spec/database_cleaner/couch_potato/truncation_spec.rb +41 -0
  213. data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/base_spec.rb +30 -0
  214. data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/transaction_spec.rb +23 -0
  215. data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/truncation_spec.rb +11 -0
  216. data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/base_spec.rb +22 -0
  217. data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/truncation_spec.rb +78 -0
  218. data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/base_spec.rb +33 -0
  219. data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/mongo_examples.rb +8 -0
  220. data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/truncation_spec.rb +74 -0
  221. data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/base_spec.rb +32 -0
  222. data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/transaction_spec.rb +21 -0
  223. data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/truncation_spec.rb +13 -0
  224. data/lib/database_cleaner-0.7.2/spec/database_cleaner/shared_strategy_spec.rb +13 -0
  225. data/lib/database_cleaner-0.7.2/spec/rcov.opts +1 -0
  226. data/lib/database_cleaner-0.7.2/spec/spec.opts +7 -0
  227. data/lib/database_cleaner-0.7.2/spec/spec_helper.rb +19 -0
  228. data/lib/generators/raffle_v1/install/USAGE +8 -0
  229. data/lib/generators/raffle_v1/install/install_generator.rb +2 -2
  230. data/lib/raffle_v1/version.rb +1 -1
  231. metadata +266 -80
  232. data/test/dummy/db/development.sqlite3 +0 -0
  233. data/test/dummy/log/development.log +0 -1304
  234. data/test/dummy/tmp/cache/assets/CA9/000/sprockets%2F4a08cdc7528358910b09a742236ce1d5 +0 -0
  235. data/test/dummy/tmp/cache/assets/CB2/BD0/sprockets%2F85aac33f66112e73231ea0779f646d48 +0 -0
  236. data/test/dummy/tmp/cache/assets/CC8/930/sprockets%2Ff75c059e31f23788564cdeb37454997a +0 -0
  237. data/test/dummy/tmp/cache/assets/CEF/E80/sprockets%2Fd1d95274bb399cd78c4372bc6330679f +0 -0
  238. data/test/dummy/tmp/cache/assets/D00/C30/sprockets%2F7d453e5233c35cc0664189bd1c060dca +0 -0
  239. data/test/dummy/tmp/cache/assets/D06/390/sprockets%2F2db5f5807daaf42647f3f1614b2061c7 +0 -0
  240. data/test/dummy/tmp/cache/assets/D06/5C0/sprockets%2F10f71b69148321ca26d0bb94df09ed46 +0 -0
  241. data/test/dummy/tmp/cache/assets/D1E/8D0/sprockets%2Fd0f3965813d75eefebe5353981159cb3 +0 -0
  242. data/test/dummy/tmp/cache/assets/D35/FB0/sprockets%2Ff706372b7e19b270321cbce180d7edd3 +0 -0
  243. data/test/dummy/tmp/cache/assets/D49/1E0/sprockets%2F1c8eb9a82d46a60faa9b194282db8976 +0 -0
  244. data/test/dummy/tmp/cache/assets/D67/FA0/sprockets%2F3072f540a4a5f4af3636dc9cee4bd821 +0 -0
  245. data/test/dummy/tmp/cache/assets/D76/180/sprockets%2Fe06d9366092cba68641ddefa60cb5e97 +0 -0
  246. data/test/dummy/tmp/cache/assets/D9B/470/sprockets%2Fb7bb6ac37b3929f36a390e4f5b70aec3 +0 -0
  247. data/test/dummy/tmp/cache/assets/D9F/080/sprockets%2F67fdbee8438ea0fdd3406c4f3b277a14 +0 -0
  248. data/test/dummy/tmp/cache/assets/DCD/970/sprockets%2Fb3d4eb65c6d389bff1cb035a7c4e74d2 +0 -0
  249. data/test/dummy/tmp/cache/assets/DD2/7D0/sprockets%2F6d8fc01a6bd28f831fdbe625ea56f2c7 +0 -0
  250. data/test/dummy/tmp/cache/assets/DF1/CA0/sprockets%2Faa2be5b854dacdce2a30a0fff7412887 +0 -0
  251. data/test/dummy/tmp/cache/assets/E0B/E40/sprockets%2F96b1b0fa8f4feee3299fc9dcd2078d0d +0 -0
@@ -0,0 +1,6 @@
1
+ class AddFieldsToPage < ActiveRecord::Migration
2
+ def change
3
+ add_column :pages, :page_layout_id, :integer
4
+ add_column :pages, :description, :text
5
+ end
6
+ end
@@ -0,0 +1,12 @@
1
+ class CreatePageLayouts < ActiveRecord::Migration
2
+ def change
3
+ create_table :page_layouts do |t|
4
+ t.string :name
5
+ t.text :description
6
+ t.references :program
7
+
8
+ t.timestamps
9
+ end
10
+ add_index :page_layouts, :program_id
11
+ end
12
+ end
@@ -0,0 +1,5 @@
1
+ class AddStatusitemToPage < ActiveRecord::Migration
2
+ def change
3
+ add_column :pages, :item_status, :string
4
+ end
5
+ end
@@ -0,0 +1,40 @@
1
+ class AddFieldsToUser < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :first_name, :string
4
+ add_column :users, :last_name, :string
5
+ add_column :users, :middle_initial, :string
6
+ add_column :users, :suffix, :string
7
+ add_column :users, :work_email, :string
8
+ add_column :users, :employee_number, :string
9
+ add_column :users, :employee_id, :string
10
+ add_column :users, :work_address, :string
11
+ add_column :users, :work_city, :string
12
+ add_column :users, :work_state, :string
13
+ add_column :users, :work_postal, :string
14
+ add_column :users, :work_county, :string
15
+ add_column :users, :home_address, :string
16
+ add_column :users, :home_city, :string
17
+ add_column :users, :home_state, :string
18
+ add_column :users, :home_postal, :string
19
+ add_column :users, :home_county, :string
20
+ add_column :users, :work_phone, :string
21
+ add_column :users, :home_phone, :string
22
+ add_column :users, :department_code, :string
23
+ add_column :users, :department_name, :string
24
+ add_column :users, :cost_center_cost, :string
25
+ add_column :users, :user_name, :string
26
+ add_column :users, :job_title, :string
27
+ add_column :users, :date_of_hire, :date
28
+ add_column :users, :date_of_rehire, :date
29
+ add_column :users, :date_of_birth, :date
30
+ add_column :users, :preferred_language, :string
31
+ add_column :users, :user_type, :string
32
+ add_column :users, :employment_type, :string
33
+ add_column :users, :vip_flag, :boolean
34
+ add_column :users, :time_offset, :integer
35
+ add_column :users, :date_of_terminate, :date
36
+ add_column :users, :manager_id, :integer
37
+ add_column :users, :hierarchy_node, :string
38
+ add_column :users, :hierarchy_node_id, :integer
39
+ end
40
+ end
@@ -0,0 +1,11 @@
1
+ class ChangeBadFieldsOnUser < ActiveRecord::Migration
2
+ def up
3
+ rename_column :users, :date_of_terminate, :date_of_termination
4
+ rename_column :users, :cost_center_cost, :cost_center_code
5
+ end
6
+
7
+ def down
8
+ rename_column :users, :date_of_termination, :date_of_terminate
9
+ rename_column :users, :cost_center_code, :cost_center_cost
10
+ end
11
+ end
@@ -0,0 +1,6 @@
1
+ class AddPasswordCreatedAtToUser < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :password_created_at, :datetime
4
+ add_column :users, :password_expired, :boolean
5
+ end
6
+ end
@@ -0,0 +1,14 @@
1
+ class AddConfirmableToUser < ActiveRecord::Migration
2
+
3
+ def self.up
4
+ change_table(:users) do |t|
5
+ t.confirmable
6
+ end
7
+ add_index :users, :confirmation_token, :unique => true
8
+ end
9
+
10
+
11
+ def self.down
12
+ remove_column :users, :confirmable
13
+ end
14
+ end
@@ -0,0 +1,41 @@
1
+ class AddUsernameIndexToUser < ActiveRecord::Migration
2
+ def change
3
+ #remove_index :users, :email
4
+
5
+ rename_column :users, :locale, :language_code
6
+ rename_column :users, :employment_type, :employee_type
7
+ rename_column :users, :middle_initial, :middle_name
8
+
9
+ rename_column :users, :home_county, :home_country
10
+ rename_column :users, :work_county, :work_country
11
+
12
+ add_column :users, :work_telephone, :string
13
+ add_column :users, :work_province, :string
14
+ add_column :users, :home_telephone, :string
15
+ add_column :users, :home_province, :string
16
+
17
+ add_column :users, :start_membership_date, :date
18
+ add_column :users, :prefix, :string
19
+
20
+ add_column :users, :disable_login, :boolean
21
+ add_column :users, :disable_earn, :boolean
22
+ add_column :users, :disable_giving_awards, :boolean
23
+
24
+ add_column :users, :utc_code, :string
25
+
26
+ add_column :users, :home_telephone_area_code, :string
27
+ add_column :users, :home_telephone_country_code, :string
28
+ add_column :users, :home_telephone_number, :string
29
+ add_column :users, :work_telephone_area_code, :string
30
+ add_column :users, :work_telephone_country_code, :string
31
+ add_column :users, :work_telephone_number, :string
32
+
33
+ add_column :users, :profile_image, :string
34
+ add_column :users, :status, :string
35
+
36
+ end
37
+
38
+ def up
39
+ remove_column :users, :user_name, :string
40
+ end
41
+ end
@@ -0,0 +1,5 @@
1
+ class AddFieldToUser < ActiveRecord::Migration
2
+ def change
3
+ add_column :users, :is_temporary_password, :boolean
4
+ end
5
+ end
@@ -0,0 +1,163 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ ZenTest (4.3.3)
5
+ activerecord (2.3.8)
6
+ activesupport (= 2.3.8)
7
+ activesupport (2.3.8)
8
+ addressable (2.2.0)
9
+ bson (1.0.4)
10
+ builder (2.1.2)
11
+ columnize (0.3.1)
12
+ couch_potato (0.3.0)
13
+ couchrest (>= 0.24)
14
+ json
15
+ couchrest (1.0.1)
16
+ json (>= 1.4.6)
17
+ mime-types (>= 1.15)
18
+ rest-client (>= 1.5.1)
19
+ cucumber (0.8.5)
20
+ builder (~> 2.1.2)
21
+ diff-lcs (~> 1.1.2)
22
+ gherkin (~> 2.1.4)
23
+ json_pure (~> 1.4.3)
24
+ term-ansicolor (~> 1.0.4)
25
+ data_objects (0.10.2)
26
+ addressable (~> 2.1)
27
+ datamapper (1.0.0)
28
+ dm-aggregates (= 1.0.0)
29
+ dm-constraints (= 1.0.0)
30
+ dm-core (= 1.0.0)
31
+ dm-core (= 1.0.0)
32
+ dm-migrations (= 1.0.0)
33
+ dm-serializer (= 1.0.0)
34
+ dm-timestamps (= 1.0.0)
35
+ dm-transactions (= 1.0.0)
36
+ dm-types (= 1.0.0)
37
+ dm-validations (= 1.0.0)
38
+ diff-lcs (1.1.2)
39
+ dm-aggregates (1.0.0)
40
+ dm-core (~> 1.0.0)
41
+ dm-constraints (1.0.0)
42
+ dm-core (~> 1.0.0)
43
+ dm-migrations (~> 1.0.0)
44
+ dm-core (1.0.0)
45
+ addressable (~> 2.1)
46
+ extlib (~> 0.9.15)
47
+ dm-do-adapter (1.0.0)
48
+ data_objects (~> 0.10.1)
49
+ dm-core (~> 1.0.0)
50
+ dm-migrations (1.0.0)
51
+ dm-core (~> 1.0.0)
52
+ dm-serializer (1.0.0)
53
+ dm-core (~> 1.0.0)
54
+ fastercsv (~> 1.5.3)
55
+ json_pure (~> 1.4.3)
56
+ dm-sqlite-adapter (1.0.0)
57
+ dm-do-adapter (~> 1.0.0)
58
+ do_sqlite3 (~> 0.10.2)
59
+ dm-timestamps (1.0.0)
60
+ dm-core (~> 1.0.0)
61
+ dm-transactions (1.0.0)
62
+ dm-core (~> 1.0.0)
63
+ dm-types (1.0.0)
64
+ dm-core (~> 1.0.0)
65
+ fastercsv (~> 1.5.3)
66
+ json_pure (~> 1.4.3)
67
+ stringex (~> 1.1.0)
68
+ uuidtools (~> 2.1.1)
69
+ dm-validations (1.0.0)
70
+ dm-core (~> 1.0.0)
71
+ do_sqlite3 (0.10.2)
72
+ data_objects (= 0.10.2)
73
+ durran-validatable (2.0.1)
74
+ extlib (0.9.15)
75
+ fastercsv (1.5.3)
76
+ ffi (0.6.3)
77
+ rake (>= 0.8.7)
78
+ gemcutter (0.6.1)
79
+ gherkin (2.1.5)
80
+ trollop (~> 1.16.2)
81
+ git (1.2.5)
82
+ growl (1.0.3)
83
+ jeweler (1.4.0)
84
+ gemcutter (>= 0.1.0)
85
+ git (>= 1.2.5)
86
+ rubyforge (>= 2.0.0)
87
+ jnunemaker-validatable (1.8.4)
88
+ activesupport (>= 2.3.4)
89
+ json (1.4.6)
90
+ json_pure (1.4.6)
91
+ libnotify (0.2.0)
92
+ ffi (>= 0.6.2)
93
+ linecache (0.43)
94
+ mime-types (1.16)
95
+ mongo (1.0.7)
96
+ bson (>= 1.0.4)
97
+ mongo_mapper (0.8.2)
98
+ activesupport (>= 2.3.4)
99
+ jnunemaker-validatable (~> 1.8.4)
100
+ plucky (~> 0.3.1)
101
+ mongoid (1.9.1)
102
+ activesupport (<= 3.0.0)
103
+ bson (~> 1.0.1)
104
+ durran-validatable (>= 2.0.1)
105
+ mongo (~> 1.0.1)
106
+ will_paginate (< 2.9)
107
+ plucky (0.3.4)
108
+ mongo (~> 1.0.7)
109
+ rake (0.8.7)
110
+ rb-inotify (0.8.1)
111
+ ffi (>= 0.5.0)
112
+ rcov (0.9.8)
113
+ rest-client (1.6.0)
114
+ mime-types (>= 1.16)
115
+ rspactor (0.7.0.beta.6)
116
+ bundler (>= 1.0.0.rc.5)
117
+ growl (>= 1.0.3)
118
+ libnotify (>= 0.1.3)
119
+ rb-inotify
120
+ sys-uname (>= 0.8.4)
121
+ trollop (>= 1.16.2)
122
+ rspec (1.3.0)
123
+ ruby-debug (0.10.3)
124
+ columnize (>= 0.1)
125
+ ruby-debug-base (~> 0.10.3.0)
126
+ ruby-debug-base (0.10.3)
127
+ linecache (>= 0.3)
128
+ rubyforge (2.0.4)
129
+ json_pure (>= 1.1.7)
130
+ sequel (3.21.0)
131
+ sqlite3-ruby (1.3.1)
132
+ stringex (1.1.0)
133
+ sys-uname (0.8.4)
134
+ term-ansicolor (1.0.5)
135
+ trollop (1.16.2)
136
+ tzinfo (0.3.22)
137
+ uuidtools (2.1.1)
138
+ will_paginate (2.3.14)
139
+
140
+ PLATFORMS
141
+ ruby
142
+
143
+ DEPENDENCIES
144
+ ZenTest
145
+ activerecord (= 2.3.8)
146
+ bundler
147
+ couch_potato (= 0.3.0)
148
+ cucumber
149
+ datamapper (= 1.0.0)
150
+ dm-migrations (= 1.0.0)
151
+ dm-sqlite-adapter (= 1.0.0)
152
+ jeweler
153
+ json_pure
154
+ mongo_mapper (= 0.8.2)
155
+ mongoid (= 1.9.1)
156
+ rake
157
+ rcov
158
+ rspactor
159
+ rspec
160
+ ruby-debug
161
+ sequel (~> 3.21.0)
162
+ sqlite3-ruby
163
+ tzinfo (= 0.3.22)
@@ -0,0 +1,209 @@
1
+ == 0.7.x (in git)
2
+
3
+ == 0.7.2 2012-03-21
4
+
5
+ * Proper Mysql2Adapter fix (Jonathan Viney)
6
+ * Sequel::Transaction works with latest Sequel (David Barri)
7
+ * Documenation fixes/improvements (David Barri, Ben Mabey, Kevin Moore)
8
+
9
+ == 0.7.1 2012-01-15
10
+
11
+ === New Features
12
+
13
+ * Support for Rails 3.2. (David Demaree)
14
+
15
+ === Bugfixes
16
+
17
+ * Truncation resets the id count on SQLite. (Jordan Hollinger)
18
+ * AR delete strategy now disables referential integrity. (Ben Mabey)
19
+ * Fixes Postgres adapter for JRuby. (Dmytrii Nagirniak, Uģis Ozols)
20
+ * Documenation fixes. (Josh Rendek, Joshua Flanagan)
21
+ * Fixes bad error message when no database is specified for AR. (issue #72, Ben Mabey)
22
+
23
+
24
+ == 0.7.0 2011-11-12
25
+
26
+ === New Features
27
+
28
+ * Sequel Support (Corin Langosch)
29
+ * Updates DataMapper strategies to work with DataMapper 1.1 (Xavier Shay and Anthony Williams)
30
+ * for AR and PSQL, truncate all tables with one command, improving performance due to avoiding cascades (Leonid Shevtsov)
31
+
32
+ === Bugfixes
33
+
34
+ * Avoids trying to load the ':default' ActiveRecord config. #72 (Ben Mabey)
35
+
36
+
37
+ == 0.6.7 2011-04-21
38
+
39
+ === Bugfixes
40
+ * Explicity require ERB. (Vít Ondruch)
41
+ * Cache DB connections, fixes referential integrity bug when using multiple DBs. (John Ferlito)
42
+
43
+ == 0.6.6 2011-03-16
44
+
45
+ === Bugfixes
46
+ * Don't modify the array passed in with the :except key. (Eric Wollesen)
47
+ * Fixes version checking for postgresql. (Greg Barnett)
48
+
49
+ == 0.6.5 2011-03-08
50
+
51
+ === Bugfixes
52
+ * When truncating in postgresql (>= 8.4) sequences are now reset. (Greg Barnett)
53
+ * Fixes the MongoDB truncation so non system collections starting with 'system' are not excluded for truncation. (Dmitry Naumov)
54
+
55
+ == 0.6.4 2011-02-21
56
+
57
+ === Bugfixes
58
+ * Avoids trying to drop views in Postgres. (Bernerd Schaefer)
59
+
60
+ == 0.6.3 2011-02-09
61
+
62
+ === New Features
63
+ * Configurable logger to aid in debugging database cleaner. (Marty Haught)
64
+
65
+ == 0.6.2 2011-02-04
66
+
67
+ === New Features
68
+ * Support IBM_DB Adapter for table truncation. This is for DB2 >= 9.7 (GH-39 Samer Abukhait)
69
+
70
+ === Bugfixes
71
+ * Reversed GH-41 after larger community discussion. Mongo indexes are no longer dropped. (Ben Mabey)
72
+ * Truncation strategy works on SqlServer tables with FKs. (GH-33, Hugo Freire)
73
+
74
+ == 0.6.1 2011-01-27
75
+
76
+ === New Features
77
+ * Default strategies for all ORM libs are defined. (GH-36, GH-38 Prem Sichanugrist)
78
+ * Add a NullStrategy. (GH-6 Ben Mabey)
79
+
80
+ === Bugfixes
81
+ * Mongo colletion indexes are dropped for collections being removed. (GH-41 Ben Mabey)
82
+ * Exclude database views from tables_to_truncate, if the connection adapter
83
+ supports reading from the ANSI standard information_schema views. (GH-25 Samer Abukhait)
84
+ * ORM types can be specified in string format and not mysteriously blowup. (GH-26 Ben Mabey)
85
+ * Do not remove MongoDB reserved system collections. (GH-24 Ches Martin)
86
+
87
+ == 0.6.0 2010-10-25 - The Multi-ORM/Connection Release
88
+
89
+ This release has the often asked for functionality of being able to clean
90
+ multiple databases within the same project. This involves being able to
91
+ clean databases managed by the same ORM (i.e. different connections) and
92
+ also being able to clean databases managed by distinct ORMs. So, for
93
+ example you can now use DatabaseCleaner on a project that has ActiveRecord
94
+ and Mongoid to help ensure all DBs all in a clean state. Please see the
95
+ README for more information. The old API has been preserved so this release
96
+ is backwards compatible.
97
+
98
+ This release is a result of Jon Rowe's hard work. Many thanks to Jon for all
99
+ of the hours and effort he put into making this feature request a reality.
100
+
101
+ === New Features
102
+ * Ability to clean multiple database connections managed by the same ORM. (Jon Rowe)
103
+ * Ability to clean multiple DBs managed by different ORMs in same project. (Jon Rowe)
104
+ * Allows for the ActiveRecord config file (database.yml) to contain ERB and process it. (Fletcher Nichol)
105
+ * Mysql2Adapter support. (Kamal Fariz Mahyuddin and John Ferlito)
106
+ * Deletion strategy for ActiveRecord (Mikl Kurkov)
107
+
108
+ === Bugfixes
109
+ * Updates the DataMapper truncation strategy to version 0.10.3. (Robert Rouse)
110
+ * Addresses Ruby 1.9 and 1.8 differences causing a bug in the AR PostgreSQLAdapter truncation strategy. (GH-14, James B. Byrne)
111
+ * Fixes syntax error that MySQL was throwing during DataMapper truncation. (Blake Gentry)
112
+ * Fixes truncation for PostgreSQL (Bodaniel Jeanes and Gabriel Sobrinho)
113
+ * Workaround for superclass mismatches for the ActiveRecord-jdbc-adapter (Toms Mikoss)
114
+
115
+ == 0.5.2
116
+
117
+ === Bugfixes
118
+ * Removes extraneous puts call from configuration.rb. (Ben Mabey)
119
+
120
+ == 0.5.1 - The Mongoid Release
121
+
122
+ This release also attempts to fix AR for Rails 3 support. I have seen mixed reviews on this. Some people
123
+ claim the fixes allow for use in Rails3 while others have not had good luck with it. I plan on reworking
124
+ the way AR support is added so that it is more friendly with how Rails 3 uses autoload.
125
+
126
+ === New features
127
+ * Clean and clean_with methods are now aliased to clean! and clean_with!. (Ben Mabey)
128
+ * Mongoid Support! (Sidney Burks)
129
+
130
+ === Bugfixes
131
+ * Check PostgreSQL version >= 8.2 before using TRUNCATE CASCADE (James B. Byrne)
132
+ * Correct superclass is used in ActiveRecord connection adapters. (johnathan, Aslak Hellesoy, Ben Mabey)
133
+
134
+ == 0.5.0 2010-02-22 - The CouchPotato Release
135
+
136
+ === New features
137
+ * Basic truncation support for CouchPotato / CouchDB. (Martin Rehfeld)
138
+ * SQLite3 on JRuby will fall back to delete if truncate doesn't work. (Darrin Holst)
139
+ * JDBC is used for ActiveRecord automaticaly when JRuby is detected. (Darrin Holst)
140
+
141
+ === Bufixes
142
+ * MongoMapper truncation strategy now works with :only and :except options. (Ben Mabey)
143
+
144
+ == 0.4.3 2010-01-17
145
+
146
+ === New features
147
+ * Truncation for ActiveRecord oracle_enhanced adapter. (Edgars Beigarts)
148
+
149
+ == 0.4.2 2010-01-12
150
+
151
+ === Bufixes
152
+ * Datamapper truncation now uses 'select' instead of deprecated the 'query' method. (Steve Tooke)
153
+
154
+ == 0.4.1 2010-01-07
155
+
156
+ === Bufixes
157
+ * Postgres tables with FKs now truncate (added TRUNCADE CASCADE) using Datamapper. (Ben Mabey)
158
+
159
+ == 0.4.0 2009-12-23 (The MongoMapper Edition)
160
+
161
+ === New features
162
+ * MongoMapper support for the truncation strategy. (Aubrey Holland)
163
+
164
+ == 0.3.0 2009-12-20
165
+
166
+ === New features
167
+ * DataMapper 0.10.0 Compatible. (Martin Gamsjaeger)
168
+ === Bufixes
169
+ * Postgres tables with FKs now truncate (added TRUNCADE CASCADE). (Vika - yozhyk on github)
170
+
171
+ == 0.2.3 2009-05-30
172
+
173
+ === New features
174
+ * Support for SQL Server truncation (Adam Meehan)
175
+
176
+ == 0.2.2 2009-05-08
177
+ === Bufixes
178
+ * Added proper gemspec description and summary. (Ben Mabey, thanks to Martin Gamsjaeger)
179
+
180
+ === New features
181
+
182
+ == 0.2.1 2009-05-08
183
+ === Bufixes
184
+ * Removed extraneous TruncationBase class definition. (Ben Mabey)
185
+
186
+ == 0.2.0 2009-05-08 - The Datamapper Release
187
+
188
+ === New features
189
+ * DataMapper strategies (Martin Gamsjaeger)
190
+ * Transaction
191
+ * Truncation - working SQLite3, MySQL adapters. Experimental Postgres adapter (not tested).
192
+
193
+ == 0.1.3 2009-04-30
194
+
195
+ === New features
196
+ * PostgresSQLAdapter for AR to support the truncation strategy. (Alberto Perdomo)
197
+ === Bufixes
198
+ * Added missing quotes around table names in truncation calls. (Michael MacDonald)
199
+
200
+ == 0.1.2 2009-03-05
201
+ === New features
202
+ * JDBC Adapter to enable AR truncation strategy to work. (Kamal Fariz Mahyuddin)
203
+
204
+ == 0.1.1 2009-03-04 - Initial Release (Ben Mabey)
205
+ * Basic infrastructure
206
+ * Features, RSpec code examples
207
+ * ActiveRecord strategies
208
+ * Truncation - with MySQL, and SQLite3 adapters.
209
+ * Transaction - wrap your modifications and roll them back.