compass-jquery-plugin 0.3.0.beta.26 → 0.3.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +1 -52
- data/VERSION.yml +1 -1
- data/compass-jquery-plugin.gemspec +6 -407
- data/gem_tasks/jrails.rake +84 -85
- data/gem_tasks/rubygems.rake +9 -1
- data/templates/jqtouch/config/initializers/jqtouch.rb +1 -1
- data/templates/jrails/config/initializers/jrails.rb +3 -3
- data/templates/jrails/{jquery-ui-1.8.6.js → jquery-ui.js} +0 -0
- data/templates/jrails/{jquery-ui-1.8.6.min.js → jquery-ui.min.js} +0 -0
- data/templates/jrails/{jquery-1.4.4.js → jquery.js} +360 -284
- data/templates/jrails/jquery.min.js +151 -0
- data/templates/jrails/manifest.rb +4 -4
- metadata +9 -410
- data/gem_tasks/jqgrid.rake +0 -119
- data/gem_tasks/mobile.rake +0 -144
- data/gem_tasks/secret_sauce.rake +0 -64
- data/lib/jquery/gridify/assertions.rb +0 -37
- data/lib/jquery/gridify/grid.rb +0 -147
- data/lib/jquery/gridify/grid_column.rb +0 -134
- data/lib/jquery/gridify/grid_finder.rb +0 -223
- data/lib/jquery/gridify/grid_options.rb +0 -279
- data/lib/jquery/gridify/grid_view.rb +0 -435
- data/lib/jquery/gridify.rb +0 -42
- data/lib/jquery/jqgrid/jqgrid.rb +0 -438
- data/lib/jquery/jqgrid.rb +0 -5
- data/lib/jquery/mobile.rb +0 -3
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +0 -14
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +0 -18
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +0 -6
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +0 -118
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +0 -226
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +0 -42
- data/lib/jquery/secret_sauce.rb +0 -9
- data/templates/jqgrid/config/initializers/jqgrid.rb +0 -4
- data/templates/jqgrid/config/locales/jquery/jqgrid/de.yml +0 -7
- data/templates/jqgrid/config/locales/jquery/jqgrid/en.yml +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-bg.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cat.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +0 -132
- data/templates/jqgrid/i18n/jqgrid/locale-cn.min.js +0 -5
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-cs.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-da.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +0 -133
- data/templates/jqgrid/i18n/jqgrid/locale-de.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-el.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-en.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +0 -128
- data/templates/jqgrid/i18n/jqgrid/locale-es.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +0 -125
- data/templates/jqgrid/i18n/jqgrid/locale-fa.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +0 -130
- data/templates/jqgrid/i18n/jqgrid/locale-fi.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-gl.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-he.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +0 -129
- data/templates/jqgrid/i18n/jqgrid/locale-hu.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-is.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +0 -1
- data/templates/jqgrid/i18n/jqgrid/locale-it.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +0 -155
- data/templates/jqgrid/i18n/jqgrid/locale-ja.min.js +0 -5
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +0 -149
- data/templates/jqgrid/i18n/jqgrid/locale-nl.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +0 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-pl.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +0 -125
- data/templates/jqgrid/i18n/jqgrid/locale-pt.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +0 -139
- data/templates/jqgrid/i18n/jqgrid/locale-ro.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ru.min.js +0 -7
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sk.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sv.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +0 -126
- data/templates/jqgrid/i18n/jqgrid/locale-tr.min.js +0 -6
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +0 -127
- data/templates/jqgrid/i18n/jqgrid/locale-ua.min.js +0 -7
- data/templates/jqgrid/jquery/jqGrid.scss +0 -692
- data/templates/jqgrid/jquery.jqGrid.js +0 -11576
- data/templates/jqgrid/jquery.jqGrid.min.js +0 -472
- data/templates/jqgrid/manifest.rb +0 -70
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +0 -13
- data/templates/jrails/jquery-1.4.4.min.js +0 -152
- data/templates/mobile/config/initializers/mobile.rb +0 -6
- data/templates/mobile/glyphish/Read me first - license.txt +0 -14
- data/templates/mobile/glyphish/icons/01-refresh.png +0 -0
- data/templates/mobile/glyphish/icons/02-redo.png +0 -0
- data/templates/mobile/glyphish/icons/03-loopback.png +0 -0
- data/templates/mobile/glyphish/icons/04-squiggle.png +0 -0
- data/templates/mobile/glyphish/icons/05-shuffle.png +0 -0
- data/templates/mobile/glyphish/icons/06-magnifying-glass.png +0 -0
- data/templates/mobile/glyphish/icons/07-map-marker.png +0 -0
- data/templates/mobile/glyphish/icons/08-chat.png +0 -0
- data/templates/mobile/glyphish/icons/09-chat2.png +0 -0
- data/templates/mobile/glyphish/icons/10-medical.png +0 -0
- data/templates/mobile/glyphish/icons/100-coffee.png +0 -0
- data/templates/mobile/glyphish/icons/101-gameplan.png +0 -0
- data/templates/mobile/glyphish/icons/102-walk.png +0 -0
- data/templates/mobile/glyphish/icons/103-map.png +0 -0
- data/templates/mobile/glyphish/icons/104-index-cards.png +0 -0
- data/templates/mobile/glyphish/icons/105-piano.png +0 -0
- data/templates/mobile/glyphish/icons/106-sliders.png +0 -0
- data/templates/mobile/glyphish/icons/107-widescreen.png +0 -0
- data/templates/mobile/glyphish/icons/108-badge.png +0 -0
- data/templates/mobile/glyphish/icons/109-chicken.png +0 -0
- data/templates/mobile/glyphish/icons/11-clock.png +0 -0
- data/templates/mobile/glyphish/icons/110-bug.png +0 -0
- data/templates/mobile/glyphish/icons/111-user.png +0 -0
- data/templates/mobile/glyphish/icons/112-group.png +0 -0
- data/templates/mobile/glyphish/icons/113-navigation.png +0 -0
- data/templates/mobile/glyphish/icons/114-balloon.png +0 -0
- data/templates/mobile/glyphish/icons/115-bow-and-arrow.png +0 -0
- data/templates/mobile/glyphish/icons/116-controller.png +0 -0
- data/templates/mobile/glyphish/icons/117-todo.png +0 -0
- data/templates/mobile/glyphish/icons/118-coathanger.png +0 -0
- data/templates/mobile/glyphish/icons/119-piggybank.png +0 -0
- data/templates/mobile/glyphish/icons/12-eye.png +0 -0
- data/templates/mobile/glyphish/icons/120-headphones.png +0 -0
- data/templates/mobile/glyphish/icons/121-lanscape.png +0 -0
- data/templates/mobile/glyphish/icons/122-stats.png +0 -0
- data/templates/mobile/glyphish/icons/123-id-card.png +0 -0
- data/templates/mobile/glyphish/icons/124-bullhorn.png +0 -0
- data/templates/mobile/glyphish/icons/125-food.png +0 -0
- data/templates/mobile/glyphish/icons/126-moon.png +0 -0
- data/templates/mobile/glyphish/icons/127-sock.png +0 -0
- data/templates/mobile/glyphish/icons/128-bone.png +0 -0
- data/templates/mobile/glyphish/icons/129-golf.png +0 -0
- data/templates/mobile/glyphish/icons/13-target.png +0 -0
- data/templates/mobile/glyphish/icons/130-dice.png +0 -0
- data/templates/mobile/glyphish/icons/14-tag.png +0 -0
- data/templates/mobile/glyphish/icons/15-tags.png +0 -0
- data/templates/mobile/glyphish/icons/16-line-chart.png +0 -0
- data/templates/mobile/glyphish/icons/17-bar-chart.png +0 -0
- data/templates/mobile/glyphish/icons/18-envelope.png +0 -0
- data/templates/mobile/glyphish/icons/19-gear.png +0 -0
- data/templates/mobile/glyphish/icons/20-gear2.png +0 -0
- data/templates/mobile/glyphish/icons/21-skull.png +0 -0
- data/templates/mobile/glyphish/icons/22-skull-n-crossbones.png +0 -0
- data/templates/mobile/glyphish/icons/23-bird.png +0 -0
- data/templates/mobile/glyphish/icons/24-gift.png +0 -0
- data/templates/mobile/glyphish/icons/25-weather.png +0 -0
- data/templates/mobile/glyphish/icons/26-bandaid.png +0 -0
- data/templates/mobile/glyphish/icons/27-planet.png +0 -0
- data/templates/mobile/glyphish/icons/28-star.png +0 -0
- data/templates/mobile/glyphish/icons/29-heart.png +0 -0
- data/templates/mobile/glyphish/icons/30-key.png +0 -0
- data/templates/mobile/glyphish/icons/31-ipod.png +0 -0
- data/templates/mobile/glyphish/icons/32-iphone.png +0 -0
- data/templates/mobile/glyphish/icons/33-cabinet.png +0 -0
- data/templates/mobile/glyphish/icons/34-coffee.png +0 -0
- data/templates/mobile/glyphish/icons/35-shopping-bag.png +0 -0
- data/templates/mobile/glyphish/icons/36-toolbox.png +0 -0
- data/templates/mobile/glyphish/icons/37-suitcase.png +0 -0
- data/templates/mobile/glyphish/icons/38-airplane.png +0 -0
- data/templates/mobile/glyphish/icons/39-spraycan.png +0 -0
- data/templates/mobile/glyphish/icons/40-inbox.png +0 -0
- data/templates/mobile/glyphish/icons/41-picture-frame.png +0 -0
- data/templates/mobile/glyphish/icons/42-photos.png +0 -0
- data/templates/mobile/glyphish/icons/43-film-roll.png +0 -0
- data/templates/mobile/glyphish/icons/44-shoebox.png +0 -0
- data/templates/mobile/glyphish/icons/45-movie1.png +0 -0
- data/templates/mobile/glyphish/icons/46-movie2.png +0 -0
- data/templates/mobile/glyphish/icons/47-fuel.png +0 -0
- data/templates/mobile/glyphish/icons/48-fork-and-knife.png +0 -0
- data/templates/mobile/glyphish/icons/49-battery.png +0 -0
- data/templates/mobile/glyphish/icons/50-beaker.png +0 -0
- data/templates/mobile/glyphish/icons/51-outlet.png +0 -0
- data/templates/mobile/glyphish/icons/52-pinetree.png +0 -0
- data/templates/mobile/glyphish/icons/53-house.png +0 -0
- data/templates/mobile/glyphish/icons/54-lock.png +0 -0
- data/templates/mobile/glyphish/icons/55-network.png +0 -0
- data/templates/mobile/glyphish/icons/56-cloud.png +0 -0
- data/templates/mobile/glyphish/icons/57-download.png +0 -0
- data/templates/mobile/glyphish/icons/58-bookmark.png +0 -0
- data/templates/mobile/glyphish/icons/59-flag.png +0 -0
- data/templates/mobile/glyphish/icons/60-signpost.png +0 -0
- data/templates/mobile/glyphish/icons/61-brightness.png +0 -0
- data/templates/mobile/glyphish/icons/62-contrast.png +0 -0
- data/templates/mobile/glyphish/icons/63-runner.png +0 -0
- data/templates/mobile/glyphish/icons/64-zap.png +0 -0
- data/templates/mobile/glyphish/icons/65-note.png +0 -0
- data/templates/mobile/glyphish/icons/66-microphone.png +0 -0
- data/templates/mobile/glyphish/icons/67-tshirt.png +0 -0
- data/templates/mobile/glyphish/icons/68-paperclip.png +0 -0
- data/templates/mobile/glyphish/icons/69-display.png +0 -0
- data/templates/mobile/glyphish/icons/70-tv.png +0 -0
- data/templates/mobile/glyphish/icons/71-compass.png +0 -0
- data/templates/mobile/glyphish/icons/72-pin.png +0 -0
- data/templates/mobile/glyphish/icons/73-radar.png +0 -0
- data/templates/mobile/glyphish/icons/74-location.png +0 -0
- data/templates/mobile/glyphish/icons/75-phone.png +0 -0
- data/templates/mobile/glyphish/icons/76-baby.png +0 -0
- data/templates/mobile/glyphish/icons/77-ekg.png +0 -0
- data/templates/mobile/glyphish/icons/78-stopwatch.png +0 -0
- data/templates/mobile/glyphish/icons/79-medical-bag.png +0 -0
- data/templates/mobile/glyphish/icons/80-shopping-cart.png +0 -0
- data/templates/mobile/glyphish/icons/81-dashboard.png +0 -0
- data/templates/mobile/glyphish/icons/82-dogpaw.png +0 -0
- data/templates/mobile/glyphish/icons/83-calendar.png +0 -0
- data/templates/mobile/glyphish/icons/84-lightbulb.png +0 -0
- data/templates/mobile/glyphish/icons/85-trophy.png +0 -0
- data/templates/mobile/glyphish/icons/86-camera.png +0 -0
- data/templates/mobile/glyphish/icons/87-wineglass.png +0 -0
- data/templates/mobile/glyphish/icons/88-beermug.png +0 -0
- data/templates/mobile/glyphish/icons/89-dumbbell.png +0 -0
- data/templates/mobile/glyphish/icons/90-lifebuoy.png +0 -0
- data/templates/mobile/glyphish/icons/91-beaker2.png +0 -0
- data/templates/mobile/glyphish/icons/92-testtube.png +0 -0
- data/templates/mobile/glyphish/icons/93-thermometer.png +0 -0
- data/templates/mobile/glyphish/icons/94-pill.png +0 -0
- data/templates/mobile/glyphish/icons/95-equalizer.png +0 -0
- data/templates/mobile/glyphish/icons/96-book.png +0 -0
- data/templates/mobile/glyphish/icons/97-puzzle.png +0 -0
- data/templates/mobile/glyphish/icons/98-palette.png +0 -0
- data/templates/mobile/glyphish/icons/99-umbrella.png +0 -0
- data/templates/mobile/glyphish/mini-icons/01-refresh.png +0 -0
- data/templates/mobile/glyphish/mini-icons/02-redo.png +0 -0
- data/templates/mobile/glyphish/mini-icons/03-loopback.png +0 -0
- data/templates/mobile/glyphish/mini-icons/04-squiggle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/05-shuffle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/06-magnifying-glass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/07-map-marker.png +0 -0
- data/templates/mobile/glyphish/mini-icons/08-chat.png +0 -0
- data/templates/mobile/glyphish/mini-icons/09-chat2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/10-medical.png +0 -0
- data/templates/mobile/glyphish/mini-icons/100-coffee.png +0 -0
- data/templates/mobile/glyphish/mini-icons/101-gameplan.png +0 -0
- data/templates/mobile/glyphish/mini-icons/102-walk.png +0 -0
- data/templates/mobile/glyphish/mini-icons/103-map.png +0 -0
- data/templates/mobile/glyphish/mini-icons/104-index-cards.png +0 -0
- data/templates/mobile/glyphish/mini-icons/105-piano.png +0 -0
- data/templates/mobile/glyphish/mini-icons/106-sliders.png +0 -0
- data/templates/mobile/glyphish/mini-icons/107-widescreen.png +0 -0
- data/templates/mobile/glyphish/mini-icons/108-badge.png +0 -0
- data/templates/mobile/glyphish/mini-icons/109-chicken.png +0 -0
- data/templates/mobile/glyphish/mini-icons/11-clock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/110-bug.png +0 -0
- data/templates/mobile/glyphish/mini-icons/111-user.png +0 -0
- data/templates/mobile/glyphish/mini-icons/112-group.png +0 -0
- data/templates/mobile/glyphish/mini-icons/113-navigation.png +0 -0
- data/templates/mobile/glyphish/mini-icons/114-balloon.png +0 -0
- data/templates/mobile/glyphish/mini-icons/115-bow-and-arrow.png +0 -0
- data/templates/mobile/glyphish/mini-icons/116-controller.png +0 -0
- data/templates/mobile/glyphish/mini-icons/117-todo.png +0 -0
- data/templates/mobile/glyphish/mini-icons/118-coathanger.png +0 -0
- data/templates/mobile/glyphish/mini-icons/119-piggybank.png +0 -0
- data/templates/mobile/glyphish/mini-icons/12-eye.png +0 -0
- data/templates/mobile/glyphish/mini-icons/120-headphones.png +0 -0
- data/templates/mobile/glyphish/mini-icons/121-lanscape.png +0 -0
- data/templates/mobile/glyphish/mini-icons/122-stats.png +0 -0
- data/templates/mobile/glyphish/mini-icons/123-id-card.png +0 -0
- data/templates/mobile/glyphish/mini-icons/124-bullhorn.png +0 -0
- data/templates/mobile/glyphish/mini-icons/125-food.png +0 -0
- data/templates/mobile/glyphish/mini-icons/126-moon.png +0 -0
- data/templates/mobile/glyphish/mini-icons/127-sock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/128-bone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/129-golf.png +0 -0
- data/templates/mobile/glyphish/mini-icons/13-target.png +0 -0
- data/templates/mobile/glyphish/mini-icons/130-dice.png +0 -0
- data/templates/mobile/glyphish/mini-icons/14-tag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/15-tags.png +0 -0
- data/templates/mobile/glyphish/mini-icons/16-line-chart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/17-bar-chart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/18-envelope.png +0 -0
- data/templates/mobile/glyphish/mini-icons/19-gear.png +0 -0
- data/templates/mobile/glyphish/mini-icons/20-gear2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/21-skull.png +0 -0
- data/templates/mobile/glyphish/mini-icons/22-skull-n-crossbones.png +0 -0
- data/templates/mobile/glyphish/mini-icons/23-bird.png +0 -0
- data/templates/mobile/glyphish/mini-icons/24-gift.png +0 -0
- data/templates/mobile/glyphish/mini-icons/25-weather.png +0 -0
- data/templates/mobile/glyphish/mini-icons/26-bandaid.png +0 -0
- data/templates/mobile/glyphish/mini-icons/27-planet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/28-star.png +0 -0
- data/templates/mobile/glyphish/mini-icons/29-heart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/30-key.png +0 -0
- data/templates/mobile/glyphish/mini-icons/31-ipod.png +0 -0
- data/templates/mobile/glyphish/mini-icons/32-iphone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/33-cabinet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/34-coffee.png +0 -0
- data/templates/mobile/glyphish/mini-icons/35-shopping-bag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/36-toolbox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/37-suitcase.png +0 -0
- data/templates/mobile/glyphish/mini-icons/38-airplane.png +0 -0
- data/templates/mobile/glyphish/mini-icons/39-spraycan.png +0 -0
- data/templates/mobile/glyphish/mini-icons/40-inbox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/41-picture-frame.png +0 -0
- data/templates/mobile/glyphish/mini-icons/42-photos.png +0 -0
- data/templates/mobile/glyphish/mini-icons/43-film-roll.png +0 -0
- data/templates/mobile/glyphish/mini-icons/44-shoebox.png +0 -0
- data/templates/mobile/glyphish/mini-icons/45-movie1.png +0 -0
- data/templates/mobile/glyphish/mini-icons/46-movie2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/47-fuel.png +0 -0
- data/templates/mobile/glyphish/mini-icons/48-fork-and-knife.png +0 -0
- data/templates/mobile/glyphish/mini-icons/49-battery.png +0 -0
- data/templates/mobile/glyphish/mini-icons/50-beaker.png +0 -0
- data/templates/mobile/glyphish/mini-icons/51-outlet.png +0 -0
- data/templates/mobile/glyphish/mini-icons/52-pinetree.png +0 -0
- data/templates/mobile/glyphish/mini-icons/53-house.png +0 -0
- data/templates/mobile/glyphish/mini-icons/54-lock.png +0 -0
- data/templates/mobile/glyphish/mini-icons/55-network.png +0 -0
- data/templates/mobile/glyphish/mini-icons/56-cloud.png +0 -0
- data/templates/mobile/glyphish/mini-icons/57-download.png +0 -0
- data/templates/mobile/glyphish/mini-icons/58-bookmark.png +0 -0
- data/templates/mobile/glyphish/mini-icons/59-flag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/60-signpost.png +0 -0
- data/templates/mobile/glyphish/mini-icons/61-brightness.png +0 -0
- data/templates/mobile/glyphish/mini-icons/62-contrast.png +0 -0
- data/templates/mobile/glyphish/mini-icons/63-runner.png +0 -0
- data/templates/mobile/glyphish/mini-icons/64-zap.png +0 -0
- data/templates/mobile/glyphish/mini-icons/65-note.png +0 -0
- data/templates/mobile/glyphish/mini-icons/66-microphone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/67-tshirt.png +0 -0
- data/templates/mobile/glyphish/mini-icons/68-paperclip.png +0 -0
- data/templates/mobile/glyphish/mini-icons/69-display.png +0 -0
- data/templates/mobile/glyphish/mini-icons/70-tv.png +0 -0
- data/templates/mobile/glyphish/mini-icons/71-compass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/72-pin.png +0 -0
- data/templates/mobile/glyphish/mini-icons/73-radar.png +0 -0
- data/templates/mobile/glyphish/mini-icons/74-location.png +0 -0
- data/templates/mobile/glyphish/mini-icons/75-phone.png +0 -0
- data/templates/mobile/glyphish/mini-icons/76-baby.png +0 -0
- data/templates/mobile/glyphish/mini-icons/77-ekg.png +0 -0
- data/templates/mobile/glyphish/mini-icons/78-stopwatch.png +0 -0
- data/templates/mobile/glyphish/mini-icons/79-medical-bag.png +0 -0
- data/templates/mobile/glyphish/mini-icons/80-shopping-cart.png +0 -0
- data/templates/mobile/glyphish/mini-icons/81-dashboard.png +0 -0
- data/templates/mobile/glyphish/mini-icons/82-dogpaw.png +0 -0
- data/templates/mobile/glyphish/mini-icons/83-calendar.png +0 -0
- data/templates/mobile/glyphish/mini-icons/84-lightbulb.png +0 -0
- data/templates/mobile/glyphish/mini-icons/85-trophy.png +0 -0
- data/templates/mobile/glyphish/mini-icons/86-camera.png +0 -0
- data/templates/mobile/glyphish/mini-icons/87-wineglass.png +0 -0
- data/templates/mobile/glyphish/mini-icons/88-beermug.png +0 -0
- data/templates/mobile/glyphish/mini-icons/89-dumbbell.png +0 -0
- data/templates/mobile/glyphish/mini-icons/90-lifebuoy.png +0 -0
- data/templates/mobile/glyphish/mini-icons/91-beaker2.png +0 -0
- data/templates/mobile/glyphish/mini-icons/92-testtube.png +0 -0
- data/templates/mobile/glyphish/mini-icons/93-thermometer.png +0 -0
- data/templates/mobile/glyphish/mini-icons/94-pill.png +0 -0
- data/templates/mobile/glyphish/mini-icons/95-equalizer.png +0 -0
- data/templates/mobile/glyphish/mini-icons/96-book.png +0 -0
- data/templates/mobile/glyphish/mini-icons/97-puzzle.png +0 -0
- data/templates/mobile/glyphish/mini-icons/98-palette.png +0 -0
- data/templates/mobile/glyphish/mini-icons/99-umbrella.png +0 -0
- data/templates/mobile/jquery/mobile/_base.scss +0 -1325
- data/templates/mobile/jquery/mobile/default/ajax-loader.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/default/form-radio-on.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-down.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-left.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-right.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-arrow-white-up.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-delete.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-minus-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-plus-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icon-search-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/default/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/default.scss +0 -742
- data/templates/mobile/jquery/mobile/valencia/ajax-loader.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-check-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-off.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/form-radio-on.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-down.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-left.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-right.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-arrow-white-up.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-delete.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-minus-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-plus-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icon-search-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-18-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-black.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/icons-36-white.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/texture_05.png +0 -0
- data/templates/mobile/jquery/mobile/valencia/texture_075.png +0 -0
- data/templates/mobile/jquery/mobile/valencia.scss +0 -804
- data/templates/mobile/jquery.mobile.js +0 -3390
- data/templates/mobile/jquery.mobile.min.js +0 -28
- data/templates/mobile/lib/tasks/jquery.mobile.rake +0 -106
- data/templates/mobile/manifest.rb +0 -307
- data/templates/secret_sauce/app/views/shared/_ui_form_error_messages.html.haml +0 -6
- data/templates/secret_sauce/app/views/shared/_ui_grid_for_without_block.js.haml +0 -144
- data/templates/secret_sauce/app/views/shared/_ui_static_dialog.html.haml +0 -6
- data/templates/secret_sauce/config/initializers/secret_sauce.rb +0 -8
- data/templates/secret_sauce/jquery/secret_sauce.scss +0 -33
- data/templates/secret_sauce/manifest.rb +0 -10
- data/templates/secret_sauce/secret_sauce.js +0 -12
- data/templates/secret_sauce/secret_sauce.min.js +0 -1
data/gem_tasks/jrails.rake
CHANGED
@@ -8,6 +8,7 @@ JRAILS_SRC = File.join(SRC, 'jrails')
|
|
8
8
|
JRAILS_SRC_SCRIPTS = JRAILS_SRC + "/*.js"
|
9
9
|
|
10
10
|
JQUERY_SRC = File.join(SRC, 'jquery')
|
11
|
+
JQUERY_SRC_SIZZLE = File.join(JQUERY_SRC, 'sizzle')
|
11
12
|
|
12
13
|
JQUERY_UI_SRC = File.join(SRC, 'jquery.ui')
|
13
14
|
JQUERY_UI_SRC_SCRIPTS = File.join(JQUERY_UI_SRC, 'js') + "/*.js"
|
@@ -25,7 +26,6 @@ FLASH_SRC_JS_SCRIPTS = FLASH_SRC + "/*.js"
|
|
25
26
|
FLASH_SRC_IMAGES = File.join(FLASH_SRC, 'images')
|
26
27
|
|
27
28
|
JRAILS_DEST_TEMPLATES = File.join(GEM_ROOT, 'templates', 'jrails')
|
28
|
-
JRAILS_DEST_SIZZLE = File.join(JRAILS_DEST_TEMPLATES, 'sizzle')
|
29
29
|
JRAILS_DEST_TRANSLATIONS = File.join(JRAILS_DEST_TEMPLATES, 'i18n', 'jquery.ui')
|
30
30
|
JRAILS_DEST_THEMES = File.join(JRAILS_DEST_TEMPLATES, 'jquery', 'ui')
|
31
31
|
JRAILS_DEST_IMAGES = File.join(JRAILS_DEST_TEMPLATES, 'jquery', 'ui')
|
@@ -35,39 +35,39 @@ FLASH_DEST_IMAGES = File.join(JRAILS_DEST_IMAGES, 'flash_messages')
|
|
35
35
|
|
36
36
|
namespace :build do
|
37
37
|
desc 'Build the stylesheets and templates for jRails.'
|
38
|
-
task :jrails do
|
39
|
-
|
40
|
-
FileUtils.remove_dir JRAILS_DEST_TEMPLATES if File.exists? JRAILS_DEST_TEMPLATES
|
38
|
+
task :jrails do
|
39
|
+
|
40
|
+
FileUtils.remove_dir JRAILS_DEST_TEMPLATES if File.exists? JRAILS_DEST_TEMPLATES
|
41
41
|
FileUtils.mkdir_p(File.join(JRAILS_DEST_TEMPLATES, 'config', 'initializers'))
|
42
42
|
FileUtils.mkdir_p(File.join(JRAILS_DEST_TEMPLATES, 'lib', 'tasks'))
|
43
43
|
FileUtils.mkdir_p(File.join(JRAILS_DEST_THEMES))
|
44
|
-
|
44
|
+
|
45
45
|
open File.join(JRAILS_DEST_TEMPLATES, 'manifest.rb'), 'w' do |manifest|
|
46
|
-
|
46
|
+
|
47
47
|
# jRails
|
48
48
|
manifest.print JRAILS_MESSAGE1
|
49
|
-
|
49
|
+
|
50
50
|
open File.join(JRAILS_DEST_TEMPLATES, 'config', 'initializers', 'jrails.rb'), 'w' do |f|
|
51
51
|
f.print(File.read(File.join(JRAILS_SRC, 'config', 'initializers', 'jrails.rb')))
|
52
52
|
end
|
53
|
-
manifest.print "file 'config/initializers/jrails.rb'\n"
|
54
|
-
|
53
|
+
manifest.print "file 'config/initializers/jrails.rb'\n"
|
54
|
+
|
55
55
|
manifest.print "file 'lib/tasks/haml.rake'\n"
|
56
56
|
open File.join(JRAILS_DEST_TEMPLATES, 'lib', 'tasks', 'haml.rake'), 'w' do |f|
|
57
57
|
f.print(File.read(File.join(SRC, 'lib', 'tasks', 'haml.rake')))
|
58
58
|
end
|
59
59
|
manifest.print "file 'lib/tasks/haml.rake'\n"
|
60
|
-
|
60
|
+
|
61
61
|
open File.join(JRAILS_DEST_TEMPLATES, 'jrails.js'), 'w' do |f|
|
62
62
|
f.print concat_files(all_files(JRAILS_SRC_SCRIPTS))
|
63
63
|
end
|
64
|
-
manifest.print "javascript 'jrails.js'\n"
|
65
|
-
|
64
|
+
manifest.print "javascript 'jrails.js'\n"
|
65
|
+
|
66
66
|
open File.join(JRAILS_DEST_TEMPLATES, 'jrails.min.js'), 'w' do |f|
|
67
67
|
f.print compress_js(all_files(JRAILS_SRC_SCRIPTS), "google")
|
68
68
|
end
|
69
|
-
manifest.print "javascript 'jrails.min.js'\n"
|
70
|
-
|
69
|
+
manifest.print "javascript 'jrails.min.js'\n"
|
70
|
+
|
71
71
|
# jQuery 1.4
|
72
72
|
|
73
73
|
all_jquery_scripts = [
|
@@ -88,19 +88,19 @@ namespace :build do
|
|
88
88
|
'dimensions.js',
|
89
89
|
'outro.js'
|
90
90
|
].collect {|filename| File.read(File.join(JQUERY_SRC, 'js', filename))}.join "\n\n"
|
91
|
-
|
92
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery
|
91
|
+
|
92
|
+
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.js'), 'w' do |f|
|
93
93
|
f.print concat_files(all_jquery_scripts)
|
94
94
|
end
|
95
|
-
manifest.print "javascript 'jquery
|
96
|
-
|
97
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery
|
95
|
+
manifest.print "javascript 'jquery.js'\n"
|
96
|
+
|
97
|
+
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.min.js'), 'w' do |f|
|
98
98
|
f.print compress_js(all_jquery_scripts, "google")
|
99
99
|
end
|
100
|
-
manifest.print "javascript 'jquery
|
100
|
+
manifest.print "javascript 'jquery.min.js'\n"
|
101
101
|
|
102
102
|
# jQuery 1.4 Compat 1.3
|
103
|
-
|
103
|
+
|
104
104
|
['compat-1.3'].each do |path|
|
105
105
|
Dir.foreach File.join(JQUERY_SRC, path) do |file|
|
106
106
|
next unless /\.js$/ =~ file
|
@@ -108,20 +108,20 @@ namespace :build do
|
|
108
108
|
manifest.print "javascript '#{file}'\n"
|
109
109
|
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
110
110
|
f.write js
|
111
|
-
end
|
111
|
+
end
|
112
112
|
file.gsub!(/\.js$/, '.min.js')
|
113
113
|
manifest.print "javascript '#{file}'\n"
|
114
114
|
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
115
115
|
f.write compress_js(js, "google")
|
116
116
|
end
|
117
117
|
end
|
118
|
-
end
|
119
|
-
|
118
|
+
end
|
119
|
+
|
120
120
|
# jQuery 1.4 Plugins
|
121
|
-
|
121
|
+
|
122
122
|
['plugins'].each do |path|
|
123
123
|
Dir.foreach File.join(JQUERY_SRC, path) do |file|
|
124
|
-
|
124
|
+
|
125
125
|
if /\.css$/ =~ file
|
126
126
|
css = File.read File.join(JQUERY_SRC, path, file)
|
127
127
|
sass = ''
|
@@ -131,41 +131,41 @@ namespace :build do
|
|
131
131
|
f.write sass
|
132
132
|
end
|
133
133
|
manifest.print "stylesheet 'jquery/ui/#{file}'\n"
|
134
|
-
end
|
135
|
-
|
134
|
+
end
|
135
|
+
|
136
136
|
next unless /\.js$/ =~ file
|
137
137
|
js = File.read File.join(JQUERY_SRC, path, file)
|
138
138
|
manifest.print "javascript '#{file}'\n"
|
139
139
|
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
140
140
|
f.write js
|
141
|
-
end
|
141
|
+
end
|
142
142
|
file.gsub!(/\.js$/, '.min.js')
|
143
143
|
manifest.print "javascript '#{file}'\n"
|
144
144
|
open File.join(JRAILS_DEST_TEMPLATES, file), 'w' do |f|
|
145
145
|
f.write compress_js(js, "google")
|
146
146
|
end
|
147
147
|
end
|
148
|
-
end
|
149
|
-
|
148
|
+
end
|
149
|
+
|
150
150
|
Dir.foreach File.join(JQUERY_SRC, 'plugins', 'images') do |plugin|
|
151
151
|
next if /^\./ =~ plugin
|
152
|
-
|
152
|
+
|
153
153
|
# Copy the theme images directory
|
154
154
|
src_dir = File.join(JQUERY_SRC, 'plugins', 'images', plugin)
|
155
155
|
dest_dir = File.join(JRAILS_DEST_IMAGES, plugin)
|
156
156
|
FileUtils.mkdir_p dest_dir
|
157
|
-
|
157
|
+
|
158
158
|
Dir.foreach(src_dir) do |image|
|
159
159
|
next if /^\./ =~ image
|
160
|
-
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
160
|
+
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
161
161
|
manifest.print "image 'jquery/ui/#{plugin}/#{image}'\n"
|
162
162
|
end
|
163
|
-
end
|
164
|
-
|
163
|
+
end
|
164
|
+
|
165
165
|
# jQuery.UI 1.8.6
|
166
|
-
|
166
|
+
|
167
167
|
# Scripts
|
168
|
-
|
168
|
+
|
169
169
|
all_jquery_ui_scripts = [
|
170
170
|
'jquery-ui.js',
|
171
171
|
'jquery.effects.blind.js',
|
@@ -202,30 +202,30 @@ namespace :build do
|
|
202
202
|
'jquery.ui.tabs.js',
|
203
203
|
'jquery.ui.widget.js'
|
204
204
|
].collect {|filename| File.read(File.join(JQUERY_UI_SRC, 'js', filename))}.join "\n\n"
|
205
|
-
|
206
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery-ui
|
205
|
+
|
206
|
+
open File.join(JRAILS_DEST_TEMPLATES, 'jquery-ui.js'), 'w' do |f|
|
207
207
|
f.print concat_files(all_jquery_ui_scripts)
|
208
208
|
end
|
209
|
-
manifest.print "javascript 'jquery-ui
|
210
|
-
|
211
|
-
open File.join(JRAILS_DEST_TEMPLATES, 'jquery-ui
|
209
|
+
manifest.print "javascript 'jquery-ui.js'\n"
|
210
|
+
|
211
|
+
open File.join(JRAILS_DEST_TEMPLATES, 'jquery-ui.min.js'), 'w' do |f|
|
212
212
|
f.print compress_js(all_jquery_ui_scripts, "google")
|
213
213
|
end
|
214
|
-
manifest.print "javascript 'jquery-ui
|
215
|
-
|
214
|
+
manifest.print "javascript 'jquery-ui.min.js'\n"
|
215
|
+
|
216
216
|
# jQuery UI locales
|
217
|
-
|
217
|
+
|
218
218
|
['i18n'].each do |path|
|
219
219
|
FileUtils.mkdir_p(JRAILS_DEST_TRANSLATIONS)
|
220
220
|
Dir.foreach JQUERY_UI_SRC_TRANSLATIONS do |file|
|
221
221
|
next unless /^jquery.ui\.datepicker-(.+)\.js$/ =~ file
|
222
222
|
lang = file
|
223
223
|
js = File.read File.join(JQUERY_UI_SRC_TRANSLATIONS, file)
|
224
|
-
file.gsub!(/^jquery.ui\./,'')
|
224
|
+
file.gsub!(/^jquery.ui\./,'')
|
225
225
|
manifest.print "javascript '#{File.join(path, 'jquery.ui', file)}'\n"
|
226
226
|
open File.join(JRAILS_DEST_TRANSLATIONS, file), 'w' do |f|
|
227
227
|
f.write js
|
228
|
-
end
|
228
|
+
end
|
229
229
|
file.gsub!(/\.js$/, '.min.js')
|
230
230
|
manifest.print "javascript '#{File.join(path, 'jquery.ui', file)}'\n"
|
231
231
|
open File.join(JRAILS_DEST_TRANSLATIONS, file), 'w' do |f|
|
@@ -235,10 +235,10 @@ namespace :build do
|
|
235
235
|
end
|
236
236
|
|
237
237
|
# jQuery UI Themes
|
238
|
-
|
239
|
-
ui = JqueryUiTheme.new(File.join(JQUERY_UI_SRC_THEMES, 'base'))
|
238
|
+
|
239
|
+
ui = JqueryUiTheme.new(File.join(JQUERY_UI_SRC_THEMES, 'base'))
|
240
240
|
ui.convert_css(File.join(JRAILS_DEST_THEMES, '_partials'))
|
241
|
-
|
241
|
+
|
242
242
|
all_jquery_ui_stylesheets = [
|
243
243
|
'_core.scss',
|
244
244
|
'_accordion.scss',
|
@@ -254,82 +254,82 @@ namespace :build do
|
|
254
254
|
'_slider.scss',
|
255
255
|
'_tabs.scss',
|
256
256
|
'_theme.scss'
|
257
|
-
].collect {|filename| File.read(File.join(JRAILS_DEST_THEMES, '_partials', filename))}.join "\n\n"
|
258
|
-
|
257
|
+
].collect {|filename| File.read(File.join(JRAILS_DEST_THEMES, '_partials', filename))}.join "\n\n"
|
258
|
+
|
259
259
|
open File.join(JRAILS_DEST_THEMES, '_theme.scss'), 'w' do |f|
|
260
260
|
sass = JRAILS_MESSAGE2
|
261
261
|
f.print(all_jquery_ui_stylesheets)
|
262
262
|
f.print sass
|
263
263
|
FileUtils.rm_r(File.join(JRAILS_DEST_THEMES, '_partials'))
|
264
|
-
end
|
265
|
-
|
266
|
-
manifest.print "stylesheet 'jquery/ui/_theme.scss'\n"
|
267
|
-
|
264
|
+
end
|
265
|
+
|
266
|
+
manifest.print "stylesheet 'jquery/ui/_theme.scss'\n"
|
267
|
+
|
268
268
|
Dir.foreach JQUERY_UI_SRC_THEMES do |theme|
|
269
269
|
next if /^\./ =~ theme
|
270
|
-
|
270
|
+
|
271
271
|
# Convert the stylesheet
|
272
272
|
manifest.print "stylesheet 'jquery/ui/#{theme}.scss'\n"
|
273
273
|
ui.convert_theme(theme, File.join(JQUERY_UI_SRC_THEMES, theme), File.join(JRAILS_DEST_THEMES))
|
274
|
-
|
274
|
+
|
275
275
|
# Copy the theme images directory
|
276
276
|
src_dir = File.join(JQUERY_UI_SRC_THEMES, theme, 'images')
|
277
277
|
dest_dir = File.join(JRAILS_DEST_IMAGES, theme)
|
278
278
|
FileUtils.mkdir_p dest_dir
|
279
|
-
|
279
|
+
|
280
280
|
Dir.foreach(src_dir) do |image|
|
281
281
|
next if /^\./ =~ image
|
282
|
-
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
282
|
+
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
283
283
|
manifest.print "image 'jquery/ui/#{theme}/#{image}'\n"
|
284
|
-
end
|
284
|
+
end
|
285
285
|
end
|
286
|
-
|
286
|
+
|
287
287
|
# jQuery Sparklines
|
288
|
-
|
288
|
+
|
289
289
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.sparkline.js'), 'w' do |f|
|
290
290
|
f.print concat_files(all_files(SPARKLINES_SRC_SCRIPTS))
|
291
291
|
end
|
292
|
-
manifest.print "javascript 'jquery.sparkline.js'\n"
|
293
|
-
|
292
|
+
manifest.print "javascript 'jquery.sparkline.js'\n"
|
293
|
+
|
294
294
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.sparkline.min.js'), 'w' do |f|
|
295
295
|
f.print compress_js(all_files(SPARKLINES_SRC_SCRIPTS), "google")
|
296
296
|
end
|
297
297
|
manifest.print "javascript 'jquery.sparkline.min.js'\n"
|
298
|
-
|
298
|
+
|
299
299
|
# jQuery haml
|
300
|
-
|
300
|
+
|
301
301
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.haml.js'), 'w' do |f|
|
302
302
|
f.print concat_files(all_files(JHAML_SRC_SCRIPTS))
|
303
303
|
end
|
304
|
-
manifest.print "javascript 'jquery.haml.js'\n"
|
305
|
-
|
304
|
+
manifest.print "javascript 'jquery.haml.js'\n"
|
305
|
+
|
306
306
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.haml.min.js'), 'w' do |f|
|
307
307
|
f.print compress_js(all_files(JHAML_SRC_SCRIPTS), "google")
|
308
308
|
end
|
309
|
-
manifest.print "javascript 'jquery.haml.min.js'\n"
|
310
|
-
|
311
|
-
# HAML Js
|
309
|
+
manifest.print "javascript 'jquery.haml.min.js'\n"
|
310
|
+
|
311
|
+
# HAML Js
|
312
312
|
open File.join(JRAILS_DEST_TEMPLATES, 'haml.js'), 'w' do |f|
|
313
313
|
f.print concat_files(all_files(HAML_SRC_JS_SCRIPTS))
|
314
314
|
end
|
315
|
-
manifest.print "javascript 'haml.js'\n"
|
316
|
-
|
315
|
+
manifest.print "javascript 'haml.js'\n"
|
316
|
+
|
317
317
|
open File.join(JRAILS_DEST_TEMPLATES, 'haml.min.js'), 'w' do |f|
|
318
318
|
f.print compress_js(all_files(JHAML_SRC_SCRIPTS), "google")
|
319
319
|
end
|
320
320
|
manifest.print "javascript 'haml.min.js'\n"
|
321
|
-
|
322
|
-
#Flash Messages
|
321
|
+
|
322
|
+
#Flash Messages
|
323
323
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.flash_messages.js'), 'w' do |f|
|
324
324
|
f.print concat_files(all_files(FLASH_SRC_JS_SCRIPTS))
|
325
325
|
end
|
326
|
-
manifest.print "javascript 'jquery.flash_messages.js'\n"
|
327
|
-
|
326
|
+
manifest.print "javascript 'jquery.flash_messages.js'\n"
|
327
|
+
|
328
328
|
open File.join(JRAILS_DEST_TEMPLATES, 'jquery.flash_messages.min.js'), 'w' do |f|
|
329
329
|
f.print compress_js(all_files(FLASH_SRC_JS_SCRIPTS), "google")
|
330
330
|
end
|
331
331
|
manifest.print "javascript 'jquery.flash_messages.min.js'\n"
|
332
|
-
|
332
|
+
|
333
333
|
FileUtils.mkdir_p(File.join(FLASH_DEST_STYLESHEETS))
|
334
334
|
css = File.read File.join(FLASH_SRC, 'flash_messages.css')
|
335
335
|
sass = ''
|
@@ -338,15 +338,15 @@ namespace :build do
|
|
338
338
|
f.write sass
|
339
339
|
end
|
340
340
|
manifest.print "stylesheet 'partials/_flash_messages.scss'\n"
|
341
|
-
|
341
|
+
|
342
342
|
# Copy the images directory
|
343
343
|
FileUtils.mkdir_p File.join(FLASH_DEST_IMAGES)
|
344
344
|
src_dir = FLASH_SRC_IMAGES
|
345
|
-
dest_dir = FLASH_DEST_IMAGES
|
346
|
-
|
345
|
+
dest_dir = FLASH_DEST_IMAGES
|
346
|
+
|
347
347
|
Dir.foreach(src_dir) do |image|
|
348
348
|
next unless /\.png$/ =~ image
|
349
|
-
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
349
|
+
FileUtils.cp(File.join(src_dir, image), dest_dir)
|
350
350
|
manifest.print "image 'jquery/ui/flash_messages/#{image}'\n"
|
351
351
|
end
|
352
352
|
end
|
@@ -363,4 +363,3 @@ namespace :jrails do
|
|
363
363
|
end
|
364
364
|
end
|
365
365
|
end
|
366
|
-
|
data/gem_tasks/rubygems.rake
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
desc 'Build all stylesheets and templates.'
|
2
2
|
|
3
3
|
namespace :build do
|
4
|
-
task :all => [
|
4
|
+
task :all => [
|
5
|
+
"build:jrails",
|
6
|
+
"build:tools",
|
7
|
+
"build:dynatree",
|
8
|
+
"build:jstree",
|
9
|
+
"build:ribbon",
|
10
|
+
"build:ical",
|
11
|
+
"build:jqtouch",
|
12
|
+
"build:emulators"] do
|
5
13
|
end
|
6
14
|
end
|
@@ -5,4 +5,4 @@ ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqt_apple =
|
|
5
5
|
ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqt_default => ['compiled/jquery/touch/default.css']
|
6
6
|
ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :jqt_jqt => ['compiled/jquery/touch/jqt.css']
|
7
7
|
|
8
|
-
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jqtouch => ['jquery
|
8
|
+
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jqtouch => ['jquery.min', 'jquery.jqtouch.min']
|
@@ -14,11 +14,11 @@ ActionView::Helpers::PrototypeHelper::JQUERY_VAR = 'jQuery'
|
|
14
14
|
# ActionView::Helpers::PrototypeHelper::DISABLE_JQUERY_FORGERY_PROTECTION = true
|
15
15
|
# ====
|
16
16
|
|
17
|
-
ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery
|
17
|
+
ActionView::Helpers::AssetTagHelper::JAVASCRIPT_DEFAULT_SOURCES = ['jquery.min', 'jquery-ui.min', 'jrails.min']
|
18
18
|
ActionView::Helpers::AssetTagHelper::reset_javascript_include_default
|
19
19
|
|
20
|
-
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery => ['jquery
|
21
|
-
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery_ui => ['jquery
|
20
|
+
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery => ['jquery.min']
|
21
|
+
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jquery_ui => ['jquery.min', 'jquery.cookie.min', 'jquery.form.min', 'jquery.layout.min', 'jquery-ui.min']
|
22
22
|
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jrails => ['jrails.min']
|
23
23
|
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :jhaml => ['jquery.haml.min']
|
24
24
|
ActionView::Helpers::AssetTagHelper.register_javascript_expansion :haml_js => ['haml-js.min']
|
File without changes
|
File without changes
|