typus 0.9.39 → 1.0.0.pre
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +104 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +96 -0
- data/MIT-LICENSE +1 -1
- data/README.rdoc +45 -0
- data/Rakefile +19 -48
- data/app/controllers/admin/account_controller.rb +54 -0
- data/app/controllers/admin/dashboard_controller.rb +7 -0
- data/app/controllers/admin/resource_controller.rb +8 -0
- data/app/controllers/admin/resources_controller.rb +307 -0
- data/app/controllers/admin/session_controller.rb +38 -0
- data/app/controllers/admin_controller.rb +26 -0
- data/app/helpers/admin/dashboard_helper.rb +38 -0
- data/app/helpers/admin/filters_helper.rb +81 -0
- data/app/helpers/admin/form_helper.rb +68 -261
- data/app/helpers/admin/preview_helper.rb +48 -0
- data/app/helpers/admin/relationships_helper.rb +192 -0
- data/app/helpers/admin/resources_helper.rb +80 -0
- data/app/helpers/admin/search_helper.rb +19 -0
- data/app/helpers/admin/sidebar_helper.rb +32 -210
- data/app/helpers/admin/table_helper.rb +207 -200
- data/app/helpers/admin_helper.rb +56 -0
- data/app/mailers/admin/mailer.rb +13 -0
- data/app/models/admin/fake_user.rb +38 -0
- data/app/views/admin/account/forgot_password.html.erb +21 -0
- data/app/views/admin/account/new.html.erb +21 -0
- data/app/views/admin/dashboard/_sidebar.html.erb +3 -3
- data/app/views/admin/dashboard/show.html.erb +16 -0
- data/app/views/admin/dashboard/styles.html.erb +154 -0
- data/app/views/admin/helpers/_apps.html.erb +6 -0
- data/app/views/admin/helpers/_flash_message.html.erb +3 -0
- data/app/views/admin/helpers/_header.html.erb +7 -0
- data/app/views/admin/helpers/_login_info.html.erb +4 -0
- data/app/views/admin/helpers/_preview.html.erb +13 -0
- data/app/views/admin/helpers/dashboard/_applications.html.erb +32 -0
- data/app/views/admin/helpers/dashboard/_resources.html.erb +16 -0
- data/app/views/admin/helpers/filters/_filters.html.erb +31 -0
- data/app/views/admin/helpers/resources/_display_link_to_previous.html.erb +3 -0
- data/app/views/admin/helpers/resources/_pagination.html.erb +28 -0
- data/app/views/admin/helpers/search/_search.html.erb +12 -0
- data/app/views/admin/helpers/sidebar/_sidebar.html.erb +17 -0
- data/app/views/admin/helpers/table/_table.html.erb +22 -0
- data/app/views/{typus_mailer/reset_password_link.erb → admin/mailer/reset_password_link.text.erb} +2 -2
- data/{test/config/broken/empty.yml → app/views/admin/resources/_edit.html.erb} +0 -0
- data/app/views/admin/resources/_form.html.erb +26 -0
- data/{test/config/broken/empty_roles.yml → app/views/admin/resources/_index.html.erb} +0 -0
- data/{test/config/empty/empty_01.yml → app/views/admin/resources/_new.html.erb} +0 -0
- data/{test/config/empty/empty_01_roles.yml → app/views/admin/resources/_show.html.erb} +0 -0
- data/app/views/admin/resources/edit.html.erb +23 -21
- data/app/views/admin/resources/index.html.erb +31 -18
- data/app/views/admin/resources/new.html.erb +20 -18
- data/app/views/admin/resources/show.html.erb +29 -20
- data/app/views/admin/session/new.html.erb +26 -0
- data/app/views/admin/templates/_belongs_to.html.erb +4 -0
- data/app/views/admin/templates/_boolean.html.erb +4 -8
- data/app/views/admin/templates/_date.html.erb +9 -2
- data/app/views/admin/templates/_datetime.html.erb +9 -2
- data/app/views/admin/templates/_file.html.erb +20 -5
- data/app/views/admin/templates/_has_many.html.erb +24 -0
- data/app/views/admin/templates/_has_n.html.erb +17 -0
- data/{test/config/empty/empty_02.yml → app/views/admin/templates/_has_one.html.erb} +0 -0
- data/app/views/admin/templates/_password.html.erb +4 -2
- data/app/views/admin/templates/_relate_form.html.erb +4 -0
- data/app/views/admin/templates/_selector.html.erb +6 -18
- data/app/views/admin/templates/_string.html.erb +11 -10
- data/app/views/admin/templates/_text.html.erb +9 -2
- data/app/views/admin/templates/_time.html.erb +9 -2
- data/app/views/admin/templates/_tree.html.erb +4 -0
- data/app/views/layouts/admin/session.html.erb +44 -0
- data/app/views/layouts/admin.html.erb +45 -39
- data/config/available_locales/ca.yml +124 -0
- data/config/available_locales/ca_models.yml +16 -0
- data/config/{locales → available_locales}/de.yml +108 -89
- data/config/available_locales/de_models.yml +13 -0
- data/config/available_locales/es.yml +124 -0
- data/config/available_locales/es_models.yml +13 -0
- data/config/available_locales/fr.yml +124 -0
- data/config/available_locales/fr_models.yml +13 -0
- data/config/available_locales/hu.yml +124 -0
- data/config/available_locales/hu_models.yml +13 -0
- data/config/available_locales/it.yml +136 -0
- data/config/available_locales/it_models.yml +15 -0
- data/config/available_locales/language.yml.template +122 -0
- data/config/available_locales/language_models.yml.template +13 -0
- data/config/{locales → available_locales}/pt-BR.yml +97 -74
- data/config/available_locales/pt-BR_models.yml +13 -0
- data/config/{locales → available_locales}/ru.yml +107 -85
- data/config/available_locales/ru_models.yml +13 -0
- data/config/routes.rb +18 -11
- data/lib/generators/templates/config/initializers/typus.rb +26 -0
- data/lib/generators/templates/config/initializers/typus_authentication.rb +18 -0
- data/lib/generators/templates/config/initializers/typus_resources.rb +30 -0
- data/{generators/typus → lib/generators}/templates/config/typus/README +34 -16
- data/lib/generators/templates/config/typus/application.yml +5 -0
- data/lib/generators/templates/config/typus/application_roles.yml +6 -0
- data/lib/generators/templates/config/typus/typus.yml +17 -0
- data/lib/generators/templates/config/typus/typus_roles.yml +6 -0
- data/lib/generators/templates/controller.rb +4 -0
- data/lib/generators/templates/functional_test.rb +21 -0
- data/{generators/typus/templates/db/create_typus_users.rb → lib/generators/templates/migration.rb} +4 -4
- data/lib/generators/templates/model.rb +8 -0
- data/lib/generators/templates/model.yml +10 -0
- data/{generators/typus/templates/public/images/admin → lib/generators/templates/public/admin/images}/ui-icons.png +0 -0
- data/lib/generators/templates/public/admin/javascripts/application.js +6 -0
- data/lib/generators/templates/public/admin/javascripts/jquery-1.4.2.min.js +154 -0
- data/lib/generators/templates/public/admin/javascripts/jquery.rails.js +126 -0
- data/lib/generators/templates/public/admin/javascripts/jquery.searchField.js +91 -0
- data/lib/generators/templates/public/admin/stylesheets/application.css +11 -0
- data/lib/generators/templates/public/admin/stylesheets/screen.css +356 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/blank.gif +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_close.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_loading.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_nav_left.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_nav_right.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_e.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_n.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_ne.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_nw.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_s.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_se.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_sw.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_w.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_title_left.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_title_main.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancy_title_over.png +0 -0
- data/{generators/typus/templates/public/images/admin → lib/generators/templates/public/admin/vendor}/fancybox/fancy_title_right.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancybox-x.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancybox-y.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/fancybox.png +0 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.easing-1.3.pack.js +72 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.css +363 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.js +1077 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.pack.js +44 -0
- data/lib/generators/templates/public/admin/vendor/fancybox/jquery.mousewheel-3.0.2.pack.js +13 -0
- data/lib/generators/templates/view.html.erb +9 -0
- data/lib/generators/typus/migration_generator.rb +85 -0
- data/lib/generators/typus/typus_generator.rb +190 -0
- data/lib/generators/typus/views_generator.rb +27 -0
- data/lib/support/active_record.rb +60 -0
- data/lib/support/array.rb +13 -0
- data/lib/{typus → support}/hash.rb +2 -2
- data/lib/{typus → support}/object.rb +2 -2
- data/lib/support/string.rb +47 -0
- data/lib/tasks/typus.rake +19 -0
- data/lib/typus/authentication.rb +146 -40
- data/lib/typus/configuration.rb +14 -49
- data/lib/typus/engine.rb +6 -0
- data/lib/typus/format.rb +41 -18
- data/lib/typus/orm/active_record.rb +378 -0
- data/lib/typus/resources.rb +57 -0
- data/lib/typus/user.rb +54 -37
- data/lib/typus/version.rb +3 -0
- data/lib/typus.rb +118 -80
- data/lib/vendor/paginator.rb +2 -2
- data/test/factories/assets.rb +5 -0
- data/test/factories/categories.rb +3 -0
- data/test/factories/comments.rb +6 -0
- data/test/factories/pages.rb +5 -0
- data/test/factories/pictures.rb +7 -0
- data/test/factories/posts.rb +6 -0
- data/test/factories/typus_users.rb +8 -0
- data/test/{config → fixtures/config}/broken/application.yml +0 -0
- data/test/{config → fixtures/config}/broken/application_roles.yml +0 -0
- data/test/{config/empty/empty_02_roles.yml → fixtures/config/broken/empty.yml} +0 -0
- data/test/fixtures/config/broken/empty_roles.yml +0 -0
- data/test/{config → fixtures/config}/broken/undefined.yml +0 -0
- data/test/{config → fixtures/config}/broken/undefined_roles.yml +0 -0
- data/test/{config → fixtures/config}/default/typus.yml +2 -1
- data/{generators/typus/templates/config/typus → test/fixtures/config/default}/typus_roles.yml +0 -0
- data/test/fixtures/config/empty/empty_01.yml +0 -0
- data/test/fixtures/config/empty/empty_01_roles.yml +0 -0
- data/test/fixtures/config/empty/empty_02.yml +0 -0
- data/test/fixtures/config/empty/empty_02_roles.yml +0 -0
- data/test/{config → fixtures/config}/locales/es.yml +0 -0
- data/test/fixtures/config/namespaced/application.yml +5 -0
- data/test/fixtures/config/namespaced/application_roles.yml +2 -0
- data/test/{config → fixtures/config}/ordered/001_roles.yml +0 -0
- data/test/{config → fixtures/config}/ordered/002_roles.yml +0 -0
- data/test/{config → fixtures/config}/unordered/app_one_roles.yml +0 -0
- data/test/{config → fixtures/config}/unordered/app_two_roles.yml +0 -0
- data/test/fixtures/config/working/application.yml +73 -0
- data/test/fixtures/config/working/application_roles.yml +24 -0
- data/{generators/typus/templates/config/typus → test/fixtures/config/working}/typus.yml +2 -1
- data/test/{config/default → fixtures/config/working}/typus_roles.yml +0 -0
- data/test/fixtures/rails_app/README +244 -0
- data/test/fixtures/rails_app/Rakefile +7 -0
- data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/comments_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/pages_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/pictures_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/posts_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/status_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb +2 -0
- data/test/fixtures/rails_app/app/controllers/application_controller.rb +4 -0
- data/test/fixtures/rails_app/app/helpers/application_helper.rb +2 -0
- data/test/fixtures/{app → rails_app/app}/models/asset.rb +1 -1
- data/test/fixtures/{app → rails_app/app}/models/category.rb +2 -2
- data/test/fixtures/{app → rails_app/app}/models/comment.rb +1 -1
- data/test/fixtures/{app → rails_app/app}/models/custom_user.rb +1 -1
- data/test/fixtures/{app → rails_app/app}/models/delayed/task.rb +2 -2
- data/test/fixtures/rails_app/app/models/page.rb +9 -0
- data/test/fixtures/rails_app/app/models/picture.rb +6 -0
- data/test/fixtures/{app → rails_app/app}/models/post.rb +6 -6
- data/test/fixtures/rails_app/app/models/typus_user.rb +8 -0
- data/test/fixtures/{app → rails_app/app}/models/view.rb +1 -1
- data/test/fixtures/rails_app/app/views/admin/categories/_form.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/mailer/reset_password_link.text.erb +6 -0
- data/test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/posts/_index.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/posts/_new.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/posts/_show.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/posts/_sidebar.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/status/index.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +1 -0
- data/test/fixtures/rails_app/app/views/layouts/application.html.erb +14 -0
- data/test/fixtures/rails_app/config/application.rb +50 -0
- data/test/fixtures/rails_app/config/boot.rb +13 -0
- data/test/fixtures/rails_app/config/database.yml +22 -0
- data/test/fixtures/rails_app/config/environment.rb +5 -0
- data/test/fixtures/rails_app/config/environments/development.rb +19 -0
- data/test/fixtures/rails_app/config/environments/production.rb +42 -0
- data/test/fixtures/rails_app/config/environments/test.rb +34 -0
- data/test/fixtures/rails_app/config/initializers/acts_as_list.rb +258 -0
- data/test/fixtures/rails_app/config/initializers/acts_as_tree.rb +98 -0
- data/test/fixtures/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/fixtures/rails_app/config/initializers/inflections.rb +10 -0
- data/test/fixtures/rails_app/config/initializers/mime_types.rb +5 -0
- data/test/fixtures/rails_app/config/initializers/secret_token.rb +7 -0
- data/test/fixtures/rails_app/config/initializers/session_store.rb +8 -0
- data/test/fixtures/rails_app/config/initializers/typus.rb +6 -0
- data/test/fixtures/rails_app/config/locales/en.yml +5 -0
- data/test/fixtures/rails_app/config/routes.rb +8 -0
- data/test/{config/working → fixtures/rails_app/config/typus}/application.yml +11 -9
- data/test/{config/working → fixtures/rails_app/config/typus}/application_roles.yml +0 -0
- data/{generators/typus_update_schema_to_01/templates/config → test/fixtures/rails_app/config/typus}/typus.yml +0 -0
- data/test/{config/working → fixtures/rails_app/config/typus}/typus_roles.yml +0 -0
- data/test/fixtures/rails_app/config.ru +4 -0
- data/test/fixtures/rails_app/db/seeds.rb +7 -0
- data/test/fixtures/rails_app/db/test.sqlite3 +0 -0
- data/test/fixtures/rails_app/log/test.log +4268 -0
- data/test/fixtures/rails_app/public/404.html +26 -0
- data/test/fixtures/rails_app/public/422.html +26 -0
- data/test/fixtures/rails_app/public/500.html +26 -0
- data/test/fixtures/rails_app/public/favicon.ico +0 -0
- data/test/fixtures/rails_app/public/images/rails.png +0 -0
- data/test/fixtures/rails_app/public/index.html +279 -0
- data/test/fixtures/rails_app/public/javascripts/application.js +2 -0
- data/test/fixtures/rails_app/public/javascripts/controls.js +965 -0
- data/test/fixtures/rails_app/public/javascripts/dragdrop.js +974 -0
- data/test/fixtures/rails_app/public/javascripts/effects.js +1123 -0
- data/test/fixtures/rails_app/public/javascripts/prototype.js +4874 -0
- data/test/fixtures/rails_app/public/javascripts/rails.js +118 -0
- data/test/fixtures/rails_app/public/robots.txt +5 -0
- data/test/fixtures/rails_app/script/rails +9 -0
- data/test/fixtures/rails_app/tmp/export-posts-20100902120447.csv +2 -0
- data/test/fixtures/rails_app/tmp/export-posts-20100902120700.csv +2 -0
- data/test/functional/admin/account_controller_test.rb +90 -0
- data/test/functional/admin/dashboard_controller_http_basic_test.rb +24 -0
- data/test/functional/admin/dashboard_controller_none_test.rb +18 -0
- data/test/functional/admin/dashboard_controller_test.rb +106 -0
- data/test/functional/admin/resources_controller_assets_relationships.rb +59 -0
- data/test/functional/admin/resources_controller_categories_before_test.rb +10 -0
- data/test/functional/admin/resources_controller_categories_lists_test.rb +44 -0
- data/test/functional/admin/resources_controller_categories_views_test.rb +10 -0
- data/test/functional/admin/resources_controller_comments_toggle_test.rb +21 -0
- data/test/functional/admin/{master_controller_posts_before_test.rb → resources_controller_posts_before_test.rb} +3 -3
- data/test/functional/admin/resources_controller_posts_crud_custom_test.rb +27 -0
- data/test/functional/admin/resources_controller_posts_crud_test.rb +44 -0
- data/test/functional/admin/resources_controller_posts_formats_test.rb +39 -0
- data/test/functional/admin/resources_controller_posts_forms_test.rb +58 -0
- data/test/functional/admin/resources_controller_posts_permissions_test.rb +100 -0
- data/test/functional/admin/{master_controller_posts_relationships_test.rb → resources_controller_posts_relationships_test.rb} +25 -20
- data/test/functional/admin/resources_controller_posts_roles.rb +52 -0
- data/test/functional/admin/resources_controller_posts_views_test.rb +143 -0
- data/test/functional/admin/resources_controller_tableless_resource_test.rb +51 -0
- data/test/functional/admin/resources_controller_typus_users_test.rb +159 -0
- data/test/functional/admin/session_controller_test.rb +85 -0
- data/test/helpers/admin/dashboard_helper_test.rb +42 -0
- data/test/helpers/admin/form_helper_test.rb +52 -276
- data/test/helpers/admin/resources_helper_test.rb +52 -0
- data/test/helpers/admin/sidebar_helper_test.rb +133 -224
- data/test/helpers/admin/table_helper_test.rb +136 -144
- data/test/helpers/admin_helper_test.rb +69 -0
- data/test/lib/support/active_record_test.rb +35 -0
- data/test/lib/support/array_test.rb +15 -0
- data/test/lib/support/hash_test.rb +11 -0
- data/test/lib/support/string_test.rb +48 -0
- data/test/lib/typus/active_record_test.rb +385 -0
- data/test/lib/typus/configuration_test.rb +52 -0
- data/test/lib/typus/resource_test.rb +17 -0
- data/test/lib/typus/routes_test.rb +29 -0
- data/test/lib/typus_test.rb +72 -40
- data/test/{vendor → lib/vendor}/paginator_test.rb +7 -4
- data/test/schema.rb +28 -3
- data/test/test_helper.rb +29 -0
- data/test/unit/admin/mailer_test.rb +32 -0
- data/test/unit/typus_user_roles_test.rb +69 -61
- data/test/unit/typus_user_test.rb +56 -143
- data/typus.gemspec +18 -276
- metadata +305 -231
- data/.gitignore +0 -1
- data/AUTHORS.md +0 -34
- data/CHANGES +0 -3
- data/README.md +0 -75
- data/VERSION +0 -1
- data/app/controllers/admin/master_controller.rb +0 -394
- data/app/controllers/typus_controller.rb +0 -152
- data/app/helpers/admin/master_helper.rb +0 -104
- data/app/helpers/admin/public_helper.rb +0 -27
- data/app/helpers/typus_helper.rb +0 -181
- data/app/models/typus_mailer.rb +0 -14
- data/app/models/typus_user.rb +0 -5
- data/app/views/admin/shared/_feedback.html.erb +0 -6
- data/app/views/admin/shared/_footer.html.erb +0 -2
- data/app/views/admin/shared/_pagination.html.erb +0 -28
- data/app/views/admin/templates/_tiny_mce.html.erb +0 -2
- data/app/views/layouts/typus.html.erb +0 -29
- data/app/views/typus/dashboard.html.erb +0 -9
- data/app/views/typus/recover_password.html.erb +0 -7
- data/app/views/typus/reset_password.html.erb +0 -15
- data/app/views/typus/sign_in.html.erb +0 -9
- data/app/views/typus/sign_up.html.erb +0 -7
- data/config/locales/es.yml +0 -105
- data/config/locales/fr.yml +0 -98
- data/config/locales/language.yml.template +0 -106
- data/generators/typus/templates/auto/index.html.erb +0 -11
- data/generators/typus/templates/auto/resource_controller.rb.erb +0 -15
- data/generators/typus/templates/auto/resource_controller_test.rb.erb +0 -11
- data/generators/typus/templates/auto/resources_controller.rb.erb +0 -37
- data/generators/typus/templates/config/initializers/typus.rb +0 -34
- data/generators/typus/templates/config/typus/application.yml +0 -6
- data/generators/typus/templates/config/typus/application_roles.yml +0 -23
- data/generators/typus/templates/lib/tasks/typus_tasks.rake +0 -32
- data/generators/typus/templates/public/images/admin/fancybox/fancy_closebox.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_left.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_progress.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_right.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_e.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_n.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_ne.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_nw.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_s.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_se.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_sw.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_shadow_w.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_title_left.png +0 -0
- data/generators/typus/templates/public/images/admin/fancybox/fancy_title_main.png +0 -0
- data/generators/typus/templates/public/javascripts/admin/application.js +0 -14
- data/generators/typus/templates/public/javascripts/admin/jquery-1.3.2.min.js +0 -19
- data/generators/typus/templates/public/javascripts/admin/jquery.fancybox-1.2.1.min.js +0 -9
- data/generators/typus/templates/public/stylesheets/admin/jquery.fancybox.css +0 -315
- data/generators/typus/templates/public/stylesheets/admin/reset.css +0 -68
- data/generators/typus/templates/public/stylesheets/admin/screen.css +0 -361
- data/generators/typus/typus_generator.rb +0 -191
- data/generators/typus_update_schema_to_01/templates/migration.rb +0 -11
- data/generators/typus_update_schema_to_01/typus_update_schema_to_01_generator.rb +0 -19
- data/generators/typus_update_schema_to_02/templates/migration.rb +0 -11
- data/generators/typus_update_schema_to_02/typus_update_schema_to_02_generator.rb +0 -11
- data/lib/typus/active_record.rb +0 -323
- data/lib/typus/extensions/routes.rb +0 -15
- data/lib/typus/extensions/routes_hack.rb +0 -15
- data/lib/typus/preferences.rb +0 -11
- data/lib/typus/preview.rb +0 -76
- data/lib/typus/quick_edit.rb +0 -40
- data/lib/typus/reloader.rb +0 -14
- data/lib/typus/string.rb +0 -27
- data/lib/vendor/active_record.rb +0 -15
- data/lib/vendor/rss_parser.rb +0 -20
- data/rails/init.rb +0 -3
- data/tasks/typus_tasks.rake +0 -32
- data/test/config/working/typus.yml +0 -12
- data/test/fixtures/app/controllers/admin/assets_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/categories_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/comments_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/pages_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/posts_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/status_controller.rb +0 -6
- data/test/fixtures/app/controllers/admin/typus_users_controller.rb +0 -2
- data/test/fixtures/app/controllers/admin/watch_dog_controller.rb +0 -6
- data/test/fixtures/app/models/page.rb +0 -5
- data/test/fixtures/app/views/admin/dashboard/_content.html.erb +0 -1
- data/test/fixtures/app/views/admin/dashboard/_sidebar.html.erb +0 -1
- data/test/fixtures/app/views/admin/posts/_edit.html.erb +0 -1
- data/test/fixtures/app/views/admin/posts/_index.html.erb +0 -1
- data/test/fixtures/app/views/admin/posts/_new.html.erb +0 -1
- data/test/fixtures/app/views/admin/posts/_show.html.erb +0 -1
- data/test/fixtures/app/views/admin/posts/_sidebar.html.erb +0 -1
- data/test/fixtures/app/views/admin/resources/_sidebar.html.erb +0 -1
- data/test/fixtures/app/views/admin/shared/_footer.html.erb +0 -1
- data/test/fixtures/app/views/admin/status/index.html.erb +0 -1
- data/test/fixtures/app/views/admin/templates/_datepicker.html.erb +0 -1
- data/test/fixtures/assets.yml +0 -11
- data/test/fixtures/categories.yml +0 -14
- data/test/fixtures/comments.yml +0 -27
- data/test/fixtures/pages.yml +0 -41
- data/test/fixtures/posts.yml +0 -37
- data/test/fixtures/typus_users.yml +0 -59
- data/test/functional/admin/master_controller_assets_relationships.rb +0 -66
- data/test/functional/admin/master_controller_categories_lists_test.rb +0 -64
- data/test/functional/admin/master_controller_posts_crud_test.rb +0 -97
- data/test/functional/admin/master_controller_posts_formats_test.rb +0 -53
- data/test/functional/admin/master_controller_posts_permissions_test.rb +0 -127
- data/test/functional/admin/master_controller_posts_roles.rb +0 -50
- data/test/functional/admin/master_controller_posts_toggle_test.rb +0 -35
- data/test/functional/admin/master_controller_posts_views_test.rb +0 -209
- data/test/functional/admin/master_controller_tableless_resource_test.rb +0 -36
- data/test/functional/admin/master_controller_typus_users_test.rb +0 -211
- data/test/functional/typus_controller_test.rb +0 -342
- data/test/helper.rb +0 -51
- data/test/helpers/admin/master_helper_test.rb +0 -70
- data/test/helpers/admin/public_helper_test.rb +0 -26
- data/test/helpers/typus_helper_test.rb +0 -96
- data/test/lib/active_record_test.rb +0 -377
- data/test/lib/configuration_test.rb +0 -95
- data/test/lib/hash_test.rb +0 -11
- data/test/lib/routes_test.rb +0 -71
- data/test/lib/string_test.rb +0 -55
- data/test/unit/typus_mailer_test.rb +0 -29
- data/test/unit/typus_test.rb +0 -17
- data/test/vendor/active_record_test.rb +0 -18
metadata
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: typus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 961915988
|
|
5
|
+
prerelease: true
|
|
6
|
+
segments:
|
|
7
|
+
- 1
|
|
8
|
+
- 0
|
|
9
|
+
- 0
|
|
10
|
+
- pre
|
|
11
|
+
version: 1.0.0.pre
|
|
5
12
|
platform: ruby
|
|
6
13
|
authors:
|
|
7
14
|
- Francesc Esplugas
|
|
@@ -9,292 +16,359 @@ autorequire:
|
|
|
9
16
|
bindir: bin
|
|
10
17
|
cert_chain: []
|
|
11
18
|
|
|
12
|
-
date:
|
|
19
|
+
date: 2010-09-02 00:00:00 +02:00
|
|
13
20
|
default_executable:
|
|
14
21
|
dependencies: []
|
|
15
22
|
|
|
16
|
-
description:
|
|
17
|
-
email:
|
|
23
|
+
description: Awesone admin scaffold generator for Ruby on Rails applications.
|
|
24
|
+
email:
|
|
25
|
+
- core@typuscms.com
|
|
18
26
|
executables: []
|
|
19
27
|
|
|
20
28
|
extensions: []
|
|
21
29
|
|
|
22
|
-
extra_rdoc_files:
|
|
23
|
-
|
|
30
|
+
extra_rdoc_files: []
|
|
31
|
+
|
|
24
32
|
files:
|
|
25
|
-
- .
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
- app/
|
|
33
|
-
- app/controllers/typus_controller.rb
|
|
33
|
+
- app/controllers/admin/account_controller.rb
|
|
34
|
+
- app/controllers/admin/dashboard_controller.rb
|
|
35
|
+
- app/controllers/admin/resource_controller.rb
|
|
36
|
+
- app/controllers/admin/resources_controller.rb
|
|
37
|
+
- app/controllers/admin/session_controller.rb
|
|
38
|
+
- app/controllers/admin_controller.rb
|
|
39
|
+
- app/helpers/admin/dashboard_helper.rb
|
|
40
|
+
- app/helpers/admin/filters_helper.rb
|
|
34
41
|
- app/helpers/admin/form_helper.rb
|
|
35
|
-
- app/helpers/admin/
|
|
36
|
-
- app/helpers/admin/
|
|
42
|
+
- app/helpers/admin/preview_helper.rb
|
|
43
|
+
- app/helpers/admin/relationships_helper.rb
|
|
44
|
+
- app/helpers/admin/resources_helper.rb
|
|
45
|
+
- app/helpers/admin/search_helper.rb
|
|
37
46
|
- app/helpers/admin/sidebar_helper.rb
|
|
38
47
|
- app/helpers/admin/table_helper.rb
|
|
39
|
-
- app/helpers/
|
|
40
|
-
- app/
|
|
41
|
-
- app/models/
|
|
48
|
+
- app/helpers/admin_helper.rb
|
|
49
|
+
- app/mailers/admin/mailer.rb
|
|
50
|
+
- app/models/admin/fake_user.rb
|
|
51
|
+
- app/views/admin/account/forgot_password.html.erb
|
|
52
|
+
- app/views/admin/account/new.html.erb
|
|
42
53
|
- app/views/admin/dashboard/_sidebar.html.erb
|
|
54
|
+
- app/views/admin/dashboard/show.html.erb
|
|
55
|
+
- app/views/admin/dashboard/styles.html.erb
|
|
56
|
+
- app/views/admin/helpers/_apps.html.erb
|
|
57
|
+
- app/views/admin/helpers/_flash_message.html.erb
|
|
58
|
+
- app/views/admin/helpers/_header.html.erb
|
|
59
|
+
- app/views/admin/helpers/_login_info.html.erb
|
|
60
|
+
- app/views/admin/helpers/_preview.html.erb
|
|
61
|
+
- app/views/admin/helpers/dashboard/_applications.html.erb
|
|
62
|
+
- app/views/admin/helpers/dashboard/_resources.html.erb
|
|
63
|
+
- app/views/admin/helpers/filters/_filters.html.erb
|
|
64
|
+
- app/views/admin/helpers/resources/_display_link_to_previous.html.erb
|
|
65
|
+
- app/views/admin/helpers/resources/_pagination.html.erb
|
|
66
|
+
- app/views/admin/helpers/search/_search.html.erb
|
|
67
|
+
- app/views/admin/helpers/sidebar/_sidebar.html.erb
|
|
68
|
+
- app/views/admin/helpers/table/_table.html.erb
|
|
69
|
+
- app/views/admin/mailer/reset_password_link.text.erb
|
|
70
|
+
- app/views/admin/resources/_edit.html.erb
|
|
71
|
+
- app/views/admin/resources/_form.html.erb
|
|
72
|
+
- app/views/admin/resources/_index.html.erb
|
|
73
|
+
- app/views/admin/resources/_new.html.erb
|
|
74
|
+
- app/views/admin/resources/_show.html.erb
|
|
43
75
|
- app/views/admin/resources/edit.html.erb
|
|
44
76
|
- app/views/admin/resources/index.html.erb
|
|
45
77
|
- app/views/admin/resources/new.html.erb
|
|
46
78
|
- app/views/admin/resources/show.html.erb
|
|
47
|
-
- app/views/admin/
|
|
48
|
-
- app/views/admin/
|
|
49
|
-
- app/views/admin/shared/_pagination.html.erb
|
|
79
|
+
- app/views/admin/session/new.html.erb
|
|
80
|
+
- app/views/admin/templates/_belongs_to.html.erb
|
|
50
81
|
- app/views/admin/templates/_boolean.html.erb
|
|
51
82
|
- app/views/admin/templates/_date.html.erb
|
|
52
83
|
- app/views/admin/templates/_datetime.html.erb
|
|
53
84
|
- app/views/admin/templates/_file.html.erb
|
|
85
|
+
- app/views/admin/templates/_has_many.html.erb
|
|
86
|
+
- app/views/admin/templates/_has_n.html.erb
|
|
87
|
+
- app/views/admin/templates/_has_one.html.erb
|
|
54
88
|
- app/views/admin/templates/_password.html.erb
|
|
89
|
+
- app/views/admin/templates/_relate_form.html.erb
|
|
55
90
|
- app/views/admin/templates/_selector.html.erb
|
|
56
91
|
- app/views/admin/templates/_string.html.erb
|
|
57
92
|
- app/views/admin/templates/_text.html.erb
|
|
58
93
|
- app/views/admin/templates/_time.html.erb
|
|
59
|
-
- app/views/admin/templates/
|
|
94
|
+
- app/views/admin/templates/_tree.html.erb
|
|
95
|
+
- app/views/layouts/admin/session.html.erb
|
|
60
96
|
- app/views/layouts/admin.html.erb
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
66
|
-
-
|
|
67
|
-
-
|
|
68
|
-
- config/
|
|
69
|
-
- config/
|
|
70
|
-
- config/
|
|
71
|
-
- config/
|
|
72
|
-
- config/
|
|
73
|
-
- config/
|
|
97
|
+
- CHANGELOG
|
|
98
|
+
- config/available_locales/ca.yml
|
|
99
|
+
- config/available_locales/ca_models.yml
|
|
100
|
+
- config/available_locales/de.yml
|
|
101
|
+
- config/available_locales/de_models.yml
|
|
102
|
+
- config/available_locales/es.yml
|
|
103
|
+
- config/available_locales/es_models.yml
|
|
104
|
+
- config/available_locales/fr.yml
|
|
105
|
+
- config/available_locales/fr_models.yml
|
|
106
|
+
- config/available_locales/hu.yml
|
|
107
|
+
- config/available_locales/hu_models.yml
|
|
108
|
+
- config/available_locales/it.yml
|
|
109
|
+
- config/available_locales/it_models.yml
|
|
110
|
+
- config/available_locales/language.yml.template
|
|
111
|
+
- config/available_locales/language_models.yml.template
|
|
112
|
+
- config/available_locales/pt-BR.yml
|
|
113
|
+
- config/available_locales/pt-BR_models.yml
|
|
114
|
+
- config/available_locales/ru.yml
|
|
115
|
+
- config/available_locales/ru_models.yml
|
|
74
116
|
- config/routes.rb
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
- generators/
|
|
78
|
-
- generators/
|
|
79
|
-
- generators/
|
|
80
|
-
- generators/
|
|
81
|
-
- generators/
|
|
82
|
-
- generators/
|
|
83
|
-
- generators/
|
|
84
|
-
- generators/
|
|
85
|
-
- generators/
|
|
86
|
-
- generators/
|
|
87
|
-
- generators/
|
|
88
|
-
- generators/
|
|
89
|
-
- generators/
|
|
90
|
-
- generators/
|
|
91
|
-
- generators/
|
|
92
|
-
- generators/
|
|
93
|
-
- generators/
|
|
94
|
-
- generators/
|
|
95
|
-
- generators/
|
|
96
|
-
- generators/
|
|
97
|
-
- generators/
|
|
98
|
-
- generators/
|
|
99
|
-
- generators/
|
|
100
|
-
- generators/
|
|
101
|
-
- generators/
|
|
102
|
-
- generators/
|
|
103
|
-
- generators/
|
|
104
|
-
- generators/
|
|
105
|
-
- generators/
|
|
106
|
-
- generators/
|
|
107
|
-
- generators/
|
|
108
|
-
- generators/
|
|
109
|
-
- generators/
|
|
110
|
-
- generators/
|
|
111
|
-
- generators/
|
|
112
|
-
- generators/
|
|
113
|
-
- generators/
|
|
114
|
-
- generators/
|
|
115
|
-
- lib/
|
|
116
|
-
- lib/
|
|
117
|
+
- Gemfile
|
|
118
|
+
- Gemfile.lock
|
|
119
|
+
- lib/generators/templates/config/initializers/typus.rb
|
|
120
|
+
- lib/generators/templates/config/initializers/typus_authentication.rb
|
|
121
|
+
- lib/generators/templates/config/initializers/typus_resources.rb
|
|
122
|
+
- lib/generators/templates/config/typus/application.yml
|
|
123
|
+
- lib/generators/templates/config/typus/application_roles.yml
|
|
124
|
+
- lib/generators/templates/config/typus/README
|
|
125
|
+
- lib/generators/templates/config/typus/typus.yml
|
|
126
|
+
- lib/generators/templates/config/typus/typus_roles.yml
|
|
127
|
+
- lib/generators/templates/controller.rb
|
|
128
|
+
- lib/generators/templates/functional_test.rb
|
|
129
|
+
- lib/generators/templates/migration.rb
|
|
130
|
+
- lib/generators/templates/model.rb
|
|
131
|
+
- lib/generators/templates/model.yml
|
|
132
|
+
- lib/generators/templates/public/admin/images/ui-icons.png
|
|
133
|
+
- lib/generators/templates/public/admin/javascripts/application.js
|
|
134
|
+
- lib/generators/templates/public/admin/javascripts/jquery-1.4.2.min.js
|
|
135
|
+
- lib/generators/templates/public/admin/javascripts/jquery.rails.js
|
|
136
|
+
- lib/generators/templates/public/admin/javascripts/jquery.searchField.js
|
|
137
|
+
- lib/generators/templates/public/admin/stylesheets/application.css
|
|
138
|
+
- lib/generators/templates/public/admin/stylesheets/screen.css
|
|
139
|
+
- lib/generators/templates/public/admin/vendor/fancybox/blank.gif
|
|
140
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_close.png
|
|
141
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_loading.png
|
|
142
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_nav_left.png
|
|
143
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_nav_right.png
|
|
144
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_e.png
|
|
145
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_n.png
|
|
146
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_ne.png
|
|
147
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_nw.png
|
|
148
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_s.png
|
|
149
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_se.png
|
|
150
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_sw.png
|
|
151
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_shadow_w.png
|
|
152
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_title_left.png
|
|
153
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_title_main.png
|
|
154
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_title_over.png
|
|
155
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancy_title_right.png
|
|
156
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancybox-x.png
|
|
157
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancybox-y.png
|
|
158
|
+
- lib/generators/templates/public/admin/vendor/fancybox/fancybox.png
|
|
159
|
+
- lib/generators/templates/public/admin/vendor/fancybox/jquery.easing-1.3.pack.js
|
|
160
|
+
- lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.css
|
|
161
|
+
- lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.js
|
|
162
|
+
- lib/generators/templates/public/admin/vendor/fancybox/jquery.fancybox-1.3.1.pack.js
|
|
163
|
+
- lib/generators/templates/public/admin/vendor/fancybox/jquery.mousewheel-3.0.2.pack.js
|
|
164
|
+
- lib/generators/templates/view.html.erb
|
|
165
|
+
- lib/generators/typus/migration_generator.rb
|
|
166
|
+
- lib/generators/typus/typus_generator.rb
|
|
167
|
+
- lib/generators/typus/views_generator.rb
|
|
168
|
+
- lib/support/active_record.rb
|
|
169
|
+
- lib/support/array.rb
|
|
170
|
+
- lib/support/hash.rb
|
|
171
|
+
- lib/support/object.rb
|
|
172
|
+
- lib/support/string.rb
|
|
173
|
+
- lib/tasks/typus.rake
|
|
117
174
|
- lib/typus/authentication.rb
|
|
118
175
|
- lib/typus/configuration.rb
|
|
119
|
-
- lib/typus/
|
|
120
|
-
- lib/typus/extensions/routes_hack.rb
|
|
176
|
+
- lib/typus/engine.rb
|
|
121
177
|
- lib/typus/format.rb
|
|
122
|
-
- lib/typus/
|
|
123
|
-
- lib/typus/
|
|
124
|
-
- lib/typus/preferences.rb
|
|
125
|
-
- lib/typus/preview.rb
|
|
126
|
-
- lib/typus/quick_edit.rb
|
|
127
|
-
- lib/typus/reloader.rb
|
|
128
|
-
- lib/typus/string.rb
|
|
178
|
+
- lib/typus/orm/active_record.rb
|
|
179
|
+
- lib/typus/resources.rb
|
|
129
180
|
- lib/typus/user.rb
|
|
130
|
-
- lib/
|
|
181
|
+
- lib/typus/version.rb
|
|
182
|
+
- lib/typus.rb
|
|
131
183
|
- lib/vendor/paginator.rb
|
|
132
|
-
-
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
- test/
|
|
136
|
-
- test/
|
|
137
|
-
- test/
|
|
138
|
-
- test/
|
|
139
|
-
- test/
|
|
140
|
-
- test/
|
|
141
|
-
- test/
|
|
142
|
-
- test/config/
|
|
143
|
-
- test/config/
|
|
144
|
-
- test/config/empty
|
|
145
|
-
- test/config/
|
|
146
|
-
- test/config/
|
|
147
|
-
- test/config/
|
|
148
|
-
- test/config/
|
|
149
|
-
- test/config/
|
|
150
|
-
- test/config/
|
|
151
|
-
- test/config/
|
|
152
|
-
- test/config/
|
|
153
|
-
- test/config/
|
|
154
|
-
- test/config/
|
|
155
|
-
- test/config/
|
|
156
|
-
- test/fixtures/
|
|
157
|
-
- test/fixtures/
|
|
158
|
-
- test/fixtures/
|
|
159
|
-
- test/fixtures/
|
|
160
|
-
- test/fixtures/
|
|
161
|
-
- test/fixtures/
|
|
162
|
-
- test/fixtures/
|
|
163
|
-
- test/fixtures/
|
|
164
|
-
- test/fixtures/
|
|
165
|
-
- test/fixtures/app/
|
|
166
|
-
- test/fixtures/app/
|
|
167
|
-
- test/fixtures/app/
|
|
168
|
-
- test/fixtures/app/
|
|
169
|
-
- test/fixtures/app/
|
|
170
|
-
- test/fixtures/app/
|
|
171
|
-
- test/fixtures/app/
|
|
172
|
-
- test/fixtures/app/
|
|
173
|
-
- test/fixtures/app/
|
|
174
|
-
- test/fixtures/app/
|
|
175
|
-
- test/fixtures/app/
|
|
176
|
-
- test/fixtures/app/
|
|
177
|
-
- test/fixtures/app/
|
|
178
|
-
- test/fixtures/app/
|
|
179
|
-
- test/fixtures/app/
|
|
180
|
-
- test/fixtures/app/
|
|
181
|
-
- test/fixtures/app/
|
|
182
|
-
- test/fixtures/app/
|
|
183
|
-
- test/fixtures/
|
|
184
|
-
- test/fixtures/
|
|
185
|
-
- test/fixtures/
|
|
186
|
-
- test/fixtures/
|
|
187
|
-
- test/fixtures/
|
|
188
|
-
- test/fixtures/
|
|
189
|
-
- test/
|
|
190
|
-
- test/
|
|
191
|
-
- test/
|
|
192
|
-
- test/
|
|
193
|
-
- test/
|
|
194
|
-
- test/
|
|
195
|
-
- test/
|
|
196
|
-
- test/
|
|
197
|
-
- test/
|
|
198
|
-
- test/
|
|
199
|
-
- test/
|
|
200
|
-
- test/
|
|
201
|
-
- test/
|
|
202
|
-
- test/
|
|
184
|
+
- MIT-LICENSE
|
|
185
|
+
- Rakefile
|
|
186
|
+
- README.rdoc
|
|
187
|
+
- test/factories/assets.rb
|
|
188
|
+
- test/factories/categories.rb
|
|
189
|
+
- test/factories/comments.rb
|
|
190
|
+
- test/factories/pages.rb
|
|
191
|
+
- test/factories/pictures.rb
|
|
192
|
+
- test/factories/posts.rb
|
|
193
|
+
- test/factories/typus_users.rb
|
|
194
|
+
- test/fixtures/config/broken/application.yml
|
|
195
|
+
- test/fixtures/config/broken/application_roles.yml
|
|
196
|
+
- test/fixtures/config/broken/empty.yml
|
|
197
|
+
- test/fixtures/config/broken/empty_roles.yml
|
|
198
|
+
- test/fixtures/config/broken/undefined.yml
|
|
199
|
+
- test/fixtures/config/broken/undefined_roles.yml
|
|
200
|
+
- test/fixtures/config/default/typus.yml
|
|
201
|
+
- test/fixtures/config/default/typus_roles.yml
|
|
202
|
+
- test/fixtures/config/empty/empty_01.yml
|
|
203
|
+
- test/fixtures/config/empty/empty_01_roles.yml
|
|
204
|
+
- test/fixtures/config/empty/empty_02.yml
|
|
205
|
+
- test/fixtures/config/empty/empty_02_roles.yml
|
|
206
|
+
- test/fixtures/config/locales/es.yml
|
|
207
|
+
- test/fixtures/config/namespaced/application.yml
|
|
208
|
+
- test/fixtures/config/namespaced/application_roles.yml
|
|
209
|
+
- test/fixtures/config/ordered/001_roles.yml
|
|
210
|
+
- test/fixtures/config/ordered/002_roles.yml
|
|
211
|
+
- test/fixtures/config/unordered/app_one_roles.yml
|
|
212
|
+
- test/fixtures/config/unordered/app_two_roles.yml
|
|
213
|
+
- test/fixtures/config/working/application.yml
|
|
214
|
+
- test/fixtures/config/working/application_roles.yml
|
|
215
|
+
- test/fixtures/config/working/typus.yml
|
|
216
|
+
- test/fixtures/config/working/typus_roles.yml
|
|
217
|
+
- test/fixtures/rails_app/app/controllers/admin/assets_controller.rb
|
|
218
|
+
- test/fixtures/rails_app/app/controllers/admin/categories_controller.rb
|
|
219
|
+
- test/fixtures/rails_app/app/controllers/admin/comments_controller.rb
|
|
220
|
+
- test/fixtures/rails_app/app/controllers/admin/pages_controller.rb
|
|
221
|
+
- test/fixtures/rails_app/app/controllers/admin/pictures_controller.rb
|
|
222
|
+
- test/fixtures/rails_app/app/controllers/admin/posts_controller.rb
|
|
223
|
+
- test/fixtures/rails_app/app/controllers/admin/status_controller.rb
|
|
224
|
+
- test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb
|
|
225
|
+
- test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb
|
|
226
|
+
- test/fixtures/rails_app/app/controllers/application_controller.rb
|
|
227
|
+
- test/fixtures/rails_app/app/helpers/application_helper.rb
|
|
228
|
+
- test/fixtures/rails_app/app/models/asset.rb
|
|
229
|
+
- test/fixtures/rails_app/app/models/category.rb
|
|
230
|
+
- test/fixtures/rails_app/app/models/comment.rb
|
|
231
|
+
- test/fixtures/rails_app/app/models/custom_user.rb
|
|
232
|
+
- test/fixtures/rails_app/app/models/delayed/task.rb
|
|
233
|
+
- test/fixtures/rails_app/app/models/page.rb
|
|
234
|
+
- test/fixtures/rails_app/app/models/picture.rb
|
|
235
|
+
- test/fixtures/rails_app/app/models/post.rb
|
|
236
|
+
- test/fixtures/rails_app/app/models/typus_user.rb
|
|
237
|
+
- test/fixtures/rails_app/app/models/view.rb
|
|
238
|
+
- test/fixtures/rails_app/app/views/admin/categories/_form.html.erb
|
|
239
|
+
- test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb
|
|
240
|
+
- test/fixtures/rails_app/app/views/admin/mailer/reset_password_link.text.erb
|
|
241
|
+
- test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb
|
|
242
|
+
- test/fixtures/rails_app/app/views/admin/posts/_index.html.erb
|
|
243
|
+
- test/fixtures/rails_app/app/views/admin/posts/_new.html.erb
|
|
244
|
+
- test/fixtures/rails_app/app/views/admin/posts/_show.html.erb
|
|
245
|
+
- test/fixtures/rails_app/app/views/admin/posts/_sidebar.html.erb
|
|
246
|
+
- test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb
|
|
247
|
+
- test/fixtures/rails_app/app/views/admin/status/index.html.erb
|
|
248
|
+
- test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb
|
|
249
|
+
- test/fixtures/rails_app/app/views/layouts/application.html.erb
|
|
250
|
+
- test/fixtures/rails_app/config/application.rb
|
|
251
|
+
- test/fixtures/rails_app/config/boot.rb
|
|
252
|
+
- test/fixtures/rails_app/config/database.yml
|
|
253
|
+
- test/fixtures/rails_app/config/environment.rb
|
|
254
|
+
- test/fixtures/rails_app/config/environments/development.rb
|
|
255
|
+
- test/fixtures/rails_app/config/environments/production.rb
|
|
256
|
+
- test/fixtures/rails_app/config/environments/test.rb
|
|
257
|
+
- test/fixtures/rails_app/config/initializers/acts_as_list.rb
|
|
258
|
+
- test/fixtures/rails_app/config/initializers/acts_as_tree.rb
|
|
259
|
+
- test/fixtures/rails_app/config/initializers/backtrace_silencers.rb
|
|
260
|
+
- test/fixtures/rails_app/config/initializers/inflections.rb
|
|
261
|
+
- test/fixtures/rails_app/config/initializers/mime_types.rb
|
|
262
|
+
- test/fixtures/rails_app/config/initializers/secret_token.rb
|
|
263
|
+
- test/fixtures/rails_app/config/initializers/session_store.rb
|
|
264
|
+
- test/fixtures/rails_app/config/initializers/typus.rb
|
|
265
|
+
- test/fixtures/rails_app/config/locales/en.yml
|
|
266
|
+
- test/fixtures/rails_app/config/routes.rb
|
|
267
|
+
- test/fixtures/rails_app/config/typus/application.yml
|
|
268
|
+
- test/fixtures/rails_app/config/typus/application_roles.yml
|
|
269
|
+
- test/fixtures/rails_app/config/typus/typus.yml
|
|
270
|
+
- test/fixtures/rails_app/config/typus/typus_roles.yml
|
|
271
|
+
- test/fixtures/rails_app/config.ru
|
|
272
|
+
- test/fixtures/rails_app/db/seeds.rb
|
|
273
|
+
- test/fixtures/rails_app/db/test.sqlite3
|
|
274
|
+
- test/fixtures/rails_app/log/test.log
|
|
275
|
+
- test/fixtures/rails_app/public/404.html
|
|
276
|
+
- test/fixtures/rails_app/public/422.html
|
|
277
|
+
- test/fixtures/rails_app/public/500.html
|
|
278
|
+
- test/fixtures/rails_app/public/favicon.ico
|
|
279
|
+
- test/fixtures/rails_app/public/images/rails.png
|
|
280
|
+
- test/fixtures/rails_app/public/index.html
|
|
281
|
+
- test/fixtures/rails_app/public/javascripts/application.js
|
|
282
|
+
- test/fixtures/rails_app/public/javascripts/controls.js
|
|
283
|
+
- test/fixtures/rails_app/public/javascripts/dragdrop.js
|
|
284
|
+
- test/fixtures/rails_app/public/javascripts/effects.js
|
|
285
|
+
- test/fixtures/rails_app/public/javascripts/prototype.js
|
|
286
|
+
- test/fixtures/rails_app/public/javascripts/rails.js
|
|
287
|
+
- test/fixtures/rails_app/public/robots.txt
|
|
288
|
+
- test/fixtures/rails_app/Rakefile
|
|
289
|
+
- test/fixtures/rails_app/README
|
|
290
|
+
- test/fixtures/rails_app/script/rails
|
|
291
|
+
- test/fixtures/rails_app/tmp/export-posts-20100902120447.csv
|
|
292
|
+
- test/fixtures/rails_app/tmp/export-posts-20100902120700.csv
|
|
293
|
+
- test/functional/admin/account_controller_test.rb
|
|
294
|
+
- test/functional/admin/dashboard_controller_http_basic_test.rb
|
|
295
|
+
- test/functional/admin/dashboard_controller_none_test.rb
|
|
296
|
+
- test/functional/admin/dashboard_controller_test.rb
|
|
297
|
+
- test/functional/admin/resources_controller_assets_relationships.rb
|
|
298
|
+
- test/functional/admin/resources_controller_categories_before_test.rb
|
|
299
|
+
- test/functional/admin/resources_controller_categories_lists_test.rb
|
|
300
|
+
- test/functional/admin/resources_controller_categories_views_test.rb
|
|
301
|
+
- test/functional/admin/resources_controller_comments_toggle_test.rb
|
|
302
|
+
- test/functional/admin/resources_controller_posts_before_test.rb
|
|
303
|
+
- test/functional/admin/resources_controller_posts_crud_custom_test.rb
|
|
304
|
+
- test/functional/admin/resources_controller_posts_crud_test.rb
|
|
305
|
+
- test/functional/admin/resources_controller_posts_formats_test.rb
|
|
306
|
+
- test/functional/admin/resources_controller_posts_forms_test.rb
|
|
307
|
+
- test/functional/admin/resources_controller_posts_permissions_test.rb
|
|
308
|
+
- test/functional/admin/resources_controller_posts_relationships_test.rb
|
|
309
|
+
- test/functional/admin/resources_controller_posts_roles.rb
|
|
310
|
+
- test/functional/admin/resources_controller_posts_views_test.rb
|
|
311
|
+
- test/functional/admin/resources_controller_tableless_resource_test.rb
|
|
312
|
+
- test/functional/admin/resources_controller_typus_users_test.rb
|
|
313
|
+
- test/functional/admin/session_controller_test.rb
|
|
314
|
+
- test/helpers/admin/dashboard_helper_test.rb
|
|
203
315
|
- test/helpers/admin/form_helper_test.rb
|
|
204
|
-
- test/helpers/admin/
|
|
205
|
-
- test/helpers/admin/public_helper_test.rb
|
|
316
|
+
- test/helpers/admin/resources_helper_test.rb
|
|
206
317
|
- test/helpers/admin/sidebar_helper_test.rb
|
|
207
318
|
- test/helpers/admin/table_helper_test.rb
|
|
208
|
-
- test/helpers/
|
|
209
|
-
- test/lib/active_record_test.rb
|
|
210
|
-
- test/lib/
|
|
211
|
-
- test/lib/hash_test.rb
|
|
212
|
-
- test/lib/
|
|
213
|
-
- test/lib/
|
|
319
|
+
- test/helpers/admin_helper_test.rb
|
|
320
|
+
- test/lib/support/active_record_test.rb
|
|
321
|
+
- test/lib/support/array_test.rb
|
|
322
|
+
- test/lib/support/hash_test.rb
|
|
323
|
+
- test/lib/support/string_test.rb
|
|
324
|
+
- test/lib/typus/active_record_test.rb
|
|
325
|
+
- test/lib/typus/configuration_test.rb
|
|
326
|
+
- test/lib/typus/resource_test.rb
|
|
327
|
+
- test/lib/typus/routes_test.rb
|
|
214
328
|
- test/lib/typus_test.rb
|
|
329
|
+
- test/lib/vendor/paginator_test.rb
|
|
215
330
|
- test/schema.rb
|
|
216
|
-
- test/
|
|
217
|
-
- test/unit/
|
|
331
|
+
- test/test_helper.rb
|
|
332
|
+
- test/unit/admin/mailer_test.rb
|
|
218
333
|
- test/unit/typus_user_roles_test.rb
|
|
219
334
|
- test/unit/typus_user_test.rb
|
|
220
|
-
-
|
|
221
|
-
- test/vendor/paginator_test.rb
|
|
335
|
+
- typus-1.0.0.pre.gem
|
|
222
336
|
- typus.gemspec
|
|
223
337
|
has_rdoc: true
|
|
224
|
-
homepage: http://
|
|
338
|
+
homepage: http://core.typuscms.com/
|
|
225
339
|
licenses: []
|
|
226
340
|
|
|
227
341
|
post_install_message:
|
|
228
|
-
rdoc_options:
|
|
229
|
-
|
|
342
|
+
rdoc_options: []
|
|
343
|
+
|
|
230
344
|
require_paths:
|
|
231
345
|
- lib
|
|
232
346
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
347
|
+
none: false
|
|
233
348
|
requirements:
|
|
234
349
|
- - ">="
|
|
235
350
|
- !ruby/object:Gem::Version
|
|
351
|
+
hash: 3
|
|
352
|
+
segments:
|
|
353
|
+
- 0
|
|
236
354
|
version: "0"
|
|
237
|
-
version:
|
|
238
355
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
356
|
+
none: false
|
|
239
357
|
requirements:
|
|
240
358
|
- - ">="
|
|
241
359
|
- !ruby/object:Gem::Version
|
|
242
|
-
|
|
243
|
-
|
|
360
|
+
hash: 23
|
|
361
|
+
segments:
|
|
362
|
+
- 1
|
|
363
|
+
- 3
|
|
364
|
+
- 6
|
|
365
|
+
version: 1.3.6
|
|
244
366
|
requirements: []
|
|
245
367
|
|
|
246
|
-
rubyforge_project:
|
|
247
|
-
rubygems_version: 1.3.
|
|
368
|
+
rubyforge_project: typus
|
|
369
|
+
rubygems_version: 1.3.7
|
|
248
370
|
signing_key:
|
|
249
371
|
specification_version: 3
|
|
250
|
-
summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator
|
|
251
|
-
test_files:
|
|
252
|
-
|
|
253
|
-
- test/fixtures/app/controllers/admin/categories_controller.rb
|
|
254
|
-
- test/fixtures/app/controllers/admin/comments_controller.rb
|
|
255
|
-
- test/fixtures/app/controllers/admin/pages_controller.rb
|
|
256
|
-
- test/fixtures/app/controllers/admin/posts_controller.rb
|
|
257
|
-
- test/fixtures/app/controllers/admin/status_controller.rb
|
|
258
|
-
- test/fixtures/app/controllers/admin/typus_users_controller.rb
|
|
259
|
-
- test/fixtures/app/controllers/admin/watch_dog_controller.rb
|
|
260
|
-
- test/fixtures/app/models/asset.rb
|
|
261
|
-
- test/fixtures/app/models/category.rb
|
|
262
|
-
- test/fixtures/app/models/comment.rb
|
|
263
|
-
- test/fixtures/app/models/custom_user.rb
|
|
264
|
-
- test/fixtures/app/models/delayed/task.rb
|
|
265
|
-
- test/fixtures/app/models/page.rb
|
|
266
|
-
- test/fixtures/app/models/post.rb
|
|
267
|
-
- test/fixtures/app/models/view.rb
|
|
268
|
-
- test/functional/admin/master_controller_assets_relationships.rb
|
|
269
|
-
- test/functional/admin/master_controller_categories_lists_test.rb
|
|
270
|
-
- test/functional/admin/master_controller_posts_before_test.rb
|
|
271
|
-
- test/functional/admin/master_controller_posts_crud_test.rb
|
|
272
|
-
- test/functional/admin/master_controller_posts_formats_test.rb
|
|
273
|
-
- test/functional/admin/master_controller_posts_permissions_test.rb
|
|
274
|
-
- test/functional/admin/master_controller_posts_relationships_test.rb
|
|
275
|
-
- test/functional/admin/master_controller_posts_roles.rb
|
|
276
|
-
- test/functional/admin/master_controller_posts_toggle_test.rb
|
|
277
|
-
- test/functional/admin/master_controller_posts_views_test.rb
|
|
278
|
-
- test/functional/admin/master_controller_tableless_resource_test.rb
|
|
279
|
-
- test/functional/admin/master_controller_typus_users_test.rb
|
|
280
|
-
- test/functional/typus_controller_test.rb
|
|
281
|
-
- test/helper.rb
|
|
282
|
-
- test/helpers/admin/form_helper_test.rb
|
|
283
|
-
- test/helpers/admin/master_helper_test.rb
|
|
284
|
-
- test/helpers/admin/public_helper_test.rb
|
|
285
|
-
- test/helpers/admin/sidebar_helper_test.rb
|
|
286
|
-
- test/helpers/admin/table_helper_test.rb
|
|
287
|
-
- test/helpers/typus_helper_test.rb
|
|
288
|
-
- test/lib/active_record_test.rb
|
|
289
|
-
- test/lib/configuration_test.rb
|
|
290
|
-
- test/lib/hash_test.rb
|
|
291
|
-
- test/lib/routes_test.rb
|
|
292
|
-
- test/lib/string_test.rb
|
|
293
|
-
- test/lib/typus_test.rb
|
|
294
|
-
- test/schema.rb
|
|
295
|
-
- test/unit/typus_mailer_test.rb
|
|
296
|
-
- test/unit/typus_test.rb
|
|
297
|
-
- test/unit/typus_user_roles_test.rb
|
|
298
|
-
- test/unit/typus_user_test.rb
|
|
299
|
-
- test/vendor/active_record_test.rb
|
|
300
|
-
- test/vendor/paginator_test.rb
|
|
372
|
+
summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator)
|
|
373
|
+
test_files: []
|
|
374
|
+
|
data/.gitignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*.log
|