hydroponics 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +28 -9
- data/Rakefile +5 -1
- data/VERSION +1 -1
- data/app/actions/dupe.rb +22 -0
- data/app/views/dupe/index.erb +62 -0
- data/bin/hydro +29 -11
- data/config/hydro_app.rb +31 -0
- data/hydroponics.gemspec +431 -409
- data/lib/hydroponics.rb +2 -19
- data/lib/hydroponics/setup.rb +47 -0
- data/spec/config/database.yml +6 -0
- data/spec/hydro_app_spec.rb +51 -0
- data/spec/hydroponics_spec.rb +77 -3
- data/spec/spec_helper.rb +31 -5
- data/static/dupe.js +5 -0
- data/static/test/dupe_test.js +6 -0
- data/static/test/index.html +18 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/css/smoothness/jquery-ui-1.8.5.custom.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/AUTHORS.txt +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/GPL-LICENSE.txt +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/MIT-LICENSE.txt +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/collapsible.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/custom-icons.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/fillspace.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/hoverintent.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/mouseover.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/no-auto-height.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/accordion/sortable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/addClass/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/addClass/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/animate/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/animate/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/categories.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/combobox.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/custom-data.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/folding.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/images/jquery_32x32.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/images/jqueryui_32x32.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/images/sizzlejs_32x32.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/images/transparent_1x1.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/images/ui-anim_basic_16x16.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/london.xml +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/maxheight.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/multiple-remote.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/multiple.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/remote-jsonp.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/remote-with-cache.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/remote.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/search.php +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/autocomplete/xml.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/checkbox.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/icons.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/radio.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/splitbutton.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/button/toolbar.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/alt-field.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/animation.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/buttonbar.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/date-formats.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/dropdown-month-year.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/event-search.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/icon-trigger.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/images/calendar.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/inline.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/localization.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/min-max.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/multiple-calendars.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/other-months.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/datepicker/show-week.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/demos.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/animated.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/modal-confirmation.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/modal-form.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/modal-message.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/dialog/modal.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/constrain-movement.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/cursor-style.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/delay-start.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/events.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/handle.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/revert.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/scroll.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/snap-to.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/sortable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/draggable/visual-feedback.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/accepted-elements.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras2.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras2_min.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras3.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras3_min.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras4.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras4_min.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/images/high_tatras_min.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/photo-manager.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/propagation.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/revert.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/shopping-cart.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/droppable/visual-feedback.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/effect/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/effect/easing.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/effect/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/hide/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/hide/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/calendar.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/demo-config-on-tile.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/demo-config-on.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/demo-spindown-closed.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/demo-spindown-open.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/icon-docs-info.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/images/pbar-ani.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/cycler.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/images/earth.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/images/flight.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/images/rocket.jpg +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/position/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/progressbar/animated.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/progressbar/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/progressbar/images/pbar-ani.gif +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/progressbar/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/progressbar/resize.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/removeClass/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/removeClass/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/animate.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/aspect-ratio.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/constrain-area.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/delay-start.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/helper.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/max-min.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/snap-to-grid.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/synchronous-resize.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/textarea.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/resizable/visual-feedback.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/selectable/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/selectable/display-grid.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/selectable/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/selectable/serialize.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/show/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/show/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/colorpicker.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/hotelrooms.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/multiple-vertical.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/range-vertical.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/range.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/rangemax.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/rangemin.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/side-scroll.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/slider-vertical.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/steps.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/slider/tabs.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/connect-lists-through-tabs.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/connect-lists.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/delay-start.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/display-grid.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/empty-lists.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/items.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/placeholder.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/sortable/portlets.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/switchClass/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/switchClass/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/ajax.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/ajax/content1.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/ajax/content2.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/ajax/content3-slow.php +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/ajax/content4-broken.php +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/bottom.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/collapsible.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/cookie.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/manipulation.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/mouseover.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/sortable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/tabs/vertical.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/toggle/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/toggle/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/toggleClass/default.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/demos/toggleClass/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/accordion.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/addClass.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/animate.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/autocomplete.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/button.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/datepicker.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/dialog.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/draggable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/droppable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/effect.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/hide.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/position.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/progressbar.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/removeClass.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/resizable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/selectable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/show.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/slider.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/sortable.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/switchClass.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/tabs.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/toggle.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/docs/toggleClass.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/external/jquery.bgiframe-2.1.1.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/external/jquery.cookie.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/external/jquery.metadata.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/external/qunit.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/external/qunit.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/jquery-1.4.2.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-icons_222222_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-icons_454545_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-icons_888888_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.accordion.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.all.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.autocomplete.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.base.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.button.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.core.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.datepicker.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.dialog.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.progressbar.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.resizable.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.selectable.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.slider.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.tabs.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/base/jquery.ui.theme.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery-ui-1.8.5.custom.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.accordion.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.all.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.autocomplete.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.base.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.button.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.core.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.datepicker.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.dialog.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.progressbar.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.resizable.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.selectable.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.slider.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.tabs.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/themes/smoothness/jquery.ui.theme.css +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery-ui-i18n.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-af.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ar.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-az.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-bg.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-bs.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ca.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-cs.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-da.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-de.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-el.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-eo.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-es.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-et.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-eu.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-fa.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-fi.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-fo.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-fr-CH.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-fr.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-he.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-hr.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-hu.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-hy.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-id.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-is.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-it.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ja.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ko.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-kz.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-lt.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-lv.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ms.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-nl.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-no.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-pl.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-pt-BR.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ro.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ru.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sk.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sl.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sq.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sr-SR.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sr.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-sv.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-ta.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-th.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-tr.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-uk.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-vi.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-zh-CN.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-zh-HK.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/i18n/jquery.ui.datepicker-zh-TW.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery-ui-1.8.5.custom.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.blind.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.bounce.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.clip.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.core.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.drop.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.explode.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.fade.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.fold.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.highlight.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.pulsate.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.scale.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.shake.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.slide.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.effects.transfer.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.accordion.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.autocomplete.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.button.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.core.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.datepicker.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.dialog.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.draggable.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.droppable.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.mouse.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.position.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.progressbar.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.resizable.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.selectable.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.slider.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.sortable.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.tabs.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/jquery.ui.widget.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.blind.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.bounce.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.clip.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.core.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.drop.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.explode.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.fade.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.fold.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.highlight.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.pulsate.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.scale.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.shake.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.slide.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.effects.transfer.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.accordion.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.autocomplete.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.button.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.core.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.datepicker.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.dialog.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.draggable.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.droppable.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.mouse.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.position.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.progressbar.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.resizable.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.selectable.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.slider.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.sortable.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.tabs.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/ui/minified/jquery.ui.widget.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/version.txt +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/index.html +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/js/jquery-1.4.2.min.js +0 -0
- data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/js/jquery-ui-1.8.5.custom.min.js +0 -0
- data/static/vendor/qunit.css +155 -0
- data/static/vendor/qunit.js +1261 -0
- metadata +474 -408
- data/lib/db_remote.rb +0 -23
- data/lib/views/index.erb +0 -26
data/lib/hydroponics.rb
CHANGED
@@ -1,19 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
require
|
3
|
-
require File.join(FileUtils.pwd, "lib/db_remote.rb")
|
4
|
-
|
5
|
-
class HydroApp < Sinatra::Base
|
6
|
-
include DbRemote
|
7
|
-
|
8
|
-
set :root, File.join(FileUtils.pwd, "lib")
|
9
|
-
set :public, File.join(FileUtils.pwd, "static")
|
10
|
-
set :version, "0.2.1"
|
11
|
-
|
12
|
-
get '/' do
|
13
|
-
erb :index
|
14
|
-
end
|
15
|
-
|
16
|
-
get '/round1' do
|
17
|
-
erb :index
|
18
|
-
end
|
19
|
-
end
|
1
|
+
require './lib/hydroponics/setup.rb'
|
2
|
+
Dir['./app/actions/*.rb'].each { |f| require f; }
|
@@ -0,0 +1,47 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
require 'erb'
|
3
|
+
require 'sequel'
|
4
|
+
|
5
|
+
# faking out the branch-name detection in Protopipe's database.yml. we may want to integrate with Rails later.
|
6
|
+
raise "Rails integration is not complete" if defined?(Rails)
|
7
|
+
module Rails
|
8
|
+
def self.root; @@root end
|
9
|
+
def self.root=(x); @@root=x end
|
10
|
+
def self.env; "development" end #hardcoding development environment
|
11
|
+
YML_PATH = "config/database.yml" # hard-coding the location of the yml file
|
12
|
+
end
|
13
|
+
|
14
|
+
module Hydroponics
|
15
|
+
def self.db; @@db; end
|
16
|
+
def self.db=(x); @@db = x; end
|
17
|
+
|
18
|
+
module Setup
|
19
|
+
def convert_rails_yml_to_sequel_config(yml)
|
20
|
+
{
|
21
|
+
:adapter => yml[Rails.env]['adapter'],
|
22
|
+
:host => yml[Rails.env]['host'],
|
23
|
+
:database => yml[Rails.env]['database'],
|
24
|
+
:user => yml[Rails.env]['username'],
|
25
|
+
:password => yml[Rails.env]['password']
|
26
|
+
}
|
27
|
+
end
|
28
|
+
|
29
|
+
def get_db_from_local_rails_project(proj_root)
|
30
|
+
yml_path = File.join(proj_root, Rails::YML_PATH)
|
31
|
+
raise "Aborting: no database.yml file found" unless File.exists?(yml_path)
|
32
|
+
|
33
|
+
Rails.root = proj_root # protopipe has its YML file as an ERB which references Rails.root
|
34
|
+
yml = YAML::load(ERB.new(File.open(yml_path).read).result(binding))
|
35
|
+
dbconfig = convert_rails_yml_to_sequel_config(yml)
|
36
|
+
|
37
|
+
Hydroponics.db = Sequel.connect(dbconfig)
|
38
|
+
|
39
|
+
dbconfig.merge(:password => "---") # output
|
40
|
+
end
|
41
|
+
|
42
|
+
def raise_max_packet_size
|
43
|
+
Hydroponics.db.execute("set global max_allowed_packet=1048576000;")
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
+
require File.join(File.dirname(__FILE__), '..', 'config/hydro_app')
|
3
|
+
|
4
|
+
describe "HydroApp" do
|
5
|
+
describe "with bad arguments" do
|
6
|
+
it "should raise an error" do
|
7
|
+
lambda { HydroApp.new }.should raise_error
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe "with users table" do
|
12
|
+
include Rack::Test::Methods
|
13
|
+
|
14
|
+
before(:all) do
|
15
|
+
@db = prepare_test_db
|
16
|
+
end
|
17
|
+
|
18
|
+
before(:each) do
|
19
|
+
populate_test_db
|
20
|
+
end
|
21
|
+
|
22
|
+
def app
|
23
|
+
@app || HydroApp.new
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "/dupe/*" do
|
27
|
+
it "should open dupe/index.erb" do
|
28
|
+
get '/dupe/users'
|
29
|
+
last_response.should be_ok
|
30
|
+
end
|
31
|
+
|
32
|
+
it "should show the table's count" do
|
33
|
+
get '/dupe/users'
|
34
|
+
last_response.body.include?("Count: " + @db[:users].count.to_s).should be_true
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
describe "/dupe/*" do
|
39
|
+
it "should copy the first row n times" do
|
40
|
+
post '/dupe/users', {:count => 10}.to_json
|
41
|
+
last_response.should be_ok
|
42
|
+
@db[:users].count.should == 10
|
43
|
+
end
|
44
|
+
|
45
|
+
it "should return the time elapsed on success" do
|
46
|
+
post '/dupe/users', {:count => 10}.to_json
|
47
|
+
last_response.body.match(/s$/).should be_true
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/spec/hydroponics_spec.rb
CHANGED
@@ -1,7 +1,81 @@
|
|
1
|
+
require File.join(File.dirname(__FILE__), '..', 'lib/hydroponics')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
3
|
|
3
|
-
describe "Hydroponics" do
|
4
|
-
|
5
|
-
|
4
|
+
describe "Hydroponics::Setup" do
|
5
|
+
include Hydroponics::Setup
|
6
|
+
|
7
|
+
describe "#get_db_from_local_rails_project" do
|
8
|
+
it "should raise an error if it can't find a rails-style database yml" do
|
9
|
+
lambda { get_db_from_local_rails_project() }.should raise_error
|
10
|
+
lambda { get_db_from_local_rails_project("nope") }.should raise_error
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should set db to a Sequel::Database object" do
|
14
|
+
get_db_from_local_rails_project(File.dirname(__FILE__))
|
15
|
+
Hydroponics.db.should be_a(Sequel::Database)
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should output the config" do
|
19
|
+
get_db_from_local_rails_project(File.dirname(__FILE__)).should be_a(Hash)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
describe "#convert_rails_yml_to_sequel_config" do
|
24
|
+
it "should fail if not given a properly formatted hash" do
|
25
|
+
lambda { convert_rails_yml_to_sequel_config }.should raise_error
|
26
|
+
lambda { convert_rails_yml_to_sequel_config("string") }.should raise_error
|
27
|
+
lambda { convert_rails_yml_to_sequel_config({"username" => "blah"}) }.should raise_error
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should convert 'username' to 'user'" do
|
31
|
+
hash = {"development" => {"username" => "blah", "user" => "blah2"}}
|
32
|
+
convert_rails_yml_to_sequel_config(hash)[:user].should == "blah"
|
33
|
+
end
|
34
|
+
|
35
|
+
it "should use the development environment" do
|
36
|
+
hash = {"development" => {"username" => "dev"}, "test" => {"username" => "blah"}}
|
37
|
+
convert_rails_yml_to_sequel_config(hash)[:user].should == "dev"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe "#raise_max_packet_size" do
|
42
|
+
it "should run the right query" do
|
43
|
+
db = mock("db")
|
44
|
+
db.should_receive(:execute).with("set global max_allowed_packet=1048576000;")
|
45
|
+
Hydroponics.stub!(:db).and_return(db)
|
46
|
+
raise_max_packet_size
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
describe "Hydroponics::Actions" do
|
52
|
+
include Hydroponics::Actions
|
53
|
+
|
54
|
+
before(:all) do
|
55
|
+
@db = prepare_test_db
|
56
|
+
end
|
57
|
+
|
58
|
+
before(:each) do
|
59
|
+
populate_test_db
|
60
|
+
end
|
61
|
+
|
62
|
+
describe "#dupe" do
|
63
|
+
it "should duplicate the first user until the desired count is reached" do
|
64
|
+
dupe(:users, 10)
|
65
|
+
@db[:users].count.should == 10
|
66
|
+
end
|
67
|
+
|
68
|
+
it "should delete users from the end until the desired count is reached" do
|
69
|
+
@db[:users].multi_insert([{:name => "ABC", :email => "123@example.com"}] * 10)
|
70
|
+
@db[:users].count.should == 11
|
71
|
+
dupe(:users, 2)
|
72
|
+
@db[:users].count.should == 2
|
73
|
+
end
|
74
|
+
|
75
|
+
it "should require the table name and count" do
|
76
|
+
lambda { dupe }.should raise_error
|
77
|
+
lambda { dupe(:users) }.should raise_error
|
78
|
+
lambda { dupe(16) }.should raise_error
|
79
|
+
end
|
6
80
|
end
|
7
81
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require '
|
1
|
+
require 'rubygems'
|
2
|
+
require 'sinatra'
|
3
|
+
require 'rack/test'
|
4
4
|
require 'spec'
|
5
5
|
require 'spec/autorun'
|
6
|
+
require 'spec/interop/test'
|
7
|
+
require 'sequel'
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
+
# set test environment
|
10
|
+
set :environment, :test
|
11
|
+
set :run, false
|
12
|
+
set :raise_errors, true
|
13
|
+
set :logging, false
|
14
|
+
|
15
|
+
def prepare_test_db
|
16
|
+
Hydroponics.db = Sequel.connect({
|
17
|
+
:adapter=>"sqlite",
|
18
|
+
:host=>"localhost",
|
19
|
+
:database=>"hydroponics_test.sqlite",
|
20
|
+
:user=>"root",
|
21
|
+
:password=>""
|
22
|
+
})
|
23
|
+
Hydroponics.db
|
9
24
|
end
|
25
|
+
|
26
|
+
def populate_test_db
|
27
|
+
db = Hydroponics.db
|
28
|
+
db.drop_table :users if db.table_exists?(:users)
|
29
|
+
db.create_table :users do
|
30
|
+
primary_key :id
|
31
|
+
String :name
|
32
|
+
String :email
|
33
|
+
end
|
34
|
+
db[:users].insert(:name => "Acorn Hrefski", :email => "acorn@example.com")
|
35
|
+
end
|
data/static/dupe.js
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
test("Dupe object", function() {
|
2
|
+
var dupe = new Dupe("slider", "button", "monitor");
|
3
|
+
equals(dupe.slider, "slider", "initializes with slider");
|
4
|
+
equals(dupe.button, "button", "initializes with button");
|
5
|
+
equals(dupe.monitor, "monitor", "initializes with monitor");
|
6
|
+
});
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Hydroponics Test Suite</title>
|
5
|
+
<link rel="stylesheet" href="../vendor/qunit.css" type="text/css" media="screen">
|
6
|
+
<script type="text/javascript" src="../vendor/qunit.js"></script>
|
7
|
+
<script type="text/javascript" src="dupe_test.js"></script>
|
8
|
+
<script type="text/javascript" src="../dupe.js"></script>
|
9
|
+
</head>
|
10
|
+
<body>
|
11
|
+
<h1 id="qunit-header">Hydroponics Test Suite</h1>
|
12
|
+
<h2 id="qunit-banner"></h2>
|
13
|
+
<div id="qunit-testrunner-toolbar"></div>
|
14
|
+
<h2 id="qunit-userAgent"></h2>
|
15
|
+
<ol id="qunit-tests"></ol>
|
16
|
+
<div id="qunit-fixture">test markup</div>
|
17
|
+
</body>
|
18
|
+
</html>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/static/{jquery-ui-1.8.5.custom → vendor/jquery-ui-1.8.5.custom}/development-bundle/AUTHORS.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|