rack-jquery_ui-themes 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +21 -0
- data/.travis.yml +12 -0
- data/CHANGES.md +17 -0
- data/Gemfile +26 -0
- data/JQUERY-UI-LICENCE.txt +26 -0
- data/LICENCE.txt +22 -0
- data/README.md +73 -0
- data/Rakefile +39 -0
- data/examples/config.rb +39 -0
- data/examples/config.ru +19 -0
- data/examples/views/google.haml +6 -0
- data/examples/views/index.haml +19 -0
- data/examples/views/layout_theme.haml +135 -0
- data/examples/views/mediatemple.haml +6 -0
- data/examples/views/microsoft.haml +6 -0
- data/examples/views/theme.haml +449 -0
- data/examples/views/themes_list.haml +3 -0
- data/examples/views/unspecified.haml +6 -0
- data/lib/rack/jquery_ui/themes.rb +152 -0
- data/lib/rack/jquery_ui/themes/version.rb +23 -0
- data/rack-jquery_ui-themes.gemspec +25 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/shared/all_pages.rb +14 -0
- data/spec/themes_spec.rb +159 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/jquery-ui.min.css +10 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/black-tie/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/blitzer/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/cupertino/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dark-hive/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/dot-luv/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/eggplant/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/excite-bike/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-icons_666666_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/flick/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/hot-sneaks/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/humanity/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/le-frog/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/mint-choc/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/overcast/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/pepper-grinder/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/redmond/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/smoothness/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/south-street/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_056b93_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/start/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/sunny/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/swanky-purse/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/trontastic/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-darkness/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/ui-lightness/jquery-ui.min.css +5 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/animated-overlay.gif +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_666666_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
- data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/vader/jquery-ui.min.css +5 -0
- metadata +542 -0
@@ -0,0 +1,152 @@
|
|
1
|
+
require "rack/jquery_ui/themes/version"
|
2
|
+
require "rack/jquery/helpers"
|
3
|
+
|
4
|
+
module Rack
|
5
|
+
|
6
|
+
class JQueryUI
|
7
|
+
|
8
|
+
# jQuery-UI themes' CDN script tags and fallback in one neat package.
|
9
|
+
class Themes
|
10
|
+
include JQuery::Helpers
|
11
|
+
|
12
|
+
JQUERY_UI_THEME_FILE = "jquery-ui.min.css"
|
13
|
+
|
14
|
+
# Script tags for the Media Temple CDN
|
15
|
+
MEDIA_TEMPLE = "<link rel='stylesheet' href='http://code.jquery.com/ui/#{JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/jquery-ui.css' type='text/css' />"
|
16
|
+
|
17
|
+
# Script tags for the Google CDN
|
18
|
+
GOOGLE = "<link rel='stylesheet' href='//ajax.googleapis.com/ajax/libs/jqueryui/#{JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/jquery-ui.css' type='text/css' />"
|
19
|
+
|
20
|
+
# Script tags for the Microsoft CDN
|
21
|
+
MICROSOFT = "<link rel='stylesheet' href='//ajax.microsoft.com/ajax/jquery.ui/#{JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/jquery-ui.css' type='text/css' />"
|
22
|
+
|
23
|
+
# This javascript checks if the jQuery-UI object has loaded. If not, that most likely means the CDN is unreachable, so it uses the local jQuery-UI theme.
|
24
|
+
FALLBACK = <<STR
|
25
|
+
<script type="text/javascript">
|
26
|
+
$.each(document.styleSheets, function(i,sheet){
|
27
|
+
if(sheet.href=='http://code.jquery.com/mobile/1.0b3/jquery.mobile-1.0b3.min.css') {
|
28
|
+
var rules = sheet.rules ? sheet.rules : sheet.cssRules;
|
29
|
+
if (rules.length == 0) {
|
30
|
+
$('<link rel="stylesheet" type="text/css" href="/js/jquery-ui/#{JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/#{JQUERY_UI_THEME_FILE}" />').appendTo('head');
|
31
|
+
}
|
32
|
+
}
|
33
|
+
})
|
34
|
+
</script>
|
35
|
+
STR
|
36
|
+
|
37
|
+
|
38
|
+
STANDARD_THEMES = %w{base black-tie blitzer cupertino dark-hive dot-luv eggplant excite-bike flick hot-sneaks humanity le-frog mint-choc overcast pepper-grinder redmond smoothness south-street start sunny swanky-purse trontastic ui-darkness ui-lightness vader}
|
39
|
+
|
40
|
+
|
41
|
+
def self.theme
|
42
|
+
@theme ||= "base"
|
43
|
+
end
|
44
|
+
|
45
|
+
|
46
|
+
def self.theme=( name )
|
47
|
+
fail ArgumentError, "That theme (#{name}) is unknown for this version of the rack-jquery_ui-themes library." unless STANDARD_THEMES.include? name
|
48
|
+
@theme = name
|
49
|
+
end
|
50
|
+
|
51
|
+
|
52
|
+
# @param [Symbol] :organisation Choose which CDN to use, either :google, :microsoft or :media_temple
|
53
|
+
# @param [Hash] opts
|
54
|
+
# @option opts [#to_s] :theme
|
55
|
+
# @return [String] The HTML script tags to get the CDN.
|
56
|
+
# @example
|
57
|
+
# Rack::JQueryUI::Themes.cdn :google, theme: "dot-luv"
|
58
|
+
def self.cdn( organisation=:google, opts={} )
|
59
|
+
theme = opts.fetch :theme, self.theme
|
60
|
+
fail ArgumentError, "That theme (#{theme}) is unknown for this version of the rack-jquery_ui-themes library." unless STANDARD_THEMES.include? theme
|
61
|
+
script = case organisation
|
62
|
+
when :media_temple then MEDIA_TEMPLE
|
63
|
+
when :microsoft then MICROSOFT
|
64
|
+
else GOOGLE
|
65
|
+
end
|
66
|
+
[script,FALLBACK].map{|x| x.sub(/\:THEME/, theme) }.join("\n")
|
67
|
+
end
|
68
|
+
|
69
|
+
|
70
|
+
# Default options hash for the middleware.
|
71
|
+
DEFAULT_APP_OPTIONS = {
|
72
|
+
:http_path => "/js/jquery-ui/#{JQueryUI::JQUERY_UI_VERSION}/themes/"
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
# @param [#call] app
|
77
|
+
# @param [Hash] options
|
78
|
+
# @option options [String] theme The theme to use. The default is "base".
|
79
|
+
# @option options [String] :http_path If you wish the jQuery CSS fallback route to be "/js/jquery-ui/1.10.1/base/jquery-ui.min.css" (or whichever version this is at) then do nothing, that's the default. If you want the path to be "/assets/javascripts/jquery-ui/1.10.1/base…" then pass in `:http_path => "/assets/javascripts/#{Rack::JQueryUI::JQUERY_UI_VERSION}".
|
80
|
+
# @note ***Don't leave out the version number!***. The scripts provided by jQuery don't contain the version in the filename like the jQuery scripts do, which means that organising them and sending the right headers back is bound to go wrong unless you put the version number somewhere in the route. You have been warned!
|
81
|
+
# @example
|
82
|
+
# # The default:
|
83
|
+
# use Rack::JQueryUI::Themes
|
84
|
+
def initialize( app, options={} )
|
85
|
+
@app, @options = app, DEFAULT_APP_OPTIONS.merge(options)
|
86
|
+
self.class.theme = options[:theme] unless options[:theme].nil?
|
87
|
+
@http_path_to_jquery_css = ::File.join(
|
88
|
+
@options[:http_path],
|
89
|
+
self.class.theme,
|
90
|
+
JQUERY_UI_THEME_FILE
|
91
|
+
)
|
92
|
+
@http_path_to_jquery_images = ::File.join(
|
93
|
+
@options[:http_path],
|
94
|
+
self.class.theme,
|
95
|
+
"images"
|
96
|
+
)
|
97
|
+
|
98
|
+
# set the path to all the assets
|
99
|
+
rel_path_to_vendor = "../../../../"
|
100
|
+
path_to_themes = "vendor/assets/javascripts/jquery-ui"
|
101
|
+
version_and_theme = "#{JQueryUI::JQUERY_UI_VERSION}/themes/#{self.class.theme}"
|
102
|
+
@path_to_theme = ::File.expand_path( ::File.join( rel_path_to_vendor, path_to_themes, version_and_theme ), __FILE__)
|
103
|
+
@path_to_images = ::File.join @path_to_theme, "images"
|
104
|
+
d = Dir.new(@path_to_images)
|
105
|
+
@images = d.entries.delete_if{|f| f =~ /^\./ }.select{|f|
|
106
|
+
Rack::Mime.mime_type(::File.extname(f), "text/css" ).start_with? "image"
|
107
|
+
}
|
108
|
+
end
|
109
|
+
|
110
|
+
|
111
|
+
# @param [Hash] env Rack request environment hash.
|
112
|
+
def call( env )
|
113
|
+
request = Rack::Request.new(env.dup)
|
114
|
+
|
115
|
+
# TODO path for images
|
116
|
+
|
117
|
+
# path for CSS
|
118
|
+
if request.path_info.start_with? @options[:http_path]
|
119
|
+
response = Rack::Response.new
|
120
|
+
if request.path_info.end_with? ::File.join(self.class.theme,JQUERY_UI_THEME_FILE)
|
121
|
+
# serve CSS
|
122
|
+
# for caching
|
123
|
+
response.headers.merge! caching_headers("#{JQUERY_UI_THEME_FILE}-#{self.class.theme}-#{JQueryUI::JQUERY_UI_VERSION}", JQueryUI::JQUERY_UI_VERSION_DATE)
|
124
|
+
# There's no need to test if the IF_MODIFIED_SINCE against the release date because the header will only be passed if the file was previously accessed by the requester, and the file is never updated. If it is updated then it is accessed by a different path.
|
125
|
+
requested_file = open(::File.join(@path_to_theme, JQUERY_UI_THEME_FILE ), "r")
|
126
|
+
elsif request.path_info =~ /images/ &&
|
127
|
+
(fin = request.path_info.split("/").last)
|
128
|
+
(img = @images.find{|img| img == fin })
|
129
|
+
# serve images
|
130
|
+
requested_file = open ::File.join( @path_to_images, img), "rb"
|
131
|
+
else # bad route
|
132
|
+
response.status = 404
|
133
|
+
return response.finish # finish early, 404
|
134
|
+
end
|
135
|
+
if request.env['HTTP_IF_MODIFIED_SINCE']
|
136
|
+
response.status = 304
|
137
|
+
else
|
138
|
+
response.status = 200
|
139
|
+
mime = Mime.mime_type(::File.extname(requested_file.path), 'text/css')
|
140
|
+
response.headers.merge!( "Content-Type" => mime ) if mime
|
141
|
+
response.write ::File.read( requested_file )
|
142
|
+
end
|
143
|
+
response.finish
|
144
|
+
else
|
145
|
+
@app.call(env)
|
146
|
+
end
|
147
|
+
end # call
|
148
|
+
|
149
|
+
|
150
|
+
end # Themes
|
151
|
+
end
|
152
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Rack
|
2
|
+
class JQueryUI
|
3
|
+
|
4
|
+
# This is here in case another rack-jquery_ui library has already been loaded.
|
5
|
+
jquery_ui_version = "1.10.1"
|
6
|
+
if defined? JQUERY_UI_VERSION
|
7
|
+
warn "JQUERY_UI_VERSION was already defined."
|
8
|
+
unless JQUERY_UI_VERSION == jquery_ui_version
|
9
|
+
warn "The JQUERY_UI_VERSION defined is #{JQUERY_UI_VERSION} but the version this library wants to use is #{jquery_ui_version}. You have been warned!"
|
10
|
+
end
|
11
|
+
else
|
12
|
+
JQUERY_UI_VERSION = jquery_ui_version
|
13
|
+
|
14
|
+
# This is the release date of the jQuery file, it makes an easy "Last-Modified" date for setting the headers around caching.
|
15
|
+
# @todo remember to change Last-Modified with each release!
|
16
|
+
JQUERY_UI_VERSION_DATE = "Fri, 15 Feb 2013 00:00:00 GMT"
|
17
|
+
end
|
18
|
+
|
19
|
+
class Themes
|
20
|
+
VERSION = "0.0.2"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rack/jquery_ui/themes/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rack-jquery_ui-themes"
|
8
|
+
spec.version = Rack::JQueryUI::Themes::VERSION
|
9
|
+
spec.authors = ["Iain Barnett"]
|
10
|
+
spec.email = ["iainspeed@gmail.com"]
|
11
|
+
spec.description = %q{jQuery-UI themes CDN script tags and fallback in one neat package. Current version is for jQuery-UI v#{Rack::JQueryUI::Themes::JQUERY_UI_VERSION}}
|
12
|
+
spec.summary = %q{The description says it all.}
|
13
|
+
spec.homepage = "https://github.com/yb66/rack-jquery_ui-themes"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.2"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_dependency("rack")
|
24
|
+
spec.add_dependency("rack-jquery-helpers")
|
25
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'rspec'
|
4
|
+
Spec_dir = File.expand_path( File.dirname __FILE__ )
|
5
|
+
|
6
|
+
|
7
|
+
# code coverage
|
8
|
+
require 'simplecov'
|
9
|
+
SimpleCov.start do
|
10
|
+
add_filter "/vendor/"
|
11
|
+
add_filter "/bin/"
|
12
|
+
add_filter "/spec/"
|
13
|
+
end
|
14
|
+
|
15
|
+
require "rack/test"
|
16
|
+
ENV['RACK_ENV'] ||= 'test'
|
17
|
+
ENV["EXPECT_WITH"] ||= "racktest"
|
18
|
+
|
19
|
+
|
20
|
+
Dir[ File.join( Spec_dir, "/support/**/*.rb")].each do |f|
|
21
|
+
require f
|
22
|
+
end
|
23
|
+
|
24
|
+
RSpec.configure do |config|
|
25
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
26
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
config_path = File.expand_path '../../../examples/config.rb', File.dirname(__FILE__)
|
4
|
+
require_relative config_path
|
5
|
+
|
6
|
+
shared_context "All routes" do
|
7
|
+
include Rack::Test::Methods
|
8
|
+
let(:app){ App }
|
9
|
+
end
|
10
|
+
|
11
|
+
shared_examples_for "Any route" do
|
12
|
+
subject { last_response }
|
13
|
+
it { should be_ok }
|
14
|
+
end
|
data/spec/themes_spec.rb
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
|
3
|
+
require 'spec_helper'
|
4
|
+
require_relative "../lib/rack/jquery_ui/themes.rb"
|
5
|
+
|
6
|
+
def subber( s, replacement={} )
|
7
|
+
replacement[:theme] ||= "base"
|
8
|
+
s.sub(/:THEME/,replacement[:theme])
|
9
|
+
end
|
10
|
+
|
11
|
+
shared_examples "Given an organisation and a theme" do
|
12
|
+
it { should == "#{subber cdn, theme}\n#{subber Rack::JQueryUI::Themes::FALLBACK, theme}" }
|
13
|
+
end
|
14
|
+
|
15
|
+
shared_context "Calling the CDN" do
|
16
|
+
subject { Rack::JQueryUI::Themes.cdn organisation, theme }
|
17
|
+
end
|
18
|
+
|
19
|
+
|
20
|
+
describe "The class methods" do
|
21
|
+
let(:opts) { theme.delete_if{|k,v| v.nil?} }
|
22
|
+
let(:theme) { {:theme => nil} }
|
23
|
+
subject { Rack::JQueryUI::Themes.cdn organisation, opts }
|
24
|
+
context "Given an organisation" do
|
25
|
+
context "of nil (the default)" do
|
26
|
+
let(:organisation) { nil }
|
27
|
+
let(:theme) { {:theme => nil} }
|
28
|
+
let(:cdn) { Rack::JQueryUI::Themes::GOOGLE }
|
29
|
+
include_examples "Given an organisation and a theme"
|
30
|
+
context "Given a theme" do
|
31
|
+
let(:theme) { { :theme => Rack::JQueryUI::Themes::STANDARD_THEMES.sample } }
|
32
|
+
include_context "Calling the CDN"
|
33
|
+
include_examples "Given an organisation and a theme"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
context "of :google" do
|
37
|
+
let(:organisation) { :google }
|
38
|
+
let(:cdn) { Rack::JQueryUI::Themes::GOOGLE }
|
39
|
+
include_examples "Given an organisation and a theme"
|
40
|
+
end
|
41
|
+
context "of :microsoft" do
|
42
|
+
let(:organisation) { :microsoft }
|
43
|
+
let(:cdn) { Rack::JQueryUI::Themes::MICROSOFT }
|
44
|
+
include_examples "Given an organisation and a theme"
|
45
|
+
end
|
46
|
+
context "of :media_temple" do
|
47
|
+
let(:organisation) { :media_temple }
|
48
|
+
let(:cdn) { Rack::JQueryUI::Themes::MEDIA_TEMPLE }
|
49
|
+
include_examples "Given an organisation and a theme"
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe "Inserting the CDN" do
|
55
|
+
let(:theme) { {:theme => "vader"} }
|
56
|
+
let(:expected) { subber cdn, theme }
|
57
|
+
include_context "All routes"
|
58
|
+
context "Check the examples run at all" do
|
59
|
+
before do
|
60
|
+
get "/"
|
61
|
+
end
|
62
|
+
it_should_behave_like "Any route"
|
63
|
+
end
|
64
|
+
context "Google CDN" do
|
65
|
+
before do
|
66
|
+
get "/google-cdn"
|
67
|
+
end
|
68
|
+
it_should_behave_like "Any route"
|
69
|
+
subject { last_response.body }
|
70
|
+
let(:cdn) { Rack::JQueryUI::Themes::GOOGLE }
|
71
|
+
it { should include expected }
|
72
|
+
end
|
73
|
+
context "Microsoft CDN" do
|
74
|
+
before do
|
75
|
+
get "/microsoft-cdn"
|
76
|
+
end
|
77
|
+
it_should_behave_like "Any route"
|
78
|
+
subject { last_response.body }
|
79
|
+
let(:cdn) { Rack::JQueryUI::Themes::MICROSOFT }
|
80
|
+
it { should include expected }
|
81
|
+
end
|
82
|
+
context "Media_temple CDN" do
|
83
|
+
before do
|
84
|
+
get "/media-temple-cdn"
|
85
|
+
end
|
86
|
+
it_should_behave_like "Any route"
|
87
|
+
subject { last_response.body }
|
88
|
+
let(:cdn) { Rack::JQueryUI::Themes::MEDIA_TEMPLE }
|
89
|
+
it { should include expected }
|
90
|
+
end
|
91
|
+
context "Unspecified CDN" do
|
92
|
+
before do
|
93
|
+
get "/"
|
94
|
+
end
|
95
|
+
it_should_behave_like "Any route"
|
96
|
+
subject { last_response.body }
|
97
|
+
let(:cdn) { Rack::JQueryUI::Themes::GOOGLE }
|
98
|
+
it { should include expected }
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
|
103
|
+
require 'timecop'
|
104
|
+
require 'time'
|
105
|
+
|
106
|
+
describe "Serving the fallback jquery" do
|
107
|
+
include_context "All routes"
|
108
|
+
let(:theme) { {:theme => "vader"} }
|
109
|
+
context "Single request" do
|
110
|
+
context "for route that doesn't exist" do
|
111
|
+
let(:url) { "/js/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/blah/#{Rack::JQueryUI::Themes::JQUERY_UI_THEME_FILE}"}
|
112
|
+
before do
|
113
|
+
get url
|
114
|
+
end
|
115
|
+
subject { last_response.status }
|
116
|
+
it { should == 404 }
|
117
|
+
end
|
118
|
+
context "for CSS" do
|
119
|
+
let(:url) { subber "/js/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/#{Rack::JQueryUI::Themes::JQUERY_UI_THEME_FILE}", theme }
|
120
|
+
before do
|
121
|
+
get url
|
122
|
+
end
|
123
|
+
it_should_behave_like "Any route"
|
124
|
+
subject { last_response.body }
|
125
|
+
it { should start_with "/*! jQuery UI - v#{Rack::JQueryUI::JQUERY_UI_VERSION}" }
|
126
|
+
end
|
127
|
+
context "for an image" do
|
128
|
+
ex_path = File.expand_path "../../vendor/assets/javascripts/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/images", __FILE__
|
129
|
+
img = Dir.new( ex_path ).entries.find{|f| f =~ /\.png$/ }
|
130
|
+
let(:url) { "/js/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/images/#{img}" }
|
131
|
+
before do
|
132
|
+
get url
|
133
|
+
end
|
134
|
+
it_should_behave_like "Any route"
|
135
|
+
subject { last_response.body }
|
136
|
+
it { should_not be_nil }
|
137
|
+
end
|
138
|
+
end
|
139
|
+
context "Re requests" do
|
140
|
+
before do
|
141
|
+
at_start = Time.parse(Rack::JQueryUI::JQUERY_UI_VERSION_DATE) + 60 * 60 * 24 * 180
|
142
|
+
Timecop.freeze at_start
|
143
|
+
get url
|
144
|
+
Timecop.travel Time.now + 86400 # add a day
|
145
|
+
get url, {}, {"HTTP_IF_MODIFIED_SINCE" => Rack::Utils.rfc2109(at_start) }
|
146
|
+
end
|
147
|
+
subject { last_response }
|
148
|
+
context "for CSS" do
|
149
|
+
let(:url) { subber "/js/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/:THEME/#{Rack::JQueryUI::Themes::JQUERY_UI_THEME_FILE}", theme }
|
150
|
+
its(:status) { should == 304 }
|
151
|
+
end
|
152
|
+
context "for an image" do
|
153
|
+
ex_path = File.expand_path "../../vendor/assets/javascripts/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/images", __FILE__
|
154
|
+
img = Dir.new( ex_path ).entries.find{|f| f =~ /\.png$/ }
|
155
|
+
let(:url) { "/js/jquery-ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/images/#{img}" }
|
156
|
+
its(:status) { should == 304 }
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_flat_75_ffffff_40x100.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_65_ffffff_1x400.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_75_dadada_1x400.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png
ADDED
Binary file
|
data/vendor/assets/javascripts/jquery-ui/1.10.1/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png
ADDED
Binary file
|
Binary file
|