muck-engine 0.4.34 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -65
- data/Rakefile +30 -12
- data/VERSION +1 -1
- data/app/helpers/muck_engine_helper.rb +20 -38
- data/app/mailers/basic_mailer.rb +9 -0
- data/app/views/admin/default/index.html.erb +1 -1
- data/app/views/forms/_base_field.erb +6 -6
- data/app/views/forms/_tips.erb +3 -3
- data/app/views/layouts/admin/_head.html.erb +5 -5
- data/app/views/layouts/admin/_header.html.erb +1 -1
- data/app/views/layouts/{email_default.text.html.erb → email_default.html.erb} +3 -3
- data/app/views/layouts/email_default.text.erb +13 -0
- data/app/views/layouts/global/_google_analytics.html.erb +3 -3
- data/app/views/layouts/global/_head.html.erb +5 -5
- data/app/views/shared/_delete.erb +1 -1
- data/app/views/shared/_field_error.erb +5 -1
- data/app/views/shared/_growl.erb +1 -1
- data/{locales → config/locales}/ar.yml +0 -0
- data/{locales → config/locales}/bg.yml +0 -0
- data/{locales → config/locales}/ca.yml +0 -0
- data/{locales → config/locales}/cs.yml +0 -0
- data/{locales → config/locales}/da.yml +0 -0
- data/{locales → config/locales}/de.yml +0 -0
- data/{locales → config/locales}/el.yml +0 -0
- data/{locales → config/locales}/en.yml +3 -3
- data/{locales → config/locales}/es.yml +0 -0
- data/{locales → config/locales}/et.yml +0 -0
- data/{locales → config/locales}/fa.yml +0 -0
- data/{locales → config/locales}/fi.yml +0 -0
- data/{locales → config/locales}/fr.yml +0 -0
- data/{locales → config/locales}/gl.yml +0 -0
- data/{locales → config/locales}/hi.yml +0 -0
- data/{locales → config/locales}/hr.yml +0 -0
- data/{locales → config/locales}/hu.yml +0 -0
- data/{locales → config/locales}/id.yml +0 -0
- data/{locales → config/locales}/it.yml +0 -0
- data/{locales → config/locales}/iw.yml +0 -0
- data/{locales → config/locales}/ja.yml +0 -0
- data/{locales → config/locales}/ko.yml +0 -0
- data/{locales → config/locales}/lt.yml +0 -0
- data/{locales → config/locales}/lv.yml +0 -0
- data/{locales → config/locales}/mt.yml +0 -0
- data/{locales → config/locales}/nl.yml +0 -0
- data/{locales → config/locales}/no.yml +0 -0
- data/{locales → config/locales}/pl.yml +0 -0
- data/{locales → config/locales}/pt-PT.yml +0 -0
- data/{locales → config/locales}/pt.yml +0 -0
- data/{locales → config/locales}/ro.yml +0 -0
- data/{locales → config/locales}/ru.yml +0 -0
- data/{locales → config/locales}/sk.yml +0 -0
- data/{locales → config/locales}/sl.yml +0 -0
- data/{locales → config/locales}/sq.yml +0 -0
- data/{locales → config/locales}/sr.yml +0 -0
- data/{locales → config/locales}/sv.yml +0 -0
- data/{locales → config/locales}/th.yml +0 -0
- data/{locales → config/locales}/tl.yml +0 -0
- data/{locales → config/locales}/tr.yml +0 -0
- data/{locales → config/locales}/uk.yml +0 -0
- data/{locales → config/locales}/vi.yml +0 -0
- data/{locales → config/locales}/zh-CN.yml +0 -0
- data/{locales → config/locales}/zh-TW.yml +0 -0
- data/{locales → config/locales}/zh.yml +0 -0
- data/config/routes.rb +4 -0
- data/{tasks → lib}/languages.txt +0 -0
- data/lib/muck-engine.rb +22 -0
- data/lib/muck-engine/config.rb +106 -0
- data/lib/{action_controller/muck_application.rb → muck-engine/controllers/application.rb} +13 -30
- data/lib/muck-engine/controllers/ssl_requirement.rb +52 -0
- data/lib/muck-engine/engine.rb +60 -0
- data/lib/{muck_engine → muck-engine}/flash_errors.rb +2 -3
- data/lib/muck-engine/form_builder.rb +241 -0
- data/lib/muck-engine/json.rb +31 -0
- data/lib/muck-engine/mailers/general.rb +21 -0
- data/lib/{active_record/acts/muck_country.rb → muck-engine/models/country.rb} +16 -28
- data/lib/muck-engine/models/general.rb +20 -0
- data/lib/muck-engine/models/language.rb +36 -0
- data/lib/muck-engine/models/state.rb +14 -0
- data/lib/{muck_engine → muck-engine}/populate.rb +3 -1
- data/lib/muck-engine/rspec2.rb +9 -0
- data/lib/muck-engine/test/controllers/matchers.rb +17 -0
- data/lib/muck-engine/test/controllers/matchers/login_matcher.rb +50 -0
- data/lib/muck-engine/test/controllers/matchers/role_matcher.rb +72 -0
- data/lib/muck-engine/test/models/helpers.rb +32 -0
- data/lib/muck-engine/test/models/matchers.rb +51 -0
- data/lib/muck-engine/test/models/matchers/muck_matcher_base.rb +17 -0
- data/lib/muck-engine/test/models/matchers/nested_attribute_matcher.rb +33 -0
- data/lib/muck-engine/test/models/matchers/sanitize_matcher.rb +59 -0
- data/lib/muck-engine/test/models/matchers/scope_creator_matchers.rb +65 -0
- data/lib/muck-engine/test/models/matchers/scope_is_public_matchers.rb +43 -0
- data/lib/muck-engine/test/models/matchers/scope_ordinal_matchers.rb +47 -0
- data/lib/muck-engine/test/models/matchers/scope_sorting_matchers.rb +95 -0
- data/lib/muck-engine/test/models/matchers/scope_time_matchers.rb +59 -0
- data/lib/muck_test_helper.rb +25 -31
- data/lib/tasks/muck_engine.rake +438 -0
- data/lib/test/muck_factories.rb +12 -0
- data/lib/test/muck_test_methods.rb +35 -39
- data/lib/test/shoulda_macros/scopes.rb +29 -28
- data/muck-engine.gemspec +808 -744
- data/public/stylesheets/styles.css +4 -0
- data/test/{rails_root → rails_test}/.gitignore +0 -0
- data/test/{rails_root → rails_test}/.rake_tasks +0 -0
- data/test/rails_test/.rspec +1 -0
- data/test/rails_test/Gemfile +38 -0
- data/test/rails_test/Gemfile.lock +196 -0
- data/test/{rails_root → rails_test}/Rakefile +2 -5
- data/test/{rails_root → rails_test}/app/controllers/admin/default_controller.rb +0 -0
- data/test/rails_test/app/controllers/application_controller.rb +5 -0
- data/test/{rails_root → rails_test}/app/controllers/default_controller.rb +0 -0
- data/test/{rails_root → rails_test}/app/helpers/application_helper.rb +0 -0
- data/test/{rails_root → rails_test}/app/models/.keep +0 -0
- data/{app → test/rails_test/app}/models/country.rb +2 -2
- data/{app → test/rails_test/app}/models/language.rb +1 -1
- data/{app → test/rails_test/app}/models/state.rb +1 -1
- data/test/{rails_root → rails_test}/app/models/user.rb +1 -1
- data/test/{rails_root → rails_test}/app/models/user_session.rb +0 -0
- data/test/{rails_root → rails_test}/app/views/admin/default/index.html.erb +0 -0
- data/test/{rails_root → rails_test}/app/views/default/index.html.erb +0 -0
- data/test/{rails_root → rails_test}/app/views/layouts/default.html.erb +0 -0
- data/test/rails_test/autotest/discover.rb +2 -0
- data/test/rails_test/config.ru +4 -0
- data/test/rails_test/config/application.rb +42 -0
- data/test/rails_test/config/boot.rb +13 -0
- data/test/rails_test/config/cucumber.yml +8 -0
- data/test/{rails_root → rails_test}/config/database.yml +8 -0
- data/test/rails_test/config/environment.rb +5 -0
- data/test/rails_test/config/environments/development.rb +26 -0
- data/test/rails_test/config/environments/production.rb +49 -0
- data/test/rails_test/config/environments/test.rb +35 -0
- data/test/rails_test/config/initializers/backtrace_silencers.rb +7 -0
- data/test/{rails_root → rails_test}/config/initializers/inflections.rb +2 -2
- data/test/{rails_root → rails_test}/config/initializers/mime_types.rb +0 -0
- data/test/rails_test/config/initializers/muck.rb +33 -0
- data/test/rails_test/config/initializers/secret_token.rb +7 -0
- data/test/rails_test/config/initializers/session_store.rb +8 -0
- data/test/rails_test/config/routes.rb +4 -0
- data/test/{rails_root → rails_test}/db/.keep +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090320174818_create_muck_permissions_and_roles.rb +0 -0
- data/test/{rails_root/db/migrate/20090602041838_create_users.rb → rails_test/db/migrate/20090327231918_create_users.rb} +11 -10
- data/test/{rails_root → rails_test}/db/migrate/20090402234137_create_languages.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041056_create_countries.rb +0 -0
- data/test/{rails_root → rails_test}/db/migrate/20090426041103_create_states.rb +0 -0
- data/test/rails_test/db/migrate/20090530170040_create_themes.rb +11 -0
- data/test/rails_test/db/migrate/20090606153236_create_domain_themes.rb +13 -0
- data/test/rails_test/db/migrate/20100123035450_create_access_codes.rb +19 -0
- data/test/rails_test/db/migrate/20100123233654_create_access_code_requests.rb +14 -0
- data/test/rails_test/features/step_definitions/web_steps.rb +219 -0
- data/test/rails_test/features/support/custom_env.rb +19 -0
- data/test/rails_test/features/support/env.rb +58 -0
- data/test/rails_test/features/support/paths.rb +33 -0
- data/test/rails_test/lib/tasks/cucumber.rake +53 -0
- data/test/{rails_root → rails_test}/public/.htaccess +0 -0
- data/test/{rails_root → rails_test}/public/404.html +0 -0
- data/test/{rails_root → rails_test}/public/422.html +0 -0
- data/test/{rails_root → rails_test}/public/500.html +0 -0
- data/test/{rails_root → rails_test}/public/dispatch.rb +0 -0
- data/test/{rails_root → rails_test}/public/favicon.ico +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/Home.gif +0 -0
- data/test/rails_test/public/images/admin/roles.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/admin/source/Home.png +0 -0
- data/test/rails_test/public/images/admin/source/roles.png +0 -0
- data/test/rails_test/public/images/admin/source/user.png +0 -0
- data/test/rails_test/public/images/admin/user.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_down.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_left.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_right.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/arrow_up.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/blank.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_close.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_closebox.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_loading.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_nav_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_progress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_e.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_n.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_ne.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_nw.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_s.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_se.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_sw.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_shadow_w.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_left.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_main.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_over.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancy_title_right.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-x.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox-y.png +0 -0
- data/test/{rails_root → rails_test}/public/images/fancybox/fancybox.png +0 -0
- data/test/rails_test/public/images/icon_no.gif +0 -0
- data/test/rails_test/public/images/icon_success.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/accept.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/add.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/blue_guy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/button_background.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/cancel.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/close.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/comment.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/delete.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/exclaim.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/external.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/grey_guy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/hide.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/information.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/minus.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/pending.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/question.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/search_box.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/star.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/stop.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/thumb_down.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/thumb_up.png +0 -0
- data/test/{rails_root → rails_test}/public/images/icons/vote.png +0 -0
- data/test/{rails_root → rails_test}/public/images/loading.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/nothing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/profile_default.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/16/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/24/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/48/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/fireeagle.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/60/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/Aquaticus_Social_Icon_template_by_jwloh.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/Google.psd +0 -0
- data/test/rails_root/public/images/service_icons/source/Quake 9 Design.webloc b/data/test/rails_test/public/images/service_icons/source/Quake 9 → Design.webloc +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ReadMe.rtf +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/amazon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/aquaticus.social.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/ask.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bibsonomy.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bing.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/blogger.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/bloglines.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/citeulike.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/clipmarks.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/connotea.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/dailymotion.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/delicious.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/digg.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/diigo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/facebook.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/fireeagle.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/flickr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/fotolog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/friendfeed.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/friendster.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/furl.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/goodreads.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/google.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/googleblog.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/googlenews.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/icerocket.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/identica.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/joost.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/lastfm.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/librarything.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/linkedin.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/livejournal.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/magnolia.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/mendeley.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/metacafe.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/mixx.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/myspace.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/netflix.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/netvibes.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/newsvine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/oai.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/odeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/opml.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/pandora.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/photobucket.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/picasa.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/polyvore.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/pownce.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/reddit.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/simpy.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/smugmug.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/stumbleupon.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/tag.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/technorati.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/template.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/tumblr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twine.psd +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/twitter.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/vimeo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/webshots.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/wordpress.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/xanga.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/yahoo.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/yelp.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/youtube.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/zooomr.png +0 -0
- data/test/{rails_root → rails_test}/public/images/service_icons/source/zotero.png +0 -0
- data/test/{rails_root → rails_test}/public/images/spinner.gif +0 -0
- data/test/{rails_root → rails_test}/public/images/sprites.png +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/application.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/fancyzoom.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/colorpicker.js +0 -0
- data/test/rails_test/public/javascripts/jquery/fg.menu.js +517 -0
- data/test/rails_test/public/javascripts/jquery/jquery-ui-1.8.4.custom.min.js +763 -0
- data/test/rails_test/public/javascripts/jquery/jquery-ui.js +1012 -0
- data/test/rails_test/public/javascripts/jquery/jquery.easing.js +46 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.fancybox.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.form.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.jgrowl.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.metadata.min.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.mousewheel.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.queryString.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.swapimage.min.js +0 -0
- data/test/rails_test/public/javascripts/jquery/jquery.timers.js +138 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jquery.tips.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/jquery/jrails.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck-countries.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck-src.js +0 -0
- data/test/rails_test/public/javascripts/muck-users.js +24 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck.js +1 -3
- data/test/rails_test/public/javascripts/muck_admin.js +13 -0
- data/test/{rails_root → rails_test}/public/javascripts/muck_time/en.js +0 -0
- data/test/{rails_root → rails_test}/public/javascripts/tree.js +0 -0
- data/test/{rails_root → rails_test}/public/robots.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/.keep +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/admin.css +0 -0
- data/test/{rails_root/public/stylesheets/reset.css → rails_test/public/stylesheets/application.css} +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/ie.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/liquid_screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/key.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/buttons/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/fancy-type/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/link-icons/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/liquid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/liquid/src/liquid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/readme.txt +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/plugins/rtl/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/print.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/screen.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/sprite.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/forms.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/grid.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/ie.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/print.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/reset.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/blueprint/src/typography.css +0 -0
- data/test/rails_test/public/stylesheets/fgmenu/fg.menu.css +114 -0
- data/test/{rails_root/public/stylesheets/jquery/redmond → rails_test/public/stylesheets/flick}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/test/{rails_root/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png → rails_test/public/stylesheets/flick/images/ui-bg_flat_55_ffffff_40x100.png} +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/{rails_root/public/stylesheets/jquery/smoothness → rails_test/public/stylesheets/flick}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-icons_0073ea_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-icons_454545_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-icons_666666_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-icons_ff0084_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/flick/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/flick/jquery-ui-1.8.1.custom.css +486 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_100_f0f0f0_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_50_99c2ff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_80_e6e6e6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-bg_highlight-soft_100_e7eef3_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_222222_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_888888_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/cupertino/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.autocomplete.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/jquery.fancybox.css +0 -0
- data/test/{rails_root/public/stylesheets/jquery/smoothness → rails_test/public/stylesheets/jquery/redmond}/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/redmond/jquery-ui-1.7.2.custom.css +0 -0
- data/test/rails_test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/test/{rails_root/public/stylesheets/jquery/ui-lightness → rails_test/public/stylesheets/jquery/smoothness}/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/smoothness/jquery-ui-1.7.2.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.1.custom.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/jquery/ui-lightness/jquery-ui-1.7.2.custom.css +0 -0
- data/test/rails_test/public/stylesheets/jquery/ui-lightness/jquery-ui-1.8.4.custom.css +572 -0
- data/test/{rails_root/test/functional/.keep → rails_test/public/stylesheets/reset.css} +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/styles.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/themes/blue/styles.css +0 -0
- data/test/{rails_root → rails_test}/public/stylesheets/themes/red/styles.css +0 -0
- data/test/rails_test/script/cucumber +10 -0
- data/test/rails_test/script/rails +6 -0
- data/test/rails_test/spec/controllers/admin/default_controller_spec.rb +39 -0
- data/test/rails_test/spec/controllers/default_controller_spec.rb +189 -0
- data/test/rails_test/spec/controllers/helper_controller_spec.rb +29 -0
- data/test/rails_test/spec/helpers/muck_admin_helper_spec.rb +19 -0
- data/test/rails_test/spec/helpers/muck_engine_helper_spec.rb +145 -0
- data/test/rails_test/spec/mailers/basic_mailer_spec.rb +24 -0
- data/test/rails_test/spec/models/country_spec.rb +84 -0
- data/test/rails_test/spec/models/language_spec.rb +29 -0
- data/test/rails_test/spec/models/state_spec.rb +12 -0
- data/test/rails_test/spec/spec_helper.rb +5 -0
- data/test/rails_test/test/fixtures/rails.png +0 -0
- metadata +963 -753
- data/app/helpers/muck_custom_form_builder.rb +0 -237
- data/app/models/basic_mailer.rb +0 -15
- data/app/views/layouts/email_default.text.plain.erb +0 -13
- data/config/muck_engine_routes.rb +0 -8
- data/install.rb +0 -1
- data/lib/action_mailer/muck_mailer.rb +0 -34
- data/lib/active_record/acts/muck_language.rb +0 -50
- data/lib/active_record/acts/muck_state.rb +0 -30
- data/lib/active_record/muck_model.rb +0 -34
- data/lib/muck_engine.rb +0 -71
- data/lib/muck_engine/initialize_routes.rb +0 -8
- data/lib/muck_engine/tasks.rb +0 -489
- data/rails/init.rb +0 -19
- data/tasks/rails.rake +0 -2
- data/test/rails_root/Gemfile +0 -30
- data/test/rails_root/app/controllers/application_controller.rb +0 -21
- data/test/rails_root/config/amazon_s3.yml +0 -14
- data/test/rails_root/config/boot.rb +0 -123
- data/test/rails_root/config/environment.rb +0 -22
- data/test/rails_root/config/environments/development.rb +0 -19
- data/test/rails_root/config/environments/production.rb +0 -1
- data/test/rails_root/config/environments/test.rb +0 -24
- data/test/rails_root/config/global_config.yml +0 -18
- data/test/rails_root/config/initializers/requires.rb +0 -13
- data/test/rails_root/config/initializers/session_store.rb +0 -8
- data/test/rails_root/config/preinitializer.rb +0 -20
- data/test/rails_root/config/routes.rb +0 -9
- data/test/rails_root/features/step_definitions/webrat_steps.rb +0 -99
- data/test/rails_root/features/support/env.rb +0 -14
- data/test/rails_root/lib/tasks/muck.rake +0 -7
- data/test/rails_root/public/images/blue/preview.gif +0 -0
- data/test/rails_root/public/images/rails.png +0 -0
- data/test/rails_root/public/images/red/preview.gif +0 -0
- data/test/rails_root/public/javascripts/builder.js +0 -136
- data/test/rails_root/public/javascripts/controls.js +0 -963
- data/test/rails_root/public/javascripts/dragdrop.js +0 -972
- data/test/rails_root/public/javascripts/effects.js +0 -1120
- data/test/rails_root/public/javascripts/jquery/jquery-ui.js +0 -273
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.js.readme +0 -6
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.min.js +0 -15
- data/test/rails_root/public/javascripts/jquery/jquery.autocomplete.pack.js +0 -767
- data/test/rails_root/public/javascripts/jquery/jquery.easing.js +0 -72
- data/test/rails_root/public/javascripts/muck_activities.js +0 -100
- data/test/rails_root/public/javascripts/prototype.js +0 -4225
- data/test/rails_root/public/javascripts/scriptaculous.js +0 -58
- data/test/rails_root/public/javascripts/slider.js +0 -277
- data/test/rails_root/public/javascripts/sound.js +0 -60
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/test/rails_root/public/stylesheets/jquery/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/test/rails_root/script/about +0 -3
- data/test/rails_root/script/breakpointer +0 -3
- data/test/rails_root/script/console +0 -3
- data/test/rails_root/script/create_project.rb +0 -52
- data/test/rails_root/script/cucumber +0 -7
- data/test/rails_root/script/dbconsole +0 -3
- data/test/rails_root/script/destroy +0 -3
- data/test/rails_root/script/generate +0 -3
- data/test/rails_root/script/performance/benchmarker +0 -3
- data/test/rails_root/script/performance/profiler +0 -3
- data/test/rails_root/script/performance/request +0 -3
- data/test/rails_root/script/plugin +0 -3
- data/test/rails_root/script/process/inspector +0 -3
- data/test/rails_root/script/process/reaper +0 -3
- data/test/rails_root/script/process/spawner +0 -3
- data/test/rails_root/script/runner +0 -3
- data/test/rails_root/script/server +0 -3
- data/test/rails_root/test/functional/admin/default_controller_test.rb +0 -35
- data/test/rails_root/test/functional/default_controller_test.rb +0 -15
- data/test/rails_root/test/functional/helper_controller_test.rb +0 -20
- data/test/rails_root/test/integration/.keep +0 -0
- data/test/rails_root/test/mocks/development/.keep +0 -0
- data/test/rails_root/test/mocks/test/.keep +0 -0
- data/test/rails_root/test/test_helper.rb +0 -28
- data/test/rails_root/test/unit/.keep +0 -0
- data/test/rails_root/test/unit/basic_mailer_test.rb +0 -30
- data/test/rails_root/test/unit/country_test.rb +0 -86
- data/test/rails_root/test/unit/language_test.rb +0 -33
- data/test/rails_root/test/unit/muck_engine_helper_test.rb +0 -113
- data/test/rails_root/test/unit/state_test.rb +0 -18
- data/test/rails_root/vendor/plugins/ssl_requirement/README +0 -43
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
- data/test/rails_test/db/schema.rb +0 -123
- data/uninstall.rb +0 -1
data/README.rdoc
CHANGED
@@ -10,15 +10,9 @@ Add optional functionality with the following command:
|
|
10
10
|
|
11
11
|
== Installation
|
12
12
|
|
13
|
-
sudo gem install mislav-will_paginate -s 'http://gems.github.com'
|
14
|
-
|
15
13
|
sudo gem install muck-engine
|
16
14
|
|
17
15
|
== Setup
|
18
|
-
Be sure to include the muck_engine tasks in your Rakefile:
|
19
|
-
|
20
|
-
require 'muck_engine'
|
21
|
-
require 'muck_engine/tasks'
|
22
16
|
|
23
17
|
Add a method to application_controller.rb that will determine which users have access to the admin section of the website
|
24
18
|
|
@@ -106,64 +100,6 @@ If you wish to enable jgrowl then add the following lines to application.js and
|
|
106
100
|
jQuery.jGrowl(msg, {sticky:true});
|
107
101
|
}
|
108
102
|
|
109
|
-
== Rake tasks
|
110
|
-
The muck engine comes with an abundance of rake tasks mostly meant for development of muck engines. If you want to use these tasks
|
111
|
-
be sure that you first do a sudo install muck-engine. Next define the muck gems you are using in a file RAILS_ROOT/lib/tasks/muck.rake.
|
112
|
-
Here's an example taken from the muck project:
|
113
|
-
|
114
|
-
require 'rake'
|
115
|
-
begin
|
116
|
-
require 'git'
|
117
|
-
rescue LoadError
|
118
|
-
puts "git gem not installed. If git functionality is required run 'sudo gem install git'"
|
119
|
-
end
|
120
|
-
require 'fileutils'
|
121
|
-
|
122
|
-
namespace :muck do
|
123
|
-
|
124
|
-
def muck_gems
|
125
|
-
['cms-lite', 'disguise', 'uploader', 'muck-solr', 'muck-raker', 'muck-engine',
|
126
|
-
'muck-users', 'muck-activities', 'muck-comments', 'muck-profiles', 'muck-friends',
|
127
|
-
'muck-contents', 'muck-blogs', 'muck-shares'] #'muck-invites'
|
128
|
-
end
|
129
|
-
|
130
|
-
desc 'Translate muck and all themes from English into all languages supported by Google'
|
131
|
-
task :translate => :environment do
|
132
|
-
puts 'translating muck'
|
133
|
-
system("babelphish -o -y #{RAILS_ROOT}/config/locales/en.yml")
|
134
|
-
theme_path = File.join(RAILS_ROOT, 'themes')
|
135
|
-
Dir.glob("#{theme_path}/*").each do |next_file|
|
136
|
-
if File.directory?(next_file)
|
137
|
-
file = File.join(next_file, 'locales', 'en.yml')
|
138
|
-
system("babelphish -o -y #{file}")
|
139
|
-
end
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
|
-
desc "Translate all muck related projects and gems"
|
144
|
-
task :translate_all do
|
145
|
-
Rake::Task[ "muck:translate" ].execute
|
146
|
-
Rake::Task[ "muck:translate_gems" ].execute
|
147
|
-
puts 'finished translations'
|
148
|
-
end
|
149
|
-
|
150
|
-
desc "Gets everything ready for a release. Translates muck + gems, release gems, commits gems translates muck, writes versions into muck and then commits muck. This takes a while"
|
151
|
-
task :prepare_release do
|
152
|
-
# Rake::Task[ "muck:commit_gems" ].execute
|
153
|
-
# Rake::Task[ "muck:pull_gems" ].execute
|
154
|
-
Rake::Task[ "muck:translate_all" ].execute
|
155
|
-
Rake::Task[ "muck:release_gems" ].execute
|
156
|
-
Rake::Task[ "muck:commit_gems" ].execute
|
157
|
-
Rake::Task[ "muck:push_gems" ].execute
|
158
|
-
Rake::Task[ "muck:versions" ].execute
|
159
|
-
# Commit and push muck
|
160
|
-
git_commit("#{projects_path}/muck", "Updated gem versions")
|
161
|
-
git_pull("#{projects_path}/muck")
|
162
|
-
git_push("#{projects_path}/muck")
|
163
|
-
puts "Don't forget to install the new gems on the server"
|
164
|
-
end
|
165
|
-
|
166
|
-
end
|
167
103
|
|
168
104
|
== Development Notes
|
169
105
|
es-CO.yml is missing a space on line 91:
|
@@ -174,4 +110,4 @@ should be:
|
|
174
110
|
record_invalid: "Falla de validación: {{errors}}"
|
175
111
|
|
176
112
|
|
177
|
-
Copyright (c) 2009 Tatemai, released under the MIT license
|
113
|
+
Copyright (c) 2009-2010 Tatemai, released under the MIT license
|
data/Rakefile
CHANGED
@@ -1,15 +1,20 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
|
+
require 'rspec/core/rake_task'
|
4
5
|
|
5
|
-
desc 'Default: run
|
6
|
-
task :default => :
|
6
|
+
desc 'Default: run specs.'
|
7
|
+
task :default => :spec
|
8
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
9
|
+
t.rspec_opts = ["--color", "-c", "-f progress", "-r test/rails_test/spec/spec_helper.rb"]
|
10
|
+
t.pattern = 'test/rails_test/spec/**/*_spec.rb'
|
11
|
+
end
|
7
12
|
|
8
|
-
desc 'Test the
|
9
|
-
Rake::TestTask.new(:
|
13
|
+
desc 'Test the muck-users gem.'
|
14
|
+
Rake::TestTask.new(:spec) do |t|
|
10
15
|
t.libs << 'lib'
|
11
|
-
t.libs << 'test/rails_root/
|
12
|
-
t.pattern = 'test/rails_root/
|
16
|
+
t.libs << 'test/rails_root/spec'
|
17
|
+
t.pattern = 'test/rails_root/spec/**/*_spec.rb'
|
13
18
|
t.verbose = true
|
14
19
|
end
|
15
20
|
|
@@ -29,7 +34,7 @@ rescue LoadError
|
|
29
34
|
end
|
30
35
|
end
|
31
36
|
|
32
|
-
desc 'Generate documentation for the
|
37
|
+
desc 'Generate documentation for the muck-engine plugin.'
|
33
38
|
Rake::RDocTask.new(:rdoc) do |rdoc|
|
34
39
|
rdoc.rdoc_dir = 'rdoc'
|
35
40
|
rdoc.title = 'MuckEngine'
|
@@ -40,7 +45,7 @@ end
|
|
40
45
|
|
41
46
|
desc 'Translate this gem'
|
42
47
|
task :translate do
|
43
|
-
file = File.join(File.dirname(__FILE__), 'locales', 'en.yml')
|
48
|
+
file = File.join(File.dirname(__FILE__), 'config', 'locales', 'en.yml')
|
44
49
|
system("babelphish -o -y #{file}")
|
45
50
|
end
|
46
51
|
|
@@ -50,14 +55,27 @@ begin
|
|
50
55
|
gemspec.name = "muck-engine"
|
51
56
|
gemspec.summary = "The base engine for the muck system."
|
52
57
|
gemspec.email = "justin@tatemae.com"
|
53
|
-
gemspec.homepage = "http://github.com/tatemae/
|
58
|
+
gemspec.homepage = "http://github.com/tatemae/muck-engine"
|
54
59
|
gemspec.description = "The base engine for the muck system. Contains common tables, custom for, css and javascript."
|
55
60
|
gemspec.authors = ["Justin Ball", "Joel Duffin"]
|
56
61
|
gemspec.rubyforge_project = 'muck-engine'
|
57
|
-
gemspec.add_dependency "validation_reflection"
|
58
|
-
gemspec.add_dependency "will_paginate"
|
59
|
-
gemspec.add_dependency "overlord"
|
62
|
+
gemspec.add_dependency "validation_reflection"
|
63
|
+
gemspec.add_dependency "will_paginate", '~> 3.0.beta'
|
64
|
+
gemspec.add_dependency "overlord"
|
65
|
+
gemspec.add_development_dependency "shoulda"
|
66
|
+
gemspec.add_development_dependency "rspec-rails", ">=2.0.0"
|
67
|
+
gemspec.add_development_dependency "cucumber-rails"
|
68
|
+
gemspec.add_development_dependency "autotest"
|
69
|
+
gemspec.add_development_dependency "capybara", ">= 0.3.9"
|
60
70
|
gemspec.add_development_dependency "shoulda"
|
71
|
+
gemspec.add_development_dependency "factory_girl"
|
72
|
+
gemspec.add_development_dependency "cucumber"
|
73
|
+
gemspec.add_development_dependency "rcov"
|
74
|
+
gemspec.add_development_dependency "rspec", ">=2.0.0"
|
75
|
+
gemspec.add_development_dependency "database_cleaner"
|
76
|
+
gemspec.add_development_dependency "spork"
|
77
|
+
gemspec.add_development_dependency "launchy"
|
78
|
+
gemspec.add_development_dependency "muck-users"
|
61
79
|
gemspec.add_development_dependency "git"
|
62
80
|
end
|
63
81
|
Jeweler::RubyforgeTasks.new do |rubyforge|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
3.0.3
|
@@ -14,12 +14,12 @@ module MuckEngineHelper
|
|
14
14
|
#
|
15
15
|
# message_dom_id: The dom id of the element that will hold messages.
|
16
16
|
# This element can have display:none by default.
|
17
|
-
def jquery_json_message(message_dom_id)
|
18
|
-
if
|
19
|
-
"jQuery('##{message_dom_id}').html(json.message);"
|
20
|
-
"jQuery('##{message_dom_id}').show();"
|
21
|
-
else
|
17
|
+
def jquery_json_message(message_dom_id = nil)
|
18
|
+
if MuckEngine.configuration.growl_enabled
|
22
19
|
"jQuery.jGrowl.info(json.message);"
|
20
|
+
else
|
21
|
+
"jQuery('##{message_dom_id}').html(json.message);" +
|
22
|
+
"jQuery('##{message_dom_id}').show();"
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -30,26 +30,16 @@ module MuckEngineHelper
|
|
30
30
|
render :partial => 'scripts/country_scripts'
|
31
31
|
end
|
32
32
|
|
33
|
-
def
|
33
|
+
def muck_form_for(record_or_name_or_array, *args, &proc)
|
34
34
|
options = args.detect { |argument| argument.is_a?(Hash) }
|
35
35
|
if options.nil?
|
36
|
-
options = {:builder =>
|
36
|
+
options = {:builder => MuckEngine::FormBuilder}
|
37
37
|
args << options
|
38
38
|
end
|
39
|
-
options[:builder] =
|
39
|
+
options[:builder] = MuckEngine::FormBuilder unless options.nil?
|
40
40
|
form_for(record_or_name_or_array, *args, &proc)
|
41
41
|
end
|
42
|
-
|
43
|
-
def custom_remote_form_for(record_or_name_or_array, *args, &proc)
|
44
|
-
options = args.detect { |argument| argument.is_a?(Hash) }
|
45
|
-
if options.nil?
|
46
|
-
options = {:builder => MuckCustomFormBuilder}
|
47
|
-
args << options
|
48
|
-
end
|
49
|
-
options[:builder] = MuckCustomFormBuilder unless options.nil?
|
50
|
-
remote_form_for(record_or_name_or_array, *args, &proc)
|
51
|
-
end
|
52
|
-
|
42
|
+
|
53
43
|
# generates javascript that will hide a link or button
|
54
44
|
# when click and then show a different dom object
|
55
45
|
def show_hide_on_click(id_to_show, id_to_hide)
|
@@ -139,39 +129,31 @@ module MuckEngineHelper
|
|
139
129
|
# Used inside of format.js to return a message to the client.
|
140
130
|
# If jGrowl is enabled the message will show up as a growl instead of a popup
|
141
131
|
def page_alert(message, title = '')
|
142
|
-
if
|
132
|
+
if MuckEngine.configuration.growl_enabled
|
143
133
|
"jQuery.jGrowl.error('" + message + "', {header:'" + title + "'});"
|
144
134
|
else
|
145
135
|
"alert(#{message});"
|
146
136
|
end
|
147
137
|
end
|
148
138
|
|
149
|
-
# Override link_to_remote so that instead of '#' the proper url is rendered
|
150
|
-
# This makes the link usable even if javascript is disabled
|
151
|
-
# See: http://www.intridea.com/2007/11/21/link_to_remote-unobtrusively
|
152
|
-
def link_to_remote(name, options = {}, html_options = {})
|
153
|
-
html_options.merge!({:href => url_for(options[:url])}) unless options[:url].blank?
|
154
|
-
super(name, options, html_options)
|
155
|
-
end
|
156
|
-
|
157
139
|
def locale_link(name, locale)
|
158
140
|
parts = request.host.split('.')
|
159
141
|
first_subdomain = parts.first
|
160
|
-
|
142
|
+
fullpath = request.fullpath
|
161
143
|
if first_subdomain == 'www' or Language.supported_locale?(first_subdomain)
|
162
|
-
link_to name, request.protocol + (locale == I18n.default_locale.to_s ? 'www' : locale) + '.' + parts[1..-1].join('.') + request.port_string +
|
144
|
+
link_to name, request.protocol + (locale == I18n.default_locale.to_s ? 'www' : locale) + '.' + parts[1..-1].join('.') + request.port_string + fullpath
|
163
145
|
elsif /^localhost/.match( request.host ) or /^(\d{1,3}\.){3}\d{1,3}$/.match( request.host )
|
164
|
-
if
|
165
|
-
if
|
166
|
-
link_to name, request.protocol + request.host_with_port +
|
146
|
+
if fullpath.include?('?')
|
147
|
+
if fullpath.include?('locale')
|
148
|
+
link_to name, request.protocol + request.host_with_port + fullpath.sub(/locale=.*/, 'locale=' + locale)
|
167
149
|
else
|
168
|
-
link_to name, request.protocol + request.host_with_port +
|
150
|
+
link_to name, request.protocol + request.host_with_port + fullpath + '&locale=' + locale
|
169
151
|
end
|
170
152
|
else
|
171
|
-
link_to name, request.protocol + request.host_with_port +
|
153
|
+
link_to name, request.protocol + request.host_with_port + fullpath + '?locale=' + locale
|
172
154
|
end
|
173
155
|
else
|
174
|
-
link_to name, request.protocol + (locale == I18n.default_locale.to_s ? 'www' : locale) + '.' + request.host_with_port +
|
156
|
+
link_to name, request.protocol + (locale == I18n.default_locale.to_s ? 'www' : locale) + '.' + request.host_with_port + fullpath
|
175
157
|
end
|
176
158
|
end
|
177
159
|
|
@@ -193,7 +175,7 @@ module MuckEngineHelper
|
|
193
175
|
# from http://snippets.dzone.com/posts/show/2483
|
194
176
|
def block_to_partial(partial_name, options = {}, &block)
|
195
177
|
options.merge!(:body => capture(&block))
|
196
|
-
|
178
|
+
render(:partial => partial_name, :locals => options)
|
197
179
|
end
|
198
180
|
|
199
181
|
# Take a block and renders that block within the context of a partial.
|
@@ -202,7 +184,7 @@ module MuckEngineHelper
|
|
202
184
|
# from http://snippets.dzone.com/posts/show/2483
|
203
185
|
def raw_block_to_partial(partial_name, options = {}, &block)
|
204
186
|
options.merge!(:block => block)
|
205
|
-
|
187
|
+
render(:partial => partial_name, :locals => options)
|
206
188
|
end
|
207
189
|
|
208
190
|
# Summarize html content by removing html
|
@@ -1,13 +1,13 @@
|
|
1
|
-
<%= pre_html %>
|
1
|
+
<%= (pre_html || '').html_safe %>
|
2
2
|
<% if is_checkbox -%>
|
3
3
|
<%= field_element %>
|
4
|
-
<%= label_element %>
|
5
|
-
<%= after_label_html %>
|
4
|
+
<%= label_element.html_safe %>
|
5
|
+
<%= (after_label_html || '').html_safe %>
|
6
6
|
<% else -%>
|
7
|
-
<%= label_element %>
|
8
|
-
<%= after_label_html %>
|
7
|
+
<%= label_element.html_safe %>
|
8
|
+
<%= (after_label_html || '').html_safe %>
|
9
9
|
<%= field_element %>
|
10
10
|
<% end -%>
|
11
11
|
<% if required -%><div id="<%= field_name %>_required" class="required-tip" style="display:none;"><em><%= I18n.t('muck.forms.please_enter_a_value', :label => label_name) %></em></div><% end -%>
|
12
12
|
<% if !hide_control_error && defined? error -%><div class="form_error_message"><%= error %></div><% end -%>
|
13
|
-
<%= extra_html %>
|
13
|
+
<%= (extra_html || '').html_safe %>
|
data/app/views/forms/_tips.erb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<div class="tip-text" style="display:none;"><%= tip %></div>
|
2
|
-
<div class="tip-title" style="display:none;"><%= tip_title || label_name %></div>
|
3
|
-
<div class="tip-position" style="display:none;"><%= tip_position %></div>
|
1
|
+
<div class="tip-text" style="display:none;"><%= (tip || '').html_safe %></div>
|
2
|
+
<div class="tip-title" style="display:none;"><%= (tip_title || label_name || '').html_safe %></div>
|
3
|
+
<div class="tip-position" style="display:none;"><%= (tip_position || '').html_safe %></div>
|
4
4
|
<% if tip_key -%>
|
5
5
|
<div class="tip-key" style="display:none;"><%= tip_key %></div>
|
6
6
|
<div class="tip-id" style="display:none;"><%= field_name %></div>
|
@@ -1,12 +1,12 @@
|
|
1
|
-
<title><%= @page_title ||
|
1
|
+
<title><%= @page_title || MuckEngine.configuration.application_name %></title>
|
2
2
|
<meta http-equiv="content-type" content="text/xhtml; charset=utf-8" />
|
3
|
-
<%= google_load_jquery_ui_css(http_protocol) %>
|
3
|
+
<%= google_load_jquery_ui_css(http_protocol, 'smoothness', '1.8.4') %>
|
4
4
|
<%= stylesheet_link_tag 'blueprint/print.css', :media => "print" %>
|
5
5
|
<!--[if IE]><link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
6
6
|
<%= stylesheet_link_tag %W{ reset styles blueprint/liquid_screen jquery/jquery.autocomplete jquery/jquery.fancybox fgmenu/fg.menu.css admin }, :cache => 'admin_styles' %>
|
7
|
-
<%= stylesheet_link_tag MuckEngine.muck_admin_css -%>
|
8
|
-
<%= google_load_jquery(http_protocol) %>
|
9
|
-
<%= google_load_jquery_ui(http_protocol) %>
|
7
|
+
<%= stylesheet_link_tag MuckEngine.configuration.muck_admin_css -%>
|
8
|
+
<%= google_load_jquery(http_protocol, '1.4.2') %>
|
9
|
+
<%= google_load_jquery_ui(http_protocol, '1.8.4') %>
|
10
10
|
<%= javascript_include_tag %w{
|
11
11
|
jquery/jquery.form.js
|
12
12
|
jquery/jquery.jgrowl.js
|
@@ -10,7 +10,7 @@
|
|
10
10
|
</div>
|
11
11
|
<div id="main-navigation" class="navigation">
|
12
12
|
<ul id="admin-nav">
|
13
|
-
<%= render :partial => 'layouts/admin/header_nav_item', :collection => MuckEngine.muck_admin_nav_items %>
|
13
|
+
<%= render :partial => 'layouts/admin/header_nav_item', :collection => MuckEngine.configuration.muck_admin_nav_items %>
|
14
14
|
</ul>
|
15
15
|
</div>
|
16
16
|
<div id="sub-header" class="span-24">
|
@@ -8,14 +8,14 @@
|
|
8
8
|
|
9
9
|
<p>Thanks very much,<br />
|
10
10
|
|
11
|
-
The <%=
|
11
|
+
The <%=MuckEngine.configuration.application_name%> Team</p>
|
12
12
|
|
13
13
|
<hr />
|
14
|
-
<p>Please add <%=
|
14
|
+
<p>Please add <%=MuckEngine.configuration.support_email%> to your email address book and “safe domain” lists.</p>
|
15
15
|
|
16
16
|
<p>
|
17
17
|
We respect your privacy; please view our privacy policy here:
|
18
|
-
<a href="http://<%=
|
18
|
+
<a href="http://<%=MuckEngine.configuration.application_url%>/privacy"><%=MuckEngine.configuration.application_url%>/privacy</a>
|
19
19
|
</p>
|
20
20
|
</body>
|
21
21
|
</html>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%= yield %>
|
2
|
+
|
3
|
+
Thanks very much,
|
4
|
+
|
5
|
+
The <%=MuckEngine.configuration.application_name%> Team
|
6
|
+
|
7
|
+
_______________________________________________________________________
|
8
|
+
|
9
|
+
|
10
|
+
Please add <%=MuckEngine.configuration.support_email%> to your email address book and “safe domain” lists.
|
11
|
+
|
12
|
+
We respect your privacy; please view our privacy policy here:
|
13
|
+
http://<%=MuckEngine.configuration.application_url%>/privacy
|
@@ -4,9 +4,9 @@
|
|
4
4
|
</script>
|
5
5
|
<script type="text/javascript">
|
6
6
|
try {
|
7
|
-
var pageTracker = _gat._getTracker("<%=
|
8
|
-
<% if
|
9
|
-
pageTracker._setDomainName("<%=
|
7
|
+
var pageTracker = _gat._getTracker("<%= MuckEngine.configuration.google_tracking_code %>");
|
8
|
+
<% if MuckEngine.configuration.google_tracking_set_domain -%>
|
9
|
+
pageTracker._setDomainName("<%= MuckEngine.configuration.google_tracking_set_domain %>");
|
10
10
|
<% end -%>
|
11
11
|
pageTracker._trackPageview();
|
12
12
|
} catch(err) {}</script>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<title><%= @page_title ||
|
1
|
+
<title><%= @page_title || MuckEngine.configuration.application_name %></title>
|
2
2
|
<meta http-equiv="content-type" content="text/xhtml; charset=utf-8" />
|
3
3
|
<meta http-equiv="imagetoolbar" content="no" />
|
4
4
|
<meta name="distribution" content="all" />
|
@@ -7,14 +7,14 @@
|
|
7
7
|
<meta name="MSSmartTagsPreventParsing" content="true" />
|
8
8
|
<%= stylesheet_link_tag 'blueprint/print.css', :media => "print" %>
|
9
9
|
<!--[if IE]><link rel="stylesheet" href="/stylesheets/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
10
|
-
<% if
|
11
|
-
<link rel="stylesheet" href="/stylesheets/jquery/
|
10
|
+
<% if MuckEngine.configuration.local_jquery -%>
|
11
|
+
<link rel="stylesheet" href="/stylesheets/jquery/smoothness/jquery-ui-1.8.4.custom.css" type="text/css" />
|
12
12
|
<script src="/javascripts/jquery/jquery.js" type="text/javascript"></script>
|
13
13
|
<script src="/javascripts/jquery/jquery-ui-1.8.4.custom.min.js" type="text/javascript"></script>
|
14
14
|
<% else -%>
|
15
|
-
<%= google_load_jquery_ui_css(http_protocol, '1.8.4') %>
|
15
|
+
<%= google_load_jquery_ui_css(http_protocol, 'smoothness', '1.8.4') %>
|
16
16
|
<%= google_load_jquery(http_protocol, '1.4.2') %>
|
17
|
-
<%= google_load_jquery_ui(http_protocol, '
|
17
|
+
<%= google_load_jquery_ui(http_protocol, '1.8.4') %>
|
18
18
|
<% end -%>
|
19
19
|
<%= stylesheet_link_tag %W{ reset styles blueprint/screen.css default }, :cache => true %>
|
20
20
|
<%= javascript_include_tag %w{
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<% if button_type == :text -%>
|
2
2
|
<%= link_to( button_text, :url => delete_path, :method => :delete, :html => { :class => 'muck_ajax_delete_control ajax-delete' }) %>
|
3
3
|
<% else -%>
|
4
|
-
|
4
|
+
<%= form_for(delete_object, :url => delete_path, :html => { :class => "ajax delete-form #{form_class}", :method => :delete } ) do |f| -%>
|
5
5
|
<% if button_type == :image -%>
|
6
6
|
<%= image_submit_tag '/images/icons/delete.png', :title => button_text, :width => '15', :height => '15', :alt => button_text, :class => 'muck_ajax_delete_control' %>
|
7
7
|
<% else -%>
|
@@ -1,3 +1,7 @@
|
|
1
1
|
<% if !field_error.nil? && field_error.errors.length > 0 -%>
|
2
|
-
<ul id="field-errors"
|
2
|
+
<ul id="field-errors">
|
3
|
+
<% field_error.errors.full_messages.each do |msg| -%>
|
4
|
+
<%= content_tag(:li, msg) %>
|
5
|
+
<% end -%>
|
6
|
+
</ul>
|
3
7
|
<% end -%>
|