traceur-rb 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +22 -0
  3. data/.rspec +1 -0
  4. data/.ruby-gemset +1 -0
  5. data/.ruby-version +1 -0
  6. data/Gemfile +4 -0
  7. data/Guardfile +8 -0
  8. data/LICENSE.txt +22 -0
  9. data/README.md +87 -0
  10. data/Rakefile +2 -0
  11. data/lib/js/compile.js +31 -0
  12. data/lib/traceur-rb.rb +1 -0
  13. data/lib/traceur.rb +43 -0
  14. data/lib/traceur/compilation_options.rb +65 -0
  15. data/lib/traceur/compiler.rb +33 -0
  16. data/lib/traceur/configuration.rb +47 -0
  17. data/lib/traceur/node.rb +26 -0
  18. data/lib/traceur/node/command_result.rb +28 -0
  19. data/lib/traceur/node/runner.rb +40 -0
  20. data/lib/traceur/version.rb +3 -0
  21. data/spec/examples/classes.js +12 -0
  22. data/spec/integration/examples_spec.rb +28 -0
  23. data/spec/spec_helper.rb +1 -0
  24. data/spec/traceur/compilation_options_spec.rb +31 -0
  25. data/spec/traceur/configuration_spec.rb +54 -0
  26. data/spec/traceur/node_spec.rb +15 -0
  27. data/traceur-rb.gemspec +25 -0
  28. data/vendor/node_modules/.bin/traceur +3 -0
  29. data/vendor/node_modules/traceur/README.md +40 -0
  30. data/vendor/node_modules/traceur/bin/traceur-runtime.js +2101 -0
  31. data/vendor/node_modules/traceur/bin/traceur.js +23034 -0
  32. data/vendor/node_modules/traceur/node_modules/.bin/semver +125 -0
  33. data/vendor/node_modules/traceur/node_modules/commander/Readme.md +208 -0
  34. data/vendor/node_modules/traceur/node_modules/commander/index.js +852 -0
  35. data/vendor/node_modules/traceur/node_modules/commander/package.json +40 -0
  36. data/vendor/node_modules/traceur/node_modules/q-io/.npmignore +1 -0
  37. data/vendor/node_modules/traceur/node_modules/q-io/.travis.yml +3 -0
  38. data/vendor/node_modules/traceur/node_modules/q-io/CHANGES.md +122 -0
  39. data/vendor/node_modules/traceur/node_modules/q-io/LICENSE +19 -0
  40. data/vendor/node_modules/traceur/node_modules/q-io/README.md +928 -0
  41. data/vendor/node_modules/traceur/node_modules/q-io/buffer-stream.js +59 -0
  42. data/vendor/node_modules/traceur/node_modules/q-io/coverage-report.js +44 -0
  43. data/vendor/node_modules/traceur/node_modules/q-io/deprecate.js +51 -0
  44. data/vendor/node_modules/traceur/node_modules/q-io/fs-boot.js +307 -0
  45. data/vendor/node_modules/traceur/node_modules/q-io/fs-common.js +499 -0
  46. data/vendor/node_modules/traceur/node_modules/q-io/fs-mock.js +547 -0
  47. data/vendor/node_modules/traceur/node_modules/q-io/fs-root.js +105 -0
  48. data/vendor/node_modules/traceur/node_modules/q-io/fs.js +355 -0
  49. data/vendor/node_modules/traceur/node_modules/q-io/fs2http.js +65 -0
  50. data/vendor/node_modules/traceur/node_modules/q-io/http-apps.js +152 -0
  51. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/chain.js +24 -0
  52. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/content.js +93 -0
  53. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/cookie.js +154 -0
  54. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/decorators.js +178 -0
  55. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/fs.js +417 -0
  56. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/html.js +58 -0
  57. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/json.js +78 -0
  58. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/negotiate.js +120 -0
  59. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/proxy.js +27 -0
  60. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/redirect.js +209 -0
  61. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/route.js +125 -0
  62. data/vendor/node_modules/traceur/node_modules/q-io/http-apps/status.js +175 -0
  63. data/vendor/node_modules/traceur/node_modules/q-io/http-cookie.js +75 -0
  64. data/vendor/node_modules/traceur/node_modules/q-io/http.js +378 -0
  65. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/.npmignore +11 -0
  66. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/.travis.yml +4 -0
  67. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/CHANGES.md +78 -0
  68. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/LICENSE.md +21 -0
  69. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/README.md +1285 -0
  70. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/collections.js +22 -0
  71. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/dict.js +142 -0
  72. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-map.js +57 -0
  73. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-set.js +183 -0
  74. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-collection.js +261 -0
  75. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-map.js +186 -0
  76. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-order.js +55 -0
  77. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-set.js +59 -0
  78. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/heap.js +236 -0
  79. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/iterator.js +371 -0
  80. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/list.js +435 -0
  81. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/array-changes.js +247 -0
  82. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/map-changes.js +147 -0
  83. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/property-changes.js +448 -0
  84. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/range-changes.js +139 -0
  85. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-map.js +79 -0
  86. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-set.js +142 -0
  87. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/map.js +60 -0
  88. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/multi-map.js +41 -0
  89. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/package.json +12 -0
  90. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync +7 -0
  91. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync.patch +48 -0
  92. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/weak-map.js +590 -0
  93. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/package.json +49 -0
  94. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/set.js +173 -0
  95. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-array.js +274 -0
  96. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-function.js +59 -0
  97. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-object.js +538 -0
  98. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-regexp.js +14 -0
  99. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim.js +6 -0
  100. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-map.js +49 -0
  101. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-set.js +51 -0
  102. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array.js +269 -0
  103. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-map.js +61 -0
  104. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-set.js +736 -0
  105. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/tree-log.js +40 -0
  106. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/weak-map.js +1 -0
  107. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/LICENSE +19 -0
  108. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/README.md +66 -0
  109. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/mime.js +114 -0
  110. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/package.json +35 -0
  111. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/test.js +84 -0
  112. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/mime.types +1588 -0
  113. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/node.types +77 -0
  114. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/CHANGES +15 -0
  115. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/LICENSE +19 -0
  116. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/README +96 -0
  117. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/lib/mimeparse.js +166 -0
  118. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/package.json +43 -0
  119. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/CONTRIBUTING.md +40 -0
  120. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/LICENSE +19 -0
  121. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/README.md +813 -0
  122. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/compare-with-callbacks.js +71 -0
  123. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/scenarios.js +36 -0
  124. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/package.json +93 -0
  125. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/q.js +1937 -0
  126. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/q/queue.js +35 -0
  127. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/.gitmodules +6 -0
  128. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/History.md +36 -0
  129. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Makefile +7 -0
  130. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Readme.md +38 -0
  131. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/benchmark.js +32 -0
  132. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/examples.js +39 -0
  133. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/index.js +2 -0
  134. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/lib/querystring.js +123 -0
  135. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/package.json +19 -0
  136. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.gitmodules +3 -0
  137. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.npmignore +3 -0
  138. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/History.md +128 -0
  139. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Makefile +53 -0
  140. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Readme.md +61 -0
  141. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/bin/expresso +856 -0
  142. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/api.html +1080 -0
  143. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.html +377 -0
  144. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.md +290 -0
  145. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/foot.html +3 -0
  146. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/head.html +42 -0
  147. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/bar.js +4 -0
  148. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/foo.js +16 -0
  149. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/package.json +12 -0
  150. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/assert.test.js +91 -0
  151. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/async.test.js +12 -0
  152. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/bar.test.js +13 -0
  153. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/foo.test.js +14 -0
  154. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/http.test.js +146 -0
  155. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/async.test.js +39 -0
  156. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/http.test.js +48 -0
  157. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/.gitmodules +3 -0
  158. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/History.md +22 -0
  159. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Makefile +6 -0
  160. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Readme.md +248 -0
  161. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/examples/runner.js +53 -0
  162. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/index.js +2 -0
  163. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/eql.js +91 -0
  164. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/should.js +548 -0
  165. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/package.json +8 -0
  166. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/test/should.test.js +358 -0
  167. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/test/querystring.test.js +133 -0
  168. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/.npmignore +3 -0
  169. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/.travis.yml +4 -0
  170. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/LICENSE.md +20 -0
  171. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/README.md +33 -0
  172. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/package.json +37 -0
  173. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/test/url2-spec.js +125 -0
  174. data/vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/url2.js +151 -0
  175. data/vendor/node_modules/traceur/node_modules/q-io/package.json +51 -0
  176. data/vendor/node_modules/traceur/node_modules/q-io/reader.js +133 -0
  177. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/boot-directory-spec.js +47 -0
  178. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/contains-spec.js +11 -0
  179. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/fixtures/hello.txt +1 -0
  180. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/issues/1-spec.js +33 -0
  181. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/make-tree-spec.js +92 -0
  182. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/append-spec.js +41 -0
  183. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/copy-tree-spec.js +57 -0
  184. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/fixture/hello.txt +1 -0
  185. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/link-spec.js +70 -0
  186. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/make-tree-spec.js +109 -0
  187. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/merge-spec.js +67 -0
  188. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/move-spec.js +219 -0
  189. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/object-spec.js +20 -0
  190. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/range-spec.js +26 -0
  191. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/read-spec.js +40 -0
  192. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-directory-spec.js +37 -0
  193. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-tree-spec.js +39 -0
  194. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/root-spec.js +32 -0
  195. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/stat-spec.js +26 -0
  196. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/symbolic-link-spec.js +86 -0
  197. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/working-directory-spec.js +31 -0
  198. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/write-spec.js +73 -0
  199. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.js +23 -0
  200. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.txt +1 -0
  201. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/read-spec.js +22 -0
  202. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/relative-spec.js +25 -0
  203. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/reroot-spec.js +45 -0
  204. data/vendor/node_modules/traceur/node_modules/q-io/spec/fs/write-spec.js +38 -0
  205. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/cookie-spec.js +52 -0
  206. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/directory-list-spec.js +86 -0
  207. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/01234.txt +1 -0
  208. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/1234.txt +1 -0
  209. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/5678.txt +0 -0
  210. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/9012/3456.txt +0 -0
  211. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/hosts-spec.js +49 -0
  212. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/interpret-range-spec.js +47 -0
  213. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/partial-range-spec.js +186 -0
  214. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/proxy-spec.js +82 -0
  215. data/vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/symbolic-link-spec.js +110 -0
  216. data/vendor/node_modules/traceur/node_modules/q-io/spec/http/agent-spec.js +96 -0
  217. data/vendor/node_modules/traceur/node_modules/q-io/spec/http/basic-spec.js +96 -0
  218. data/vendor/node_modules/traceur/node_modules/q-io/spec/lib/jasmine-promise.js +42 -0
  219. data/vendor/node_modules/traceur/node_modules/q-io/writer.js +111 -0
  220. data/vendor/node_modules/traceur/node_modules/semver/.npmignore +1 -0
  221. data/vendor/node_modules/traceur/node_modules/semver/LICENSE +27 -0
  222. data/vendor/node_modules/traceur/node_modules/semver/Makefile +24 -0
  223. data/vendor/node_modules/traceur/node_modules/semver/README.md +158 -0
  224. data/vendor/node_modules/traceur/node_modules/semver/bin/semver +125 -0
  225. data/vendor/node_modules/traceur/node_modules/semver/foot.js +6 -0
  226. data/vendor/node_modules/traceur/node_modules/semver/head.js +2 -0
  227. data/vendor/node_modules/traceur/node_modules/semver/package.json +31 -0
  228. data/vendor/node_modules/traceur/node_modules/semver/semver.browser.js +1039 -0
  229. data/vendor/node_modules/traceur/node_modules/semver/semver.browser.js.gz +0 -0
  230. data/vendor/node_modules/traceur/node_modules/semver/semver.js +1043 -0
  231. data/vendor/node_modules/traceur/node_modules/semver/semver.min.js +1 -0
  232. data/vendor/node_modules/traceur/node_modules/semver/semver.min.js.gz +0 -0
  233. data/vendor/node_modules/traceur/node_modules/semver/test/amd.js +15 -0
  234. data/vendor/node_modules/traceur/node_modules/semver/test/gtr.js +173 -0
  235. data/vendor/node_modules/traceur/node_modules/semver/test/index.js +584 -0
  236. data/vendor/node_modules/traceur/node_modules/semver/test/ltr.js +174 -0
  237. data/vendor/node_modules/traceur/node_modules/semver/test/no-module.js +19 -0
  238. data/vendor/node_modules/traceur/package.json +64 -0
  239. data/vendor/node_modules/traceur/src/node/System.js +31 -0
  240. data/vendor/node_modules/traceur/src/node/api.js +124 -0
  241. data/vendor/node_modules/traceur/src/node/command.js +141 -0
  242. data/vendor/node_modules/traceur/src/node/compile-single-file.js +69 -0
  243. data/vendor/node_modules/traceur/src/node/compiler.js +116 -0
  244. data/vendor/node_modules/traceur/src/node/deferred.js +110 -0
  245. data/vendor/node_modules/traceur/src/node/file-util.js +73 -0
  246. data/vendor/node_modules/traceur/src/node/getopt.js +147 -0
  247. data/vendor/node_modules/traceur/src/node/inline-module.js +149 -0
  248. data/vendor/node_modules/traceur/src/node/interpreter.js +33 -0
  249. data/vendor/node_modules/traceur/src/node/nodeLoader.js +41 -0
  250. data/vendor/node_modules/traceur/src/node/require.js +85 -0
  251. data/vendor/node_modules/traceur/src/node/to-amd-compiler.js +33 -0
  252. data/vendor/node_modules/traceur/src/node/to-commonjs-compiler.js +33 -0
  253. data/vendor/node_modules/traceur/src/node/traceur.js +32 -0
  254. data/vendor/node_modules/traceur/traceur +3 -0
  255. metadata +359 -0
