traceur-rb 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. checksums.yaml +8 -8
  2. data/lib/traceur/configuration.rb +1 -1
  3. data/lib/traceur/version.rb +1 -1
  4. data/{vendor/node_modules → node_modules}/.bin/traceur +0 -0
  5. data/{vendor/node_modules → node_modules}/traceur/LICENSE +0 -0
  6. data/{vendor/node_modules → node_modules}/traceur/README.md +0 -0
  7. data/node_modules/traceur/bin/traceur-runtime.js +3420 -0
  8. data/node_modules/traceur/bin/traceur.js +30354 -0
  9. data/{vendor/node_modules → node_modules}/traceur/node_modules/.bin/semver +0 -0
  10. data/node_modules/traceur/node_modules/commander/History.md +256 -0
  11. data/node_modules/traceur/node_modules/commander/LICENSE +22 -0
  12. data/node_modules/traceur/node_modules/commander/Readme.md +342 -0
  13. data/node_modules/traceur/node_modules/commander/index.js +1103 -0
  14. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/.npmignore +3 -0
  15. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/.travis.yml +5 -0
  16. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/LICENSE +22 -0
  17. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/README.md +17 -0
  18. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/index.js +12 -0
  19. data/node_modules/traceur/node_modules/commander/node_modules/graceful-readlink/package.json +48 -0
  20. data/node_modules/traceur/node_modules/commander/package.json +75 -0
  21. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/LICENSE +0 -0
  22. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/README.md +0 -0
  23. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/common.js +0 -0
  24. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/glob.js +0 -0
  25. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/.eslintrc +0 -0
  26. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/LICENSE +0 -0
  27. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/README.md +0 -0
  28. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/inflight.js +0 -0
  29. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/LICENSE +0 -0
  30. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/README.md +0 -0
  31. data/node_modules/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/package.json +52 -0
  32. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/test/basic.js +0 -0
  33. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/node_modules/wrappy/wrappy.js +0 -0
  34. data/node_modules/traceur/node_modules/glob/node_modules/inflight/package.json +61 -0
  35. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inflight/test.js +0 -0
  36. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inherits/LICENSE +0 -0
  37. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inherits/README.md +0 -0
  38. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inherits/inherits.js +0 -0
  39. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inherits/inherits_browser.js +0 -0
  40. data/node_modules/traceur/node_modules/glob/node_modules/inherits/package.json +50 -0
  41. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/inherits/test.js +0 -0
  42. data/{vendor/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy → node_modules/traceur/node_modules/glob/node_modules/minimatch}/LICENSE +0 -0
  43. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/README.md +0 -0
  44. data/node_modules/traceur/node_modules/glob/node_modules/minimatch/browser.js +1159 -0
  45. data/node_modules/traceur/node_modules/glob/node_modules/minimatch/minimatch.js +912 -0
  46. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.npmignore +0 -0
  47. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/.travis.yml +0 -0
  48. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/README.md +0 -0
  49. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/example.js +0 -0
  50. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/index.js +0 -0
  51. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.npmignore +0 -0
  52. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/.travis.yml +0 -0
  53. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/Makefile +0 -0
  54. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/README.md +0 -0
  55. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/example.js +0 -0
  56. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/index.js +0 -0
  57. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/package.json +0 -0
  58. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match/test/balanced.js +0 -0
  59. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/.travis.yml +0 -0
  60. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/LICENSE +0 -0
  61. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/README.markdown +0 -0
  62. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/example/map.js +0 -0
  63. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/index.js +0 -0
  64. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/package.json +0 -0
  65. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map/test/map.js +0 -0
  66. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/package.json +0 -0
  67. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-comparison.js +0 -0
  68. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/bash-results.txt +0 -0
  69. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/cases.txt +0 -0
  70. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/dollar.js +0 -0
  71. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/empty-option.js +0 -0
  72. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +0 -0
  73. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/negative-increment.js +0 -0
  74. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/nested.js +0 -0
  75. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/order.js +0 -0
  76. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/pad.js +0 -0
  77. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/same-type.js +0 -0
  78. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/sequence.js +0 -0
  79. data/node_modules/traceur/node_modules/glob/node_modules/minimatch/package.json +63 -0
  80. data/node_modules/traceur/node_modules/glob/node_modules/once/LICENSE +15 -0
  81. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/README.md +0 -0
  82. data/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/LICENSE +15 -0
  83. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/README.md +0 -0
  84. data/node_modules/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/package.json +52 -0
  85. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/test/basic.js +0 -0
  86. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/node_modules/wrappy/wrappy.js +0 -0
  87. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/once.js +0 -0
  88. data/node_modules/traceur/node_modules/glob/node_modules/once/package.json +60 -0
  89. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/node_modules/once/test/once.js +0 -0
  90. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/package.json +0 -0
  91. data/{vendor/node_modules → node_modules}/traceur/node_modules/glob/sync.js +0 -0
  92. data/node_modules/traceur/node_modules/rsvp/CHANGELOG.md +255 -0
  93. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/LICENSE +0 -0
  94. data/node_modules/traceur/node_modules/rsvp/README.md +366 -0
  95. data/node_modules/traceur/node_modules/rsvp/dist/rsvp.js +1597 -0
  96. data/node_modules/traceur/node_modules/rsvp/dist/rsvp.min.js +9 -0
  97. data/node_modules/traceur/node_modules/rsvp/lib/rsvp.js +70 -0
  98. data/node_modules/traceur/node_modules/rsvp/lib/rsvp.umd.js +51 -0
  99. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/-internal.js +0 -0
  100. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/all-settled.js +73 -0
  101. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/all.js +0 -0
  102. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/asap.js +112 -0
  103. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/config.js +0 -0
  104. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/defer.js +45 -0
  105. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/enumerator.js +130 -0
  106. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/events.js +205 -0
  107. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/filter.js +0 -0
  108. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/hash-settled.js +126 -0
  109. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/hash.js +94 -0
  110. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/instrument.js +41 -0
  111. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/map.js +0 -0
  112. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/node.js +281 -0
  113. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/platform.js +14 -0
  114. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise-hash.js +52 -0
  115. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise.js +496 -0
  116. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/promise/all.js +0 -0
  117. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/race.js +105 -0
  118. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/reject.js +47 -0
  119. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/promise/resolve.js +49 -0
  120. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/race.js +0 -0
  121. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/reject.js +16 -0
  122. data/node_modules/traceur/node_modules/rsvp/lib/rsvp/resolve.js +17 -0
  123. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/rethrow.js +0 -0
  124. data/{vendor/node_modules → node_modules}/traceur/node_modules/rsvp/lib/rsvp/utils.js +0 -0
  125. data/node_modules/traceur/node_modules/rsvp/package.json +106 -0
  126. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/.npmignore +0 -0
  127. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/LICENSE +0 -0
  128. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/Makefile +0 -0
  129. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/README.md +0 -0
  130. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/bin/semver +0 -0
  131. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/foot.js +0 -0
  132. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/head.js +0 -0
  133. data/node_modules/traceur/node_modules/semver/package.json +50 -0
  134. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/semver.browser.js +0 -0
  135. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/semver.browser.js.gz +0 -0
  136. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/semver.js +0 -0
  137. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/semver.min.js +0 -0
  138. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/semver.min.js.gz +0 -0
  139. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/test/amd.js +0 -0
  140. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/test/gtr.js +0 -0
  141. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/test/index.js +0 -0
  142. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/test/ltr.js +0 -0
  143. data/{vendor/node_modules → node_modules}/traceur/node_modules/semver/test/no-module.js +0 -0
  144. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/.npmignore +0 -0
  145. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/LICENSE.md +0 -0
  146. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/README.md +0 -0
  147. data/node_modules/traceur/node_modules/source-map-support/amd-test/browser-source-map-support.js +89 -0
  148. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/amd-test/index.html +0 -0
  149. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/amd-test/require.js +0 -0
  150. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/amd-test/script.coffee +0 -0
  151. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/amd-test/script.js +0 -0
  152. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/amd-test/script.map +0 -0
  153. data/node_modules/traceur/node_modules/source-map-support/browser-source-map-support.js +89 -0
  154. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/browser-test/index.html +0 -0
  155. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/browser-test/script.coffee +0 -0
  156. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/browser-test/script.js +0 -0
  157. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/browser-test/script.map +0 -0
  158. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/build.js +0 -0
  159. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/header-test/index.html +0 -0
  160. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/header-test/script.coffee +0 -0
  161. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/header-test/script.js +0 -0
  162. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/header-test/script.map +0 -0
  163. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/header-test/server.js +0 -0
  164. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/.npmignore +0 -0
  165. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/.travis.yml +0 -0
  166. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/CHANGELOG.md +0 -0
  167. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/LICENSE +0 -0
  168. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/Makefile.dryice.js +0 -0
  169. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/README.md +0 -0
  170. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/assert-shim.js +0 -0
  171. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/mini-require.js +0 -0
  172. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/prefix-source-map.jsm +0 -0
  173. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/prefix-utils.jsm +0 -0
  174. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-browser.js +0 -0
  175. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-source-map.jsm +0 -0
  176. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/suffix-utils.jsm +0 -0
  177. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/test-prefix.js +0 -0
  178. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/build/test-suffix.js +0 -0
  179. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map.js +0 -0
  180. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/array-set.js +0 -0
  181. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/base64-vlq.js +0 -0
  182. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/base64.js +0 -0
  183. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/binary-search.js +0 -0
  184. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-map-consumer.js +0 -0
  185. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-map-generator.js +0 -0
  186. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/source-node.js +0 -0
  187. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/lib/source-map/util.js +0 -0
  188. data/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/LICENSE +58 -0
  189. data/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/README.md +171 -0
  190. data/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/amdefine.js +301 -0
  191. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/intercept.js +0 -0
  192. data/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/node_modules/amdefine/package.json +47 -0
  193. data/node_modules/traceur/node_modules/source-map-support/node_modules/source-map/package.json +142 -0
  194. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/run-tests.js +0 -0
  195. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-api.js +0 -0
  196. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-array-set.js +0 -0
  197. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-base64-vlq.js +0 -0
  198. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-base64.js +0 -0
  199. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-binary-search.js +0 -0
  200. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-dog-fooding.js +0 -0
  201. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-map-consumer.js +0 -0
  202. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-map-generator.js +0 -0
  203. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/test-source-node.js +0 -0
  204. data/{vendor/node_modules → node_modules}/traceur/node_modules/source-map-support/node_modules/source-map/test/source-map/util.js +0 -0
  205. data/node_modules/traceur/node_modules/source-map-support/package.json +52 -0
  206. data/node_modules/traceur/node_modules/source-map-support/source-map-support.js +386 -0
  207. data/node_modules/traceur/node_modules/source-map-support/test.js +384 -0
  208. data/node_modules/traceur/package.json +286 -0
  209. data/node_modules/traceur/src/node/NodeCompiler.js +81 -0
  210. data/{vendor/node_modules → node_modules}/traceur/src/node/System.js +0 -0
  211. data/{vendor/node_modules → node_modules}/traceur/src/node/api.js +0 -0
  212. data/node_modules/traceur/src/node/command.js +203 -0
  213. data/{vendor/node_modules → node_modules}/traceur/src/node/compileAllJsFilesInDir.js +0 -0
  214. data/{vendor/node_modules → node_modules}/traceur/src/node/deferred.js +0 -0
  215. data/{vendor/node_modules → node_modules}/traceur/src/node/file-util.js +0 -0
  216. data/{vendor/node_modules → node_modules}/traceur/src/node/getopt.js +0 -0
  217. data/node_modules/traceur/src/node/interpreter.js +37 -0
  218. data/{vendor/node_modules → node_modules}/traceur/src/node/nodeLoader.js +0 -0
  219. data/node_modules/traceur/src/node/recursiveModuleCompile.js +171 -0
  220. data/{vendor/node_modules → node_modules}/traceur/src/node/require.js +0 -0
  221. data/{vendor/node_modules → node_modules}/traceur/src/node/to-amd-compiler.js +0 -0
  222. data/{vendor/node_modules → node_modules}/traceur/src/node/to-closure-compiler.js +0 -0
  223. data/{vendor/node_modules → node_modules}/traceur/src/node/to-commonjs-compiler.js +0 -0
  224. data/{vendor/node_modules → node_modules}/traceur/src/node/traceur.js +0 -0
  225. data/{vendor/node_modules → node_modules}/traceur/traceur +0 -0
  226. data/package.json +15 -0
  227. data/spec/traceur/configuration_spec.rb +3 -3
  228. metadata +225 -161
