columbus3 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/README.md +122 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/bower.json +25 -0
- data/bower_components/jquery/.bower.json +7 -20
- data/bower_components/jquery/AUTHORS.txt +301 -0
- data/bower_components/jquery/{MIT-LICENSE.txt → LICENSE.txt} +17 -2
- data/bower_components/jquery/README.md +67 -0
- data/bower_components/jquery/bower.json +2 -16
- data/bower_components/jquery/dist/core.js +476 -0
- data/bower_components/jquery/dist/jquery.js +3861 -2818
- data/bower_components/jquery/dist/jquery.min.js +4 -5
- data/bower_components/jquery/dist/jquery.min.map +1 -1
- data/bower_components/jquery/dist/jquery.slim.js +8160 -0
- data/bower_components/jquery/dist/jquery.slim.min.js +4 -0
- data/bower_components/jquery/dist/jquery.slim.min.map +1 -0
- data/bower_components/jquery/external/sizzle/LICENSE.txt +36 -0
- data/bower_components/jquery/{src → external}/sizzle/dist/sizzle.js +445 -240
- data/bower_components/jquery/external/sizzle/dist/sizzle.min.js +3 -0
- data/bower_components/jquery/external/sizzle/dist/sizzle.min.map +1 -0
- data/bower_components/jquery/src/.eslintrc.json +5 -0
- data/bower_components/jquery/src/ajax.js +174 -105
- data/bower_components/jquery/src/ajax/jsonp.js +27 -14
- data/bower_components/jquery/src/ajax/load.js +24 -23
- data/bower_components/jquery/src/ajax/parseXML.js +8 -6
- data/bower_components/jquery/src/ajax/script.js +25 -12
- data/bower_components/jquery/src/ajax/var/location.js +5 -0
- data/bower_components/jquery/src/ajax/var/nonce.js +4 -2
- data/bower_components/jquery/src/ajax/var/rquery.js +5 -3
- data/bower_components/jquery/src/ajax/xhr.js +76 -43
- data/bower_components/jquery/src/attributes.js +4 -2
- data/bower_components/jquery/src/attributes/attr.js +60 -60
- data/bower_components/jquery/src/attributes/classes.js +87 -71
- data/bower_components/jquery/src/attributes/prop.js +81 -32
- data/bower_components/jquery/src/attributes/support.js +11 -13
- data/bower_components/jquery/src/attributes/val.js +66 -37
- data/bower_components/jquery/src/callbacks.js +119 -90
- data/bower_components/jquery/src/core.js +108 -134
- data/bower_components/jquery/src/core/DOMEval.js +16 -0
- data/bower_components/jquery/src/core/access.js +21 -11
- data/bower_components/jquery/src/core/init.js +33 -28
- data/bower_components/jquery/src/core/nodeName.js +13 -0
- data/bower_components/jquery/src/core/parseHTML.js +39 -13
- data/bower_components/jquery/src/core/ready-no-deferred.js +96 -0
- data/bower_components/jquery/src/core/ready.js +40 -51
- data/bower_components/jquery/src/core/readyException.js +13 -0
- data/bower_components/jquery/src/core/stripAndCollapse.js +14 -0
- data/bower_components/jquery/src/core/support.js +20 -0
- data/bower_components/jquery/src/core/var/rsingleTag.js +5 -3
- data/bower_components/jquery/src/css.js +146 -158
- data/bower_components/jquery/src/css/addGetHookIf.js +7 -3
- data/bower_components/jquery/src/css/adjustCSS.js +71 -0
- data/bower_components/jquery/src/css/curCSS.js +22 -14
- data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +8 -8
- data/bower_components/jquery/src/css/showHide.js +105 -0
- data/bower_components/jquery/src/css/support.js +69 -76
- data/bower_components/jquery/src/css/var/cssExpand.js +4 -2
- data/bower_components/jquery/src/css/var/getStyles.js +11 -6
- data/bower_components/jquery/src/css/var/isHiddenWithinTree.js +34 -0
- data/bower_components/jquery/src/css/var/rmargin.js +5 -3
- data/bower_components/jquery/src/css/var/rnumnonpx.js +4 -2
- data/bower_components/jquery/src/css/{swap.js → var/swap.js} +5 -7
- data/bower_components/jquery/src/data.js +67 -66
- data/bower_components/jquery/src/data/Data.js +87 -107
- data/bower_components/jquery/src/data/{accepts.js → var/acceptData.js} +6 -7
- data/bower_components/jquery/src/data/var/{data_priv.js → dataPriv.js} +4 -2
- data/bower_components/jquery/src/data/var/{data_user.js → dataUser.js} +4 -2
- data/bower_components/jquery/src/deferred.js +314 -72
- data/bower_components/jquery/src/deferred/exceptionHook.js +21 -0
- data/bower_components/jquery/src/deprecated.js +36 -9
- data/bower_components/jquery/src/dimensions.js +16 -10
- data/bower_components/jquery/src/effects.js +257 -206
- data/bower_components/jquery/src/effects/Tween.js +18 -9
- data/bower_components/jquery/src/effects/animatedSelector.js +7 -5
- data/bower_components/jquery/src/event.js +297 -419
- data/bower_components/jquery/src/event/ajax.js +13 -4
- data/bower_components/jquery/src/event/alias.js +13 -23
- data/bower_components/jquery/src/event/focusin.js +55 -0
- data/bower_components/jquery/src/event/support.js +5 -3
- data/bower_components/jquery/src/event/trigger.js +185 -0
- data/bower_components/jquery/src/exports/amd.js +5 -3
- data/bower_components/jquery/src/exports/global.js +8 -6
- data/bower_components/jquery/src/jquery.js +6 -2
- data/bower_components/jquery/src/manipulation.js +218 -310
- data/bower_components/jquery/src/manipulation/_evalUrl.js +9 -4
- data/bower_components/jquery/src/manipulation/buildFragment.js +104 -0
- data/bower_components/jquery/src/manipulation/getAll.js +32 -0
- data/bower_components/jquery/src/manipulation/setGlobalEval.js +22 -0
- data/bower_components/jquery/src/manipulation/support.js +11 -8
- data/bower_components/jquery/src/manipulation/var/rcheckableType.js +5 -3
- data/bower_components/jquery/src/manipulation/var/rscriptType.js +5 -0
- data/bower_components/jquery/src/manipulation/var/rtagName.js +5 -0
- data/bower_components/jquery/src/manipulation/wrapMap.js +29 -0
- data/bower_components/jquery/src/offset.js +75 -53
- data/bower_components/jquery/src/queue.js +26 -23
- data/bower_components/jquery/src/queue/delay.js +8 -6
- data/bower_components/jquery/src/selector-native.js +133 -68
- data/bower_components/jquery/src/selector-sizzle.js +10 -5
- data/bower_components/jquery/src/selector.js +3 -1
- data/bower_components/jquery/src/serialize.js +52 -33
- data/bower_components/jquery/src/traversing.js +61 -69
- data/bower_components/jquery/src/traversing/findFilter.js +37 -31
- data/bower_components/jquery/src/traversing/var/dir.js +22 -0
- data/bower_components/jquery/src/traversing/var/rneedsContext.js +4 -2
- data/bower_components/jquery/src/traversing/var/siblings.js +17 -0
- data/bower_components/jquery/src/var/ObjectFunctionString.js +7 -0
- data/bower_components/jquery/src/var/arr.js +4 -2
- data/bower_components/jquery/src/var/class2type.js +4 -2
- data/bower_components/jquery/src/var/concat.js +4 -2
- data/bower_components/jquery/src/var/document.js +5 -0
- data/bower_components/jquery/src/var/documentElement.js +7 -0
- data/bower_components/jquery/src/var/fnToString.js +7 -0
- data/bower_components/jquery/src/var/getProto.js +5 -0
- data/bower_components/jquery/src/var/hasOwn.js +4 -2
- data/bower_components/jquery/src/var/indexOf.js +4 -2
- data/bower_components/jquery/src/var/pnum.js +5 -3
- data/bower_components/jquery/src/var/push.js +4 -2
- data/bower_components/jquery/src/var/rcssNum.js +9 -0
- data/bower_components/jquery/src/var/rnothtmlwhite.js +8 -0
- data/bower_components/jquery/src/var/slice.js +4 -2
- data/bower_components/jquery/src/var/support.js +4 -2
- data/bower_components/jquery/src/var/toString.js +4 -2
- data/bower_components/jquery/src/wrap.js +24 -26
- data/bower_components/leaflet-providers/.bower.json +6 -7
- data/bower_components/leaflet-providers/CHANGELOG.md +62 -0
- data/bower_components/leaflet-providers/README.md +12 -3
- data/bower_components/leaflet-providers/bower.json +1 -1
- data/bower_components/leaflet-providers/leaflet-providers.js +133 -92
- data/bower_components/leaflet-providers/package.json +14 -7
- data/bower_components/leaflet/.bower.json +10 -14
- data/bower_components/leaflet/CHANGELOG.md +648 -3
- data/bower_components/leaflet/CONTRIBUTING.md +88 -33
- data/bower_components/leaflet/ISSUE_TEMPLATE.md +25 -0
- data/bower_components/leaflet/Jakefile.js +73 -14
- data/bower_components/leaflet/LICENSE +1 -1
- data/bower_components/leaflet/PLUGIN-GUIDE.md +97 -3
- data/bower_components/leaflet/README.md +6 -8
- data/bower_components/leaflet/bower.json +3 -9
- data/bower_components/leaflet/dist/images/layers-2x.png +0 -0
- data/bower_components/leaflet/dist/images/layers.png +0 -0
- data/bower_components/leaflet/dist/images/marker-icon-2x.png +0 -0
- data/bower_components/leaflet/dist/images/marker-icon.png +0 -0
- data/bower_components/leaflet/dist/images/marker-shadow.png +0 -0
- data/bower_components/leaflet/dist/leaflet-src.js +12301 -7898
- data/bower_components/leaflet/dist/leaflet-src.js.map +1 -0
- data/bower_components/leaflet/dist/leaflet.css +196 -43
- data/bower_components/leaflet/dist/leaflet.js +6 -9
- data/bower_components/leaflet/dist/leaflet.js.map +1 -0
- data/bower_components/leaflet/docs/CNAME +1 -0
- data/bower_components/leaflet/docs/Gemfile +4 -0
- data/bower_components/leaflet/docs/_config.yml +19 -0
- data/bower_components/leaflet/docs/_includes/frame.html +9 -0
- data/bower_components/leaflet/docs/_includes/tutorial_link.html +8 -0
- data/bower_components/leaflet/docs/_layouts/post.html +30 -0
- data/bower_components/leaflet/docs/_layouts/redirected.html +14 -0
- data/bower_components/leaflet/docs/_layouts/tutorial.html +9 -0
- data/bower_components/leaflet/docs/_layouts/tutorial_frame.html +32 -0
- data/bower_components/leaflet/docs/_layouts/tutorial_v2.html +9 -0
- data/bower_components/leaflet/docs/_layouts/v2.html +159 -0
- data/bower_components/leaflet/docs/_posts/2012-07-30-leaflet-0-4-released.md +240 -0
- data/bower_components/leaflet/docs/_posts/2012-08-07-leaflet-0-4-3-and-a-new-tutorial.md +47 -0
- data/bower_components/leaflet/docs/_posts/2012-08-20-guest-post-markerclusterer-0-1-released.md +112 -0
- data/bower_components/leaflet/docs/_posts/2012-10-25-leaflet-0-4-5-bugfix-release-and-plans-for-0.5.md +36 -0
- data/bower_components/leaflet/docs/_posts/2013-01-17-leaflet-0-5-released.md +24 -0
- data/bower_components/leaflet/docs/_posts/2013-02-20-guest-post-draw.md +146 -0
- data/bower_components/leaflet/docs/_posts/2013-06-26-leaflet-0-6-released-dc-code-sprint-mapbox.md +31 -0
- data/bower_components/leaflet/docs/_posts/2013-06-28-leaflet-plugin-authoring-guide.md +111 -0
- data/bower_components/leaflet/docs/_posts/2013-11-18-leaflet-0-7-released-plans-for-future.md +56 -0
- data/bower_components/leaflet/docs/_posts/2015-07-01-leaflet-is-alive-and-kicking.md +21 -0
- data/bower_components/leaflet/docs/_posts/2015-07-15-leaflet-1.0-beta1-released.md +60 -0
- data/bower_components/leaflet/docs/_posts/2015-09-01-leaflet-0.7.4-released.md +29 -0
- data/bower_components/leaflet/docs/_posts/2015-10-14-leaflet-1.0-beta2-released.md +35 -0
- data/bower_components/leaflet/docs/_posts/2016-03-20-debugging-touch-interactions.md +101 -0
- data/bower_components/leaflet/docs/_posts/2016-04-18-leaflet-1.0-rc1.md +78 -0
- data/bower_components/leaflet/docs/_posts/2016-07-16-leaflet-1.0-rc2.md +60 -0
- data/bower_components/leaflet/docs/_posts/2016-08-05-leaflet-1.0-rc3.md +53 -0
- data/bower_components/leaflet/docs/_posts/2016-09-27-leaflet-1.0-final.md +50 -0
- data/bower_components/leaflet/docs/_posts/2016-11-21-leaflet-1.0.2.md +25 -0
- data/bower_components/leaflet/docs/_posts/2017-01-23-leaflet-1.0.3.md +27 -0
- data/bower_components/leaflet/docs/atom.xml +29 -0
- data/bower_components/leaflet/docs/blog.md +24 -0
- data/bower_components/leaflet/docs/docs/css/main.css +1092 -0
- data/bower_components/leaflet/docs/docs/css/normalize.css +426 -0
- data/bower_components/leaflet/docs/docs/highlight/LICENSE +24 -0
- data/bower_components/leaflet/docs/docs/highlight/highlight.pack.js +1 -0
- data/bower_components/leaflet/docs/docs/highlight/styles/github-gist.css +211 -0
- data/bower_components/leaflet/docs/docs/images/2016-03-20-prosthetic-hand-zooming.gif +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-inheritances.gif +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-leaflet-toilet-paper.jpeg +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-04-18-madrid-leaflet-864px.jpg +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-07-18-remote-session.png +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-07-18-tooltip.png +0 -0
- data/bower_components/leaflet/docs/docs/images/2016-08-03-iraq-hacking.jpg +0 -0
- data/bower_components/leaflet/docs/docs/images/favicon.ico +0 -0
- data/bower_components/leaflet/docs/docs/images/forum-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/github-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/logo.png +0 -0
- data/bower_components/leaflet/docs/docs/images/logos.png +0 -0
- data/bower_components/leaflet/docs/docs/images/sprite.png +0 -0
- data/bower_components/leaflet/docs/docs/images/sprite.svg +75 -0
- data/bower_components/leaflet/docs/docs/images/twitter-round.png +0 -0
- data/bower_components/leaflet/docs/docs/images/twitter.png +0 -0
- data/bower_components/leaflet/docs/docs/js/docs.js +52 -0
- data/bower_components/leaflet/docs/download.md +95 -0
- data/bower_components/leaflet/docs/examples.md +125 -0
- data/bower_components/leaflet/docs/examples/choropleth-example.md +5 -0
- data/bower_components/leaflet/docs/examples/choropleth.md +5 -0
- data/bower_components/leaflet/docs/examples/choropleth/example-basic.md +20 -0
- data/bower_components/leaflet/docs/examples/choropleth/example-color.md +46 -0
- data/bower_components/leaflet/docs/examples/choropleth/example.md +159 -0
- data/bower_components/leaflet/docs/examples/choropleth/index.md +232 -0
- data/bower_components/leaflet/docs/examples/choropleth/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/choropleth/us-states.js +54 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example1.md +16 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example2.md +20 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example3.md +38 -0
- data/bower_components/leaflet/docs/examples/crs-simple/crs-simple.md +117 -0
- data/bower_components/leaflet/docs/examples/crs-simple/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_400px.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_detail.png +0 -0
- data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_full.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons-example.md +5 -0
- data/bower_components/leaflet/docs/examples/custom-icons.md +5 -0
- data/bower_components/leaflet/docs/examples/custom-icons/example-one-icon.md +27 -0
- data/bower_components/leaflet/docs/examples/custom-icons/example.md +31 -0
- data/bower_components/leaflet/docs/examples/custom-icons/index.md +79 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-green.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-orange.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-red.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/leaf-shadow.png +0 -0
- data/bower_components/leaflet/docs/examples/custom-icons/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/canvascircles.md +37 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.md +24 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/class-diagram.txt +100 -0
- data/bower_components/leaflet/docs/examples/extending/extending-1-classes.md +196 -0
- data/bower_components/leaflet/docs/examples/extending/extending-2-layers.md +210 -0
- data/bower_components/leaflet/docs/examples/extending/extending-3-controls.md +100 -0
- data/bower_components/leaflet/docs/examples/extending/gridcoords.md +32 -0
- data/bower_components/leaflet/docs/examples/extending/kittenlayer.md +29 -0
- data/bower_components/leaflet/docs/examples/extending/pixelorigin.md +90 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-1.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-2.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/thumbnail-3.png +0 -0
- data/bower_components/leaflet/docs/examples/extending/tilt.md +59 -0
- data/bower_components/leaflet/docs/examples/extending/watermark.md +36 -0
- data/bower_components/leaflet/docs/examples/geojson-example.md +5 -0
- data/bower_components/leaflet/docs/examples/geojson.md +5 -0
- data/bower_components/leaflet/docs/examples/geojson/baseball-marker.png +0 -0
- data/bower_components/leaflet/docs/examples/geojson/example.md +78 -0
- data/bower_components/leaflet/docs/examples/geojson/geojson-example.html +89 -0
- data/bower_components/leaflet/docs/examples/geojson/geojson.html +281 -0
- data/bower_components/leaflet/docs/examples/geojson/index.md +205 -0
- data/bower_components/leaflet/docs/examples/geojson/sample-geojson.js +248 -0
- data/bower_components/leaflet/docs/examples/geojson/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/layers-control-example.md +5 -0
- data/bower_components/leaflet/docs/examples/layers-control.md +5 -0
- data/bower_components/leaflet/docs/examples/layers-control/example.md +38 -0
- data/bower_components/leaflet/docs/examples/layers-control/index.md +72 -0
- data/bower_components/leaflet/docs/examples/layers-control/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/map-panes-example.md +5 -0
- data/bower_components/leaflet/docs/examples/map-panes.md +5 -0
- data/bower_components/leaflet/docs/examples/map-panes/eu-countries.js +79 -0
- data/bower_components/leaflet/docs/examples/map-panes/example.md +38 -0
- data/bower_components/leaflet/docs/examples/map-panes/index.md +105 -0
- data/bower_components/leaflet/docs/examples/map-panes/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/mobile-example.md +5 -0
- data/bower_components/leaflet/docs/examples/mobile.md +5 -0
- data/bower_components/leaflet/docs/examples/mobile/example.md +42 -0
- data/bower_components/leaflet/docs/examples/mobile/index.md +72 -0
- data/bower_components/leaflet/docs/examples/mobile/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/quick-start-example.md +5 -0
- data/bower_components/leaflet/docs/examples/quick-start.md +5 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-basic.md +19 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-overlays.md +35 -0
- data/bower_components/leaflet/docs/examples/quick-start/example-popups.md +37 -0
- data/bower_components/leaflet/docs/examples/quick-start/example.md +46 -0
- data/bower_components/leaflet/docs/examples/quick-start/index.md +143 -0
- data/bower_components/leaflet/docs/examples/quick-start/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example-bounds.md +23 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example-nocontrols.md +31 -0
- data/bower_components/leaflet/docs/examples/video-overlay/example.md +58 -0
- data/bower_components/leaflet/docs/examples/video-overlay/index.md +122 -0
- data/bower_components/leaflet/docs/examples/video-overlay/thumbnail.gif +0 -0
- data/bower_components/leaflet/docs/examples/wms/qgis-wms-layers.png +0 -0
- data/bower_components/leaflet/docs/examples/wms/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example-crs.md +18 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example1.md +16 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example2.md +16 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example3.md +34 -0
- data/bower_components/leaflet/docs/examples/wms/wms-example4.md +29 -0
- data/bower_components/leaflet/docs/examples/wms/wms.md +157 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-delta.md +40 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-fractional.md +56 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-scale.md +29 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-setzoom.md +44 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/example-zero.md +19 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/index.md +275 -0
- data/bower_components/leaflet/docs/examples/zoom-levels/thumbnail.png +0 -0
- data/bower_components/leaflet/docs/index.html +218 -0
- data/bower_components/leaflet/docs/plugins.md +3854 -0
- data/bower_components/leaflet/docs/reference-0.7.7.html +6424 -0
- data/bower_components/leaflet/docs/reference-1.0.0.html +22889 -0
- data/bower_components/leaflet/docs/reference-1.0.2.html +23382 -0
- data/bower_components/leaflet/docs/reference-1.0.3.html +23495 -0
- data/bower_components/leaflet/docs/reference-tpl.html +89 -0
- data/bower_components/leaflet/docs/reference-versions.html +16 -0
- data/bower_components/leaflet/docs/reference.html +3 -0
- data/bower_components/leaflet/package.json +77 -16
- data/columbus3.gemspec +1 -1
- data/doc/ChangeLog.org +10 -0
- data/doc/manual.txt +122 -0
- data/doc/todo.org +63 -0
- data/exe/columbus3 +2 -246
- data/lib/columbus3.rb +12 -7
- data/lib/columbus3/cli/command_semantics.rb +352 -0
- data/lib/columbus3/cli/command_syntax.rb +103 -0
- data/lib/columbus3/metadata/query_parser.racc +21 -7
- data/lib/columbus3/metadata/query_parser.tab.rb +34 -34
- data/lib/columbus3/metadata/sidecar.rb +1 -1
- data/lib/columbus3/renderer/flot_renderer.rb +3 -8
- data/lib/columbus3/renderer/leaflet_renderer.rb +18 -29
- data/lib/columbus3/renderer/sanitizer.rb +8 -0
- data/lib/columbus3/v900track/gpx2v900.rb +31 -0
- data/lib/columbus3/v900track/v900track.rb +34 -8
- data/lib/columbus3/v900track/v900waypoint.rb +9 -0
- data/lib/columbus3/version.rb +1 -1
- data/lib/html/flot.html.erb +6 -6
- data/lib/html/show.html.erb +53 -76
- data/lib/html/track.js.erb +58 -12
- metadata +222 -23
- data/README.textile +0 -67
- data/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/bower_components/jquery/src/css/defaultDisplay.js +0 -70
- data/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/bower_components/jquery/src/intro.js +0 -44
- data/bower_components/jquery/src/outro.js +0 -1
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/bower_components/jquery/src/var/strundefined.js +0 -3
- data/bower_components/leaflet/component.json +0 -20
@@ -0,0 +1,16 @@
|
|
1
|
+
define( [
|
2
|
+
"../var/document"
|
3
|
+
], function( document ) {
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
function DOMEval( code, doc ) {
|
7
|
+
doc = doc || document;
|
8
|
+
|
9
|
+
var script = doc.createElement( "script" );
|
10
|
+
|
11
|
+
script.text = code;
|
12
|
+
doc.head.appendChild( script ).parentNode.removeChild( script );
|
13
|
+
}
|
14
|
+
|
15
|
+
return DOMEval;
|
16
|
+
} );
|
@@ -1,10 +1,12 @@
|
|
1
|
-
define([
|
1
|
+
define( [
|
2
2
|
"../core"
|
3
3
|
], function( jQuery ) {
|
4
4
|
|
5
|
+
"use strict";
|
6
|
+
|
5
7
|
// Multifunctional method to get and set values of a collection
|
6
8
|
// The value/s can optionally be executed if it's a function
|
7
|
-
var access =
|
9
|
+
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
8
10
|
var i = 0,
|
9
11
|
len = elems.length,
|
10
12
|
bulk = key == null;
|
@@ -13,7 +15,7 @@ var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGe
|
|
13
15
|
if ( jQuery.type( key ) === "object" ) {
|
14
16
|
chainable = true;
|
15
17
|
for ( i in key ) {
|
16
|
-
|
18
|
+
access( elems, fn, i, key[ i ], true, emptyGet, raw );
|
17
19
|
}
|
18
20
|
|
19
21
|
// Sets one value
|
@@ -25,6 +27,7 @@ var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGe
|
|
25
27
|
}
|
26
28
|
|
27
29
|
if ( bulk ) {
|
30
|
+
|
28
31
|
// Bulk operations run against the entire set
|
29
32
|
if ( raw ) {
|
30
33
|
fn.call( elems, value );
|
@@ -41,20 +44,27 @@ var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGe
|
|
41
44
|
|
42
45
|
if ( fn ) {
|
43
46
|
for ( ; i < len; i++ ) {
|
44
|
-
fn(
|
47
|
+
fn(
|
48
|
+
elems[ i ], key, raw ?
|
49
|
+
value :
|
50
|
+
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
51
|
+
);
|
45
52
|
}
|
46
53
|
}
|
47
54
|
}
|
48
55
|
|
49
|
-
|
50
|
-
elems
|
56
|
+
if ( chainable ) {
|
57
|
+
return elems;
|
58
|
+
}
|
59
|
+
|
60
|
+
// Gets
|
61
|
+
if ( bulk ) {
|
62
|
+
return fn.call( elems );
|
63
|
+
}
|
51
64
|
|
52
|
-
|
53
|
-
bulk ?
|
54
|
-
fn.call( elems ) :
|
55
|
-
len ? fn( elems[0], key ) : emptyGet;
|
65
|
+
return len ? fn( elems[ 0 ], key ) : emptyGet;
|
56
66
|
};
|
57
67
|
|
58
68
|
return access;
|
59
69
|
|
60
|
-
});
|
70
|
+
} );
|
@@ -1,9 +1,13 @@
|
|
1
1
|
// Initialize a jQuery object
|
2
|
-
define([
|
2
|
+
define( [
|
3
3
|
"../core",
|
4
|
+
"../var/document",
|
4
5
|
"./var/rsingleTag",
|
6
|
+
|
5
7
|
"../traversing/findFilter"
|
6
|
-
], function( jQuery, rsingleTag ) {
|
8
|
+
], function( jQuery, document, rsingleTag ) {
|
9
|
+
|
10
|
+
"use strict";
|
7
11
|
|
8
12
|
// A central reference to the root jQuery(document)
|
9
13
|
var rootjQuery,
|
@@ -11,9 +15,10 @@ var rootjQuery,
|
|
11
15
|
// A simple way to check for HTML strings
|
12
16
|
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
|
13
17
|
// Strict HTML recognition (#11290: must start with <)
|
14
|
-
|
18
|
+
// Shortcut simple #id case for speed
|
19
|
+
rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
|
15
20
|
|
16
|
-
init = jQuery.fn.init = function( selector, context ) {
|
21
|
+
init = jQuery.fn.init = function( selector, context, root ) {
|
17
22
|
var match, elem;
|
18
23
|
|
19
24
|
// HANDLE: $(""), $(null), $(undefined), $(false)
|
@@ -21,9 +26,16 @@ var rootjQuery,
|
|
21
26
|
return this;
|
22
27
|
}
|
23
28
|
|
29
|
+
// Method init() accepts an alternate rootjQuery
|
30
|
+
// so migrate can support jQuery.sub (gh-2101)
|
31
|
+
root = root || rootjQuery;
|
32
|
+
|
24
33
|
// Handle HTML strings
|
25
34
|
if ( typeof selector === "string" ) {
|
26
|
-
if ( selector[0] === "<" &&
|
35
|
+
if ( selector[ 0 ] === "<" &&
|
36
|
+
selector[ selector.length - 1 ] === ">" &&
|
37
|
+
selector.length >= 3 ) {
|
38
|
+
|
27
39
|
// Assume that strings that start and end with <> are HTML and skip the regex check
|
28
40
|
match = [ null, selector, null ];
|
29
41
|
|
@@ -32,23 +44,24 @@ var rootjQuery,
|
|
32
44
|
}
|
33
45
|
|
34
46
|
// Match html or make sure no context is specified for #id
|
35
|
-
if ( match && (match[1] || !context) ) {
|
47
|
+
if ( match && ( match[ 1 ] || !context ) ) {
|
36
48
|
|
37
49
|
// HANDLE: $(html) -> $(array)
|
38
|
-
if ( match[1] ) {
|
39
|
-
context = context instanceof jQuery ? context[0] : context;
|
50
|
+
if ( match[ 1 ] ) {
|
51
|
+
context = context instanceof jQuery ? context[ 0 ] : context;
|
40
52
|
|
41
53
|
// Option to run scripts is true for back-compat
|
42
54
|
// Intentionally let the error be thrown if parseHTML is not present
|
43
55
|
jQuery.merge( this, jQuery.parseHTML(
|
44
|
-
match[1],
|
56
|
+
match[ 1 ],
|
45
57
|
context && context.nodeType ? context.ownerDocument || context : document,
|
46
58
|
true
|
47
59
|
) );
|
48
60
|
|
49
61
|
// HANDLE: $(html, props)
|
50
|
-
if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
|
62
|
+
if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {
|
51
63
|
for ( match in context ) {
|
64
|
+
|
52
65
|
// Properties of context are called as methods if possible
|
53
66
|
if ( jQuery.isFunction( this[ match ] ) ) {
|
54
67
|
this[ match ]( context[ match ] );
|
@@ -64,24 +77,20 @@ var rootjQuery,
|
|
64
77
|
|
65
78
|
// HANDLE: $(#id)
|
66
79
|
} else {
|
67
|
-
elem = document.getElementById( match[2] );
|
80
|
+
elem = document.getElementById( match[ 2 ] );
|
81
|
+
|
82
|
+
if ( elem ) {
|
68
83
|
|
69
|
-
// Support: Blackberry 4.6
|
70
|
-
// gEBID returns nodes no longer in the document (#6963)
|
71
|
-
if ( elem && elem.parentNode ) {
|
72
84
|
// Inject the element directly into the jQuery object
|
85
|
+
this[ 0 ] = elem;
|
73
86
|
this.length = 1;
|
74
|
-
this[0] = elem;
|
75
87
|
}
|
76
|
-
|
77
|
-
this.context = document;
|
78
|
-
this.selector = selector;
|
79
88
|
return this;
|
80
89
|
}
|
81
90
|
|
82
91
|
// HANDLE: $(expr, $(...))
|
83
92
|
} else if ( !context || context.jquery ) {
|
84
|
-
return ( context ||
|
93
|
+
return ( context || root ).find( selector );
|
85
94
|
|
86
95
|
// HANDLE: $(expr, context)
|
87
96
|
// (which is just equivalent to: $(context).find(expr)
|
@@ -91,24 +100,20 @@ var rootjQuery,
|
|
91
100
|
|
92
101
|
// HANDLE: $(DOMElement)
|
93
102
|
} else if ( selector.nodeType ) {
|
94
|
-
this
|
103
|
+
this[ 0 ] = selector;
|
95
104
|
this.length = 1;
|
96
105
|
return this;
|
97
106
|
|
98
107
|
// HANDLE: $(function)
|
99
108
|
// Shortcut for document ready
|
100
109
|
} else if ( jQuery.isFunction( selector ) ) {
|
101
|
-
return
|
102
|
-
|
110
|
+
return root.ready !== undefined ?
|
111
|
+
root.ready( selector ) :
|
112
|
+
|
103
113
|
// Execute immediately if ready is not present
|
104
114
|
selector( jQuery );
|
105
115
|
}
|
106
116
|
|
107
|
-
if ( selector.selector !== undefined ) {
|
108
|
-
this.selector = selector.selector;
|
109
|
-
this.context = selector.context;
|
110
|
-
}
|
111
|
-
|
112
117
|
return jQuery.makeArray( selector, this );
|
113
118
|
};
|
114
119
|
|
@@ -120,4 +125,4 @@ rootjQuery = jQuery( document );
|
|
120
125
|
|
121
126
|
return init;
|
122
127
|
|
123
|
-
});
|
128
|
+
} );
|
@@ -1,31 +1,57 @@
|
|
1
|
-
define([
|
1
|
+
define( [
|
2
2
|
"../core",
|
3
|
+
"../var/document",
|
3
4
|
"./var/rsingleTag",
|
4
|
-
"../manipulation"
|
5
|
-
], function( jQuery, rsingleTag ) {
|
5
|
+
"../manipulation/buildFragment",
|
6
6
|
|
7
|
-
//
|
8
|
-
|
7
|
+
// This is the only module that needs core/support
|
8
|
+
"./support"
|
9
|
+
], function( jQuery, document, rsingleTag, buildFragment, support ) {
|
10
|
+
|
11
|
+
"use strict";
|
12
|
+
|
13
|
+
// Argument "data" should be string of html
|
14
|
+
// context (optional): If specified, the fragment will be created in this context,
|
15
|
+
// defaults to document
|
9
16
|
// keepScripts (optional): If true, will include scripts passed in the html string
|
10
17
|
jQuery.parseHTML = function( data, context, keepScripts ) {
|
11
|
-
if (
|
12
|
-
return
|
18
|
+
if ( typeof data !== "string" ) {
|
19
|
+
return [];
|
13
20
|
}
|
14
21
|
if ( typeof context === "boolean" ) {
|
15
22
|
keepScripts = context;
|
16
23
|
context = false;
|
17
24
|
}
|
18
|
-
context = context || document;
|
19
25
|
|
20
|
-
var parsed
|
21
|
-
|
26
|
+
var base, parsed, scripts;
|
27
|
+
|
28
|
+
if ( !context ) {
|
29
|
+
|
30
|
+
// Stop scripts or inline event handlers from being executed immediately
|
31
|
+
// by using document.implementation
|
32
|
+
if ( support.createHTMLDocument ) {
|
33
|
+
context = document.implementation.createHTMLDocument( "" );
|
34
|
+
|
35
|
+
// Set the base href for the created document
|
36
|
+
// so any parsed elements with URLs
|
37
|
+
// are based on the document's URL (gh-2965)
|
38
|
+
base = context.createElement( "base" );
|
39
|
+
base.href = document.location.href;
|
40
|
+
context.head.appendChild( base );
|
41
|
+
} else {
|
42
|
+
context = document;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
parsed = rsingleTag.exec( data );
|
47
|
+
scripts = !keepScripts && [];
|
22
48
|
|
23
49
|
// Single tag
|
24
50
|
if ( parsed ) {
|
25
|
-
return [ context.createElement( parsed[1] ) ];
|
51
|
+
return [ context.createElement( parsed[ 1 ] ) ];
|
26
52
|
}
|
27
53
|
|
28
|
-
parsed =
|
54
|
+
parsed = buildFragment( [ data ], context, scripts );
|
29
55
|
|
30
56
|
if ( scripts && scripts.length ) {
|
31
57
|
jQuery( scripts ).remove();
|
@@ -36,4 +62,4 @@ jQuery.parseHTML = function( data, context, keepScripts ) {
|
|
36
62
|
|
37
63
|
return jQuery.parseHTML;
|
38
64
|
|
39
|
-
});
|
65
|
+
} );
|
@@ -0,0 +1,96 @@
|
|
1
|
+
define( [
|
2
|
+
"../core",
|
3
|
+
"../var/document"
|
4
|
+
], function( jQuery, document ) {
|
5
|
+
|
6
|
+
"use strict";
|
7
|
+
|
8
|
+
var readyCallbacks = [],
|
9
|
+
whenReady = function( fn ) {
|
10
|
+
readyCallbacks.push( fn );
|
11
|
+
},
|
12
|
+
executeReady = function( fn ) {
|
13
|
+
|
14
|
+
// Prevent errors from freezing future callback execution (gh-1823)
|
15
|
+
// Not backwards-compatible as this does not execute sync
|
16
|
+
window.setTimeout( function() {
|
17
|
+
fn.call( document, jQuery );
|
18
|
+
} );
|
19
|
+
};
|
20
|
+
|
21
|
+
jQuery.fn.ready = function( fn ) {
|
22
|
+
whenReady( fn );
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
|
26
|
+
jQuery.extend( {
|
27
|
+
|
28
|
+
// Is the DOM ready to be used? Set to true once it occurs.
|
29
|
+
isReady: false,
|
30
|
+
|
31
|
+
// A counter to track how many items to wait for before
|
32
|
+
// the ready event fires. See #6781
|
33
|
+
readyWait: 1,
|
34
|
+
|
35
|
+
ready: function( wait ) {
|
36
|
+
|
37
|
+
// Abort if there are pending holds or we're already ready
|
38
|
+
if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
|
39
|
+
return;
|
40
|
+
}
|
41
|
+
|
42
|
+
// Remember that the DOM is ready
|
43
|
+
jQuery.isReady = true;
|
44
|
+
|
45
|
+
// If a normal DOM Ready event fired, decrement, and wait if need be
|
46
|
+
if ( wait !== true && --jQuery.readyWait > 0 ) {
|
47
|
+
return;
|
48
|
+
}
|
49
|
+
|
50
|
+
whenReady = function( fn ) {
|
51
|
+
readyCallbacks.push( fn );
|
52
|
+
|
53
|
+
while ( readyCallbacks.length ) {
|
54
|
+
fn = readyCallbacks.shift();
|
55
|
+
if ( jQuery.isFunction( fn ) ) {
|
56
|
+
executeReady( fn );
|
57
|
+
}
|
58
|
+
}
|
59
|
+
};
|
60
|
+
|
61
|
+
whenReady();
|
62
|
+
}
|
63
|
+
} );
|
64
|
+
|
65
|
+
// Make jQuery.ready Promise consumable (gh-1778)
|
66
|
+
jQuery.ready.then = jQuery.fn.ready;
|
67
|
+
|
68
|
+
/**
|
69
|
+
* The ready event handler and self cleanup method
|
70
|
+
*/
|
71
|
+
function completed() {
|
72
|
+
document.removeEventListener( "DOMContentLoaded", completed );
|
73
|
+
window.removeEventListener( "load", completed );
|
74
|
+
jQuery.ready();
|
75
|
+
}
|
76
|
+
|
77
|
+
// Catch cases where $(document).ready() is called
|
78
|
+
// after the browser event has already occurred.
|
79
|
+
// Support: IE9-10 only
|
80
|
+
// Older IE sometimes signals "interactive" too soon
|
81
|
+
if ( document.readyState === "complete" ||
|
82
|
+
( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
|
83
|
+
|
84
|
+
// Handle it asynchronously to allow scripts the opportunity to delay ready
|
85
|
+
window.setTimeout( jQuery.ready );
|
86
|
+
|
87
|
+
} else {
|
88
|
+
|
89
|
+
// Use the handy event callback
|
90
|
+
document.addEventListener( "DOMContentLoaded", completed );
|
91
|
+
|
92
|
+
// A fallback to window.onload, that will always work
|
93
|
+
window.addEventListener( "load", completed );
|
94
|
+
}
|
95
|
+
|
96
|
+
} );
|
@@ -1,20 +1,32 @@
|
|
1
|
-
define([
|
1
|
+
define( [
|
2
2
|
"../core",
|
3
|
-
"../
|
3
|
+
"../var/document",
|
4
|
+
"../core/readyException",
|
4
5
|
"../deferred"
|
5
|
-
], function( jQuery ) {
|
6
|
+
], function( jQuery, document ) {
|
7
|
+
|
8
|
+
"use strict";
|
6
9
|
|
7
10
|
// The deferred used on DOM ready
|
8
|
-
var readyList;
|
11
|
+
var readyList = jQuery.Deferred();
|
9
12
|
|
10
13
|
jQuery.fn.ready = function( fn ) {
|
11
|
-
|
12
|
-
|
14
|
+
|
15
|
+
readyList
|
16
|
+
.then( fn )
|
17
|
+
|
18
|
+
// Wrap jQuery.readyException in a function so that the lookup
|
19
|
+
// happens at the time of error handling instead of callback
|
20
|
+
// registration.
|
21
|
+
.catch( function( error ) {
|
22
|
+
jQuery.readyException( error );
|
23
|
+
} );
|
13
24
|
|
14
25
|
return this;
|
15
26
|
};
|
16
27
|
|
17
|
-
jQuery.extend({
|
28
|
+
jQuery.extend( {
|
29
|
+
|
18
30
|
// Is the DOM ready to be used? Set to true once it occurs.
|
19
31
|
isReady: false,
|
20
32
|
|
@@ -22,15 +34,6 @@ jQuery.extend({
|
|
22
34
|
// the ready event fires. See #6781
|
23
35
|
readyWait: 1,
|
24
36
|
|
25
|
-
// Hold (or release) the ready event
|
26
|
-
holdReady: function( hold ) {
|
27
|
-
if ( hold ) {
|
28
|
-
jQuery.readyWait++;
|
29
|
-
} else {
|
30
|
-
jQuery.ready( true );
|
31
|
-
}
|
32
|
-
},
|
33
|
-
|
34
37
|
// Handle when the DOM is ready
|
35
38
|
ready: function( wait ) {
|
36
39
|
|
@@ -49,49 +52,35 @@ jQuery.extend({
|
|
49
52
|
|
50
53
|
// If there are functions bound, to execute
|
51
54
|
readyList.resolveWith( document, [ jQuery ] );
|
52
|
-
|
53
|
-
// Trigger any bound ready events
|
54
|
-
if ( jQuery.fn.triggerHandler ) {
|
55
|
-
jQuery( document ).triggerHandler( "ready" );
|
56
|
-
jQuery( document ).off( "ready" );
|
57
|
-
}
|
58
55
|
}
|
59
|
-
});
|
56
|
+
} );
|
60
57
|
|
61
|
-
|
62
|
-
|
63
|
-
|
58
|
+
jQuery.ready.then = readyList.then;
|
59
|
+
|
60
|
+
// The ready event handler and self cleanup method
|
64
61
|
function completed() {
|
65
|
-
document.removeEventListener( "DOMContentLoaded", completed
|
66
|
-
window.removeEventListener( "load", completed
|
62
|
+
document.removeEventListener( "DOMContentLoaded", completed );
|
63
|
+
window.removeEventListener( "load", completed );
|
67
64
|
jQuery.ready();
|
68
65
|
}
|
69
66
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
67
|
+
// Catch cases where $(document).ready() is called
|
68
|
+
// after the browser event has already occurred.
|
69
|
+
// Support: IE <=9 - 10 only
|
70
|
+
// Older IE sometimes signals "interactive" too soon
|
71
|
+
if ( document.readyState === "complete" ||
|
72
|
+
( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
|
74
73
|
|
75
|
-
|
76
|
-
|
77
|
-
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
|
78
|
-
if ( document.readyState === "complete" ) {
|
79
|
-
// Handle it asynchronously to allow scripts the opportunity to delay ready
|
80
|
-
setTimeout( jQuery.ready );
|
74
|
+
// Handle it asynchronously to allow scripts the opportunity to delay ready
|
75
|
+
window.setTimeout( jQuery.ready );
|
81
76
|
|
82
|
-
|
77
|
+
} else {
|
83
78
|
|
84
|
-
|
85
|
-
|
79
|
+
// Use the handy event callback
|
80
|
+
document.addEventListener( "DOMContentLoaded", completed );
|
86
81
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
}
|
91
|
-
return readyList.promise( obj );
|
92
|
-
};
|
93
|
-
|
94
|
-
// Kick off the DOM ready check even if the user does not
|
95
|
-
jQuery.ready.promise();
|
82
|
+
// A fallback to window.onload, that will always work
|
83
|
+
window.addEventListener( "load", completed );
|
84
|
+
}
|
96
85
|
|
97
|
-
});
|
86
|
+
} );
|