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,105 @@
1
+ import {
2
+ isArray
3
+ } from "../utils";
4
+
5
+ import {
6
+ noop,
7
+ resolve,
8
+ reject,
9
+ subscribe,
10
+ PENDING
11
+ } from '../-internal';
12
+
13
+ /**
14
+ `RSVP.Promise.race` returns a new promise which is settled in the same way as the
15
+ first passed promise to settle.
16
+
17
+ Example:
18
+
19
+ ```javascript
20
+ var promise1 = new RSVP.Promise(function(resolve, reject){
21
+ setTimeout(function(){
22
+ resolve('promise 1');
23
+ }, 200);
24
+ });
25
+
26
+ var promise2 = new RSVP.Promise(function(resolve, reject){
27
+ setTimeout(function(){
28
+ resolve('promise 2');
29
+ }, 100);
30
+ });
31
+
32
+ RSVP.Promise.race([promise1, promise2]).then(function(result){
33
+ // result === 'promise 2' because it was resolved before promise1
34
+ // was resolved.
35
+ });
36
+ ```
37
+
38
+ `RSVP.Promise.race` is deterministic in that only the state of the first
39
+ settled promise matters. For example, even if other promises given to the
40
+ `promises` array argument are resolved, but the first settled promise has
41
+ become rejected before the other promises became fulfilled, the returned
42
+ promise will become rejected:
43
+
44
+ ```javascript
45
+ var promise1 = new RSVP.Promise(function(resolve, reject){
46
+ setTimeout(function(){
47
+ resolve('promise 1');
48
+ }, 200);
49
+ });
50
+
51
+ var promise2 = new RSVP.Promise(function(resolve, reject){
52
+ setTimeout(function(){
53
+ reject(new Error('promise 2'));
54
+ }, 100);
55
+ });
56
+
57
+ RSVP.Promise.race([promise1, promise2]).then(function(result){
58
+ // Code here never runs
59
+ }, function(reason){
60
+ // reason.message === 'promise 2' because promise 2 became rejected before
61
+ // promise 1 became fulfilled
62
+ });
63
+ ```
64
+
65
+ An example real-world use case is implementing timeouts:
66
+
67
+ ```javascript
68
+ RSVP.Promise.race([ajax('foo.json'), timeout(5000)])
69
+ ```
70
+
71
+ @method race
72
+ @static
73
+ @param {Array} entries array of promises to observe
74
+ @param {String} label optional string for describing the promise returned.
75
+ Useful for tooling.
76
+ @return {Promise} a promise which settles in the same way as the first passed
77
+ promise to settle.
78
+ */
79
+ export default function race(entries, label) {
80
+ /*jshint validthis:true */
81
+ var Constructor = this;
82
+
83
+ var promise = new Constructor(noop, label);
84
+
85
+ if (!isArray(entries)) {
86
+ reject(promise, new TypeError('You must pass an array to race.'));
87
+ return promise;
88
+ }
89
+
90
+ var length = entries.length;
91
+
92
+ function onFulfillment(value) {
93
+ resolve(promise, value);
94
+ }
95
+
96
+ function onRejection(reason) {
97
+ reject(promise, reason);
98
+ }
99
+
100
+ for (var i = 0; promise._state === PENDING && i < length; i++) {
101
+ subscribe(Constructor.resolve(entries[i]), undefined, onFulfillment, onRejection);
102
+ }
103
+
104
+ return promise;
105
+ }
@@ -0,0 +1,47 @@
1
+ import {
2
+ noop,
3
+ reject as _reject
4
+ } from '../-internal';
5
+
6
+ /**
7
+ `RSVP.Promise.reject` returns a promise rejected with the passed `reason`.
8
+ It is shorthand for the following:
9
+
10
+ ```javascript
11
+ var promise = new RSVP.Promise(function(resolve, reject){
12
+ reject(new Error('WHOOPS'));
13
+ });
14
+
15
+ promise.then(function(value){
16
+ // Code here doesn't run because the promise is rejected!
17
+ }, function(reason){
18
+ // reason.message === 'WHOOPS'
19
+ });
20
+ ```
21
+
22
+ Instead of writing the above, your code now simply becomes the following:
23
+
24
+ ```javascript
25
+ var promise = RSVP.Promise.reject(new Error('WHOOPS'));
26
+
27
+ promise.then(function(value){
28
+ // Code here doesn't run because the promise is rejected!
29
+ }, function(reason){
30
+ // reason.message === 'WHOOPS'
31
+ });
32
+ ```
33
+
34
+ @method reject
35
+ @static
36
+ @param {*} reason value that the returned promise will be rejected with.
37
+ @param {String} label optional string for identifying the returned promise.
38
+ Useful for tooling.
39
+ @return {Promise} a promise rejected with the given `reason`.
40
+ */
41
+ export default function reject(reason, label) {
42
+ /*jshint validthis:true */
43
+ var Constructor = this;
44
+ var promise = new Constructor(noop, label);
45
+ _reject(promise, reason);
46
+ return promise;
47
+ }
@@ -0,0 +1,49 @@
1
+ import {
2
+ noop,
3
+ resolve as _resolve
4
+ } from '../-internal';
5
+
6
+ /**
7
+ `RSVP.Promise.resolve` returns a promise that will become resolved with the
8
+ passed `value`. It is shorthand for the following:
9
+
10
+ ```javascript
11
+ var promise = new RSVP.Promise(function(resolve, reject){
12
+ resolve(1);
13
+ });
14
+
15
+ promise.then(function(value){
16
+ // value === 1
17
+ });
18
+ ```
19
+
20
+ Instead of writing the above, your code now simply becomes the following:
21
+
22
+ ```javascript
23
+ var promise = RSVP.Promise.resolve(1);
24
+
25
+ promise.then(function(value){
26
+ // value === 1
27
+ });
28
+ ```
29
+
30
+ @method resolve
31
+ @static
32
+ @param {*} object value that the returned promise will be resolved with
33
+ @param {String} label optional string for identifying the returned promise.
34
+ Useful for tooling.
35
+ @return {Promise} a promise that will become fulfilled with the given
36
+ `value`
37
+ */
38
+ export default function resolve(object, label) {
39
+ /*jshint validthis:true */
40
+ var Constructor = this;
41
+
42
+ if (object && typeof object === 'object' && object.constructor === Constructor) {
43
+ return object;
44
+ }
45
+
46
+ var promise = new Constructor(noop, label);
47
+ _resolve(promise, object);
48
+ return promise;
49
+ }
@@ -0,0 +1,16 @@
1
+ import Promise from './promise';
2
+
3
+ /**
4
+ This is a convenient alias for `RSVP.Promise.reject`.
5
+
6
+ @method reject
7
+ @static
8
+ @for RSVP
9
+ @param {*} reason value that the returned promise will be rejected with.
10
+ @param {String} label optional string for identifying the returned promise.
11
+ Useful for tooling.
12
+ @return {Promise} a promise rejected with the given `reason`.
13
+ */
14
+ export default function reject(reason, label) {
15
+ return Promise.reject(reason, label);
16
+ }
@@ -0,0 +1,17 @@
1
+ import Promise from './promise';
2
+
3
+ /**
4
+ This is a convenient alias for `RSVP.Promise.resolve`.
5
+
6
+ @method resolve
7
+ @static
8
+ @for RSVP
9
+ @param {*} value value that the returned promise will be resolved with
10
+ @param {String} label optional string for identifying the returned promise.
11
+ Useful for tooling.
12
+ @return {Promise} a promise that will become fulfilled with the given
13
+ `value`
14
+ */
15
+ export default function resolve(value, label) {
16
+ return Promise.resolve(value, label);
17
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "rsvp",
3
+ "namespace": "RSVP",
4
+ "version": "3.0.21",
5
+ "description": "A lightweight library that provides tools for organizing asynchronous code",
6
+ "main": "dist/rsvp.js",
7
+ "files": [
8
+ "dist",
9
+ "lib",
10
+ "!dist/test"
11
+ ],
12
+ "directories": {
13
+ "lib": "lib"
14
+ },
15
+ "devDependencies": {
16
+ "bower": "^1.3.9",
17
+ "brfs": "0.0.8",
18
+ "broccoli-es3-safe-recast": "0.0.8",
19
+ "broccoli-es6-module-transpiler": "^0.5.0",
20
+ "broccoli-jshint": "^0.5.1",
21
+ "broccoli-merge-trees": "^0.1.4",
22
+ "broccoli-replace": "^0.2.0",
23
+ "broccoli-stew": "0.2.1",
24
+ "broccoli-uglify-js": "^0.1.3",
25
+ "broccoli-watchify": "^0.2.0",
26
+ "browserify": "^4.2.0",
27
+ "ember-cli-dependency-checker": "^1.0.1",
28
+ "ember-cli": "0.2.3",
29
+ "ember-publisher": "0.0.7",
30
+ "git-repo-version": "0.0.3",
31
+ "json3": "^3.3.2",
32
+ "minimatch": "^2.0.1",
33
+ "mocha": "^1.20.1",
34
+ "promises-aplus-tests-phantom": "^2.1.0-revise",
35
+ "release-it": "0.0.10"
36
+ },
37
+ "scripts": {
38
+ "build": "ember build --environment production",
39
+ "build:production": "ember build --env production",
40
+ "start": "ember s",
41
+ "test": "ember test",
42
+ "test:server": "ember test --server",
43
+ "test:node": "ember build && mocha ./dist/test/browserify",
44
+ "prepublish": "ember build --environment production",
45
+ "lint": "jshint lib",
46
+ "dry-run-release": "ember build --environment production && release-it --dry-run --non-interactive"
47
+ },
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/tildeio/rsvp.js.git",
51
+ "dist": "git@github.com:components/rsvp.js.git"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/tildeio/rsvp.js/issues"
55
+ },
56
+ "browser": {
57
+ "vertx": false
58
+ },
59
+ "keywords": [
60
+ "promises",
61
+ "futures"
62
+ ],
63
+ "author": {
64
+ "name": "Tilde, Inc. & Stefan Penner"
65
+ },
66
+ "license": "MIT",
67
+ "gitHead": "6e611877a216778ee8b734082a5fabca93f6d887",
68
+ "homepage": "https://github.com/tildeio/rsvp.js#readme",
69
+ "_id": "rsvp@3.0.21",
70
+ "_shasum": "49c588fe18ef293bcd0ab9f4e6756e6ac433359f",
71
+ "_from": "rsvp@>=3.0.13 <4.0.0",
72
+ "_npmVersion": "2.13.4",
73
+ "_nodeVersion": "2.2.1",
74
+ "_npmUser": {
75
+ "name": "stefanpenner",
76
+ "email": "stefan.penner@gmail.com"
77
+ },
78
+ "maintainers": [
79
+ {
80
+ "name": "wycats",
81
+ "email": "wycats@gmail.com"
82
+ },
83
+ {
84
+ "name": "ryanflorence",
85
+ "email": "rpflorence@gmail.com"
86
+ },
87
+ {
88
+ "name": "stefanpenner",
89
+ "email": "stefan.penner@gmail.com"
90
+ },
91
+ {
92
+ "name": "fivetanley",
93
+ "email": "dstanley.stuart@gmail.com"
94
+ },
95
+ {
96
+ "name": "mixonic",
97
+ "email": "matt.beale@madhatted.com"
98
+ }
99
+ ],
100
+ "dist": {
101
+ "shasum": "49c588fe18ef293bcd0ab9f4e6756e6ac433359f",
102
+ "tarball": "http://registry.npmjs.org/rsvp/-/rsvp-3.0.21.tgz"
103
+ },
104
+ "_resolved": "https://registry.npmjs.org/rsvp/-/rsvp-3.0.21.tgz",
105
+ "readme": "ERROR: No README data found!"
106
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "semver",
3
+ "version": "2.3.2",
4
+ "description": "The semantic version parser used by npm.",
5
+ "main": "semver.js",
6
+ "browser": "semver.browser.js",
7
+ "min": "semver.min.js",
8
+ "scripts": {
9
+ "test": "tap test/*.js",
10
+ "prepublish": "make"
11
+ },
12
+ "devDependencies": {
13
+ "tap": "0.x >=0.0.4",
14
+ "uglify-js": "~2.3.6"
15
+ },
16
+ "license": "BSD",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/isaacs/node-semver.git"
20
+ },
21
+ "bin": {
22
+ "semver": "./bin/semver"
23
+ },
24
+ "gitHead": "87bcf749b18fd0ce32b1808f60a98eacecd84689",
25
+ "bugs": {
26
+ "url": "https://github.com/isaacs/node-semver/issues"
27
+ },
28
+ "homepage": "https://github.com/isaacs/node-semver",
29
+ "_id": "semver@2.3.2",
30
+ "_shasum": "b9848f25d6cf36333073ec9ef8856d42f1233e52",
31
+ "_from": "semver@>=2.0.0 <3.0.0",
32
+ "_npmVersion": "1.5.0-alpha-4",
33
+ "_npmUser": {
34
+ "name": "isaacs",
35
+ "email": "i@izs.me"
36
+ },
37
+ "maintainers": [
38
+ {
39
+ "name": "isaacs",
40
+ "email": "i@izs.me"
41
+ }
42
+ ],
43
+ "dist": {
44
+ "shasum": "b9848f25d6cf36333073ec9ef8856d42f1233e52",
45
+ "tarball": "http://registry.npmjs.org/semver/-/semver-2.3.2.tgz"
46
+ },
47
+ "directories": {},
48
+ "_resolved": "https://registry.npmjs.org/semver/-/semver-2.3.2.tgz",
49
+ "readme": "ERROR: No README data found!"
50
+ }