@@ -0,0 +1,301 @@
1
+ /** vim: et:ts=4:sw=4:sts=4
2
+ * @license amdefine 1.0.0 Copyright (c) 2011-2015, The Dojo Foundation All Rights Reserved.
3
+ * Available via the MIT or new BSD license.
4
+ * see: http://github.com/jrburke/amdefine for details
5
+ */
6
+
7
+ /*jslint node: true */
8
+ /*global module, process */
9
+ 'use strict';
10
+
11
+ /**
12
+ * Creates a define for node.
13
+ * @param {Object} module the "module" object that is defined by Node for the
14
+ * current module.
15
+ * @param {Function} [requireFn]. Node's require function for the current module.
16
+ * It only needs to be passed in Node versions before 0.5, when module.require
17
+ * did not exist.
18
+ * @returns {Function} a define function that is usable for the current node
19
+ * module.
20
+ */
21
+ function amdefine(module, requireFn) {
22
+ 'use strict';
23
+ var defineCache = {},
24
+ loaderCache = {},
25
+ alreadyCalled = false,
26
+ path = require('path'),
27
+ makeRequire, stringRequire;
28
+
29
+ /**
30
+ * Trims the . and .. from an array of path segments.
31
+ * It will keep a leading path segment if a .. will become
32
+ * the first path segment, to help with module name lookups,
33
+ * which act like paths, but can be remapped. But the end result,
34
+ * all paths that use this function should look normalized.
35
+ * NOTE: this method MODIFIES the input array.
36
+ * @param {Array} ary the array of path segments.
37
+ */
38
+ function trimDots(ary) {
39
+ var i, part;
40
+ for (i = 0; ary[i]; i+= 1) {
41
+ part = ary[i];
42
+ if (part === '.') {
43
+ ary.splice(i, 1);
44
+ i -= 1;
45
+ } else if (part === '..') {
46
+ if (i === 1 && (ary[2] === '..' || ary[0] === '..')) {
47
+ //End of the line. Keep at least one non-dot
48
+ //path segment at the front so it can be mapped
49
+ //correctly to disk. Otherwise, there is likely
50
+ //no path mapping for a path starting with '..'.
51
+ //This can still fail, but catches the most reasonable
52
+ //uses of ..
53
+ break;
54
+ } else if (i > 0) {
55
+ ary.splice(i - 1, 2);
56
+ i -= 2;
57
+ }
58
+ }
59
+ }
60
+ }
61
+
62
+ function normalize(name, baseName) {
63
+ var baseParts;
64
+
65
+ //Adjust any relative paths.
66
+ if (name && name.charAt(0) === '.') {
67
+ //If have a base name, try to normalize against it,
68
+ //otherwise, assume it is a top-level require that will
69
+ //be relative to baseUrl in the end.
70
+ if (baseName) {
71
+ baseParts = baseName.split('/');
72
+ baseParts = baseParts.slice(0, baseParts.length - 1);
73
+ baseParts = baseParts.concat(name.split('/'));
74
+ trimDots(baseParts);
75
+ name = baseParts.join('/');
76
+ }
77
+ }
78
+
79
+ return name;
80
+ }
81
+
82
+ /**
83
+ * Create the normalize() function passed to a loader plugin's
84
+ * normalize method.
85
+ */
86
+ function makeNormalize(relName) {
87
+ return function (name) {
88
+ return normalize(name, relName);
89
+ };
90
+ }
91
+
92
+ function makeLoad(id) {
93
+ function load(value) {
94
+ loaderCache[id] = value;
95
+ }
96
+
97
+ load.fromText = function (id, text) {
98
+ //This one is difficult because the text can/probably uses
99
+ //define, and any relative paths and requires should be relative
100
+ //to that id was it would be found on disk. But this would require
101
+ //bootstrapping a module/require fairly deeply from node core.
102
+ //Not sure how best to go about that yet.
103
+ throw new Error('amdefine does not implement load.fromText');
104
+ };
105
+
106
+ return load;
107
+ }
108
+
109
+ makeRequire = function (systemRequire, exports, module, relId) {
110
+ function amdRequire(deps, callback) {
111
+ if (typeof deps === 'string') {
112
+ //Synchronous, single module require('')
113
+ return stringRequire(systemRequire, exports, module, deps, relId);
114
+ } else {
115
+ //Array of dependencies with a callback.
116
+
117
+ //Convert the dependencies to modules.
118
+ deps = deps.map(function (depName) {
119
+ return stringRequire(systemRequire, exports, module, depName, relId);
120
+ });
121
+
122
+ //Wait for next tick to call back the require call.
123
+ if (callback) {
124
+ process.nextTick(function () {
125
+ callback.apply(null, deps);
126
+ });
127
+ }
128
+ }
129
+ }
130
+
131
+ amdRequire.toUrl = function (filePath) {
132
+ if (filePath.indexOf('.') === 0) {
133
+ return normalize(filePath, path.dirname(module.filename));
134
+ } else {
135
+ return filePath;
136
+ }
137
+ };
138
+
139
+ return amdRequire;
140
+ };
141
+
142
+ //Favor explicit value, passed in if the module wants to support Node 0.4.
143
+ requireFn = requireFn || function req() {
144
+ return module.require.apply(module, arguments);
145
+ };
146
+
147
+ function runFactory(id, deps, factory) {
148
+ var r, e, m, result;
149
+
150
+ if (id) {
151
+ e = loaderCache[id] = {};
152
+ m = {
153
+ id: id,
154
+ uri: __filename,
155
+ exports: e
156
+ };
157
+ r = makeRequire(requireFn, e, m, id);
158
+ } else {
159
+ //Only support one define call per file
160
+ if (alreadyCalled) {
161
+ throw new Error('amdefine with no module ID cannot be called more than once per file.');
162
+ }
163
+ alreadyCalled = true;
164
+
165
+ //Use the real variables from node
166
+ //Use module.exports for exports, since
167
+ //the exports in here is amdefine exports.
168
+ e = module.exports;
169
+ m = module;
170
+ r = makeRequire(requireFn, e, m, module.id);
171
+ }
172
+
173
+ //If there are dependencies, they are strings, so need
174
+ //to convert them to dependency values.
175
+ if (deps) {
176
+ deps = deps.map(function (depName) {
177
+ return r(depName);
178
+ });
179
+ }
180
+
181
+ //Call the factory with the right dependencies.
182
+ if (typeof factory === 'function') {
183
+ result = factory.apply(m.exports, deps);
184
+ } else {
185
+ result = factory;
186
+ }
187
+
188
+ if (result !== undefined) {
189
+ m.exports = result;
190
+ if (id) {
191
+ loaderCache[id] = m.exports;
192
+ }
193
+ }
194
+ }
195
+
196
+ stringRequire = function (systemRequire, exports, module, id, relId) {
197
+ //Split the ID by a ! so that
198
+ var index = id.indexOf('!'),
199
+ originalId = id,
200
+ prefix, plugin;
201
+
202
+ if (index === -1) {
203
+ id = normalize(id, relId);
204
+
205
+ //Straight module lookup. If it is one of the special dependencies,
206
+ //deal with it, otherwise, delegate to node.
207
+ if (id === 'require') {
208
+ return makeRequire(systemRequire, exports, module, relId);
209
+ } else if (id === 'exports') {
210
+ return exports;
211
+ } else if (id === 'module') {
212
+ return module;
213
+ } else if (loaderCache.hasOwnProperty(id)) {
214
+ return loaderCache[id];
215
+ } else if (defineCache[id]) {
216
+ runFactory.apply(null, defineCache[id]);
217
+ return loaderCache[id];
218
+ } else {
219
+ if(systemRequire) {
220
+ return systemRequire(originalId);
221
+ } else {
222
+ throw new Error('No module with ID: ' + id);
223
+ }
224
+ }
225
+ } else {
226
+ //There is a plugin in play.
227
+ prefix = id.substring(0, index);
228
+ id = id.substring(index + 1, id.length);
229
+
230
+ plugin = stringRequire(systemRequire, exports, module, prefix, relId);
231
+
232
+ if (plugin.normalize) {
233
+ id = plugin.normalize(id, makeNormalize(relId));
234
+ } else {
235
+ //Normalize the ID normally.
236
+ id = normalize(id, relId);
237
+ }
238
+
239
+ if (loaderCache[id]) {
240
+ return loaderCache[id];
241
+ } else {
242
+ plugin.load(id, makeRequire(systemRequire, exports, module, relId), makeLoad(id), {});
243
+
244
+ return loaderCache[id];
245
+ }
246
+ }
247
+ };
248
+
249
+ //Create a define function specific to the module asking for amdefine.
250
+ function define(id, deps, factory) {
251
+ if (Array.isArray(id)) {
252
+ factory = deps;
253
+ deps = id;
254
+ id = undefined;
255
+ } else if (typeof id !== 'string') {
256
+ factory = id;
257
+ id = deps = undefined;
258
+ }
259
+
260
+ if (deps && !Array.isArray(deps)) {
261
+ factory = deps;
262
+ deps = undefined;
263
+ }
264
+
265
+ if (!deps) {
266
+ deps = ['require', 'exports', 'module'];
267
+ }
268
+
269
+ //Set up properties for this module. If an ID, then use
270
+ //internal cache. If no ID, then use the external variables
271
+ //for this node module.
272
+ if (id) {
273
+ //Put the module in deep freeze until there is a
274
+ //require call for it.
275
+ defineCache[id] = [id, deps, factory];
276
+ } else {
277
+ runFactory(id, deps, factory);
278
+ }
279
+ }
280
+
281
+ //define.require, which has access to all the values in the
282
+ //cache. Useful for AMD modules that all have IDs in the file,
283
+ //but need to finally export a value to node based on one of those
284
+ //IDs.
285
+ define.require = function (id) {
286
+ if (loaderCache[id]) {
287
+ return loaderCache[id];
288
+ }
289
+
290
+ if (defineCache[id]) {
291
+ runFactory.apply(null, defineCache[id]);
292
+ return loaderCache[id];
293
+ }
294
+ };
295
+
296
+ define.amd = {};
297
+
298
+ return define;
299
+ }
300
+
301
+ module.exports = amdefine;
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "amdefine",
3
+ "description": "Provide AMD's define() API for declaring modules in the AMD format",
4
+ "version": "1.0.0",
5
+ "homepage": "http://github.com/jrburke/amdefine",
6
+ "author": {
7
+ "name": "James Burke",
8
+ "email": "jrburke@gmail.com",
9
+ "url": "http://github.com/jrburke"
10
+ },
11
+ "license": "BSD-3-Clause AND MIT",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/jrburke/amdefine.git"
15
+ },
16
+ "main": "./amdefine.js",
17
+ "engines": {
18
+ "node": ">=0.4.2"
19
+ },
20
+ "gitHead": "578bc4a3f7dede33f3f3e10edde0c1607005d761",
21
+ "bugs": {
22
+ "url": "https://github.com/jrburke/amdefine/issues"
23
+ },
24
+ "_id": "amdefine@1.0.0",
25
+ "scripts": {},
26
+ "_shasum": "fd17474700cb5cc9c2b709f0be9d23ce3c198c33",
27
+ "_from": "amdefine@>=0.0.4",
28
+ "_npmVersion": "2.12.1",
29
+ "_nodeVersion": "0.10.36",
30
+ "_npmUser": {
31
+ "name": "jrburke",
32
+ "email": "jrburke@gmail.com"
33
+ },
34
+ "maintainers": [
35
+ {
36
+ "name": "jrburke",
37
+ "email": "jrburke@gmail.com"
38
+ }
39
+ ],
40
+ "dist": {
41
+ "shasum": "fd17474700cb5cc9c2b709f0be9d23ce3c198c33",
42
+ "tarball": "http://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
43
+ },
44
+ "directories": {},
45
+ "_resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz",
46
+ "readme": "ERROR: No README data found!"
47
+ }
@@ -0,0 +1,142 @@
1
+ {
2
+ "name": "source-map",
3
+ "description": "Generates and consumes source maps",
4
+ "version": "0.1.32",
5
+ "homepage": "https://github.com/mozilla/source-map",
6
+ "author": {
7
+ "name": "Nick Fitzgerald",
8
+ "email": "nfitzgerald@mozilla.com"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "Tobias Koppers",
13
+ "email": "tobias.koppers@googlemail.com"
14
+ },
15
+ {
16
+ "name": "Duncan Beevers",
17
+ "email": "duncan@dweebd.com"
18
+ },
19
+ {
20
+ "name": "Stephen Crane",
21
+ "email": "scrane@mozilla.com"
22
+ },
23
+ {
24
+ "name": "Ryan Seddon",
25
+ "email": "seddon.ryan@gmail.com"
26
+ },
27
+ {
28
+ "name": "Miles Elam",
29
+ "email": "miles.elam@deem.com"
30
+ },
31
+ {
32
+ "name": "Mihai Bazon",
33
+ "email": "mihai.bazon@gmail.com"
34
+ },
35
+ {
36
+ "name": "Michael Ficarra",
37
+ "email": "github.public.email@michael.ficarra.me"
38
+ },
39
+ {
40
+ "name": "Todd Wolfson",
41
+ "email": "todd@twolfson.com"
42
+ },
43
+ {
44
+ "name": "Alexander Solovyov",
45
+ "email": "alexander@solovyov.net"
46
+ },
47
+ {
48
+ "name": "Felix Gnass",
49
+ "email": "fgnass@gmail.com"
50
+ },
51
+ {
52
+ "name": "Conrad Irwin",
53
+ "email": "conrad.irwin@gmail.com"
54
+ },
55
+ {
56
+ "name": "usrbincc",
57
+ "email": "usrbincc@yahoo.com"
58
+ },
59
+ {
60
+ "name": "David Glasser",
61
+ "email": "glasser@davidglasser.net"
62
+ },
63
+ {
64
+ "name": "Chase Douglas",
65
+ "email": "chase@newrelic.com"
66
+ },
67
+ {
68
+ "name": "Evan Wallace",
69
+ "email": "evan.exe@gmail.com"
70
+ },
71
+ {
72
+ "name": "Heather Arthur",
73
+ "email": "fayearthur@gmail.com"
74
+ },
75
+ {
76
+ "name": "Hugh Kennedy",
77
+ "email": "hughskennedy@gmail.com"
78
+ },
79
+ {
80
+ "name": "David Glasser",
81
+ "email": "glasser@davidglasser.net"
82
+ }
83
+ ],
84
+ "repository": {
85
+ "type": "git",
86
+ "url": "git+ssh://git@github.com/mozilla/source-map.git"
87
+ },
88
+ "directories": {
89
+ "lib": "./lib"
90
+ },
91
+ "main": "./lib/source-map.js",
92
+ "engines": {
93
+ "node": ">=0.8.0"
94
+ },
95
+ "licenses": [
96
+ {
97
+ "type": "BSD",
98
+ "url": "http://opensource.org/licenses/BSD-3-Clause"
99
+ }
100
+ ],
101
+ "dependencies": {
102
+ "amdefine": ">=0.0.4"
103
+ },
104
+ "devDependencies": {
105
+ "dryice": ">=0.4.8"
106
+ },
107
+ "scripts": {
108
+ "test": "node test/run-tests.js",
109
+ "build": "node Makefile.dryice.js"
110
+ },
111
+ "_id": "source-map@0.1.32",
112
+ "dist": {
113
+ "shasum": "c8b6c167797ba4740a8ea33252162ff08591b266",
114
+ "tarball": "http://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz"
115
+ },
116
+ "_from": "source-map@0.1.32",
117
+ "_npmVersion": "1.2.18",
118
+ "_npmUser": {
119
+ "name": "nickfitzgerald",
120
+ "email": "fitzgen@gmail.com"
121
+ },
122
+ "maintainers": [
123
+ {
124
+ "name": "mozilla-devtools",
125
+ "email": "mozilla-developer-tools@googlegroups.com"
126
+ },
127
+ {
128
+ "name": "mozilla",
129
+ "email": "dherman@mozilla.com"
130
+ },
131
+ {
132
+ "name": "nickfitzgerald",
133
+ "email": "fitzgen@gmail.com"
134
+ }
135
+ ],
136
+ "_shasum": "c8b6c167797ba4740a8ea33252162ff08591b266",
137
+ "_resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz",
138
+ "bugs": {
139
+ "url": "https://github.com/mozilla/source-map/issues"
140
+ },
141
+ "readme": "ERROR: No README data found!"
142
+ }