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.
- checksums.yaml +6 -14
- data/README.md +11 -2
- data/app/assets/images/raffle_v1/game.png +0 -0
- data/app/assets/images/raffle_v1/gift.png +0 -0
- data/app/assets/images/raffle_v1/lifesaver.png +0 -0
- data/app/assets/images/raffle_v1/person01.jpg +0 -0
- data/app/assets/javascripts/raffle_v1/application.js +2 -1
- data/app/assets/javascripts/raffle_v1/home.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/locales.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/page_layouts.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/pages.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/programs.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/roles.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/stylesheets.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/terms_and_conditions.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/terms_of_conditions.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/translation_keys.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/translation_objects.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/user.js.coffee +3 -0
- data/app/assets/javascripts/raffle_v1/versions.js.coffee +3 -0
- data/app/assets/stylesheets/raffle_v1/TableTools.css +264 -0
- data/app/assets/stylesheets/raffle_v1/TableTools.css.scss +264 -0
- data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css +182 -0
- data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css.scss +183 -0
- data/app/assets/stylesheets/raffle_v1/_custom.css.scss +3310 -0
- data/app/assets/stylesheets/raffle_v1/_variable.scss +122 -0
- data/app/assets/stylesheets/raffle_v1/_variable_defaults.scss +83 -0
- data/app/assets/stylesheets/raffle_v1/application.css.scss +34 -0
- data/app/assets/stylesheets/raffle_v1/application.css.scss.erb +32 -0
- data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css +570 -0
- data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css.scss +570 -0
- data/app/assets/stylesheets/raffle_v1/bootstrap.css +4226 -0
- data/app/assets/stylesheets/raffle_v1/bootstrap.css.scss +4226 -0
- data/app/assets/stylesheets/raffle_v1/colorbox.css +88 -0
- data/app/assets/stylesheets/raffle_v1/colorbox.css.scss +88 -0
- data/app/assets/stylesheets/raffle_v1/grid.css.scss +258 -0
- data/app/assets/stylesheets/raffle_v1/hierarchy.css.scss +16 -0
- data/app/assets/stylesheets/raffle_v1/home.css.scss +18 -0
- data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css +83 -0
- data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css.scss +83 -0
- data/app/assets/stylesheets/raffle_v1/jquery.jcarousel.css +206 -0
- data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css +57 -0
- data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css.scss +57 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css +38 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css.scss +38 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css +21 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css.scss +21 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css +563 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css.scss +563 -0
- data/app/assets/stylesheets/raffle_v1/locales.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/page_layouts.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/pages.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/programs.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/reset.css.scss +96 -0
- data/app/assets/stylesheets/raffle_v1/roles.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/scaffolds.css.scss +42 -0
- data/app/assets/stylesheets/raffle_v1/stylesheets.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/terms_and_conditions.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/terms_of_conditions.css.scss +4 -0
- data/app/assets/stylesheets/raffle_v1/translation_keys.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/translation_objects.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/ui.multiselect.css +33 -0
- data/app/assets/stylesheets/raffle_v1/ui.multiselect.css.scss +33 -0
- data/app/assets/stylesheets/raffle_v1/user.css.scss +3 -0
- data/app/assets/stylesheets/raffle_v1/versions.css.scss +3 -0
- data/app/controllers/raffle_v1/application_controller.rb +80 -0
- data/app/controllers/raffle_v1/home_controller.rb +15 -0
- data/app/controllers/raffle_v1/locales_controller.rb +87 -0
- data/app/controllers/raffle_v1/page_layouts_controller.rb +87 -0
- data/app/controllers/raffle_v1/pages_controller.rb +180 -0
- data/app/controllers/raffle_v1/programs_controller.rb +140 -0
- data/app/controllers/raffle_v1/roles_controller.rb +87 -0
- data/app/controllers/raffle_v1/stylesheets_controller.rb +19 -0
- data/app/controllers/raffle_v1/terms_and_conditions_controller.rb +118 -0
- data/app/controllers/raffle_v1/translation_keys_controller.rb +119 -0
- data/app/controllers/raffle_v1/translation_objects_controller.rb +87 -0
- data/app/controllers/raffle_v1/user_controller.rb +138 -0
- data/app/controllers/raffle_v1/versions_controller.rb +15 -0
- data/app/models/raffle_v1/ability.rb +30 -0
- data/app/models/raffle_v1/admin.rb +35 -0
- data/app/models/raffle_v1/admin_ability.rb +28 -0
- data/app/models/raffle_v1/locale.rb +29 -0
- data/app/models/raffle_v1/page.rb +26 -0
- data/app/models/raffle_v1/page_layout.rb +6 -0
- data/app/models/raffle_v1/program.rb +84 -0
- data/app/models/raffle_v1/program_locale.rb +11 -0
- data/app/models/raffle_v1/program_setting.rb +5 -0
- data/app/models/raffle_v1/role.rb +5 -0
- data/app/models/raffle_v1/roles_users.rb +5 -0
- data/app/models/raffle_v1/stylesheet.rb +9 -0
- data/app/models/raffle_v1/terms_and_condition.rb +17 -0
- data/app/models/raffle_v1/translation.rb +29 -0
- data/app/models/raffle_v1/translation_key.rb +35 -0
- data/app/models/raffle_v1/translation_object.rb +11 -0
- data/app/models/raffle_v1/user.rb +108 -0
- data/config/rafflev1.rb +6 -0
- data/db/migrate/20130123214645_devise_create_users.rb +49 -0
- data/db/migrate/20130124004626_devise_create_admins.rb +49 -0
- data/db/migrate/20130124231541_create_versions.rb +18 -0
- data/db/migrate/20130127235347_create_programs.rb +9 -0
- data/db/migrate/20130129155515_add_domain_fields_to_programs.rb +6 -0
- data/db/migrate/20130129160949_create_terms_and_conditions.rb +18 -0
- data/db/migrate/20130129183112_add_program_to_users.rb +5 -0
- data/db/migrate/20130129204204_add_username_to_users.rb +6 -0
- data/db/migrate/20130129211205_create_roles.rb +9 -0
- data/db/migrate/20130129212302_create_roles_users.rb +12 -0
- data/db/migrate/20130130013315_create_locales.rb +11 -0
- data/db/migrate/20130130154500_create_program_locales.rb +8 -0
- data/db/migrate/20130130223342_add_settings_to_users.rb +5 -0
- data/db/migrate/20130130223609_add_locale_available_to_program.rb +5 -0
- data/db/migrate/20130130223810_add_locales_to_versions.rb +5 -0
- data/db/migrate/20130130224141_add_locale_name_to_program.rb +5 -0
- data/db/migrate/20130130224327_add_admin_type_to_admins.rb +5 -0
- data/db/migrate/20130130225223_add_deleted_at_to_models.rb +9 -0
- data/db/migrate/20130130230516_create_translations.rb +13 -0
- data/db/migrate/20130131005653_add_timeout_field_to_program.rb +7 -0
- data/db/migrate/20130131144951_create_stylesheets.rb +14 -0
- data/db/migrate/20130202132442_add_tos_to_program.rb +5 -0
- data/db/migrate/20130202133149_add_programid_to_terms.rb +23 -0
- data/db/migrate/20130202193646_add_akm_to_terms_and_conditions.rb +5 -0
- data/db/migrate/20130203035054_create_translation_keys.rb +10 -0
- data/db/migrate/20130203214314_create_program_settings.rb +9 -0
- data/db/migrate/20130204025824_add_translationkey_to_translation.rb +5 -0
- data/db/migrate/20130204030555_create_translation_objects.rb +39 -0
- data/db/migrate/20130205203152_create_pages.rb +25 -0
- data/db/migrate/20130208042652_add_fields_to_page.rb +6 -0
- data/db/migrate/20130208043123_create_page_layouts.rb +12 -0
- data/db/migrate/20130208051925_add_statusitem_to_page.rb +5 -0
- data/db/migrate/20130306012135_add_fields_to_user.rb +40 -0
- data/db/migrate/20130306162357_change_bad_fields_on_user.rb +11 -0
- data/db/migrate/20130306163554_add_password_created_at_to_user.rb +6 -0
- data/db/migrate/20130306165455_add_confirmable_to_user.rb +14 -0
- data/db/migrate/20130306211253_add_username_index_to_user.rb +41 -0
- data/db/migrate/20130313011833_add_field_to_user.rb +5 -0
- data/lib/database_cleaner-0.7.2/Gemfile.lock +163 -0
- data/lib/database_cleaner-0.7.2/History.txt +209 -0
- data/lib/database_cleaner-0.7.2/LICENSE +20 -0
- data/lib/database_cleaner-0.7.2/README.textile +223 -0
- data/lib/database_cleaner-0.7.2/Rakefile +65 -0
- data/lib/database_cleaner-0.7.2/TODO +3 -0
- data/lib/database_cleaner-0.7.2/VERSION.yml +5 -0
- data/lib/database_cleaner-0.7.2/cucumber.yml +1 -0
- data/lib/database_cleaner-0.7.2/examples/Gemfile +49 -0
- data/lib/database_cleaner-0.7.2/examples/Gemfile.lock +163 -0
- data/lib/database_cleaner-0.7.2/examples/config/database.yml.example +8 -0
- data/{test/dummy/db/test.sqlite3 → lib/database_cleaner-0.7.2/examples/db/sqlite_databases_go_here} +0 -0
- data/lib/database_cleaner-0.7.2/examples/features/example.feature +11 -0
- data/lib/database_cleaner-0.7.2/examples/features/example_multiple_db.feature +23 -0
- data/lib/database_cleaner-0.7.2/examples/features/example_multiple_orm.feature +22 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/activerecord_steps.rb +31 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/couchpotato_steps.rb +31 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/datamapper_steps.rb +37 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongoid_steps.rb +23 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongomapper_steps.rb +31 -0
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/translation_steps.rb +55 -0
- data/lib/database_cleaner-0.7.2/examples/features/support/env.rb +62 -0
- data/lib/database_cleaner-0.7.2/examples/lib/activerecord_models.rb +41 -0
- data/lib/database_cleaner-0.7.2/examples/lib/couchpotato_models.rb +61 -0
- data/lib/database_cleaner-0.7.2/examples/lib/datamapper_models.rb +50 -0
- data/lib/database_cleaner-0.7.2/examples/lib/mongoid_models.rb +49 -0
- data/lib/database_cleaner-0.7.2/examples/lib/mongomapper_models.rb +51 -0
- data/lib/database_cleaner-0.7.2/features/cleaning.feature +22 -0
- data/lib/database_cleaner-0.7.2/features/cleaning_default_strategy.feature +19 -0
- data/lib/database_cleaner-0.7.2/features/cleaning_multiple_dbs.feature +21 -0
- data/lib/database_cleaner-0.7.2/features/cleaning_multiple_orms.feature +29 -0
- data/lib/database_cleaner-0.7.2/features/step_definitions/database_cleaner_steps.rb +32 -0
- data/lib/database_cleaner-0.7.2/features/support/env.rb +7 -0
- data/lib/database_cleaner-0.7.2/features/support/feature_runner.rb +39 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner.rb +3 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/base.rb +53 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/deletion.rb +69 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/transaction.rb +28 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/truncation.rb +151 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/base.rb +138 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/configuration.rb +94 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/base.rb +7 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/truncation.rb +28 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/cucumber.rb +11 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/base.rb +21 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/transaction.rb +26 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/truncation.rb +175 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/base.rb +20 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/truncation.rb +37 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo/truncation.rb +22 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/base.rb +20 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/truncation.rb +19 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/base.rb +20 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb +20 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/null_strategy.rb +15 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/base.rb +22 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/transaction.rb +25 -0
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/truncation.rb +50 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/base_spec.rb +144 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/transaction_spec.rb +77 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/truncation_spec.rb +76 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/base_spec.rb +493 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/configuration_spec.rb +294 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/couch_potato/truncation_spec.rb +41 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/base_spec.rb +30 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/transaction_spec.rb +23 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/truncation_spec.rb +11 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/base_spec.rb +22 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/truncation_spec.rb +78 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/base_spec.rb +33 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/mongo_examples.rb +8 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/truncation_spec.rb +74 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/base_spec.rb +32 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/transaction_spec.rb +21 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/truncation_spec.rb +13 -0
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/shared_strategy_spec.rb +13 -0
- data/lib/database_cleaner-0.7.2/spec/rcov.opts +1 -0
- data/lib/database_cleaner-0.7.2/spec/spec.opts +7 -0
- data/lib/database_cleaner-0.7.2/spec/spec_helper.rb +19 -0
- data/lib/generators/raffle_v1/install/USAGE +8 -0
- data/lib/generators/raffle_v1/install/install_generator.rb +2 -2
- data/lib/raffle_v1/version.rb +1 -1
- metadata +266 -80
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -1304
- data/test/dummy/tmp/cache/assets/CA9/000/sprockets%2F4a08cdc7528358910b09a742236ce1d5 +0 -0
- data/test/dummy/tmp/cache/assets/CB2/BD0/sprockets%2F85aac33f66112e73231ea0779f646d48 +0 -0
- data/test/dummy/tmp/cache/assets/CC8/930/sprockets%2Ff75c059e31f23788564cdeb37454997a +0 -0
- data/test/dummy/tmp/cache/assets/CEF/E80/sprockets%2Fd1d95274bb399cd78c4372bc6330679f +0 -0
- data/test/dummy/tmp/cache/assets/D00/C30/sprockets%2F7d453e5233c35cc0664189bd1c060dca +0 -0
- data/test/dummy/tmp/cache/assets/D06/390/sprockets%2F2db5f5807daaf42647f3f1614b2061c7 +0 -0
- data/test/dummy/tmp/cache/assets/D06/5C0/sprockets%2F10f71b69148321ca26d0bb94df09ed46 +0 -0
- data/test/dummy/tmp/cache/assets/D1E/8D0/sprockets%2Fd0f3965813d75eefebe5353981159cb3 +0 -0
- data/test/dummy/tmp/cache/assets/D35/FB0/sprockets%2Ff706372b7e19b270321cbce180d7edd3 +0 -0
- data/test/dummy/tmp/cache/assets/D49/1E0/sprockets%2F1c8eb9a82d46a60faa9b194282db8976 +0 -0
- data/test/dummy/tmp/cache/assets/D67/FA0/sprockets%2F3072f540a4a5f4af3636dc9cee4bd821 +0 -0
- data/test/dummy/tmp/cache/assets/D76/180/sprockets%2Fe06d9366092cba68641ddefa60cb5e97 +0 -0
- data/test/dummy/tmp/cache/assets/D9B/470/sprockets%2Fb7bb6ac37b3929f36a390e4f5b70aec3 +0 -0
- data/test/dummy/tmp/cache/assets/D9F/080/sprockets%2F67fdbee8438ea0fdd3406c4f3b277a14 +0 -0
- data/test/dummy/tmp/cache/assets/DCD/970/sprockets%2Fb3d4eb65c6d389bff1cb035a7c4e74d2 +0 -0
- data/test/dummy/tmp/cache/assets/DD2/7D0/sprockets%2F6d8fc01a6bd28f831fdbe625ea56f2c7 +0 -0
- data/test/dummy/tmp/cache/assets/DF1/CA0/sprockets%2Faa2be5b854dacdce2a30a0fff7412887 +0 -0
- data/test/dummy/tmp/cache/assets/E0B/E40/sprockets%2F96b1b0fa8f4feee3299fc9dcd2078d0d +0 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Ben Mabey
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,223 @@
|
|
1
|
+
h1. Database Cleaner
|
2
|
+
|
3
|
+
Database Cleaner is a set of strategies for cleaning your database in Ruby.
|
4
|
+
The original use case was to ensure a clean state during tests. Each strategy
|
5
|
+
is a small amount of code but is code that is usually needed in any ruby app
|
6
|
+
that is testing with a database.
|
7
|
+
|
8
|
+
ActiveRecord, DataMapper, Sequel, MongoMapper, Mongoid, and CouchPotato are supported.
|
9
|
+
|
10
|
+
Here is an overview of the strategies supported for each library:
|
11
|
+
|
12
|
+
|_. ORM |_. Truncation |_. Transaction |_. Deletion |
|
13
|
+
| ActiveRecord | Yes | **Yes** | Yes |
|
14
|
+
| DataMapper | Yes | **Yes** | No |
|
15
|
+
| CouchPotato | **Yes** | No | No |
|
16
|
+
| MongoMapper | **Yes** | No | No |
|
17
|
+
| Mongoid | **Yes** | No | No |
|
18
|
+
| Sequel | **Yes** | Yes | No |
|
19
|
+
|
20
|
+
(Default strategy for each library is denoted in bold)
|
21
|
+
|
22
|
+
The ActiveRecord @:deletion@ strategy is useful for when the @:truncation@ strategy causes
|
23
|
+
locks (as reported by some Oracle DB users). The @:deletion@ option has been reported to
|
24
|
+
be faster than @:truncation@ in some cases as well. In general, the best approach is to use
|
25
|
+
@:transaction@ since it is the fastest.
|
26
|
+
|
27
|
+
Database Cleaner also includes a @null@ strategy (that does no cleaning at all) which can be used
|
28
|
+
with any ORM library. You can also explicitly use it by setting your strategy to @nil@.
|
29
|
+
|
30
|
+
For support or to discuss development please use the "Google Group":http://groups.google.com/group/database_cleaner.
|
31
|
+
|
32
|
+
h2. How to use
|
33
|
+
|
34
|
+
<pre>
|
35
|
+
require 'database_cleaner'
|
36
|
+
DatabaseCleaner.strategy = :truncation
|
37
|
+
|
38
|
+
# then, whenever you need to clean the DB
|
39
|
+
DatabaseCleaner.clean
|
40
|
+
</pre>
|
41
|
+
|
42
|
+
With the :truncation strategy you can also pass in options, for example:
|
43
|
+
<pre>
|
44
|
+
DatabaseCleaner.strategy = :truncation, {:only => %w[widgets dogs some_other_table]}
|
45
|
+
</pre>
|
46
|
+
|
47
|
+
<pre>
|
48
|
+
DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]}
|
49
|
+
</pre>
|
50
|
+
|
51
|
+
(I should point out the truncation strategy will never truncate your schema_migrations table.)
|
52
|
+
|
53
|
+
Some strategies require that you call DatabaseCleaner.start before calling clean
|
54
|
+
(for example the :transaction one needs to know to open up a transaction). So
|
55
|
+
you would have:
|
56
|
+
|
57
|
+
<pre>
|
58
|
+
require 'database_cleaner'
|
59
|
+
DatabaseCleaner.strategy = :transaction
|
60
|
+
|
61
|
+
DatabaseCleaner.start # usually this is called in setup of a test
|
62
|
+
dirty_the_db
|
63
|
+
DatabaseCleaner.clean # cleanup of the test
|
64
|
+
</pre>
|
65
|
+
|
66
|
+
At times you may want to do a single clean with one strategy. For example, you may want
|
67
|
+
to start the process by truncating all the tables, but then use the faster transaction
|
68
|
+
strategy the remaining time. To accomplish this you can say:
|
69
|
+
|
70
|
+
<pre>
|
71
|
+
require 'database_cleaner'
|
72
|
+
DatabaseCleaner.clean_with :truncation
|
73
|
+
DatabaseCleaner.strategy = :transaction
|
74
|
+
# then make the DatabaseCleaner.start and DatabaseCleaner.clean calls appropriately
|
75
|
+
</pre>
|
76
|
+
|
77
|
+
h3. RSpec Example
|
78
|
+
|
79
|
+
<pre>
|
80
|
+
RSpec.configure do |config|
|
81
|
+
|
82
|
+
config.before(:suite) do
|
83
|
+
DatabaseCleaner.strategy = :transaction
|
84
|
+
DatabaseCleaner.clean_with(:truncation)
|
85
|
+
end
|
86
|
+
|
87
|
+
config.before(:each) do
|
88
|
+
DatabaseCleaner.start
|
89
|
+
end
|
90
|
+
|
91
|
+
config.after(:each) do
|
92
|
+
DatabaseCleaner.clean
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
</pre>
|
97
|
+
|
98
|
+
h3. Cucumber Example
|
99
|
+
|
100
|
+
Add this to your features/support/env.rb file:
|
101
|
+
|
102
|
+
<pre>
|
103
|
+
begin
|
104
|
+
require 'database_cleaner'
|
105
|
+
require 'database_cleaner/cucumber'
|
106
|
+
DatabaseCleaner.strategy = :truncation
|
107
|
+
rescue NameError
|
108
|
+
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
|
109
|
+
end
|
110
|
+
</pre>
|
111
|
+
|
112
|
+
A good idea is to create the before and after hooks to use the DatabaseCleaner.start and DatabaseCleaner.clean methods.
|
113
|
+
|
114
|
+
Inside features/support/hooks.rb:
|
115
|
+
|
116
|
+
<pre>
|
117
|
+
Before do
|
118
|
+
DatabaseCleaner.start
|
119
|
+
end
|
120
|
+
|
121
|
+
After do |scenario|
|
122
|
+
DatabaseCleaner.clean
|
123
|
+
end
|
124
|
+
</pre>
|
125
|
+
|
126
|
+
This should cover the basics of tear down between scenarios and keeping your database clean.
|
127
|
+
For more examples see the section "Why?"
|
128
|
+
|
129
|
+
h2. How to use with multiple ORM's
|
130
|
+
|
131
|
+
Sometimes you need to use multiple ORMs in your application. You can use DatabaseCleaner to clean multiple ORMs, and multiple connections for those ORMs.
|
132
|
+
|
133
|
+
<pre>
|
134
|
+
#How to specify particular orms
|
135
|
+
DatabaseCleaner[:active_record].strategy = :transaction
|
136
|
+
DatabaseCleaner[:mongo_mapper].strategy = :truncation
|
137
|
+
|
138
|
+
#How to specify particular connections
|
139
|
+
DatabaseCleaner[:active_record,{:connection => :two}]
|
140
|
+
</pre>
|
141
|
+
|
142
|
+
Usage beyond that remains the same with DatabaseCleaner.start calling any setup on the different configured connections, and DatabaseCleaner.clean executing afterwards.
|
143
|
+
|
144
|
+
Configuration options
|
145
|
+
|
146
|
+
|
147
|
+
|_. ORM |_. How to access |_. Notes |
|
148
|
+
| Active Record | DatabaseCleaner[:active_record] | Connection specified as :symbol keys, loaded from config/database.yml |
|
149
|
+
| Data Mapper | DatabaseCleaner[:data_mapper] | Connection specified as :symbol keys, loaded via Datamapper repositories |
|
150
|
+
| Mongo Mapper | DatabaseCleaner[:mongo_mapper] | Multiple connections not yet supported |
|
151
|
+
| Mongoid | DatabaseCleaner[:mongoid] | Multiple connections not yet supported |
|
152
|
+
| Couch Potato | DatabaseCleaner[:couch_potato] | Multiple connections not yet supported |
|
153
|
+
| Sequel | DatabaseCleaner[:sequel] | ? |
|
154
|
+
|
155
|
+
h2. Why?
|
156
|
+
|
157
|
+
One of my motivations for writing this library was to have an easy way to
|
158
|
+
turn on what Rails calls "transactional_fixtures" in my non-rails
|
159
|
+
ActiveRecord projects. For example, Cucumber ships with a Rails world that
|
160
|
+
will wrap each scenario in a transaction. This is great, but what if you are
|
161
|
+
using ActiveRecord in a non-rails project? You used to have to copy-and-paste
|
162
|
+
the needed code, but with DatabaseCleaner you can now say:
|
163
|
+
|
164
|
+
<pre>
|
165
|
+
#env.rb
|
166
|
+
require 'database_cleaner'
|
167
|
+
require 'database_cleaner/cucumber'
|
168
|
+
DatabaseCleaner.strategy = :transaction
|
169
|
+
</pre>
|
170
|
+
|
171
|
+
Now lets say you are running your features and it requires that another process be
|
172
|
+
involved (i.e. Selenium running against your app's server.) You can simply change
|
173
|
+
your strategy type:
|
174
|
+
|
175
|
+
<pre>
|
176
|
+
#env.rb
|
177
|
+
require 'database_cleaner'
|
178
|
+
require 'database_cleaner/cucumber'
|
179
|
+
DatabaseCleaner.strategy = :truncation
|
180
|
+
</pre>
|
181
|
+
|
182
|
+
You can have the best of both worlds and use the best one for the job:
|
183
|
+
<pre>
|
184
|
+
#env.rb
|
185
|
+
require 'database_cleaner'
|
186
|
+
require 'database_cleaner/cucumber'
|
187
|
+
DatabaseCleaner.strategy = (ENV['SELENIUM'] == 'true') ? :truncation : :transaction
|
188
|
+
</pre>
|
189
|
+
|
190
|
+
|
191
|
+
h2. Common Errors
|
192
|
+
|
193
|
+
h4. DatabaseCleaner is trying to use the wrong ORM
|
194
|
+
|
195
|
+
DatabaseCleaner has an autodetect mechanism where if you do not explicitly define your ORM it will use the first ORM it can detect that is loaded. Since ActiveRecord is the most common ORM used that is the first one checked for. Sometimes other libraries (e.g. ActiveAdmin) will load other ORMs (e.g. ActiveRecord) even though you are using a different ORM. This will result in DatabaseCleaner trying to use the wrong ORM (e.g. ActiveRecord) unless you explicitly define your ORM like so:
|
196
|
+
|
197
|
+
<pre>
|
198
|
+
# How to setup your ORM explicitly
|
199
|
+
DatabaseCleaner[:mongoid].strategy = :truncation
|
200
|
+
</pre>
|
201
|
+
|
202
|
+
h4. STDERR is being flooded when using Postgres
|
203
|
+
|
204
|
+
If you are using Postgres and have foreign key constraints, the truncation strategy will cause a lot of extra noise to appear on STDERR (in
|
205
|
+
the form of "NOTICE truncate cascades" messages). To silence these warnings set the following log level in your postgresql.conf file:
|
206
|
+
|
207
|
+
<pre>
|
208
|
+
client_min_messages = warning
|
209
|
+
</pre>
|
210
|
+
|
211
|
+
|
212
|
+
h2. Debugging
|
213
|
+
|
214
|
+
In rare cases DatabaseCleaner will encounter errors that it will log. By default it uses STDOUT set to the ERROR level but you can configure this to use whatever Logger you desire. Here's an example of using the Rails.logger in env.rb:
|
215
|
+
|
216
|
+
<pre>
|
217
|
+
DatabaseCleaner.logger = Rails.logger
|
218
|
+
</pre>
|
219
|
+
|
220
|
+
|
221
|
+
h2. COPYRIGHT
|
222
|
+
|
223
|
+
Copyright (c) 2009 Ben Mabey. See LICENSE for details.
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "bundler"
|
3
|
+
Bundler.setup
|
4
|
+
|
5
|
+
require 'rake'
|
6
|
+
|
7
|
+
begin
|
8
|
+
require 'jeweler'
|
9
|
+
Jeweler::Tasks.new do |s|
|
10
|
+
s.name = "database_cleaner"
|
11
|
+
s.summary = %Q{Strategies for cleaning databases. Can be used to ensure a clean state for testing.}
|
12
|
+
s.email = "ben@benmabey.com"
|
13
|
+
s.homepage = "http://github.com/bmabey/database_cleaner"
|
14
|
+
s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
|
15
|
+
s.files = FileList["[A-Z]*.*", "{examples,lib,features,spec}/**/*", "Rakefile", "cucumber.yml"]
|
16
|
+
s.authors = ["Ben Mabey"]
|
17
|
+
end
|
18
|
+
rescue LoadError
|
19
|
+
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
|
20
|
+
end
|
21
|
+
|
22
|
+
require 'rake/rdoctask'
|
23
|
+
Rake::RDocTask.new do |rdoc|
|
24
|
+
rdoc.rdoc_dir = 'rdoc'
|
25
|
+
rdoc.title = 'database_cleaner'
|
26
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
27
|
+
rdoc.rdoc_files.include('README*')
|
28
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
29
|
+
end
|
30
|
+
|
31
|
+
require 'spec/rake/spectask'
|
32
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
33
|
+
t.libs << 'lib' << 'spec'
|
34
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
35
|
+
end
|
36
|
+
|
37
|
+
Spec::Rake::SpecTask.new(:rcov) do |t|
|
38
|
+
t.libs << 'lib' << 'spec'
|
39
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
40
|
+
t.rcov = true
|
41
|
+
end
|
42
|
+
|
43
|
+
begin
|
44
|
+
require 'cucumber/rake/task'
|
45
|
+
Cucumber::Rake::Task.new(:features)
|
46
|
+
rescue LoadError
|
47
|
+
puts "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
|
48
|
+
end
|
49
|
+
|
50
|
+
task :default => [:spec, :features]
|
51
|
+
|
52
|
+
|
53
|
+
desc "Cleans the project of any tmp file that should not be included in the gemspec."
|
54
|
+
task :clean do
|
55
|
+
["examples/config/database.yml", "examples/db/activerecord_one.db", "examples/db/activerecord_two.db", "examples/db/datamapper_default.db",
|
56
|
+
"examples/db/datamapper_one.db", "examples/db/datamapper_two.db"].each do |f|
|
57
|
+
FileUtils.rm_f(f)
|
58
|
+
end
|
59
|
+
%w[*.sqlite3 *.log #* *.swp *.swo].each do |pattern|
|
60
|
+
`find . -name "#{pattern}" -delete`
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
desc "Cleans the dir and builds the gem"
|
65
|
+
task :prep => [:clean, :gemspec, :build]
|
@@ -0,0 +1 @@
|
|
1
|
+
default: features
|
@@ -0,0 +1,49 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
# group :development do
|
3
|
+
# # gem "mysql"
|
4
|
+
# # gem "json_pure", "1.4.3"
|
5
|
+
#
|
6
|
+
#
|
7
|
+
# # gem "datamapper", "1.0.0"
|
8
|
+
# # gem "dm-migrations", "1.0.0"
|
9
|
+
# # gem "dm-sqlite-adapter", "1.0.0"
|
10
|
+
#
|
11
|
+
# # mongo requirements
|
12
|
+
# # gem "mongo", "1.0.1"
|
13
|
+
# # gem "mongo_ext", "0.19.3"
|
14
|
+
# # gem "bson_ext", "1.0.1"
|
15
|
+
# end
|
16
|
+
|
17
|
+
group :development do
|
18
|
+
gem "rake"
|
19
|
+
gem "ruby-debug"
|
20
|
+
|
21
|
+
gem "bundler"
|
22
|
+
gem "jeweler"
|
23
|
+
|
24
|
+
gem "json_pure"
|
25
|
+
|
26
|
+
#ORM's
|
27
|
+
gem "activerecord", "2.3.8"
|
28
|
+
gem "datamapper", "1.0.0"
|
29
|
+
gem "dm-migrations", "1.0.0"
|
30
|
+
gem "dm-sqlite-adapter", "1.0.0"
|
31
|
+
gem "mongoid", "1.9.1"
|
32
|
+
gem "tzinfo", "0.3.22"
|
33
|
+
gem "mongo_mapper", "0.8.2"
|
34
|
+
gem "couch_potato", "0.3.0"
|
35
|
+
gem "sequel", "~>3.21.0"
|
36
|
+
#gem "ibm_db" # I don't want to add this dependency, even as a dev one since it requires DB2 to be installed
|
37
|
+
end
|
38
|
+
|
39
|
+
group :test do
|
40
|
+
gem "rspec"
|
41
|
+
gem "rspactor"
|
42
|
+
gem "rcov"
|
43
|
+
gem "ZenTest"
|
44
|
+
end
|
45
|
+
|
46
|
+
group :cucumber do
|
47
|
+
gem "cucumber"
|
48
|
+
gem 'sqlite3-ruby'
|
49
|
+
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)
|