columbus3 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (344) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/README.md +122 -0
  4. data/bin/console +0 -0
  5. data/bin/setup +0 -0
  6. data/bower.json +25 -0
  7. data/bower_components/jquery/.bower.json +7 -20
  8. data/bower_components/jquery/AUTHORS.txt +301 -0
  9. data/bower_components/jquery/{MIT-LICENSE.txt → LICENSE.txt} +17 -2
  10. data/bower_components/jquery/README.md +67 -0
  11. data/bower_components/jquery/bower.json +2 -16
  12. data/bower_components/jquery/dist/core.js +476 -0
  13. data/bower_components/jquery/dist/jquery.js +3861 -2818
  14. data/bower_components/jquery/dist/jquery.min.js +4 -5
  15. data/bower_components/jquery/dist/jquery.min.map +1 -1
  16. data/bower_components/jquery/dist/jquery.slim.js +8160 -0
  17. data/bower_components/jquery/dist/jquery.slim.min.js +4 -0
  18. data/bower_components/jquery/dist/jquery.slim.min.map +1 -0
  19. data/bower_components/jquery/external/sizzle/LICENSE.txt +36 -0
  20. data/bower_components/jquery/{src → external}/sizzle/dist/sizzle.js +445 -240
  21. data/bower_components/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  22. data/bower_components/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  23. data/bower_components/jquery/src/.eslintrc.json +5 -0
  24. data/bower_components/jquery/src/ajax.js +174 -105
  25. data/bower_components/jquery/src/ajax/jsonp.js +27 -14
  26. data/bower_components/jquery/src/ajax/load.js +24 -23
  27. data/bower_components/jquery/src/ajax/parseXML.js +8 -6
  28. data/bower_components/jquery/src/ajax/script.js +25 -12
  29. data/bower_components/jquery/src/ajax/var/location.js +5 -0
  30. data/bower_components/jquery/src/ajax/var/nonce.js +4 -2
  31. data/bower_components/jquery/src/ajax/var/rquery.js +5 -3
  32. data/bower_components/jquery/src/ajax/xhr.js +76 -43
  33. data/bower_components/jquery/src/attributes.js +4 -2
  34. data/bower_components/jquery/src/attributes/attr.js +60 -60
  35. data/bower_components/jquery/src/attributes/classes.js +87 -71
  36. data/bower_components/jquery/src/attributes/prop.js +81 -32
  37. data/bower_components/jquery/src/attributes/support.js +11 -13
  38. data/bower_components/jquery/src/attributes/val.js +66 -37
  39. data/bower_components/jquery/src/callbacks.js +119 -90
  40. data/bower_components/jquery/src/core.js +108 -134
  41. data/bower_components/jquery/src/core/DOMEval.js +16 -0
  42. data/bower_components/jquery/src/core/access.js +21 -11
  43. data/bower_components/jquery/src/core/init.js +33 -28
  44. data/bower_components/jquery/src/core/nodeName.js +13 -0
  45. data/bower_components/jquery/src/core/parseHTML.js +39 -13
  46. data/bower_components/jquery/src/core/ready-no-deferred.js +96 -0
  47. data/bower_components/jquery/src/core/ready.js +40 -51
  48. data/bower_components/jquery/src/core/readyException.js +13 -0
  49. data/bower_components/jquery/src/core/stripAndCollapse.js +14 -0
  50. data/bower_components/jquery/src/core/support.js +20 -0
  51. data/bower_components/jquery/src/core/var/rsingleTag.js +5 -3
  52. data/bower_components/jquery/src/css.js +146 -158
  53. data/bower_components/jquery/src/css/addGetHookIf.js +7 -3
  54. data/bower_components/jquery/src/css/adjustCSS.js +71 -0
  55. data/bower_components/jquery/src/css/curCSS.js +22 -14
  56. data/bower_components/jquery/src/css/hiddenVisibleSelectors.js +8 -8
  57. data/bower_components/jquery/src/css/showHide.js +105 -0
  58. data/bower_components/jquery/src/css/support.js +69 -76
  59. data/bower_components/jquery/src/css/var/cssExpand.js +4 -2
  60. data/bower_components/jquery/src/css/var/getStyles.js +11 -6
  61. data/bower_components/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  62. data/bower_components/jquery/src/css/var/rmargin.js +5 -3
  63. data/bower_components/jquery/src/css/var/rnumnonpx.js +4 -2
  64. data/bower_components/jquery/src/css/{swap.js → var/swap.js} +5 -7
  65. data/bower_components/jquery/src/data.js +67 -66
  66. data/bower_components/jquery/src/data/Data.js +87 -107
  67. data/bower_components/jquery/src/data/{accepts.js → var/acceptData.js} +6 -7
  68. data/bower_components/jquery/src/data/var/{data_priv.js → dataPriv.js} +4 -2
  69. data/bower_components/jquery/src/data/var/{data_user.js → dataUser.js} +4 -2
  70. data/bower_components/jquery/src/deferred.js +314 -72
  71. data/bower_components/jquery/src/deferred/exceptionHook.js +21 -0
  72. data/bower_components/jquery/src/deprecated.js +36 -9
  73. data/bower_components/jquery/src/dimensions.js +16 -10
  74. data/bower_components/jquery/src/effects.js +257 -206
  75. data/bower_components/jquery/src/effects/Tween.js +18 -9
  76. data/bower_components/jquery/src/effects/animatedSelector.js +7 -5
  77. data/bower_components/jquery/src/event.js +297 -419
  78. data/bower_components/jquery/src/event/ajax.js +13 -4
  79. data/bower_components/jquery/src/event/alias.js +13 -23
  80. data/bower_components/jquery/src/event/focusin.js +55 -0
  81. data/bower_components/jquery/src/event/support.js +5 -3
  82. data/bower_components/jquery/src/event/trigger.js +185 -0
  83. data/bower_components/jquery/src/exports/amd.js +5 -3
  84. data/bower_components/jquery/src/exports/global.js +8 -6
  85. data/bower_components/jquery/src/jquery.js +6 -2
  86. data/bower_components/jquery/src/manipulation.js +218 -310
  87. data/bower_components/jquery/src/manipulation/_evalUrl.js +9 -4
  88. data/bower_components/jquery/src/manipulation/buildFragment.js +104 -0
  89. data/bower_components/jquery/src/manipulation/getAll.js +32 -0
  90. data/bower_components/jquery/src/manipulation/setGlobalEval.js +22 -0
  91. data/bower_components/jquery/src/manipulation/support.js +11 -8
  92. data/bower_components/jquery/src/manipulation/var/rcheckableType.js +5 -3
  93. data/bower_components/jquery/src/manipulation/var/rscriptType.js +5 -0
  94. data/bower_components/jquery/src/manipulation/var/rtagName.js +5 -0
  95. data/bower_components/jquery/src/manipulation/wrapMap.js +29 -0
  96. data/bower_components/jquery/src/offset.js +75 -53
  97. data/bower_components/jquery/src/queue.js +26 -23
  98. data/bower_components/jquery/src/queue/delay.js +8 -6
  99. data/bower_components/jquery/src/selector-native.js +133 -68
  100. data/bower_components/jquery/src/selector-sizzle.js +10 -5
  101. data/bower_components/jquery/src/selector.js +3 -1
  102. data/bower_components/jquery/src/serialize.js +52 -33
  103. data/bower_components/jquery/src/traversing.js +61 -69
  104. data/bower_components/jquery/src/traversing/findFilter.js +37 -31
  105. data/bower_components/jquery/src/traversing/var/dir.js +22 -0
  106. data/bower_components/jquery/src/traversing/var/rneedsContext.js +4 -2
  107. data/bower_components/jquery/src/traversing/var/siblings.js +17 -0
  108. data/bower_components/jquery/src/var/ObjectFunctionString.js +7 -0
  109. data/bower_components/jquery/src/var/arr.js +4 -2
  110. data/bower_components/jquery/src/var/class2type.js +4 -2
  111. data/bower_components/jquery/src/var/concat.js +4 -2
  112. data/bower_components/jquery/src/var/document.js +5 -0
  113. data/bower_components/jquery/src/var/documentElement.js +7 -0
  114. data/bower_components/jquery/src/var/fnToString.js +7 -0
  115. data/bower_components/jquery/src/var/getProto.js +5 -0
  116. data/bower_components/jquery/src/var/hasOwn.js +4 -2
  117. data/bower_components/jquery/src/var/indexOf.js +4 -2
  118. data/bower_components/jquery/src/var/pnum.js +5 -3
  119. data/bower_components/jquery/src/var/push.js +4 -2
  120. data/bower_components/jquery/src/var/rcssNum.js +9 -0
  121. data/bower_components/jquery/src/var/rnothtmlwhite.js +8 -0
  122. data/bower_components/jquery/src/var/slice.js +4 -2
  123. data/bower_components/jquery/src/var/support.js +4 -2
  124. data/bower_components/jquery/src/var/toString.js +4 -2
  125. data/bower_components/jquery/src/wrap.js +24 -26
  126. data/bower_components/leaflet-providers/.bower.json +6 -7
  127. data/bower_components/leaflet-providers/CHANGELOG.md +62 -0
  128. data/bower_components/leaflet-providers/README.md +12 -3
  129. data/bower_components/leaflet-providers/bower.json +1 -1
  130. data/bower_components/leaflet-providers/leaflet-providers.js +133 -92
  131. data/bower_components/leaflet-providers/package.json +14 -7
  132. data/bower_components/leaflet/.bower.json +10 -14
  133. data/bower_components/leaflet/CHANGELOG.md +648 -3
  134. data/bower_components/leaflet/CONTRIBUTING.md +88 -33
  135. data/bower_components/leaflet/ISSUE_TEMPLATE.md +25 -0
  136. data/bower_components/leaflet/Jakefile.js +73 -14
  137. data/bower_components/leaflet/LICENSE +1 -1
  138. data/bower_components/leaflet/PLUGIN-GUIDE.md +97 -3
  139. data/bower_components/leaflet/README.md +6 -8
  140. data/bower_components/leaflet/bower.json +3 -9
  141. data/bower_components/leaflet/dist/images/layers-2x.png +0 -0
  142. data/bower_components/leaflet/dist/images/layers.png +0 -0
  143. data/bower_components/leaflet/dist/images/marker-icon-2x.png +0 -0
  144. data/bower_components/leaflet/dist/images/marker-icon.png +0 -0
  145. data/bower_components/leaflet/dist/images/marker-shadow.png +0 -0
  146. data/bower_components/leaflet/dist/leaflet-src.js +12301 -7898
  147. data/bower_components/leaflet/dist/leaflet-src.js.map +1 -0
  148. data/bower_components/leaflet/dist/leaflet.css +196 -43
  149. data/bower_components/leaflet/dist/leaflet.js +6 -9
  150. data/bower_components/leaflet/dist/leaflet.js.map +1 -0
  151. data/bower_components/leaflet/docs/CNAME +1 -0
  152. data/bower_components/leaflet/docs/Gemfile +4 -0
  153. data/bower_components/leaflet/docs/_config.yml +19 -0
  154. data/bower_components/leaflet/docs/_includes/frame.html +9 -0
  155. data/bower_components/leaflet/docs/_includes/tutorial_link.html +8 -0
  156. data/bower_components/leaflet/docs/_layouts/post.html +30 -0
  157. data/bower_components/leaflet/docs/_layouts/redirected.html +14 -0
  158. data/bower_components/leaflet/docs/_layouts/tutorial.html +9 -0
  159. data/bower_components/leaflet/docs/_layouts/tutorial_frame.html +32 -0
  160. data/bower_components/leaflet/docs/_layouts/tutorial_v2.html +9 -0
  161. data/bower_components/leaflet/docs/_layouts/v2.html +159 -0
  162. data/bower_components/leaflet/docs/_posts/2012-07-30-leaflet-0-4-released.md +240 -0
  163. data/bower_components/leaflet/docs/_posts/2012-08-07-leaflet-0-4-3-and-a-new-tutorial.md +47 -0
  164. data/bower_components/leaflet/docs/_posts/2012-08-20-guest-post-markerclusterer-0-1-released.md +112 -0
  165. data/bower_components/leaflet/docs/_posts/2012-10-25-leaflet-0-4-5-bugfix-release-and-plans-for-0.5.md +36 -0
  166. data/bower_components/leaflet/docs/_posts/2013-01-17-leaflet-0-5-released.md +24 -0
  167. data/bower_components/leaflet/docs/_posts/2013-02-20-guest-post-draw.md +146 -0
  168. data/bower_components/leaflet/docs/_posts/2013-06-26-leaflet-0-6-released-dc-code-sprint-mapbox.md +31 -0
  169. data/bower_components/leaflet/docs/_posts/2013-06-28-leaflet-plugin-authoring-guide.md +111 -0
  170. data/bower_components/leaflet/docs/_posts/2013-11-18-leaflet-0-7-released-plans-for-future.md +56 -0
  171. data/bower_components/leaflet/docs/_posts/2015-07-01-leaflet-is-alive-and-kicking.md +21 -0
  172. data/bower_components/leaflet/docs/_posts/2015-07-15-leaflet-1.0-beta1-released.md +60 -0
  173. data/bower_components/leaflet/docs/_posts/2015-09-01-leaflet-0.7.4-released.md +29 -0
  174. data/bower_components/leaflet/docs/_posts/2015-10-14-leaflet-1.0-beta2-released.md +35 -0
  175. data/bower_components/leaflet/docs/_posts/2016-03-20-debugging-touch-interactions.md +101 -0
  176. data/bower_components/leaflet/docs/_posts/2016-04-18-leaflet-1.0-rc1.md +78 -0
  177. data/bower_components/leaflet/docs/_posts/2016-07-16-leaflet-1.0-rc2.md +60 -0
  178. data/bower_components/leaflet/docs/_posts/2016-08-05-leaflet-1.0-rc3.md +53 -0
  179. data/bower_components/leaflet/docs/_posts/2016-09-27-leaflet-1.0-final.md +50 -0
  180. data/bower_components/leaflet/docs/_posts/2016-11-21-leaflet-1.0.2.md +25 -0
  181. data/bower_components/leaflet/docs/_posts/2017-01-23-leaflet-1.0.3.md +27 -0
  182. data/bower_components/leaflet/docs/atom.xml +29 -0
  183. data/bower_components/leaflet/docs/blog.md +24 -0
  184. data/bower_components/leaflet/docs/docs/css/main.css +1092 -0
  185. data/bower_components/leaflet/docs/docs/css/normalize.css +426 -0
  186. data/bower_components/leaflet/docs/docs/highlight/LICENSE +24 -0
  187. data/bower_components/leaflet/docs/docs/highlight/highlight.pack.js +1 -0
  188. data/bower_components/leaflet/docs/docs/highlight/styles/github-gist.css +211 -0
  189. data/bower_components/leaflet/docs/docs/images/2016-03-20-prosthetic-hand-zooming.gif +0 -0
  190. data/bower_components/leaflet/docs/docs/images/2016-04-18-inheritances.gif +0 -0
  191. data/bower_components/leaflet/docs/docs/images/2016-04-18-leaflet-toilet-paper.jpeg +0 -0
  192. data/bower_components/leaflet/docs/docs/images/2016-04-18-madrid-leaflet-864px.jpg +0 -0
  193. data/bower_components/leaflet/docs/docs/images/2016-07-18-remote-session.png +0 -0
  194. data/bower_components/leaflet/docs/docs/images/2016-07-18-tooltip.png +0 -0
  195. data/bower_components/leaflet/docs/docs/images/2016-08-03-iraq-hacking.jpg +0 -0
  196. data/bower_components/leaflet/docs/docs/images/favicon.ico +0 -0
  197. data/bower_components/leaflet/docs/docs/images/forum-round.png +0 -0
  198. data/bower_components/leaflet/docs/docs/images/github-round.png +0 -0
  199. data/bower_components/leaflet/docs/docs/images/logo.png +0 -0
  200. data/bower_components/leaflet/docs/docs/images/logos.png +0 -0
  201. data/bower_components/leaflet/docs/docs/images/sprite.png +0 -0
  202. data/bower_components/leaflet/docs/docs/images/sprite.svg +75 -0
  203. data/bower_components/leaflet/docs/docs/images/twitter-round.png +0 -0
  204. data/bower_components/leaflet/docs/docs/images/twitter.png +0 -0
  205. data/bower_components/leaflet/docs/docs/js/docs.js +52 -0
  206. data/bower_components/leaflet/docs/download.md +95 -0
  207. data/bower_components/leaflet/docs/examples.md +125 -0
  208. data/bower_components/leaflet/docs/examples/choropleth-example.md +5 -0
  209. data/bower_components/leaflet/docs/examples/choropleth.md +5 -0
  210. data/bower_components/leaflet/docs/examples/choropleth/example-basic.md +20 -0
  211. data/bower_components/leaflet/docs/examples/choropleth/example-color.md +46 -0
  212. data/bower_components/leaflet/docs/examples/choropleth/example.md +159 -0
  213. data/bower_components/leaflet/docs/examples/choropleth/index.md +232 -0
  214. data/bower_components/leaflet/docs/examples/choropleth/thumbnail.png +0 -0
  215. data/bower_components/leaflet/docs/examples/choropleth/us-states.js +54 -0
  216. data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example1.md +16 -0
  217. data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example2.md +20 -0
  218. data/bower_components/leaflet/docs/examples/crs-simple/crs-simple-example3.md +38 -0
  219. data/bower_components/leaflet/docs/examples/crs-simple/crs-simple.md +117 -0
  220. data/bower_components/leaflet/docs/examples/crs-simple/thumbnail.png +0 -0
  221. data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_400px.png +0 -0
  222. data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_detail.png +0 -0
  223. data/bower_components/leaflet/docs/examples/crs-simple/uqm_map_full.png +0 -0
  224. data/bower_components/leaflet/docs/examples/custom-icons-example.md +5 -0
  225. data/bower_components/leaflet/docs/examples/custom-icons.md +5 -0
  226. data/bower_components/leaflet/docs/examples/custom-icons/example-one-icon.md +27 -0
  227. data/bower_components/leaflet/docs/examples/custom-icons/example.md +31 -0
  228. data/bower_components/leaflet/docs/examples/custom-icons/index.md +79 -0
  229. data/bower_components/leaflet/docs/examples/custom-icons/leaf-green.png +0 -0
  230. data/bower_components/leaflet/docs/examples/custom-icons/leaf-orange.png +0 -0
  231. data/bower_components/leaflet/docs/examples/custom-icons/leaf-red.png +0 -0
  232. data/bower_components/leaflet/docs/examples/custom-icons/leaf-shadow.png +0 -0
  233. data/bower_components/leaflet/docs/examples/custom-icons/thumbnail.png +0 -0
  234. data/bower_components/leaflet/docs/examples/extending/canvascircles.md +37 -0
  235. data/bower_components/leaflet/docs/examples/extending/class-diagram.md +24 -0
  236. data/bower_components/leaflet/docs/examples/extending/class-diagram.png +0 -0
  237. data/bower_components/leaflet/docs/examples/extending/class-diagram.txt +100 -0
  238. data/bower_components/leaflet/docs/examples/extending/extending-1-classes.md +196 -0
  239. data/bower_components/leaflet/docs/examples/extending/extending-2-layers.md +210 -0
  240. data/bower_components/leaflet/docs/examples/extending/extending-3-controls.md +100 -0
  241. data/bower_components/leaflet/docs/examples/extending/gridcoords.md +32 -0
  242. data/bower_components/leaflet/docs/examples/extending/kittenlayer.md +29 -0
  243. data/bower_components/leaflet/docs/examples/extending/pixelorigin.md +90 -0
  244. data/bower_components/leaflet/docs/examples/extending/thumbnail-1.png +0 -0
  245. data/bower_components/leaflet/docs/examples/extending/thumbnail-2.png +0 -0
  246. data/bower_components/leaflet/docs/examples/extending/thumbnail-3.png +0 -0
  247. data/bower_components/leaflet/docs/examples/extending/tilt.md +59 -0
  248. data/bower_components/leaflet/docs/examples/extending/watermark.md +36 -0
  249. data/bower_components/leaflet/docs/examples/geojson-example.md +5 -0
  250. data/bower_components/leaflet/docs/examples/geojson.md +5 -0
  251. data/bower_components/leaflet/docs/examples/geojson/baseball-marker.png +0 -0
  252. data/bower_components/leaflet/docs/examples/geojson/example.md +78 -0
  253. data/bower_components/leaflet/docs/examples/geojson/geojson-example.html +89 -0
  254. data/bower_components/leaflet/docs/examples/geojson/geojson.html +281 -0
  255. data/bower_components/leaflet/docs/examples/geojson/index.md +205 -0
  256. data/bower_components/leaflet/docs/examples/geojson/sample-geojson.js +248 -0
  257. data/bower_components/leaflet/docs/examples/geojson/thumbnail.png +0 -0
  258. data/bower_components/leaflet/docs/examples/layers-control-example.md +5 -0
  259. data/bower_components/leaflet/docs/examples/layers-control.md +5 -0
  260. data/bower_components/leaflet/docs/examples/layers-control/example.md +38 -0
  261. data/bower_components/leaflet/docs/examples/layers-control/index.md +72 -0
  262. data/bower_components/leaflet/docs/examples/layers-control/thumbnail.png +0 -0
  263. data/bower_components/leaflet/docs/examples/map-panes-example.md +5 -0
  264. data/bower_components/leaflet/docs/examples/map-panes.md +5 -0
  265. data/bower_components/leaflet/docs/examples/map-panes/eu-countries.js +79 -0
  266. data/bower_components/leaflet/docs/examples/map-panes/example.md +38 -0
  267. data/bower_components/leaflet/docs/examples/map-panes/index.md +105 -0
  268. data/bower_components/leaflet/docs/examples/map-panes/thumbnail.png +0 -0
  269. data/bower_components/leaflet/docs/examples/mobile-example.md +5 -0
  270. data/bower_components/leaflet/docs/examples/mobile.md +5 -0
  271. data/bower_components/leaflet/docs/examples/mobile/example.md +42 -0
  272. data/bower_components/leaflet/docs/examples/mobile/index.md +72 -0
  273. data/bower_components/leaflet/docs/examples/mobile/thumbnail.png +0 -0
  274. data/bower_components/leaflet/docs/examples/quick-start-example.md +5 -0
  275. data/bower_components/leaflet/docs/examples/quick-start.md +5 -0
  276. data/bower_components/leaflet/docs/examples/quick-start/example-basic.md +19 -0
  277. data/bower_components/leaflet/docs/examples/quick-start/example-overlays.md +35 -0
  278. data/bower_components/leaflet/docs/examples/quick-start/example-popups.md +37 -0
  279. data/bower_components/leaflet/docs/examples/quick-start/example.md +46 -0
  280. data/bower_components/leaflet/docs/examples/quick-start/index.md +143 -0
  281. data/bower_components/leaflet/docs/examples/quick-start/thumbnail.png +0 -0
  282. data/bower_components/leaflet/docs/examples/video-overlay/example-bounds.md +23 -0
  283. data/bower_components/leaflet/docs/examples/video-overlay/example-nocontrols.md +31 -0
  284. data/bower_components/leaflet/docs/examples/video-overlay/example.md +58 -0
  285. data/bower_components/leaflet/docs/examples/video-overlay/index.md +122 -0
  286. data/bower_components/leaflet/docs/examples/video-overlay/thumbnail.gif +0 -0
  287. data/bower_components/leaflet/docs/examples/wms/qgis-wms-layers.png +0 -0
  288. data/bower_components/leaflet/docs/examples/wms/thumbnail.png +0 -0
  289. data/bower_components/leaflet/docs/examples/wms/wms-example-crs.md +18 -0
  290. data/bower_components/leaflet/docs/examples/wms/wms-example1.md +16 -0
  291. data/bower_components/leaflet/docs/examples/wms/wms-example2.md +16 -0
  292. data/bower_components/leaflet/docs/examples/wms/wms-example3.md +34 -0
  293. data/bower_components/leaflet/docs/examples/wms/wms-example4.md +29 -0
  294. data/bower_components/leaflet/docs/examples/wms/wms.md +157 -0
  295. data/bower_components/leaflet/docs/examples/zoom-levels/example-delta.md +40 -0
  296. data/bower_components/leaflet/docs/examples/zoom-levels/example-fractional.md +56 -0
  297. data/bower_components/leaflet/docs/examples/zoom-levels/example-scale.md +29 -0
  298. data/bower_components/leaflet/docs/examples/zoom-levels/example-setzoom.md +44 -0
  299. data/bower_components/leaflet/docs/examples/zoom-levels/example-zero.md +19 -0
  300. data/bower_components/leaflet/docs/examples/zoom-levels/index.md +275 -0
  301. data/bower_components/leaflet/docs/examples/zoom-levels/thumbnail.png +0 -0
  302. data/bower_components/leaflet/docs/index.html +218 -0
  303. data/bower_components/leaflet/docs/plugins.md +3854 -0
  304. data/bower_components/leaflet/docs/reference-0.7.7.html +6424 -0
  305. data/bower_components/leaflet/docs/reference-1.0.0.html +22889 -0
  306. data/bower_components/leaflet/docs/reference-1.0.2.html +23382 -0
  307. data/bower_components/leaflet/docs/reference-1.0.3.html +23495 -0
  308. data/bower_components/leaflet/docs/reference-tpl.html +89 -0
  309. data/bower_components/leaflet/docs/reference-versions.html +16 -0
  310. data/bower_components/leaflet/docs/reference.html +3 -0
  311. data/bower_components/leaflet/package.json +77 -16
  312. data/columbus3.gemspec +1 -1
  313. data/doc/ChangeLog.org +10 -0
  314. data/doc/manual.txt +122 -0
  315. data/doc/todo.org +63 -0
  316. data/exe/columbus3 +2 -246
  317. data/lib/columbus3.rb +12 -7
  318. data/lib/columbus3/cli/command_semantics.rb +352 -0
  319. data/lib/columbus3/cli/command_syntax.rb +103 -0
  320. data/lib/columbus3/metadata/query_parser.racc +21 -7
  321. data/lib/columbus3/metadata/query_parser.tab.rb +34 -34
  322. data/lib/columbus3/metadata/sidecar.rb +1 -1
  323. data/lib/columbus3/renderer/flot_renderer.rb +3 -8
  324. data/lib/columbus3/renderer/leaflet_renderer.rb +18 -29
  325. data/lib/columbus3/renderer/sanitizer.rb +8 -0
  326. data/lib/columbus3/v900track/gpx2v900.rb +31 -0
  327. data/lib/columbus3/v900track/v900track.rb +34 -8
  328. data/lib/columbus3/v900track/v900waypoint.rb +9 -0
  329. data/lib/columbus3/version.rb +1 -1
  330. data/lib/html/flot.html.erb +6 -6
  331. data/lib/html/show.html.erb +53 -76
  332. data/lib/html/track.js.erb +58 -12
  333. metadata +222 -23
  334. data/README.textile +0 -67
  335. data/bower_components/jquery/src/ajax/parseJSON.js +0 -13
  336. data/bower_components/jquery/src/css/defaultDisplay.js +0 -70
  337. data/bower_components/jquery/src/css/var/isHidden.js +0 -13
  338. data/bower_components/jquery/src/intro.js +0 -44
  339. data/bower_components/jquery/src/outro.js +0 -1
  340. data/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
  341. data/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
  342. data/bower_components/jquery/src/var/rnotwhite.js +0 -3
  343. data/bower_components/jquery/src/var/strundefined.js +0 -3
  344. data/bower_components/leaflet/component.json +0 -20