@@ -0,0 +1,149 @@
1
+ // Copyright 2012 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict';
16
+
17
+ var fs = require('fs');
18
+ var path = require('path');
19
+ var nodeLoader = require('./nodeLoader.js');
20
+ var normalizePath = require('./file-util.js').normalizePath;
21
+
22
+ var TraceurLoader = traceur.runtime.TraceurLoader;
23
+ var LoaderHooks = traceur.runtime.LoaderHooks;
24
+ var Script = traceur.syntax.trees.Script;
25
+ var SourceFile = traceur.syntax.SourceFile
26
+ var moduleStore = traceur.runtime.ModuleStore;
27
+
28
+ /**
29
+ * @param {ErrorReporter} reporter
30
+ * @param {Array.<ParseTree>} elements
31
+ * @param {string|undefined} depTarget A valid depTarget means dependency
32
+ * printing was requested.
33
+ */
34
+ function InlineLoaderHooks(reporter, url, elements, depTarget) {
35
+ LoaderHooks.call(this, reporter, url,
36
+ nodeLoader, // Load modules using node fs.
37
+ moduleStore); // Look up modules in our static module store
38
+ this.dirname = url;
39
+ this.elements = elements;
40
+ this.depTarget = depTarget && normalizePath(path.relative('.', depTarget));
41
+ this.codeUnitList = [];
42
+ }
43
+
44
+ InlineLoaderHooks.prototype = {
45
+ __proto__: LoaderHooks.prototype,
46
+
47
+ evaluateCodeUnit: function(codeUnit) {
48
+ if (this.depTarget) {
49
+ console.log('%s: %s', this.depTarget,
50
+ normalizePath(path.relative(path.join(__dirname, '../..'),
51
+ codeUnit.url)));
52
+ }
53
+ // Don't eval. Instead append the trees to the output.
54
+ var tree = codeUnit.metadata.transformedTree;
55
+ this.elements.push.apply(this.elements, tree.scriptItemList);
56
+ },
57
+
58
+ };
59
+
60
+ function allLoaded(url, elements) {
61
+ return new Script(null, elements);
62
+ }
63
+
64
+ /**
65
+ * Compiles the files in "fileNamesAndTypes" along with any associated modules, into a
66
+ * single js file, in proper module dependency order.
67
+ *
68
+ * @param {Array.<Object>} fileNamesAndTypes The list of {name, type}
69
+ * to compile and concat; type is 'module' or 'script'
70
+ * @param {Object} options A container for misc options. 'depTarget' is the
71
+ * only currently available option, which results in the dependencies for
72
+ * 'fileNamesAndTypes' being printed to stdout, with 'depTarget' as the target.
73
+ * @param {ErrorReporter} reporter
74
+ * @param {Function} callback Callback used to return the result. A null result
75
+ * indicates that inlineAndCompile has returned successfully from a
76
+ * non-compile request.
77
+ * @param {Function} errback Callback used to return errors.
78
+ */
79
+ function inlineAndCompile(fileNamesAndTypes, options, reporter, callback, errback) {
80
+
81
+ var depTarget = options && options.depTarget;
82
+ var referrerName = options && options.referrer;
83
+
84
+ var basePath;
85
+ if (referrerName) {
86
+ // The compile occurs two directories down from current directory,
87
+ // in src/node. Thus the names will appear as eg ../src/x.
88
+ // We want something like referrerName/src/x. So we need to give
89
+ // the normalize() the 'package' or root name with src/node append
90
+ // to represent the referrer from here.
91
+ referrerName = referrerName && referrerName + 'src/node';
92
+ // The basePath will replace options.referrer in our final filename.
93
+ // Since we are in src/node, we need to back up two directories.
94
+ basePath = path.join(__dirname, '../../');
95
+ } else {
96
+ basePath = path.resolve('./') + '/';
97
+ }
98
+ basePath = basePath.replace(/\\/g, '/');
99
+
100
+ var loadCount = 0;
101
+ var elements = [];
102
+ var hooks = new InlineLoaderHooks(reporter, basePath, elements, depTarget);
103
+ var loader = new TraceurLoader(hooks);
104
+
105
+ function appendEvaluateModule(name, referrerName) {
106
+ var normalizedName =
107
+ traceur.ModuleStore.normalize(name, referrerName);
108
+ // Create tree for System.get('normalizedName');
109
+ var tree =
110
+ traceur.codegeneration.module.createModuleEvaluationStatement(normalizedName);
111
+ elements.push(tree);
112
+ }
113
+
114
+ function loadNext() {
115
+ var doEvaluateModule = false;
116
+ var loadFunction = loader.import;
117
+ var input = fileNamesAndTypes[loadCount];
118
+ var name = input.name;
119
+ if (input.type === 'script') {
120
+ loadFunction = loader.loadAsScript;
121
+ } else {
122
+ name = name.replace(/\.js$/,'');
123
+ if (options.modules === 'register')
124
+ doEvaluateModule = true;
125
+ }
126
+ var loadOptions = {referrerName: referrerName};
127
+ var codeUnit = loadFunction.call(loader, name, loadOptions).then(
128
+ function() {
129
+ if (doEvaluateModule)
130
+ appendEvaluateModule(name, referrerName);
131
+ loadCount++;
132
+ if (loadCount < fileNamesAndTypes.length) {
133
+ loadNext();
134
+ } else if (depTarget) {
135
+ callback(null);
136
+ } else {
137
+ var tree = allLoaded(basePath, elements);
138
+ callback(tree);
139
+ }
140
+ }, function(err) {
141
+ errback(err);
142
+ }).catch(function(ex) {
143
+ console.error('Internal error ' + (ex.stack || ex));
144
+ });
145
+ }
146
+
147
+ loadNext();
148
+ }
149
+ exports.inlineAndCompile = inlineAndCompile;
@@ -0,0 +1,33 @@
1
+ // Copyright 2013 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict';
16
+
17
+ var fs = require('fs');
18
+ var traceur = require('./traceur.js');
19
+ var nodeLoader = require('./nodeLoader.js');
20
+
21
+ function interpret(filename) {
22
+ // Interpret the filename argument as a platform-independent,
23
+ // normalized module name.
24
+ var moduleName = filename.replace(/\\/g, '/').replace(/\.js$/,'');
25
+ System.import(moduleName).then(function() {
26
+
27
+ }).catch(function(err) {
28
+ console.error(err.stack || err);
29
+ process.exit(8);
30
+ });
31
+ }
32
+
33
+ module.exports = interpret;
@@ -0,0 +1,41 @@
1
+ // Copyright 2013 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ var fs = require('fs');
16
+
17
+ function stripShebang(data) {
18
+ if (/^#!/.test(data))
19
+ data = '//' + data;
20
+ return data;
21
+ }
22
+
23
+ var nodeLoader = {
24
+ load: function(url, callback, errback) {
25
+ fs.readFile(url, 'utf8', function(err, data) {
26
+ if (err) {
27
+ err.message = err.message.replace('ENOENT, open', 'File not found');
28
+ errback(err);
29
+ } else {
30
+ callback(stripShebang(data));
31
+ }
32
+ });
33
+
34
+ // Returns an abort function.
35
+ return function() {
36
+ callback = function() {};
37
+ };
38
+ }
39
+ };
40
+
41
+ module.exports = nodeLoader;
@@ -0,0 +1,85 @@
1
+ // Copyright 2013 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict';
16
+
17
+ var fs = require('fs');
18
+ var Module = require('module');
19
+ var traceur = require('./traceur.js');
20
+
21
+ var ErrorReporter = traceur.util.ErrorReporter;
22
+ var FromOptionsTransformer = traceur.codegeneration.FromOptionsTransformer;
23
+ var Parser = traceur.syntax.Parser;
24
+ var SourceFile = traceur.syntax.SourceFile;
25
+ var TreeWriter = traceur.outputgeneration.TreeWriter;
26
+
27
+ var ext = '.traceur-compiled';
28
+
29
+ Module._extensions[ext] = function(module, filename) {
30
+ module.filename = filename.slice(0, -ext.length);
31
+ module._compile(module.compiledCode, module.filename);
32
+ };
33
+
34
+ function compile(filename) {
35
+ traceur.options.modules = 'commonjs';
36
+
37
+ var contents = fs.readFileSync(filename, 'utf-8');
38
+ var sourceFile = new SourceFile(filename, contents);
39
+ var parser = new Parser(sourceFile);
40
+ var tree = parser.parseModule();
41
+ var reporter = new ErrorReporter();
42
+ var transformer = new FromOptionsTransformer(reporter);
43
+ tree = transformer.transform(tree);
44
+ if (reporter.hadError())
45
+ throw new Error('Error transforming ' + filename);
46
+ return TreeWriter.write(tree);
47
+ }
48
+
49
+ function traceurRequire(filename) {
50
+ var source = compile(filename);
51
+ var module = new Module(filename, require.main);
52
+ module.compiledCode = source;
53
+ module.load(filename + ext);
54
+ return module.exports;
55
+ }
56
+
57
+ var filters = [];
58
+ var originalRequireJs = Module._extensions['.js'];
59
+
60
+ function shouldCompile(filename) {
61
+ if (filters.length === 0)
62
+ return true;
63
+ for (var i = 0; i < filters.length; i++) {
64
+ if (filters[i].call(null, filename))
65
+ return true;
66
+ }
67
+ return false;
68
+ }
69
+
70
+ traceurRequire.makeDefault = function(filter) {
71
+ if (!filter)
72
+ filters = [];
73
+ else
74
+ filters.push(filter);
75
+
76
+ Module._extensions['.js'] = function(module, filename) {
77
+ if (shouldCompile(filename)) {
78
+ var source = compile(filename)
79
+ return module._compile(source, filename);
80
+ }
81
+ return originalRequireJs(module, filename);
82
+ };
83
+ };
84
+
85
+ module.exports = traceurRequire;
@@ -0,0 +1,33 @@
1
+ // Copyright 2013 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict';
16
+
17
+ var traceur = require('./traceur.js');
18
+ var compileAllJsFilesInDir =
19
+ require('./compile-single-file.js').compileAllJsFilesInDir;
20
+
21
+ if (process.argv.length < 4) {
22
+ console.log('Not enough arguments!\n' +
23
+ ' Usage node src/node/to-amd-compiler.js <inputDirectory> <outputDirectory>');
24
+ process.exit(1);
25
+ }
26
+
27
+ // Nasty, we should rather pass the options to FromOptionsTransformer
28
+ traceur.options.modules = 'amd';
29
+
30
+ var inputDir = process.argv[2];
31
+ var outputDir = process.argv[3];
32
+
33
+ compileAllJsFilesInDir(inputDir, outputDir, true);
@@ -0,0 +1,33 @@
1
+ // Copyright 2013 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict';
16
+
17
+ var traceur = require('./traceur.js');
18
+ var compileAllJsFilesInDir =
19
+ require('./compile-single-file.js').compileAllJsFilesInDir;
20
+
21
+ if (process.argv.length < 4) {
22
+ console.log('Not enough arguments!\n' +
23
+ ' Usage node src/node/to-commonjs-compiler.js <inputDirectory> <outputDirectory>');
24
+ process.exit(1);
25
+ }
26
+
27
+ // Nasty, we should rather pass the options to FromOptionsTransformer
28
+ traceur.options.modules = 'commonjs';
29
+
30
+ var inputDir = process.argv[2];
31
+ var outputDir = process.argv[3];
32
+
33
+ compileAllJsFilesInDir(inputDir, outputDir, true);
@@ -0,0 +1,32 @@
1
+ // Copyright 2012 Traceur Authors.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ var fs = require('fs');
16
+ var path = require('path');
17
+
18
+ var filename = '../../bin/traceur.js';
19
+ filename = path.join(path.dirname(module.filename), filename);
20
+ var data = fs.readFileSync(filename, 'utf8');
21
+ if (!data)
22
+ throw new Error('Failed to import ' + filename);
23
+
24
+ ('global', eval)(data);
25
+
26
+ // traceur is a module and thus frozen.
27
+ module.exports = {
28
+ __proto__: traceur,
29
+ get require() {
30
+ return require('./require.js');
31
+ }
32
+ };
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+
3
+ require('./src/node/command.js');
metadata ADDED
@@ -0,0 +1,359 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: traceur-rb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Adam Pohorecki
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-06-20 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Wraps Google Traceur, so that it can be invoked from any Ruby application.
70
+ email:
71
+ - adam@pohorecki.pl
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - .gitignore
77
+ - .rspec
78
+ - .ruby-gemset
79
+ - .ruby-version
80
+ - Gemfile
81
+ - Guardfile
82
+ - LICENSE.txt
83
+ - README.md
84
+ - Rakefile
85
+ - lib/js/compile.js
86
+ - lib/traceur-rb.rb
87
+ - lib/traceur.rb
88
+ - lib/traceur/compilation_options.rb
89
+ - lib/traceur/compiler.rb
90
+ - lib/traceur/configuration.rb
91
+ - lib/traceur/node.rb
92
+ - lib/traceur/node/command_result.rb
93
+ - lib/traceur/node/runner.rb
94
+ - lib/traceur/version.rb
95
+ - spec/examples/classes.js
96
+ - spec/integration/examples_spec.rb
97
+ - spec/spec_helper.rb
98
+ - spec/traceur/compilation_options_spec.rb
99
+ - spec/traceur/configuration_spec.rb
100
+ - spec/traceur/node_spec.rb
101
+ - traceur-rb.gemspec
102
+ - vendor/node_modules/.bin/traceur
103
+ - vendor/node_modules/traceur/README.md
104
+ - vendor/node_modules/traceur/bin/traceur-runtime.js
105
+ - vendor/node_modules/traceur/bin/traceur.js
106
+ - vendor/node_modules/traceur/node_modules/.bin/semver
107
+ - vendor/node_modules/traceur/node_modules/commander/Readme.md
108
+ - vendor/node_modules/traceur/node_modules/commander/index.js
109
+ - vendor/node_modules/traceur/node_modules/commander/package.json
110
+ - vendor/node_modules/traceur/node_modules/q-io/.npmignore
111
+ - vendor/node_modules/traceur/node_modules/q-io/.travis.yml
112
+ - vendor/node_modules/traceur/node_modules/q-io/CHANGES.md
113
+ - vendor/node_modules/traceur/node_modules/q-io/LICENSE
114
+ - vendor/node_modules/traceur/node_modules/q-io/README.md
115
+ - vendor/node_modules/traceur/node_modules/q-io/buffer-stream.js
116
+ - vendor/node_modules/traceur/node_modules/q-io/coverage-report.js
117
+ - vendor/node_modules/traceur/node_modules/q-io/deprecate.js
118
+ - vendor/node_modules/traceur/node_modules/q-io/fs-boot.js
119
+ - vendor/node_modules/traceur/node_modules/q-io/fs-common.js
120
+ - vendor/node_modules/traceur/node_modules/q-io/fs-mock.js
121
+ - vendor/node_modules/traceur/node_modules/q-io/fs-root.js
122
+ - vendor/node_modules/traceur/node_modules/q-io/fs.js
123
+ - vendor/node_modules/traceur/node_modules/q-io/fs2http.js
124
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps.js
125
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/chain.js
126
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/content.js
127
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/cookie.js
128
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/decorators.js
129
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/fs.js
130
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/html.js
131
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/json.js
132
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/negotiate.js
133
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/proxy.js
134
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/redirect.js
135
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/route.js
136
+ - vendor/node_modules/traceur/node_modules/q-io/http-apps/status.js
137
+ - vendor/node_modules/traceur/node_modules/q-io/http-cookie.js
138
+ - vendor/node_modules/traceur/node_modules/q-io/http.js
139
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/.npmignore
140
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/.travis.yml
141
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/CHANGES.md
142
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/LICENSE.md
143
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/README.md
144
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/collections.js
145
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/dict.js
146
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-map.js
147
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/fast-set.js
148
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-collection.js
149
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-map.js
150
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-order.js
151
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/generic-set.js
152
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/heap.js
153
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/iterator.js
154
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/list.js
155
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/array-changes.js
156
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/map-changes.js
157
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/property-changes.js
158
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/listen/range-changes.js
159
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-map.js
160
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/lru-set.js
161
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/map.js
162
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/multi-map.js
163
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/package.json
164
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync
165
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/sync.patch
166
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/node_modules/weak-map/weak-map.js
167
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/package.json
168
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/set.js
169
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-array.js
170
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-function.js
171
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-object.js
172
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim-regexp.js
173
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/shim.js
174
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-map.js
175
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array-set.js
176
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-array.js
177
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-map.js
178
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/sorted-set.js
179
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/tree-log.js
180
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/collections/weak-map.js
181
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/LICENSE
182
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/README.md
183
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/mime.js
184
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/package.json
185
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/test.js
186
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/mime.types
187
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mime/types/node.types
188
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/CHANGES
189
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/LICENSE
190
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/README
191
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/lib/mimeparse.js
192
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/mimeparse/package.json
193
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/CONTRIBUTING.md
194
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/LICENSE
195
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/README.md
196
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/compare-with-callbacks.js
197
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/benchmark/scenarios.js
198
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/package.json
199
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/q.js
200
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/q/queue.js
201
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/.gitmodules
202
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/History.md
203
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Makefile
204
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/Readme.md
205
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/benchmark.js
206
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/examples.js
207
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/index.js
208
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/lib/querystring.js
209
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/package.json
210
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.gitmodules
211
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/.npmignore
212
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/History.md
213
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Makefile
214
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/Readme.md
215
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/bin/expresso
216
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/api.html
217
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.html
218
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/index.md
219
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/foot.html
220
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/docs/layout/head.html
221
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/bar.js
222
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/lib/foo.js
223
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/package.json
224
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/assert.test.js
225
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/async.test.js
226
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/bar.test.js
227
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/foo.test.js
228
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/http.test.js
229
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/async.test.js
230
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/expresso/test/serial/http.test.js
231
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/.gitmodules
232
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/History.md
233
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Makefile
234
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/Readme.md
235
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/examples/runner.js
236
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/index.js
237
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/eql.js
238
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/lib/should.js
239
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/package.json
240
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/support/should/test/should.test.js
241
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/qs/test/querystring.test.js
242
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/.npmignore
243
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/.travis.yml
244
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/LICENSE.md
245
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/README.md
246
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/package.json
247
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/test/url2-spec.js
248
+ - vendor/node_modules/traceur/node_modules/q-io/node_modules/url2/url2.js
249
+ - vendor/node_modules/traceur/node_modules/q-io/package.json
250
+ - vendor/node_modules/traceur/node_modules/q-io/reader.js
251
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/boot-directory-spec.js
252
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/contains-spec.js
253
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/fixtures/hello.txt
254
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/issues/1-spec.js
255
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/make-tree-spec.js
256
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/append-spec.js
257
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/copy-tree-spec.js
258
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/fixture/hello.txt
259
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/link-spec.js
260
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/make-tree-spec.js
261
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/merge-spec.js
262
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/move-spec.js
263
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/object-spec.js
264
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/range-spec.js
265
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/read-spec.js
266
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-directory-spec.js
267
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/remove-tree-spec.js
268
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/root-spec.js
269
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/stat-spec.js
270
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/symbolic-link-spec.js
271
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/working-directory-spec.js
272
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/mock/write-spec.js
273
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.js
274
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/range-spec.txt
275
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/read-spec.js
276
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/relative-spec.js
277
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/reroot-spec.js
278
+ - vendor/node_modules/traceur/node_modules/q-io/spec/fs/write-spec.js
279
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/cookie-spec.js
280
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/directory-list-spec.js
281
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/01234.txt
282
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/1234.txt
283
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/5678.txt
284
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/fixtures/9012/3456.txt
285
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/hosts-spec.js
286
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/interpret-range-spec.js
287
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/partial-range-spec.js
288
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/proxy-spec.js
289
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http-apps/symbolic-link-spec.js
290
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http/agent-spec.js
291
+ - vendor/node_modules/traceur/node_modules/q-io/spec/http/basic-spec.js
292
+ - vendor/node_modules/traceur/node_modules/q-io/spec/lib/jasmine-promise.js
293
+ - vendor/node_modules/traceur/node_modules/q-io/writer.js
294
+ - vendor/node_modules/traceur/node_modules/semver/.npmignore
295
+ - vendor/node_modules/traceur/node_modules/semver/LICENSE
296
+ - vendor/node_modules/traceur/node_modules/semver/Makefile
297
+ - vendor/node_modules/traceur/node_modules/semver/README.md
298
+ - vendor/node_modules/traceur/node_modules/semver/bin/semver
299
+ - vendor/node_modules/traceur/node_modules/semver/foot.js
300
+ - vendor/node_modules/traceur/node_modules/semver/head.js
301
+ - vendor/node_modules/traceur/node_modules/semver/package.json
302
+ - vendor/node_modules/traceur/node_modules/semver/semver.browser.js
303
+ - vendor/node_modules/traceur/node_modules/semver/semver.browser.js.gz
304
+ - vendor/node_modules/traceur/node_modules/semver/semver.js
305
+ - vendor/node_modules/traceur/node_modules/semver/semver.min.js
306
+ - vendor/node_modules/traceur/node_modules/semver/semver.min.js.gz
307
+ - vendor/node_modules/traceur/node_modules/semver/test/amd.js
308
+ - vendor/node_modules/traceur/node_modules/semver/test/gtr.js
309
+ - vendor/node_modules/traceur/node_modules/semver/test/index.js
310
+ - vendor/node_modules/traceur/node_modules/semver/test/ltr.js
311
+ - vendor/node_modules/traceur/node_modules/semver/test/no-module.js
312
+ - vendor/node_modules/traceur/package.json
313
+ - vendor/node_modules/traceur/src/node/System.js
314
+ - vendor/node_modules/traceur/src/node/api.js
315
+ - vendor/node_modules/traceur/src/node/command.js
316
+ - vendor/node_modules/traceur/src/node/compile-single-file.js
317
+ - vendor/node_modules/traceur/src/node/compiler.js
318
+ - vendor/node_modules/traceur/src/node/deferred.js
319
+ - vendor/node_modules/traceur/src/node/file-util.js
320
+ - vendor/node_modules/traceur/src/node/getopt.js
321
+ - vendor/node_modules/traceur/src/node/inline-module.js
322
+ - vendor/node_modules/traceur/src/node/interpreter.js
323
+ - vendor/node_modules/traceur/src/node/nodeLoader.js
324
+ - vendor/node_modules/traceur/src/node/require.js
325
+ - vendor/node_modules/traceur/src/node/to-amd-compiler.js
326
+ - vendor/node_modules/traceur/src/node/to-commonjs-compiler.js
327
+ - vendor/node_modules/traceur/src/node/traceur.js
328
+ - vendor/node_modules/traceur/traceur
329
+ homepage: https://github.com/gunpowderlabs/traceur-rb
330
+ licenses:
331
+ - MIT
332
+ metadata: {}
333
+ post_install_message:
334
+ rdoc_options: []
335
+ require_paths:
336
+ - lib
337
+ required_ruby_version: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ! '>='
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ required_rubygems_version: !ruby/object:Gem::Requirement
343
+ requirements:
344
+ - - ! '>='
345
+ - !ruby/object:Gem::Version
346
+ version: '0'
347
+ requirements: []
348
+ rubyforge_project:
349
+ rubygems_version: 2.2.2
350
+ signing_key:
351
+ specification_version: 4
352
+ summary: Ruby wrapper for Google Traceur.
353
+ test_files:
354
+ - spec/examples/classes.js
355
+ - spec/integration/examples_spec.rb
356
+ - spec/spec_helper.rb
357
+ - spec/traceur/compilation_options_spec.rb
358
+ - spec/traceur/configuration_spec.rb
359
+ - spec/traceur/node_spec.rb