@@ -1,3 +1,5 @@
1
- define(function() {
1
+ define( function() {
2
+ "use strict";
3
+
2
4
  return [ "Top", "Right", "Bottom", "Left" ];
3
- });
5
+ } );
@@ -1,12 +1,17 @@
1
- define(function() {
1
+ define( function() {
2
+ "use strict";
3
+
2
4
  return function( elem ) {
3
- // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
5
+
6
+ // Support: IE <=11 only, Firefox <=30 (#15098, #14150)
4
7
  // IE throws on elements created in popups
5
8
  // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
6
- if ( elem.ownerDocument.defaultView.opener ) {
7
- return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
9
+ var view = elem.ownerDocument.defaultView;
10
+
11
+ if ( !view || !view.opener ) {
12
+ view = window;
8
13
  }
9
14
 
10
- return window.getComputedStyle( elem, null );
15
+ return view.getComputedStyle( elem );
11
16
  };
12
- });
17
+ } );
@@ -0,0 +1,34 @@
1
+ define( [
2
+ "../../core",
3
+ "../../selector"
4
+
5
+ // css is assumed
6
+ ], function( jQuery ) {
7
+ "use strict";
8
+
9
+ // isHiddenWithinTree reports if an element has a non-"none" display style (inline and/or
10
+ // through the CSS cascade), which is useful in deciding whether or not to make it visible.
11
+ // It differs from the :hidden selector (jQuery.expr.pseudos.hidden) in two important ways:
12
+ // * A hidden ancestor does not force an element to be classified as hidden.
13
+ // * Being disconnected from the document does not force an element to be classified as hidden.
14
+ // These differences improve the behavior of .toggle() et al. when applied to elements that are
15
+ // detached or contained within hidden ancestors (gh-2404, gh-2863).
16
+ return function( elem, el ) {
17
+
18
+ // isHiddenWithinTree might be called from jQuery#filter function;
19
+ // in that case, element will be second argument
20
+ elem = el || elem;
21
+
22
+ // Inline style trumps all
23
+ return elem.style.display === "none" ||
24
+ elem.style.display === "" &&
25
+
26
+ // Otherwise, check computed style
27
+ // Support: Firefox <=43 - 45
28
+ // Disconnected elements can have computed display: none, so first confirm that elem is
29
+ // in the document.
30
+ jQuery.contains( elem.ownerDocument, elem ) &&
31
+
32
+ jQuery.css( elem, "display" ) === "none";
33
+ };
34
+ } );
@@ -1,3 +1,5 @@
1
- define(function() {
2
- return (/^margin/);
3
- });
1
+ define( function() {
2
+ "use strict";
3
+
4
+ return ( /^margin/ );
5
+ } );
@@ -1,5 +1,7 @@
1
- define([
1
+ define( [
2
2
  "../../var/pnum"
3
3
  ], function( pnum ) {
4
+ "use strict";
5
+
4
6
  return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
5
- });
7
+ } );
@@ -1,9 +1,9 @@
1
- define([
2
- "../core"
3
- ], function( jQuery ) {
1
+ define( function() {
2
+
3
+ "use strict";
4
4
 
5
5
  // A method for quickly swapping in/out CSS properties to get correct calculations.
6
- jQuery.swap = function( elem, options, callback, args ) {
6
+ return function( elem, options, callback, args ) {
7
7
  var ret, name,
8
8
  old = {};
9
9
 
@@ -23,6 +23,4 @@ jQuery.swap = function( elem, options, callback, args ) {
23
23
  return ret;
24
24
  };
25
25
 
26
- return jQuery.swap;
27
-
28
- });
26
+ } );
@@ -1,10 +1,11 @@
1
- define([
1
+ define( [
2
2
  "./core",
3
- "./var/rnotwhite",
4
3
  "./core/access",
5
- "./data/var/data_priv",
6
- "./data/var/data_user"
7
- ], function( jQuery, rnotwhite, access, data_priv, data_user ) {
4
+ "./data/var/dataPriv",
5
+ "./data/var/dataUser"
6
+ ], function( jQuery, access, dataPriv, dataUser ) {
7
+
8
+ "use strict";
8
9
 
9
10
  // Implementation Summary
10
11
  //
@@ -17,7 +18,32 @@ define([
17
18
  // 6. Provide a clear path for implementation upgrade to WeakMap in 2014
18
19
 
19
20
  var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
20
- rmultiDash = /([A-Z])/g;
21
+ rmultiDash = /[A-Z]/g;
22
+
23
+ function getData( data ) {
24
+ if ( data === "true" ) {
25
+ return true;
26
+ }
27
+
28
+ if ( data === "false" ) {
29
+ return false;
30
+ }
31
+
32
+ if ( data === "null" ) {
33
+ return null;
34
+ }
35
+
36
+ // Only convert to a number if it doesn't change the string
37
+ if ( data === +data + "" ) {
38
+ return +data;
39
+ }
40
+
41
+ if ( rbrace.test( data ) ) {
42
+ return JSON.parse( data );
43
+ }
44
+
45
+ return data;
46
+ }
21
47
 
22
48
  function dataAttr( elem, key, data ) {
23
49
  var name;
@@ -25,22 +51,16 @@ function dataAttr( elem, key, data ) {
25
51
  // If nothing was found internally, try to fetch any
26
52
  // data from the HTML5 data-* attribute
27
53
  if ( data === undefined && elem.nodeType === 1 ) {
28
- name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
54
+ name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase();
29
55
  data = elem.getAttribute( name );
30
56
 
31
57
  if ( typeof data === "string" ) {
32
58
  try {
33
- data = data === "true" ? true :
34
- data === "false" ? false :
35
- data === "null" ? null :
36
- // Only convert to a number if it doesn't change the string
37
- +data + "" === data ? +data :
38
- rbrace.test( data ) ? jQuery.parseJSON( data ) :
39
- data;
40
- } catch( e ) {}
59
+ data = getData( data );
60
+ } catch ( e ) {}
41
61
 
42
62
  // Make sure we set the data so it isn't changed later
43
- data_user.set( elem, key, data );
63
+ dataUser.set( elem, key, data );
44
64
  } else {
45
65
  data = undefined;
46
66
  }
@@ -48,31 +68,31 @@ function dataAttr( elem, key, data ) {
48
68
  return data;
49
69
  }
50
70
 
51
- jQuery.extend({
71
+ jQuery.extend( {
52
72
  hasData: function( elem ) {
53
- return data_user.hasData( elem ) || data_priv.hasData( elem );
73
+ return dataUser.hasData( elem ) || dataPriv.hasData( elem );
54
74
  },
55
75
 
56
76
  data: function( elem, name, data ) {
57
- return data_user.access( elem, name, data );
77
+ return dataUser.access( elem, name, data );
58
78
  },
59
79
 
60
80
  removeData: function( elem, name ) {
61
- data_user.remove( elem, name );
81
+ dataUser.remove( elem, name );
62
82
  },
63
83
 
64
84
  // TODO: Now that all calls to _data and _removeData have been replaced
65
- // with direct calls to data_priv methods, these can be deprecated.
85
+ // with direct calls to dataPriv methods, these can be deprecated.
66
86
  _data: function( elem, name, data ) {
67
- return data_priv.access( elem, name, data );
87
+ return dataPriv.access( elem, name, data );
68
88
  },
69
89
 
70
90
  _removeData: function( elem, name ) {
71
- data_priv.remove( elem, name );
91
+ dataPriv.remove( elem, name );
72
92
  }
73
- });
93
+ } );
74
94
 
75
- jQuery.fn.extend({
95
+ jQuery.fn.extend( {
76
96
  data: function( key, value ) {
77
97
  var i, name, data,
78
98
  elem = this[ 0 ],
@@ -81,23 +101,23 @@ jQuery.fn.extend({
81
101
  // Gets all values
82
102
  if ( key === undefined ) {
83
103
  if ( this.length ) {
84
- data = data_user.get( elem );
104
+ data = dataUser.get( elem );
85
105
 
86
- if ( elem.nodeType === 1 && !data_priv.get( elem, "hasDataAttrs" ) ) {
106
+ if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) {
87
107
  i = attrs.length;
88
108
  while ( i-- ) {
89
109
 
90
- // Support: IE11+
110
+ // Support: IE 11 only
91
111
  // The attrs elements can be null (#14894)
92
112
  if ( attrs[ i ] ) {
93
113
  name = attrs[ i ].name;
94
114
  if ( name.indexOf( "data-" ) === 0 ) {
95
- name = jQuery.camelCase( name.slice(5) );
115
+ name = jQuery.camelCase( name.slice( 5 ) );
96
116
  dataAttr( elem, name, data[ name ] );
97
117
  }
98
118
  }
99
119
  }
100
- data_priv.set( elem, "hasDataAttrs", true );
120
+ dataPriv.set( elem, "hasDataAttrs", true );
101
121
  }
102
122
  }
103
123
 
@@ -106,14 +126,13 @@ jQuery.fn.extend({
106
126
 
107
127
  // Sets multiple values
108
128
  if ( typeof key === "object" ) {
109
- return this.each(function() {
110
- data_user.set( this, key );
111
- });
129
+ return this.each( function() {
130
+ dataUser.set( this, key );
131
+ } );
112
132
  }
113
133
 
114
134
  return access( this, function( value ) {
115
- var data,
116
- camelKey = jQuery.camelCase( key );
135
+ var data;
117
136
 
118
137
  // The calling jQuery object (element matches) is not empty
119
138
  // (and therefore has an element appears at this[ 0 ]) and the
@@ -121,23 +140,17 @@ jQuery.fn.extend({
121
140
  // will result in `undefined` for elem = this[ 0 ] which will
122
141
  // throw an exception if an attempt to read a data cache is made.
123
142
  if ( elem && value === undefined ) {
124
- // Attempt to get data from the cache
125
- // with the key as-is
126
- data = data_user.get( elem, key );
127
- if ( data !== undefined ) {
128
- return data;
129
- }
130
143
 
131
144
  // Attempt to get data from the cache
132
- // with the key camelized
133
- data = data_user.get( elem, camelKey );
145
+ // The key will always be camelCased in Data
146
+ data = dataUser.get( elem, key );
134
147
  if ( data !== undefined ) {
135
148
  return data;
136
149
  }
137
150
 
138
151
  // Attempt to "discover" the data in
139
152
  // HTML5 custom data-* attrs
140
- data = dataAttr( elem, camelKey, undefined );
153
+ data = dataAttr( elem, key );
141
154
  if ( data !== undefined ) {
142
155
  return data;
143
156
  }
@@ -147,32 +160,20 @@ jQuery.fn.extend({
147
160
  }
148
161
 
149
162
  // Set the data...
150
- this.each(function() {
151
- // First, attempt to store a copy or reference of any
152
- // data that might've been store with a camelCased key.
153
- var data = data_user.get( this, camelKey );
154
-
155
- // For HTML5 data-* attribute interop, we have to
156
- // store property names with dashes in a camelCase form.
157
- // This might not apply to all properties...*
158
- data_user.set( this, camelKey, value );
159
-
160
- // *... In the case of properties that might _actually_
161
- // have dashes, we need to also store a copy of that
162
- // unchanged property.
163
- if ( key.indexOf("-") !== -1 && data !== undefined ) {
164
- data_user.set( this, key, value );
165
- }
166
- });
163
+ this.each( function() {
164
+
165
+ // We always store the camelCased key
166
+ dataUser.set( this, key, value );
167
+ } );
167
168
  }, null, value, arguments.length > 1, null, true );
168
169
  },
169
170
 
170
171
  removeData: function( key ) {
171
- return this.each(function() {
172
- data_user.remove( this, key );
173
- });
172
+ return this.each( function() {
173
+ dataUser.remove( this, key );
174
+ } );
174
175
  }
175
- });
176
+ } );
176
177
 
177
178
  return jQuery;
178
- });
179
+ } );
@@ -1,100 +1,80 @@
1
- define([
1
+ define( [
2
2
  "../core",
3
- "../var/rnotwhite",
4
- "./accepts"
5
- ], function( jQuery, rnotwhite ) {
3
+ "../var/rnothtmlwhite",
4
+ "./var/acceptData"
5
+ ], function( jQuery, rnothtmlwhite, acceptData ) {
6
6
 
7
- function Data() {
8
- // Support: Android<4,
9
- // Old WebKit does not have Object.preventExtensions/freeze method,
10
- // return new empty object instead with no [[set]] accessor
11
- Object.defineProperty( this.cache = {}, 0, {
12
- get: function() {
13
- return {};
14
- }
15
- });
7
+ "use strict";
16
8
 
9
+ function Data() {
17
10
  this.expando = jQuery.expando + Data.uid++;
18
11
  }
19
12
 
20
13
  Data.uid = 1;
21
- Data.accepts = jQuery.acceptData;
22
14
 
23
15
  Data.prototype = {
24
- key: function( owner ) {
25
- // We can accept data for non-element nodes in modern browsers,
26
- // but we should not, see #8335.
27
- // Always return the key for a frozen object.
28
- if ( !Data.accepts( owner ) ) {
29
- return 0;
30
- }
31
16
 
32
- var descriptor = {},
33
- // Check if the owner object already has a cache key
34
- unlock = owner[ this.expando ];
17
+ cache: function( owner ) {
18
+
19
+ // Check if the owner object already has a cache
20
+ var value = owner[ this.expando ];
35
21
 
36
22
  // If not, create one
37
- if ( !unlock ) {
38
- unlock = Data.uid++;
39
-
40
- // Secure it in a non-enumerable, non-writable property
41
- try {
42
- descriptor[ this.expando ] = { value: unlock };
43
- Object.defineProperties( owner, descriptor );
44
-
45
- // Support: Android<4
46
- // Fallback to a less secure definition
47
- } catch ( e ) {
48
- descriptor[ this.expando ] = unlock;
49
- jQuery.extend( owner, descriptor );
23
+ if ( !value ) {
24
+ value = {};
25
+
26
+ // We can accept data for non-element nodes in modern browsers,
27
+ // but we should not, see #8335.
28
+ // Always return an empty object.
29
+ if ( acceptData( owner ) ) {
30
+
31
+ // If it is a node unlikely to be stringify-ed or looped over
32
+ // use plain assignment
33
+ if ( owner.nodeType ) {
34
+ owner[ this.expando ] = value;
35
+
36
+ // Otherwise secure it in a non-enumerable property
37
+ // configurable must be true to allow the property to be
38
+ // deleted when data is removed
39
+ } else {
40
+ Object.defineProperty( owner, this.expando, {
41
+ value: value,
42
+ configurable: true
43
+ } );
44
+ }
50
45
  }
51
46
  }
52
47
 
53
- // Ensure the cache object
54
- if ( !this.cache[ unlock ] ) {
55
- this.cache[ unlock ] = {};
56
- }
57
-
58
- return unlock;
48
+ return value;
59
49
  },
60
50
  set: function( owner, data, value ) {
61
51
  var prop,
62
- // There may be an unlock assigned to this node,
63
- // if there is no entry for this "owner", create one inline
64
- // and set the unlock as though an owner entry had always existed
65
- unlock = this.key( owner ),
66
- cache = this.cache[ unlock ];
52
+ cache = this.cache( owner );
67
53
 
68
54
  // Handle: [ owner, key, value ] args
55
+ // Always use camelCase key (gh-2257)
69
56
  if ( typeof data === "string" ) {
70
- cache[ data ] = value;
57
+ cache[ jQuery.camelCase( data ) ] = value;
71
58
 
72
59
  // Handle: [ owner, { properties } ] args
73
60
  } else {
74
- // Fresh assignments by object are shallow copied
75
- if ( jQuery.isEmptyObject( cache ) ) {
76
- jQuery.extend( this.cache[ unlock ], data );
77
- // Otherwise, copy the properties one-by-one to the cache object
78
- } else {
79
- for ( prop in data ) {
80
- cache[ prop ] = data[ prop ];
81
- }
61
+
62
+ // Copy the properties one-by-one to the cache object
63
+ for ( prop in data ) {
64
+ cache[ jQuery.camelCase( prop ) ] = data[ prop ];
82
65
  }
83
66
  }
84
67
  return cache;
85
68
  },
86
69
  get: function( owner, key ) {
87
- // Either a valid cache is found, or will be created.
88
- // New caches will be created and the unlock returned,
89
- // allowing direct access to the newly created
90
- // empty data object. A valid owner object must be provided.
91
- var cache = this.cache[ this.key( owner ) ];
92
-
93
70
  return key === undefined ?
94
- cache : cache[ key ];
71
+ this.cache( owner ) :
72
+
73
+ // Always use camelCase key (gh-2257)
74
+ owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ];
95
75
  },
96
76
  access: function( owner, key, value ) {
97
- var stored;
77
+
98
78
  // In cases where either:
99
79
  //
100
80
  // 1. No key was specified
@@ -107,15 +87,12 @@ Data.prototype = {
107
87
  // 2. The data stored at the key
108
88
  //
109
89
  if ( key === undefined ||
110
- ((key && typeof key === "string") && value === undefined) ) {
111
-
112
- stored = this.get( owner, key );
90
+ ( ( key && typeof key === "string" ) && value === undefined ) ) {
113
91
 
114
- return stored !== undefined ?
115
- stored : this.get( owner, jQuery.camelCase(key) );
92
+ return this.get( owner, key );
116
93
  }
117
94
 
118
- // [*]When the key is not a string, or both a key and value
95
+ // When the key is not a string, or both a key and value
119
96
  // are specified, set or extend (existing objects) with either:
120
97
  //
121
98
  // 1. An object of properties
@@ -128,54 +105,57 @@ Data.prototype = {
128
105
  return value !== undefined ? value : key;
129
106
  },
130
107
  remove: function( owner, key ) {
131
- var i, name, camel,
132
- unlock = this.key( owner ),
133
- cache = this.cache[ unlock ];
108
+ var i,
109
+ cache = owner[ this.expando ];
134
110
 
135
- if ( key === undefined ) {
136
- this.cache[ unlock ] = {};
111
+ if ( cache === undefined ) {
112
+ return;
113
+ }
114
+
115
+ if ( key !== undefined ) {
137
116
 
138
- } else {
139
117
  // Support array or space separated string of keys
140
- if ( jQuery.isArray( key ) ) {
141
- // If "name" is an array of keys...
142
- // When data is initially created, via ("key", "val") signature,
143
- // keys will be converted to camelCase.
144
- // Since there is no way to tell _how_ a key was added, remove
145
- // both plain key and camelCase key. #12786
146
- // This will only penalize the array argument path.
147
- name = key.concat( key.map( jQuery.camelCase ) );
118
+ if ( Array.isArray( key ) ) {
119
+
120
+ // If key is an array of keys...
121
+ // We always set camelCase keys, so remove that.
122
+ key = key.map( jQuery.camelCase );
148
123
  } else {
149
- camel = jQuery.camelCase( key );
150
- // Try the string as a key before any manipulation
151
- if ( key in cache ) {
152
- name = [ key, camel ];
153
- } else {
154
- // If a key with the spaces exists, use it.
155
- // Otherwise, create an array by matching non-whitespace
156
- name = camel;
157
- name = name in cache ?
158
- [ name ] : ( name.match( rnotwhite ) || [] );
159
- }
124
+ key = jQuery.camelCase( key );
125
+
126
+ // If a key with the spaces exists, use it.
127
+ // Otherwise, create an array by matching non-whitespace
128
+ key = key in cache ?
129
+ [ key ] :
130
+ ( key.match( rnothtmlwhite ) || [] );
160
131
  }
161
132
 
162
- i = name.length;
133
+ i = key.length;
134
+
163
135
  while ( i-- ) {
164
- delete cache[ name[ i ] ];
136
+ delete cache[ key[ i ] ];
137
+ }
138
+ }
139
+
140
+ // Remove the expando if there's no more data
141
+ if ( key === undefined || jQuery.isEmptyObject( cache ) ) {
142
+
143
+ // Support: Chrome <=35 - 45
144
+ // Webkit & Blink performance suffers when deleting properties
145
+ // from DOM nodes, so set to undefined instead
146
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)
147
+ if ( owner.nodeType ) {
148
+ owner[ this.expando ] = undefined;
149
+ } else {
150
+ delete owner[ this.expando ];
165
151
  }
166
152
  }
167
153
  },
168
154
  hasData: function( owner ) {
169
- return !jQuery.isEmptyObject(
170
- this.cache[ owner[ this.expando ] ] || {}
171
- );
172
- },
173
- discard: function( owner ) {
174
- if ( owner[ this.expando ] ) {
175
- delete this.cache[ owner[ this.expando ] ];
176
- }
155
+ var cache = owner[ this.expando ];
156
+ return cache !== undefined && !jQuery.isEmptyObject( cache );
177
157
  }
178
158
  };
179
159
 
180
160
  return Data;
181
- });
161
+ } );