embeditor-rails 2.0.0.beta → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1024) hide show
  1. checksums.yaml +7 -0
  2. data/lib/embeditor-rails/version.rb +1 -1
  3. metadata +51 -1056
  4. data/lib/node_modules/npm/AUTHORS +0 -158
  5. data/lib/node_modules/npm/CONTRIBUTING.md +0 -9
  6. data/lib/node_modules/npm/LICENSE +0 -235
  7. data/lib/node_modules/npm/Makefile +0 -216
  8. data/lib/node_modules/npm/README.md +0 -241
  9. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp +0 -2
  10. data/lib/node_modules/npm/bin/node-gyp-bin/node-gyp.cmd +0 -1
  11. data/lib/node_modules/npm/bin/npm +0 -13
  12. data/lib/node_modules/npm/bin/npm-cli.js +0 -87
  13. data/lib/node_modules/npm/bin/npm.cmd +0 -6
  14. data/lib/node_modules/npm/bin/read-package-json.js +0 -22
  15. data/lib/node_modules/npm/cli.js +0 -2
  16. data/lib/node_modules/npm/configure +0 -33
  17. data/lib/node_modules/npm/doc/api/npm-bin.md +0 -13
  18. data/lib/node_modules/npm/doc/api/npm-bugs.md +0 -19
  19. data/lib/node_modules/npm/doc/api/npm-commands.md +0 -22
  20. data/lib/node_modules/npm/doc/api/npm-config.md +0 -45
  21. data/lib/node_modules/npm/doc/api/npm-deprecate.md +0 -34
  22. data/lib/node_modules/npm/doc/api/npm-docs.md +0 -19
  23. data/lib/node_modules/npm/doc/api/npm-edit.md +0 -24
  24. data/lib/node_modules/npm/doc/api/npm-explore.md +0 -18
  25. data/lib/node_modules/npm/doc/api/npm-help-search.md +0 -30
  26. data/lib/node_modules/npm/doc/api/npm-init.md +0 -29
  27. data/lib/node_modules/npm/doc/api/npm-install.md +0 -19
  28. data/lib/node_modules/npm/doc/api/npm-link.md +0 -33
  29. data/lib/node_modules/npm/doc/api/npm-load.md +0 -26
  30. data/lib/node_modules/npm/doc/api/npm-ls.md +0 -56
  31. data/lib/node_modules/npm/doc/api/npm-outdated.md +0 -13
  32. data/lib/node_modules/npm/doc/api/npm-owner.md +0 -31
  33. data/lib/node_modules/npm/doc/api/npm-pack.md +0 -19
  34. data/lib/node_modules/npm/doc/api/npm-prefix.md +0 -15
  35. data/lib/node_modules/npm/doc/api/npm-prune.md +0 -17
  36. data/lib/node_modules/npm/doc/api/npm-publish.md +0 -30
  37. data/lib/node_modules/npm/doc/api/npm-rebuild.md +0 -16
  38. data/lib/node_modules/npm/doc/api/npm-repo.md +0 -19
  39. data/lib/node_modules/npm/doc/api/npm-restart.md +0 -22
  40. data/lib/node_modules/npm/doc/api/npm-root.md +0 -15
  41. data/lib/node_modules/npm/doc/api/npm-run-script.md +0 -27
  42. data/lib/node_modules/npm/doc/api/npm-search.md +0 -35
  43. data/lib/node_modules/npm/doc/api/npm-shrinkwrap.md +0 -20
  44. data/lib/node_modules/npm/doc/api/npm-start.md +0 -13
  45. data/lib/node_modules/npm/doc/api/npm-stop.md +0 -13
  46. data/lib/node_modules/npm/doc/api/npm-submodule.md +0 -28
  47. data/lib/node_modules/npm/doc/api/npm-tag.md +0 -23
  48. data/lib/node_modules/npm/doc/api/npm-test.md +0 -16
  49. data/lib/node_modules/npm/doc/api/npm-uninstall.md +0 -16
  50. data/lib/node_modules/npm/doc/api/npm-unpublish.md +0 -20
  51. data/lib/node_modules/npm/doc/api/npm-update.md +0 -11
  52. data/lib/node_modules/npm/doc/api/npm-version.md +0 -18
  53. data/lib/node_modules/npm/doc/api/npm-view.md +0 -93
  54. data/lib/node_modules/npm/doc/api/npm-whoami.md +0 -15
  55. data/lib/node_modules/npm/doc/api/npm.md +0 -116
  56. data/lib/node_modules/npm/doc/cli/npm-adduser.md +0 -38
  57. data/lib/node_modules/npm/doc/cli/npm-bin.md +0 -19
  58. data/lib/node_modules/npm/doc/cli/npm-bugs.md +0 -42
  59. data/lib/node_modules/npm/doc/cli/npm-build.md +0 -22
  60. data/lib/node_modules/npm/doc/cli/npm-bundle.md +0 -14
  61. data/lib/node_modules/npm/doc/cli/npm-cache.md +0 -72
  62. data/lib/node_modules/npm/doc/cli/npm-completion.md +0 -29
  63. data/lib/node_modules/npm/doc/cli/npm-config.md +0 -71
  64. data/lib/node_modules/npm/doc/cli/npm-dedupe.md +0 -58
  65. data/lib/node_modules/npm/doc/cli/npm-deprecate.md +0 -26
  66. data/lib/node_modules/npm/doc/cli/npm-docs.md +0 -44
  67. data/lib/node_modules/npm/doc/cli/npm-edit.md +0 -37
  68. data/lib/node_modules/npm/doc/cli/npm-explore.md +0 -40
  69. data/lib/node_modules/npm/doc/cli/npm-help-search.md +0 -35
  70. data/lib/node_modules/npm/doc/cli/npm-help.md +0 -40
  71. data/lib/node_modules/npm/doc/cli/npm-init.md +0 -25
  72. data/lib/node_modules/npm/doc/cli/npm-install.md +0 -252
  73. data/lib/node_modules/npm/doc/cli/npm-link.md +0 -63
  74. data/lib/node_modules/npm/doc/cli/npm-ls.md +0 -80
  75. data/lib/node_modules/npm/doc/cli/npm-outdated.md +0 -58
  76. data/lib/node_modules/npm/doc/cli/npm-owner.md +0 -33
  77. data/lib/node_modules/npm/doc/cli/npm-pack.md +0 -27
  78. data/lib/node_modules/npm/doc/cli/npm-prefix.md +0 -19
  79. data/lib/node_modules/npm/doc/cli/npm-prune.md +0 -25
  80. data/lib/node_modules/npm/doc/cli/npm-publish.md +0 -30
  81. data/lib/node_modules/npm/doc/cli/npm-rebuild.md +0 -21
  82. data/lib/node_modules/npm/doc/cli/npm-repo.md +0 -28
  83. data/lib/node_modules/npm/doc/cli/npm-restart.md +0 -22
  84. data/lib/node_modules/npm/doc/cli/npm-rm.md +0 -23
  85. data/lib/node_modules/npm/doc/cli/npm-root.md +0 -19
  86. data/lib/node_modules/npm/doc/cli/npm-run-script.md +0 -21
  87. data/lib/node_modules/npm/doc/cli/npm-search.md +0 -36
  88. data/lib/node_modules/npm/doc/cli/npm-shrinkwrap.md +0 -185
  89. data/lib/node_modules/npm/doc/cli/npm-star.md +0 -22
  90. data/lib/node_modules/npm/doc/cli/npm-stars.md +0 -22
  91. data/lib/node_modules/npm/doc/cli/npm-start.md +0 -18
  92. data/lib/node_modules/npm/doc/cli/npm-stop.md +0 -18
  93. data/lib/node_modules/npm/doc/cli/npm-submodule.md +0 -28
  94. data/lib/node_modules/npm/doc/cli/npm-tag.md +0 -34
  95. data/lib/node_modules/npm/doc/cli/npm-test.md +0 -22
  96. data/lib/node_modules/npm/doc/cli/npm-uninstall.md +0 -21
  97. data/lib/node_modules/npm/doc/cli/npm-unpublish.md +0 -32
  98. data/lib/node_modules/npm/doc/cli/npm-update.md +0 -24
  99. data/lib/node_modules/npm/doc/cli/npm-version.md +0 -45
  100. data/lib/node_modules/npm/doc/cli/npm-view.md +0 -90
  101. data/lib/node_modules/npm/doc/cli/npm-whoami.md +0 -17
  102. data/lib/node_modules/npm/doc/cli/npm.md +0 -153
  103. data/lib/node_modules/npm/doc/files/npm-folders.md +0 -211
  104. data/lib/node_modules/npm/doc/files/npmrc.md +0 -59
  105. data/lib/node_modules/npm/doc/files/package.json.md +0 -576
  106. data/lib/node_modules/npm/doc/misc/npm-coding-style.md +0 -181
  107. data/lib/node_modules/npm/doc/misc/npm-config.md +0 -820
  108. data/lib/node_modules/npm/doc/misc/npm-developers.md +0 -207
  109. data/lib/node_modules/npm/doc/misc/npm-disputes.md +0 -99
  110. data/lib/node_modules/npm/doc/misc/npm-faq.md +0 -364
  111. data/lib/node_modules/npm/doc/misc/npm-index.md +0 -411
  112. data/lib/node_modules/npm/doc/misc/npm-registry.md +0 -69
  113. data/lib/node_modules/npm/doc/misc/npm-scripts.md +0 -245
  114. data/lib/node_modules/npm/doc/misc/removing-npm.md +0 -54
  115. data/lib/node_modules/npm/doc/misc/semver.md +0 -111
  116. data/lib/node_modules/npm/html/doc/README.html +0 -276
  117. data/lib/node_modules/npm/html/doc/api/npm-bin.html +0 -53
  118. data/lib/node_modules/npm/html/doc/api/npm-bugs.html +0 -59
  119. data/lib/node_modules/npm/html/doc/api/npm-commands.html +0 -62
  120. data/lib/node_modules/npm/html/doc/api/npm-config.html +0 -67
  121. data/lib/node_modules/npm/html/doc/api/npm-deprecate.html +0 -66
  122. data/lib/node_modules/npm/html/doc/api/npm-docs.html +0 -59
  123. data/lib/node_modules/npm/html/doc/api/npm-edit.html +0 -64
  124. data/lib/node_modules/npm/html/doc/api/npm-explore.html +0 -58
  125. data/lib/node_modules/npm/html/doc/api/npm-help-search.html +0 -66
  126. data/lib/node_modules/npm/html/doc/api/npm-init.html +0 -69
  127. data/lib/node_modules/npm/html/doc/api/npm-install.html +0 -59
  128. data/lib/node_modules/npm/html/doc/api/npm-link.html +0 -73
  129. data/lib/node_modules/npm/html/doc/api/npm-load.html +0 -66
  130. data/lib/node_modules/npm/html/doc/api/npm-ls.html +0 -93
  131. data/lib/node_modules/npm/html/doc/api/npm-outdated.html +0 -53
  132. data/lib/node_modules/npm/html/doc/api/npm-owner.html +0 -68
  133. data/lib/node_modules/npm/html/doc/api/npm-pack.html +0 -59
  134. data/lib/node_modules/npm/html/doc/api/npm-prefix.html +0 -55
  135. data/lib/node_modules/npm/html/doc/api/npm-prune.html +0 -57
  136. data/lib/node_modules/npm/html/doc/api/npm-publish.html +0 -66
  137. data/lib/node_modules/npm/html/doc/api/npm-rebuild.html +0 -56
  138. data/lib/node_modules/npm/html/doc/api/npm-repo.html +0 -59
  139. data/lib/node_modules/npm/html/doc/api/npm-restart.html +0 -61
  140. data/lib/node_modules/npm/html/doc/api/npm-root.html +0 -55
  141. data/lib/node_modules/npm/html/doc/api/npm-run-script.html +0 -63
  142. data/lib/node_modules/npm/html/doc/api/npm-search.html +0 -66
  143. data/lib/node_modules/npm/html/doc/api/npm-shrinkwrap.html +0 -60
  144. data/lib/node_modules/npm/html/doc/api/npm-start.html +0 -53
  145. data/lib/node_modules/npm/html/doc/api/npm-stop.html +0 -53
  146. data/lib/node_modules/npm/html/doc/api/npm-submodule.html +0 -67
  147. data/lib/node_modules/npm/html/doc/api/npm-tag.html +0 -63
  148. data/lib/node_modules/npm/html/doc/api/npm-test.html +0 -56
  149. data/lib/node_modules/npm/html/doc/api/npm-uninstall.html +0 -56
  150. data/lib/node_modules/npm/html/doc/api/npm-unpublish.html +0 -60
  151. data/lib/node_modules/npm/html/doc/api/npm-update.html +0 -52
  152. data/lib/node_modules/npm/html/doc/api/npm-version.html +0 -58
  153. data/lib/node_modules/npm/html/doc/api/npm-view.html +0 -133
  154. data/lib/node_modules/npm/html/doc/api/npm-whoami.html +0 -55
  155. data/lib/node_modules/npm/html/doc/api/npm.html +0 -126
  156. data/lib/node_modules/npm/html/doc/cli/npm-adduser.html +0 -73
  157. data/lib/node_modules/npm/html/doc/cli/npm-bin.html +0 -54
  158. data/lib/node_modules/npm/html/doc/cli/npm-bugs.html +0 -72
  159. data/lib/node_modules/npm/html/doc/cli/npm-build.html +0 -59
  160. data/lib/node_modules/npm/html/doc/cli/npm-bundle.html +0 -54
  161. data/lib/node_modules/npm/html/doc/cli/npm-cache.html +0 -100
  162. data/lib/node_modules/npm/html/doc/cli/npm-completion.html +0 -67
  163. data/lib/node_modules/npm/html/doc/cli/npm-config.html +0 -107
  164. data/lib/node_modules/npm/html/doc/cli/npm-dedupe.html +0 -96
  165. data/lib/node_modules/npm/html/doc/cli/npm-deprecate.html +0 -65
  166. data/lib/node_modules/npm/html/doc/cli/npm-docs.html +0 -75
  167. data/lib/node_modules/npm/html/doc/cli/npm-edit.html +0 -71
  168. data/lib/node_modules/npm/html/doc/cli/npm-explore.html +0 -74
  169. data/lib/node_modules/npm/html/doc/cli/npm-help-search.html +0 -72
  170. data/lib/node_modules/npm/html/doc/cli/npm-help.html +0 -70
  171. data/lib/node_modules/npm/html/doc/cli/npm-init.html +0 -63
  172. data/lib/node_modules/npm/html/doc/cli/npm-install.html +0 -183
  173. data/lib/node_modules/npm/html/doc/cli/npm-link.html +0 -96
  174. data/lib/node_modules/npm/html/doc/cli/npm-ls.html +0 -108
  175. data/lib/node_modules/npm/html/doc/cli/npm-outdated.html +0 -92
  176. data/lib/node_modules/npm/html/doc/cli/npm-owner.html +0 -68
  177. data/lib/node_modules/npm/html/doc/cli/npm-pack.html +0 -63
  178. data/lib/node_modules/npm/html/doc/cli/npm-prefix.html +0 -54
  179. data/lib/node_modules/npm/html/doc/cli/npm-prune.html +0 -63
  180. data/lib/node_modules/npm/html/doc/cli/npm-publish.html +0 -63
  181. data/lib/node_modules/npm/html/doc/cli/npm-rebuild.html +0 -60
  182. data/lib/node_modules/npm/html/doc/cli/npm-repo.html +0 -66
  183. data/lib/node_modules/npm/html/doc/cli/npm-restart.html +0 -58
  184. data/lib/node_modules/npm/html/doc/cli/npm-rm.html +0 -58
  185. data/lib/node_modules/npm/html/doc/cli/npm-root.html +0 -54
  186. data/lib/node_modules/npm/html/doc/cli/npm-run-script.html +0 -57
  187. data/lib/node_modules/npm/html/doc/cli/npm-search.html +0 -71
  188. data/lib/node_modules/npm/html/doc/cli/npm-shrinkwrap.html +0 -217
  189. data/lib/node_modules/npm/html/doc/cli/npm-star.html +0 -60
  190. data/lib/node_modules/npm/html/doc/cli/npm-stars.html +0 -59
  191. data/lib/node_modules/npm/html/doc/cli/npm-start.html +0 -54
  192. data/lib/node_modules/npm/html/doc/cli/npm-stop.html +0 -54
  193. data/lib/node_modules/npm/html/doc/cli/npm-submodule.html +0 -67
  194. data/lib/node_modules/npm/html/doc/cli/npm-tag.html +0 -68
  195. data/lib/node_modules/npm/html/doc/cli/npm-test.html +0 -58
  196. data/lib/node_modules/npm/html/doc/cli/npm-uninstall.html +0 -56
  197. data/lib/node_modules/npm/html/doc/cli/npm-unpublish.html +0 -68
  198. data/lib/node_modules/npm/html/doc/cli/npm-update.html +0 -60
  199. data/lib/node_modules/npm/html/doc/cli/npm-version.html +0 -83
  200. data/lib/node_modules/npm/html/doc/cli/npm-view.html +0 -125
  201. data/lib/node_modules/npm/html/doc/cli/npm-whoami.html +0 -54
  202. data/lib/node_modules/npm/html/doc/cli/npm.html +0 -165
  203. data/lib/node_modules/npm/html/doc/files/npm-folders.html +0 -239
  204. data/lib/node_modules/npm/html/doc/files/npm-global.html +0 -239
  205. data/lib/node_modules/npm/html/doc/files/npm-json.html +0 -580
  206. data/lib/node_modules/npm/html/doc/files/npmrc.html +0 -93
  207. data/lib/node_modules/npm/html/doc/files/package.json.html +0 -580
  208. data/lib/node_modules/npm/html/doc/index.html +0 -450
  209. data/lib/node_modules/npm/html/doc/misc/npm-coding-style.html +0 -216
  210. data/lib/node_modules/npm/html/doc/misc/npm-config.html +0 -744
  211. data/lib/node_modules/npm/html/doc/misc/npm-developers.html +0 -208
  212. data/lib/node_modules/npm/html/doc/misc/npm-disputes.html +0 -126
  213. data/lib/node_modules/npm/html/doc/misc/npm-faq.html +0 -382
  214. data/lib/node_modules/npm/html/doc/misc/npm-index.html +0 -450
  215. data/lib/node_modules/npm/html/doc/misc/npm-registry.html +0 -105
  216. data/lib/node_modules/npm/html/doc/misc/npm-scripts.html +0 -257
  217. data/lib/node_modules/npm/html/doc/misc/removing-npm.html +0 -92
  218. data/lib/node_modules/npm/html/doc/misc/semver.html +0 -128
  219. data/lib/node_modules/npm/html/docfoot-script.html +0 -31
  220. data/lib/node_modules/npm/html/docfoot.html +0 -2
  221. data/lib/node_modules/npm/html/dochead.html +0 -8
  222. data/lib/node_modules/npm/html/favicon.ico +0 -0
  223. data/lib/node_modules/npm/html/index.html +0 -95
  224. data/lib/node_modules/npm/html/static/style.css +0 -329
  225. data/lib/node_modules/npm/lib/adduser.js +0 -138
  226. data/lib/node_modules/npm/lib/bin.js +0 -18
  227. data/lib/node_modules/npm/lib/bugs.js +0 -61
  228. data/lib/node_modules/npm/lib/build.js +0 -228
  229. data/lib/node_modules/npm/lib/cache.js +0 -1318
  230. data/lib/node_modules/npm/lib/completion.js +0 -253
  231. data/lib/node_modules/npm/lib/config.js +0 -285
  232. data/lib/node_modules/npm/lib/dedupe.js +0 -357
  233. data/lib/node_modules/npm/lib/deprecate.js +0 -47
  234. data/lib/node_modules/npm/lib/docs.js +0 -62
  235. data/lib/node_modules/npm/lib/edit.js +0 -32
  236. data/lib/node_modules/npm/lib/explore.js +0 -36
  237. data/lib/node_modules/npm/lib/faq.js +0 -8
  238. data/lib/node_modules/npm/lib/get.js +0 -12
  239. data/lib/node_modules/npm/lib/help-search.js +0 -218
  240. data/lib/node_modules/npm/lib/help.js +0 -231
  241. data/lib/node_modules/npm/lib/init.js +0 -36
  242. data/lib/node_modules/npm/lib/install.js +0 -979
  243. data/lib/node_modules/npm/lib/link.js +0 -173
  244. data/lib/node_modules/npm/lib/ls.js +0 -357
  245. data/lib/node_modules/npm/lib/npm.js +0 -528
  246. data/lib/node_modules/npm/lib/outdated.js +0 -303
  247. data/lib/node_modules/npm/lib/owner.js +0 -205
  248. data/lib/node_modules/npm/lib/pack.js +0 -65
  249. data/lib/node_modules/npm/lib/prefix.js +0 -11
  250. data/lib/node_modules/npm/lib/prune.js +0 -53
  251. data/lib/node_modules/npm/lib/publish.js +0 -118
  252. data/lib/node_modules/npm/lib/rebuild.js +0 -75
  253. data/lib/node_modules/npm/lib/repo.js +0 -54
  254. data/lib/node_modules/npm/lib/restart.js +0 -1
  255. data/lib/node_modules/npm/lib/root.js +0 -11
  256. data/lib/node_modules/npm/lib/run-script.js +0 -102
  257. data/lib/node_modules/npm/lib/search.js +0 -265
  258. data/lib/node_modules/npm/lib/set.js +0 -13
  259. data/lib/node_modules/npm/lib/shrinkwrap.js +0 -86
  260. data/lib/node_modules/npm/lib/star.js +0 -33
  261. data/lib/node_modules/npm/lib/stars.js +0 -27
  262. data/lib/node_modules/npm/lib/start.js +0 -1
  263. data/lib/node_modules/npm/lib/stop.js +0 -1
  264. data/lib/node_modules/npm/lib/submodule.js +0 -119
  265. data/lib/node_modules/npm/lib/substack.js +0 -20
  266. data/lib/node_modules/npm/lib/tag.js +0 -18
  267. data/lib/node_modules/npm/lib/test.js +0 -14
  268. data/lib/node_modules/npm/lib/unbuild.js +0 -112
  269. data/lib/node_modules/npm/lib/uninstall.js +0 -127
  270. data/lib/node_modules/npm/lib/unpublish.js +0 -83
  271. data/lib/node_modules/npm/lib/update.js +0 -43
  272. data/lib/node_modules/npm/lib/utils/completion.sh +0 -54
  273. data/lib/node_modules/npm/lib/utils/completion/file-completion.js +0 -26
  274. data/lib/node_modules/npm/lib/utils/completion/installed-deep.js +0 -50
  275. data/lib/node_modules/npm/lib/utils/completion/installed-shallow.js +0 -79
  276. data/lib/node_modules/npm/lib/utils/error-handler.js +0 -343
  277. data/lib/node_modules/npm/lib/utils/fetch.js +0 -93
  278. data/lib/node_modules/npm/lib/utils/find-prefix.js +0 -57
  279. data/lib/node_modules/npm/lib/utils/gently-rm.js +0 -61
  280. data/lib/node_modules/npm/lib/utils/is-git-url.js +0 -13
  281. data/lib/node_modules/npm/lib/utils/lifecycle.js +0 -360
  282. data/lib/node_modules/npm/lib/utils/link.js +0 -39
  283. data/lib/node_modules/npm/lib/utils/tar.js +0 -323
  284. data/lib/node_modules/npm/lib/version.js +0 -120
  285. data/lib/node_modules/npm/lib/view.js +0 -246
  286. data/lib/node_modules/npm/lib/visnup.js +0 -42
  287. data/lib/node_modules/npm/lib/whoami.js +0 -13
  288. data/lib/node_modules/npm/lib/xmas.js +0 -56
  289. data/lib/node_modules/npm/make.bat +0 -3
  290. data/lib/node_modules/npm/man/man1/npm-README.1 +0 -328
  291. data/lib/node_modules/npm/man/man1/npm-adduser.1 +0 -63
  292. data/lib/node_modules/npm/man/man1/npm-bin.1 +0 -40
  293. data/lib/node_modules/npm/man/man1/npm-bugs.1 +0 -78
  294. data/lib/node_modules/npm/man/man1/npm-build.1 +0 -43
  295. data/lib/node_modules/npm/man/man1/npm-bundle.1 +0 -23
  296. data/lib/node_modules/npm/man/man1/npm-cache.1 +0 -104
  297. data/lib/node_modules/npm/man/man1/npm-completion.1 +0 -47
  298. data/lib/node_modules/npm/man/man1/npm-config.1 +0 -113
  299. data/lib/node_modules/npm/man/man1/npm-dedupe.1 +0 -96
  300. data/lib/node_modules/npm/man/man1/npm-deprecate.1 +0 -48
  301. data/lib/node_modules/npm/man/man1/npm-docs.1 +0 -78
  302. data/lib/node_modules/npm/man/man1/npm-edit.1 +0 -66
  303. data/lib/node_modules/npm/man/man1/npm-explore.1 +0 -76
  304. data/lib/node_modules/npm/man/man1/npm-help-search.1 +0 -59
  305. data/lib/node_modules/npm/man/man1/npm-help.1 +0 -77
  306. data/lib/node_modules/npm/man/man1/npm-init.1 +0 -43
  307. data/lib/node_modules/npm/man/man1/npm-install.1 +0 -434
  308. data/lib/node_modules/npm/man/man1/npm-link.1 +0 -119
  309. data/lib/node_modules/npm/man/man1/npm-ls.1 +0 -146
  310. data/lib/node_modules/npm/man/man1/npm-outdated.1 +0 -102
  311. data/lib/node_modules/npm/man/man1/npm-owner.1 +0 -58
  312. data/lib/node_modules/npm/man/man1/npm-pack.1 +0 -48
  313. data/lib/node_modules/npm/man/man1/npm-prefix.1 +0 -40
  314. data/lib/node_modules/npm/man/man1/npm-prune.1 +0 -42
  315. data/lib/node_modules/npm/man/man1/npm-publish.1 +0 -53
  316. data/lib/node_modules/npm/man/man1/npm-rebuild.1 +0 -37
  317. data/lib/node_modules/npm/man/man1/npm-repo.1 +0 -47
  318. data/lib/node_modules/npm/man/man1/npm-restart.1 +0 -42
  319. data/lib/node_modules/npm/man/man1/npm-rm.1 +0 -44
  320. data/lib/node_modules/npm/man/man1/npm-root.1 +0 -40
  321. data/lib/node_modules/npm/man/man1/npm-run-script.1 +0 -41
  322. data/lib/node_modules/npm/man/man1/npm-search.1 +0 -62
  323. data/lib/node_modules/npm/man/man1/npm-shrinkwrap.1 +0 -275
  324. data/lib/node_modules/npm/man/man1/npm-star.1 +0 -39
  325. data/lib/node_modules/npm/man/man1/npm-stars.1 +0 -40
  326. data/lib/node_modules/npm/man/man1/npm-start.1 +0 -37
  327. data/lib/node_modules/npm/man/man1/npm-stop.1 +0 -37
  328. data/lib/node_modules/npm/man/man1/npm-submodule.1 +0 -42
  329. data/lib/node_modules/npm/man/man1/npm-tag.1 +0 -74
  330. data/lib/node_modules/npm/man/man1/npm-test.1 +0 -42
  331. data/lib/node_modules/npm/man/man1/npm-uninstall.1 +0 -42
  332. data/lib/node_modules/npm/man/man1/npm-unpublish.1 +0 -53
  333. data/lib/node_modules/npm/man/man1/npm-update.1 +0 -45
  334. data/lib/node_modules/npm/man/man1/npm-version.1 +0 -75
  335. data/lib/node_modules/npm/man/man1/npm-view.1 +0 -186
  336. data/lib/node_modules/npm/man/man1/npm-whoami.1 +0 -34
  337. data/lib/node_modules/npm/man/man1/npm.1 +0 -230
  338. data/lib/node_modules/npm/man/man3/npm-bin.3 +0 -21
  339. data/lib/node_modules/npm/man/man3/npm-bugs.3 +0 -28
  340. data/lib/node_modules/npm/man/man3/npm-commands.3 +0 -35
  341. data/lib/node_modules/npm/man/man3/npm-config.3 +0 -69
  342. data/lib/node_modules/npm/man/man3/npm-deprecate.3 +0 -57
  343. data/lib/node_modules/npm/man/man3/npm-docs.3 +0 -28
  344. data/lib/node_modules/npm/man/man3/npm-edit.3 +0 -35
  345. data/lib/node_modules/npm/man/man3/npm-explore.3 +0 -28
  346. data/lib/node_modules/npm/man/man3/npm-help-search.3 +0 -51
  347. data/lib/node_modules/npm/man/man3/npm-init.3 +0 -39
  348. data/lib/node_modules/npm/man/man3/npm-install.3 +0 -29
  349. data/lib/node_modules/npm/man/man3/npm-link.3 +0 -53
  350. data/lib/node_modules/npm/man/man3/npm-load.3 +0 -44
  351. data/lib/node_modules/npm/man/man3/npm-ls.3 +0 -86
  352. data/lib/node_modules/npm/man/man3/npm-outdated.3 +0 -21
  353. data/lib/node_modules/npm/man/man3/npm-owner.3 +0 -52
  354. data/lib/node_modules/npm/man/man3/npm-pack.3 +0 -28
  355. data/lib/node_modules/npm/man/man3/npm-prefix.3 +0 -24
  356. data/lib/node_modules/npm/man/man3/npm-prune.3 +0 -27
  357. data/lib/node_modules/npm/man/man3/npm-publish.3 +0 -51
  358. data/lib/node_modules/npm/man/man3/npm-rebuild.3 +0 -22
  359. data/lib/node_modules/npm/man/man3/npm-repo.3 +0 -28
  360. data/lib/node_modules/npm/man/man3/npm-restart.3 +0 -37
  361. data/lib/node_modules/npm/man/man3/npm-root.3 +0 -24
  362. data/lib/node_modules/npm/man/man3/npm-run-script.3 +0 -48
  363. data/lib/node_modules/npm/man/man3/npm-search.3 +0 -64
  364. data/lib/node_modules/npm/man/man3/npm-shrinkwrap.3 +0 -30
  365. data/lib/node_modules/npm/man/man3/npm-start.3 +0 -21
  366. data/lib/node_modules/npm/man/man3/npm-stop.3 +0 -21
  367. data/lib/node_modules/npm/man/man3/npm-submodule.3 +0 -42
  368. data/lib/node_modules/npm/man/man3/npm-tag.3 +0 -31
  369. data/lib/node_modules/npm/man/man3/npm-test.3 +0 -25
  370. data/lib/node_modules/npm/man/man3/npm-uninstall.3 +0 -25
  371. data/lib/node_modules/npm/man/man3/npm-unpublish.3 +0 -30
  372. data/lib/node_modules/npm/man/man3/npm-update.3 +0 -18
  373. data/lib/node_modules/npm/man/man3/npm-version.3 +0 -27
  374. data/lib/node_modules/npm/man/man3/npm-view.3 +0 -176
  375. data/lib/node_modules/npm/man/man3/npm-whoami.3 +0 -24
  376. data/lib/node_modules/npm/man/man3/npm.3 +0 -162
  377. data/lib/node_modules/npm/man/man5/npm-folders.5 +0 -264
  378. data/lib/node_modules/npm/man/man5/npm-global.5 +0 -264
  379. data/lib/node_modules/npm/man/man5/npm-json.5 +0 -807
  380. data/lib/node_modules/npm/man/man5/npmrc.5 +0 -89
  381. data/lib/node_modules/npm/man/man5/package.json.5 +0 -807
  382. data/lib/node_modules/npm/man/man7/npm-coding-style.7 +0 -254
  383. data/lib/node_modules/npm/man/man7/npm-config.7 +0 -1445
  384. data/lib/node_modules/npm/man/man7/npm-developers.7 +0 -335
  385. data/lib/node_modules/npm/man/man7/npm-disputes.7 +0 -146
  386. data/lib/node_modules/npm/man/man7/npm-faq.7 +0 -479
  387. data/lib/node_modules/npm/man/man7/npm-index.7 +0 -307
  388. data/lib/node_modules/npm/man/man7/npm-registry.7 +0 -82
  389. data/lib/node_modules/npm/man/man7/npm-scripts.7 +0 -354
  390. data/lib/node_modules/npm/man/man7/removing-npm.7 +0 -107
  391. data/lib/node_modules/npm/man/man7/semver.7 +0 -172
  392. data/lib/node_modules/npm/node_modules/abbrev/LICENSE +0 -23
  393. data/lib/node_modules/npm/node_modules/abbrev/README.md +0 -23
  394. data/lib/node_modules/npm/node_modules/abbrev/lib/abbrev.js +0 -111
  395. data/lib/node_modules/npm/node_modules/abbrev/package.json +0 -25
  396. data/lib/node_modules/npm/node_modules/ansi/README.md +0 -91
  397. data/lib/node_modules/npm/node_modules/ansi/color-spaces.pl +0 -67
  398. data/lib/node_modules/npm/node_modules/ansi/examples/beep/index.js +0 -16
  399. data/lib/node_modules/npm/node_modules/ansi/examples/clear/index.js +0 -15
  400. data/lib/node_modules/npm/node_modules/ansi/examples/cursorPosition.js +0 -32
  401. data/lib/node_modules/npm/node_modules/ansi/examples/progress/index.js +0 -87
  402. data/lib/node_modules/npm/node_modules/ansi/examples/starwars.js +0 -46
  403. data/lib/node_modules/npm/node_modules/ansi/lib/ansi.js +0 -405
  404. data/lib/node_modules/npm/node_modules/ansi/lib/newlines.js +0 -71
  405. data/lib/node_modules/npm/node_modules/ansi/package.json +0 -50
  406. data/lib/node_modules/npm/node_modules/ansicolors/LICENSE +0 -23
  407. data/lib/node_modules/npm/node_modules/ansicolors/README.md +0 -62
  408. data/lib/node_modules/npm/node_modules/ansicolors/ansicolors.js +0 -65
  409. data/lib/node_modules/npm/node_modules/ansicolors/package.json +0 -34
  410. data/lib/node_modules/npm/node_modules/ansistyles/LICENSE +0 -23
  411. data/lib/node_modules/npm/node_modules/ansistyles/README.md +0 -71
  412. data/lib/node_modules/npm/node_modules/ansistyles/ansistyles.js +0 -38
  413. data/lib/node_modules/npm/node_modules/ansistyles/package.json +0 -38
  414. data/lib/node_modules/npm/node_modules/archy/README.markdown +0 -92
  415. data/lib/node_modules/npm/node_modules/archy/index.js +0 -35
  416. data/lib/node_modules/npm/node_modules/archy/package.json +0 -52
  417. data/lib/node_modules/npm/node_modules/block-stream/LICENCE +0 -25
  418. data/lib/node_modules/npm/node_modules/block-stream/README.md +0 -14
  419. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream-pause.js +0 -70
  420. data/lib/node_modules/npm/node_modules/block-stream/bench/block-stream.js +0 -68
  421. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper-pause.js +0 -70
  422. data/lib/node_modules/npm/node_modules/block-stream/bench/dropper.js +0 -68
  423. data/lib/node_modules/npm/node_modules/block-stream/block-stream.js +0 -209
  424. data/lib/node_modules/npm/node_modules/block-stream/package.json +0 -35
  425. data/lib/node_modules/npm/node_modules/child-process-close/README.md +0 -45
  426. data/lib/node_modules/npm/node_modules/child-process-close/index.js +0 -48
  427. data/lib/node_modules/npm/node_modules/child-process-close/package.json +0 -37
  428. data/lib/node_modules/npm/node_modules/chmodr/LICENSE +0 -27
  429. data/lib/node_modules/npm/node_modules/chmodr/README.md +0 -3
  430. data/lib/node_modules/npm/node_modules/chmodr/chmodr.js +0 -54
  431. data/lib/node_modules/npm/node_modules/chmodr/package.json +0 -28
  432. data/lib/node_modules/npm/node_modules/chownr/LICENCE +0 -25
  433. data/lib/node_modules/npm/node_modules/chownr/README.md +0 -3
  434. data/lib/node_modules/npm/node_modules/chownr/chownr.js +0 -41
  435. data/lib/node_modules/npm/node_modules/chownr/package.json +0 -42
  436. data/lib/node_modules/npm/node_modules/cmd-shim/LICENSE +0 -27
  437. data/lib/node_modules/npm/node_modules/cmd-shim/README.md +0 -42
  438. data/lib/node_modules/npm/node_modules/cmd-shim/index.js +0 -180
  439. data/lib/node_modules/npm/node_modules/cmd-shim/package.json +0 -35
  440. data/lib/node_modules/npm/node_modules/columnify/Readme.md +0 -189
  441. data/lib/node_modules/npm/node_modules/columnify/index.js +0 -210
  442. data/lib/node_modules/npm/node_modules/columnify/package.json +0 -42
  443. data/lib/node_modules/npm/node_modules/columnify/utils.js +0 -76
  444. data/lib/node_modules/npm/node_modules/editor/LICENSE +0 -18
  445. data/lib/node_modules/npm/node_modules/editor/README.markdown +0 -54
  446. data/lib/node_modules/npm/node_modules/editor/example/beep.json +0 -5
  447. data/lib/node_modules/npm/node_modules/editor/example/edit.js +0 -4
  448. data/lib/node_modules/npm/node_modules/editor/index.js +0 -26
  449. data/lib/node_modules/npm/node_modules/editor/package.json +0 -43
  450. data/lib/node_modules/npm/node_modules/fstream-npm/LICENCE +0 -25
  451. data/lib/node_modules/npm/node_modules/fstream-npm/README.md +0 -18
  452. data/lib/node_modules/npm/node_modules/fstream-npm/example/bundle.js +0 -13
  453. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir-tar.js +0 -19
  454. data/lib/node_modules/npm/node_modules/fstream-npm/example/dir.js +0 -25
  455. data/lib/node_modules/npm/node_modules/fstream-npm/example/example.js +0 -12
  456. data/lib/node_modules/npm/node_modules/fstream-npm/example/ig-tar.js +0 -19
  457. data/lib/node_modules/npm/node_modules/fstream-npm/example/tar.js +0 -25
  458. data/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js +0 -323
  459. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/LICENSE +0 -27
  460. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/README.md +0 -22
  461. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/example/basic.js +0 -13
  462. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js +0 -275
  463. data/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json +0 -40
  464. data/lib/node_modules/npm/node_modules/fstream-npm/package.json +0 -27
  465. data/lib/node_modules/npm/node_modules/fstream/LICENSE +0 -27
  466. data/lib/node_modules/npm/node_modules/fstream/README.md +0 -76
  467. data/lib/node_modules/npm/node_modules/fstream/examples/filter-pipe.js +0 -131
  468. data/lib/node_modules/npm/node_modules/fstream/examples/pipe.js +0 -115
  469. data/lib/node_modules/npm/node_modules/fstream/examples/reader.js +0 -54
  470. data/lib/node_modules/npm/node_modules/fstream/examples/symlink-write.js +0 -24
  471. data/lib/node_modules/npm/node_modules/fstream/fstream.js +0 -31
  472. data/lib/node_modules/npm/node_modules/fstream/lib/abstract.js +0 -85
  473. data/lib/node_modules/npm/node_modules/fstream/lib/collect.js +0 -67
  474. data/lib/node_modules/npm/node_modules/fstream/lib/dir-reader.js +0 -251
  475. data/lib/node_modules/npm/node_modules/fstream/lib/dir-writer.js +0 -171
  476. data/lib/node_modules/npm/node_modules/fstream/lib/file-reader.js +0 -147
  477. data/lib/node_modules/npm/node_modules/fstream/lib/file-writer.js +0 -100
  478. data/lib/node_modules/npm/node_modules/fstream/lib/get-type.js +0 -32
  479. data/lib/node_modules/npm/node_modules/fstream/lib/link-reader.js +0 -54
  480. data/lib/node_modules/npm/node_modules/fstream/lib/link-writer.js +0 -95
  481. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-reader.js +0 -93
  482. data/lib/node_modules/npm/node_modules/fstream/lib/proxy-writer.js +0 -109
  483. data/lib/node_modules/npm/node_modules/fstream/lib/reader.js +0 -260
  484. data/lib/node_modules/npm/node_modules/fstream/lib/socket-reader.js +0 -38
  485. data/lib/node_modules/npm/node_modules/fstream/lib/writer.js +0 -389
  486. data/lib/node_modules/npm/node_modules/fstream/package.json +0 -43
  487. data/lib/node_modules/npm/node_modules/github-url-from-git/History.md +0 -10
  488. data/lib/node_modules/npm/node_modules/github-url-from-git/Makefile +0 -5
  489. data/lib/node_modules/npm/node_modules/github-url-from-git/Readme.md +0 -41
  490. data/lib/node_modules/npm/node_modules/github-url-from-git/index.js +0 -12
  491. data/lib/node_modules/npm/node_modules/github-url-from-git/package.json +0 -31
  492. data/lib/node_modules/npm/node_modules/github-url-from-git/test.js +0 -40
  493. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/LICENSE +0 -27
  494. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/README.md +0 -14
  495. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/index.js +0 -9
  496. data/lib/node_modules/npm/node_modules/github-url-from-username-repo/package.json +0 -33
  497. data/lib/node_modules/npm/node_modules/glob/LICENSE +0 -27
  498. data/lib/node_modules/npm/node_modules/glob/README.md +0 -250
  499. data/lib/node_modules/npm/node_modules/glob/examples/g.js +0 -9
  500. data/lib/node_modules/npm/node_modules/glob/examples/usr-local.js +0 -9
  501. data/lib/node_modules/npm/node_modules/glob/glob.js +0 -680
  502. data/lib/node_modules/npm/node_modules/glob/package.json +0 -39
  503. data/lib/node_modules/npm/node_modules/graceful-fs/LICENSE +0 -27
  504. data/lib/node_modules/npm/node_modules/graceful-fs/README.md +0 -26
  505. data/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js +0 -161
  506. data/lib/node_modules/npm/node_modules/graceful-fs/package.json +0 -48
  507. data/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js +0 -228
  508. data/lib/node_modules/npm/node_modules/inherits/LICENSE +0 -16
  509. data/lib/node_modules/npm/node_modules/inherits/README.md +0 -42
  510. data/lib/node_modules/npm/node_modules/inherits/inherits.js +0 -1
  511. data/lib/node_modules/npm/node_modules/inherits/inherits_browser.js +0 -23
  512. data/lib/node_modules/npm/node_modules/inherits/package.json +0 -32
  513. data/lib/node_modules/npm/node_modules/inherits/test.js +0 -25
  514. data/lib/node_modules/npm/node_modules/ini/LICENSE +0 -23
  515. data/lib/node_modules/npm/node_modules/ini/README.md +0 -79
  516. data/lib/node_modules/npm/node_modules/ini/ini.js +0 -166
  517. data/lib/node_modules/npm/node_modules/ini/package.json +0 -29
  518. data/lib/node_modules/npm/node_modules/init-package-json/README.md +0 -43
  519. data/lib/node_modules/npm/node_modules/init-package-json/default-input.js +0 -181
  520. data/lib/node_modules/npm/node_modules/init-package-json/example/example-basic.js +0 -8
  521. data/lib/node_modules/npm/node_modules/init-package-json/example/example-default.js +0 -7
  522. data/lib/node_modules/npm/node_modules/init-package-json/example/example-npm.js +0 -13
  523. data/lib/node_modules/npm/node_modules/init-package-json/example/init/basic-init.js +0 -1
  524. data/lib/node_modules/npm/node_modules/init-package-json/init-package-json.js +0 -129
  525. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/LICENSE +0 -15
  526. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/README.md +0 -133
  527. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/index.js +0 -11
  528. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/README.md +0 -8
  529. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init-input.js +0 -191
  530. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/init.js +0 -37
  531. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/npm-init/package.json +0 -10
  532. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/example/substack-input.js +0 -61
  533. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/package.json +0 -32
  534. data/lib/node_modules/npm/node_modules/init-package-json/node_modules/promzard/promzard.js +0 -216
  535. data/lib/node_modules/npm/node_modules/init-package-json/package.json +0 -48
  536. data/lib/node_modules/npm/node_modules/lockfile/LICENSE +0 -27
  537. data/lib/node_modules/npm/node_modules/lockfile/README.md +0 -81
  538. data/lib/node_modules/npm/node_modules/lockfile/lockfile.js +0 -272
  539. data/lib/node_modules/npm/node_modules/lockfile/package.json +0 -45
  540. data/lib/node_modules/npm/node_modules/lru-cache/CONTRIBUTORS +0 -14
  541. data/lib/node_modules/npm/node_modules/lru-cache/LICENSE +0 -23
  542. data/lib/node_modules/npm/node_modules/lru-cache/README.md +0 -97
  543. data/lib/node_modules/npm/node_modules/lru-cache/lib/lru-cache.js +0 -252
  544. data/lib/node_modules/npm/node_modules/lru-cache/package.json +0 -33
  545. data/lib/node_modules/npm/node_modules/minimatch/LICENSE +0 -23
  546. data/lib/node_modules/npm/node_modules/minimatch/README.md +0 -218
  547. data/lib/node_modules/npm/node_modules/minimatch/minimatch.js +0 -1055
  548. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/LICENSE +0 -27
  549. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/README.md +0 -53
  550. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/bench.js +0 -283
  551. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/package.json +0 -42
  552. data/lib/node_modules/npm/node_modules/minimatch/node_modules/sigmund/sigmund.js +0 -39
  553. data/lib/node_modules/npm/node_modules/minimatch/package.json +0 -40
  554. data/lib/node_modules/npm/node_modules/mkdirp/LICENSE +0 -21
  555. data/lib/node_modules/npm/node_modules/mkdirp/README.markdown +0 -63
  556. data/lib/node_modules/npm/node_modules/mkdirp/examples/pow.js +0 -6
  557. data/lib/node_modules/npm/node_modules/mkdirp/index.js +0 -82
  558. data/lib/node_modules/npm/node_modules/mkdirp/package.json +0 -33
  559. data/lib/node_modules/npm/node_modules/node-gyp/LICENSE +0 -24
  560. data/lib/node_modules/npm/node_modules/node-gyp/README.md +0 -163
  561. data/lib/node_modules/npm/node_modules/node-gyp/addon.gypi +0 -59
  562. data/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js +0 -133
  563. data/lib/node_modules/npm/node_modules/node-gyp/gyp/AUTHORS +0 -10
  564. data/lib/node_modules/npm/node_modules/node-gyp/gyp/DEPS +0 -24
  565. data/lib/node_modules/npm/node_modules/node-gyp/gyp/LICENSE +0 -27
  566. data/lib/node_modules/npm/node_modules/node-gyp/gyp/OWNERS +0 -1
  567. data/lib/node_modules/npm/node_modules/node-gyp/gyp/PRESUBMIT.py +0 -115
  568. data/lib/node_modules/npm/node_modules/node-gyp/gyp/buildbot/buildbot_run.py +0 -148
  569. data/lib/node_modules/npm/node_modules/node-gyp/gyp/codereview.settings +0 -10
  570. data/lib/node_modules/npm/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +0 -12
  571. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp +0 -7
  572. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp.bat +0 -5
  573. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_dummy.c +0 -7
  574. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py +0 -18
  575. data/lib/node_modules/npm/node_modules/node-gyp/gyp/gyptest.py +0 -274
  576. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +0 -340
  577. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +0 -208
  578. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +0 -1051
  579. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +0 -1482
  580. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +0 -58
  581. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +0 -147
  582. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +0 -267
  583. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +0 -407
  584. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +0 -537
  585. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common.py +0 -513
  586. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +0 -72
  587. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +0 -157
  588. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +0 -103
  589. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +0 -49
  590. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  591. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +0 -1069
  592. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +0 -81
  593. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +0 -308
  594. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +0 -87
  595. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +0 -56
  596. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +0 -2172
  597. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +0 -3270
  598. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +0 -37
  599. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +0 -2150
  600. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +0 -44
  601. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +0 -1224
  602. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +0 -23
  603. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py +0 -2809
  604. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +0 -90
  605. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +0 -264
  606. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +0 -870
  607. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +0 -160
  608. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +0 -176
  609. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +0 -1324
  610. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +0 -2888
  611. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +0 -69
  612. data/lib/node_modules/npm/node_modules/node-gyp/gyp/pylintrc +0 -307
  613. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples +0 -81
  614. data/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples.bat +0 -5
  615. data/lib/node_modules/npm/node_modules/node-gyp/gyp/setup.py +0 -19
  616. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/README +0 -15
  617. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/README +0 -5
  618. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.pbfilespec +0 -27
  619. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/Xcode/Specifications/gyp.xclangspec +0 -226
  620. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/README +0 -12
  621. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp-tests.el +0 -63
  622. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/gyp.el +0 -252
  623. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/run-unit-tests.sh +0 -7
  624. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp +0 -1105
  625. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/emacs/testdata/media.gyp.fontified +0 -1107
  626. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/graphviz.py +0 -100
  627. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_gyp.py +0 -155
  628. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_sln.py +0 -168
  629. data/lib/node_modules/npm/node_modules/node-gyp/gyp/tools/pretty_vcproj.py +0 -329
  630. data/lib/node_modules/npm/node_modules/node-gyp/lib/build.js +0 -275
  631. data/lib/node_modules/npm/node_modules/node-gyp/lib/clean.js +0 -22
  632. data/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +0 -344
  633. data/lib/node_modules/npm/node_modules/node-gyp/lib/install.js +0 -362
  634. data/lib/node_modules/npm/node_modules/node-gyp/lib/list.js +0 -33
  635. data/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js +0 -225
  636. data/lib/node_modules/npm/node_modules/node-gyp/lib/rebuild.js +0 -16
  637. data/lib/node_modules/npm/node_modules/node-gyp/lib/remove.js +0 -56
  638. data/lib/node_modules/npm/node_modules/node-gyp/package.json +0 -55
  639. data/lib/node_modules/npm/node_modules/nopt/LICENSE +0 -23
  640. data/lib/node_modules/npm/node_modules/nopt/README.md +0 -210
  641. data/lib/node_modules/npm/node_modules/nopt/bin/nopt.js +0 -51
  642. data/lib/node_modules/npm/node_modules/nopt/examples/my-program.js +0 -30
  643. data/lib/node_modules/npm/node_modules/nopt/lib/nopt.js +0 -407
  644. data/lib/node_modules/npm/node_modules/nopt/package.json +0 -39
  645. data/lib/node_modules/npm/node_modules/npm-install-checks/LICENSE +0 -234
  646. data/lib/node_modules/npm/node_modules/npm-install-checks/README.md +0 -25
  647. data/lib/node_modules/npm/node_modules/npm-install-checks/index.js +0 -146
  648. data/lib/node_modules/npm/node_modules/npm-install-checks/package.json +0 -43
  649. data/lib/node_modules/npm/node_modules/npm-registry-client/LICENSE +0 -27
  650. data/lib/node_modules/npm/node_modules/npm-registry-client/README.md +0 -176
  651. data/lib/node_modules/npm/node_modules/npm-registry-client/index.js +0 -55
  652. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/adduser.js +0 -138
  653. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/bugs.js +0 -9
  654. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/deprecate.js +0 -28
  655. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js +0 -184
  656. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/publish.js +0 -156
  657. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js +0 -270
  658. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/star.js +0 -29
  659. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/stars.js +0 -9
  660. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/tag.js +0 -6
  661. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/unpublish.js +0 -104
  662. data/lib/node_modules/npm/node_modules/npm-registry-client/lib/upload.js +0 -22
  663. data/lib/node_modules/npm/node_modules/npm-registry-client/package.json +0 -43
  664. data/lib/node_modules/npm/node_modules/npm-user-validate/LICENSE +0 -27
  665. data/lib/node_modules/npm/node_modules/npm-user-validate/README.md +0 -6
  666. data/lib/node_modules/npm/node_modules/npm-user-validate/npm-user-validate.js +0 -49
  667. data/lib/node_modules/npm/node_modules/npm-user-validate/package.json +0 -37
  668. data/lib/node_modules/npm/node_modules/npmconf/LICENSE +0 -27
  669. data/lib/node_modules/npm/node_modules/npmconf/README.md +0 -33
  670. data/lib/node_modules/npm/node_modules/npmconf/config-defs.js +0 -353
  671. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/LICENCE +0 -22
  672. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/index.js +0 -282
  673. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/LICENSE +0 -23
  674. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/README.md +0 -3
  675. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/package.json +0 -33
  676. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/node_modules/proto-list/proto-list.js +0 -81
  677. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/package.json +0 -32
  678. data/lib/node_modules/npm/node_modules/npmconf/node_modules/config-chain/readme.markdown +0 -228
  679. data/lib/node_modules/npm/node_modules/npmconf/npmconf.js +0 -338
  680. data/lib/node_modules/npm/node_modules/npmconf/package.json +0 -50
  681. data/lib/node_modules/npm/node_modules/npmlog/LICENSE +0 -27
  682. data/lib/node_modules/npm/node_modules/npmlog/README.md +0 -153
  683. data/lib/node_modules/npm/node_modules/npmlog/example.js +0 -39
  684. data/lib/node_modules/npm/node_modules/npmlog/log.js +0 -154
  685. data/lib/node_modules/npm/node_modules/npmlog/package.json +0 -32
  686. data/lib/node_modules/npm/node_modules/once/LICENSE +0 -27
  687. data/lib/node_modules/npm/node_modules/once/README.md +0 -51
  688. data/lib/node_modules/npm/node_modules/once/once.js +0 -20
  689. data/lib/node_modules/npm/node_modules/once/package.json +0 -39
  690. data/lib/node_modules/npm/node_modules/opener/LICENSE.txt +0 -14
  691. data/lib/node_modules/npm/node_modules/opener/README.md +0 -44
  692. data/lib/node_modules/npm/node_modules/opener/opener.js +0 -55
  693. data/lib/node_modules/npm/node_modules/opener/package.json +0 -34
  694. data/lib/node_modules/npm/node_modules/osenv/LICENSE +0 -25
  695. data/lib/node_modules/npm/node_modules/osenv/README.md +0 -63
  696. data/lib/node_modules/npm/node_modules/osenv/osenv.js +0 -80
  697. data/lib/node_modules/npm/node_modules/osenv/package.json +0 -38
  698. data/lib/node_modules/npm/node_modules/path-is-inside/LICENSE.txt +0 -14
  699. data/lib/node_modules/npm/node_modules/path-is-inside/README.md +0 -35
  700. data/lib/node_modules/npm/node_modules/path-is-inside/lib/path-is-inside.js +0 -24
  701. data/lib/node_modules/npm/node_modules/path-is-inside/package.json +0 -39
  702. data/lib/node_modules/npm/node_modules/read-installed/LICENSE +0 -16
  703. data/lib/node_modules/npm/node_modules/read-installed/README.md +0 -25
  704. data/lib/node_modules/npm/node_modules/read-installed/package.json +0 -39
  705. data/lib/node_modules/npm/node_modules/read-installed/read-installed.js +0 -338
  706. data/lib/node_modules/npm/node_modules/read-package-json/LICENSE +0 -15
  707. data/lib/node_modules/npm/node_modules/read-package-json/README.md +0 -166
  708. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/AUTHORS +0 -4
  709. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/LICENSE +0 -30
  710. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/README.md +0 -101
  711. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/core_module_names.json +0 -29
  712. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/extract_description.js +0 -14
  713. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/fixer.js +0 -392
  714. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/normalize.js +0 -36
  715. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/safe_format.js +0 -9
  716. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/typos.json +0 -25
  717. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/lib/warning_messages.json +0 -28
  718. data/lib/node_modules/npm/node_modules/read-package-json/node_modules/normalize-package-data/package.json +0 -53
  719. data/lib/node_modules/npm/node_modules/read-package-json/package.json +0 -39
  720. data/lib/node_modules/npm/node_modules/read-package-json/read-json.js +0 -368
  721. data/lib/node_modules/npm/node_modules/read/LICENCE +0 -25
  722. data/lib/node_modules/npm/node_modules/read/README.md +0 -53
  723. data/lib/node_modules/npm/node_modules/read/example/example.js +0 -13
  724. data/lib/node_modules/npm/node_modules/read/lib/read.js +0 -113
  725. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/LICENSE +0 -27
  726. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/README.md +0 -68
  727. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/mute.js +0 -140
  728. data/lib/node_modules/npm/node_modules/read/node_modules/mute-stream/package.json +0 -37
  729. data/lib/node_modules/npm/node_modules/read/package.json +0 -35
  730. data/lib/node_modules/npm/node_modules/read/rs.js +0 -4
  731. data/lib/node_modules/npm/node_modules/request/LICENSE +0 -55
  732. data/lib/node_modules/npm/node_modules/request/README.md +0 -364
  733. data/lib/node_modules/npm/node_modules/request/index.js +0 -157
  734. data/lib/node_modules/npm/node_modules/request/lib/copy.js +0 -8
  735. data/lib/node_modules/npm/node_modules/request/lib/debug.js +0 -7
  736. data/lib/node_modules/npm/node_modules/request/lib/getSafe.js +0 -34
  737. data/lib/node_modules/npm/node_modules/request/lib/optional.js +0 -5
  738. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/LICENSE +0 -55
  739. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/README.md +0 -4
  740. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/index.js +0 -202
  741. data/lib/node_modules/npm/node_modules/request/node_modules/aws-sign2/package.json +0 -28
  742. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/LICENSE +0 -55
  743. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/README.md +0 -4
  744. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/index.js +0 -119
  745. data/lib/node_modules/npm/node_modules/request/node_modules/forever-agent/package.json +0 -28
  746. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/License +0 -19
  747. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/Readme.md +0 -163
  748. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/lib/form_data.js +0 -325
  749. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/LICENSE +0 -19
  750. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/README.md +0 -1414
  751. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/component.json +0 -11
  752. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/lib/async.js +0 -955
  753. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/async/package.json +0 -43
  754. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/License +0 -19
  755. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Makefile +0 -7
  756. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/Readme.md +0 -132
  757. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/lib/combined_stream.js +0 -185
  758. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/License +0 -19
  759. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Makefile +0 -7
  760. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/Readme.md +0 -154
  761. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/lib/delayed_stream.js +0 -99
  762. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/node_modules/delayed-stream/package.json +0 -31
  763. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/combined-stream/package.json +0 -32
  764. data/lib/node_modules/npm/node_modules/request/node_modules/form-data/package.json +0 -46
  765. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/LICENSE +0 -24
  766. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/Makefile +0 -10
  767. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/README.md +0 -627
  768. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/example/usage.js +0 -78
  769. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/hawk.png +0 -0
  770. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/images/logo.png +0 -0
  771. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/index.js +0 -1
  772. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/browser.js +0 -485
  773. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/client.js +0 -367
  774. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/crypto.js +0 -111
  775. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/index.js +0 -15
  776. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/server.js +0 -524
  777. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/lib/utils.js +0 -183
  778. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/LICENSE +0 -24
  779. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/Makefile +0 -11
  780. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/README.md +0 -6
  781. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/images/boom.png +0 -0
  782. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/index.js +0 -1
  783. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js +0 -207
  784. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/boom/package.json +0 -47
  785. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/LICENSE +0 -24
  786. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/Makefile +0 -11
  787. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/README.md +0 -6
  788. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/index.js +0 -1
  789. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/lib/index.js +0 -68
  790. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json +0 -48
  791. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/LICENSE +0 -33
  792. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/Makefile +0 -10
  793. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/README.md +0 -436
  794. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/images/hoek.png +0 -0
  795. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/index.js +0 -1
  796. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/escape.js +0 -132
  797. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/lib/index.js +0 -585
  798. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/hoek/package.json +0 -49
  799. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/LICENSE +0 -24
  800. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/Makefile +0 -11
  801. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/README.md +0 -68
  802. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/offset.js +0 -16
  803. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/examples/time.js +0 -25
  804. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/index.js +0 -1
  805. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/lib/index.js +0 -409
  806. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/node_modules/sntp/package.json +0 -48
  807. data/lib/node_modules/npm/node_modules/request/node_modules/hawk/package.json +0 -53
  808. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/LICENSE +0 -18
  809. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/README.md +0 -75
  810. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/http_signing.md +0 -296
  811. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/index.js +0 -25
  812. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/parser.js +0 -304
  813. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/signer.js +0 -179
  814. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/util.js +0 -249
  815. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/lib/verify.js +0 -42
  816. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/LICENSE +0 -19
  817. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/README.md +0 -50
  818. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/errors.js +0 -13
  819. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/index.js +0 -27
  820. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/reader.js +0 -267
  821. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/types.js +0 -36
  822. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/ber/writer.js +0 -317
  823. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/lib/index.js +0 -20
  824. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/package.json +0 -43
  825. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/reader.test.js +0 -172
  826. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/asn1/tst/ber/writer.test.js +0 -296
  827. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/README.md +0 -126
  828. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/assert.js +0 -196
  829. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/assert-plus/package.json +0 -20
  830. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/CHANGELOG +0 -71
  831. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/LICENSE +0 -24
  832. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README +0 -82
  833. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/README.old +0 -298
  834. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctf.js +0 -245
  835. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctio.js +0 -1485
  836. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/ctype.js +0 -944
  837. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/man/man3ctype/ctio.3ctype +0 -241
  838. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/package.json +0 -18
  839. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsl.conf +0 -129
  840. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tools/jsstyle +0 -839
  841. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/float.json +0 -13
  842. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/int.json +0 -13
  843. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/psinfo.json +0 -104
  844. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/struct.json +0 -19
  845. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.fail.js +0 -39
  846. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.float.js +0 -14
  847. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.int.js +0 -14
  848. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.psinfo.js +0 -17
  849. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.struct.js +0 -18
  850. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/tst.typedef.js +0 -15
  851. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctf/typedef.json +0 -14
  852. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.rfloat.js +0 -767
  853. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/float/tst.wfloat.js +0 -753
  854. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.64.js +0 -638
  855. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.rint.js +0 -101
  856. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wbounds.js +0 -53
  857. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/int/tst.wint.js +0 -92
  858. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js +0 -451
  859. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.roundtrip.js +0 -81
  860. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.ruint.js +0 -95
  861. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.wuint.js +0 -156
  862. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicr.js +0 -50
  863. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.basicw.js +0 -44
  864. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.char.js +0 -42
  865. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.endian.js +0 -45
  866. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.oldwrite.js +0 -28
  867. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.readSize.js +0 -128
  868. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.structw.js +0 -28
  869. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctype/tst.writeStruct.js +0 -31
  870. data/lib/node_modules/npm/node_modules/request/node_modules/http-signature/package.json +0 -36
  871. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/LICENSE +0 -27
  872. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/README.md +0 -49
  873. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/package.json +0 -33
  874. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/stringify.js +0 -39
  875. data/lib/node_modules/npm/node_modules/request/node_modules/json-stringify-safe/test.js +0 -128
  876. data/lib/node_modules/npm/node_modules/request/node_modules/mime/LICENSE +0 -19
  877. data/lib/node_modules/npm/node_modules/request/node_modules/mime/README.md +0 -66
  878. data/lib/node_modules/npm/node_modules/request/node_modules/mime/mime.js +0 -114
  879. data/lib/node_modules/npm/node_modules/request/node_modules/mime/package.json +0 -36
  880. data/lib/node_modules/npm/node_modules/request/node_modules/mime/test.js +0 -84
  881. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/mime.types +0 -1588
  882. data/lib/node_modules/npm/node_modules/request/node_modules/mime/types/node.types +0 -77
  883. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/LICENSE.md +0 -2
  884. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/README.md +0 -207
  885. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/README.md +0 -53
  886. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.gnu +0 -174
  887. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/bench.sh +0 -34
  888. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark-native.c +0 -34
  889. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/benchmark/benchmark.js +0 -84
  890. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/component.json +0 -18
  891. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/package.json +0 -35
  892. data/lib/node_modules/npm/node_modules/request/node_modules/node-uuid/uuid.js +0 -245
  893. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/LICENSE +0 -55
  894. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/README.md +0 -4
  895. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/index.js +0 -43
  896. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/package.json +0 -31
  897. data/lib/node_modules/npm/node_modules/request/node_modules/oauth-sign/test.js +0 -49
  898. data/lib/node_modules/npm/node_modules/request/node_modules/qs/Readme.md +0 -58
  899. data/lib/node_modules/npm/node_modules/request/node_modules/qs/index.js +0 -366
  900. data/lib/node_modules/npm/node_modules/request/node_modules/qs/package.json +0 -38
  901. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/LICENSE +0 -78
  902. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/README.md +0 -380
  903. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/generate-pubsuffix.js +0 -230
  904. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/cookie.js +0 -947
  905. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/memstore.js +0 -102
  906. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/lib/pubsuffix.js +0 -69
  907. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-GPL.txt +0 -278
  908. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/LICENSE-MIT.txt +0 -20
  909. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json +0 -73
  910. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.js +0 -508
  911. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/punycode.min.js +0 -2
  912. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/LICENSE.txt +0 -20
  913. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/README.md +0 -35
  914. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/README.md +0 -69
  915. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/doc/parse.php +0 -35
  916. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/docdown.php +0 -38
  917. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Alias.php +0 -226
  918. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Entry.php +0 -442
  919. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/node_modules/punycode/vendor/docdown/src/DocDown/Generator.php +0 -563
  920. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/package.json +0 -46
  921. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/public-suffix.txt +0 -5229
  922. data/lib/node_modules/npm/node_modules/request/node_modules/tough-cookie/test.js +0 -1340
  923. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/LICENSE +0 -55
  924. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/README.md +0 -4
  925. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js +0 -227
  926. data/lib/node_modules/npm/node_modules/request/node_modules/tunnel-agent/package.json +0 -28
  927. data/lib/node_modules/npm/node_modules/request/package.json +0 -57
  928. data/lib/node_modules/npm/node_modules/request/request.js +0 -1260
  929. data/lib/node_modules/npm/node_modules/retry/License +0 -21
  930. data/lib/node_modules/npm/node_modules/retry/Makefile +0 -7
  931. data/lib/node_modules/npm/node_modules/retry/Readme.md +0 -167
  932. data/lib/node_modules/npm/node_modules/retry/equation.gif +0 -0
  933. data/lib/node_modules/npm/node_modules/retry/example/dns.js +0 -31
  934. data/lib/node_modules/npm/node_modules/retry/index.js +0 -1
  935. data/lib/node_modules/npm/node_modules/retry/lib/retry.js +0 -50
  936. data/lib/node_modules/npm/node_modules/retry/lib/retry_operation.js +0 -109
  937. data/lib/node_modules/npm/node_modules/retry/package.json +0 -29
  938. data/lib/node_modules/npm/node_modules/rimraf/AUTHORS +0 -6
  939. data/lib/node_modules/npm/node_modules/rimraf/LICENSE +0 -23
  940. data/lib/node_modules/npm/node_modules/rimraf/README.md +0 -30
  941. data/lib/node_modules/npm/node_modules/rimraf/bin.js +0 -33
  942. data/lib/node_modules/npm/node_modules/rimraf/package.json +0 -56
  943. data/lib/node_modules/npm/node_modules/rimraf/rimraf.js +0 -178
  944. data/lib/node_modules/npm/node_modules/semver/LICENSE +0 -27
  945. data/lib/node_modules/npm/node_modules/semver/Makefile +0 -24
  946. data/lib/node_modules/npm/node_modules/semver/README.md +0 -142
  947. data/lib/node_modules/npm/node_modules/semver/bin/semver +0 -124
  948. data/lib/node_modules/npm/node_modules/semver/foot.js +0 -6
  949. data/lib/node_modules/npm/node_modules/semver/head.js +0 -2
  950. data/lib/node_modules/npm/node_modules/semver/package.json +0 -32
  951. data/lib/node_modules/npm/node_modules/semver/semver.browser.js +0 -1007
  952. data/lib/node_modules/npm/node_modules/semver/semver.browser.js.gz +0 -0
  953. data/lib/node_modules/npm/node_modules/semver/semver.js +0 -1011
  954. data/lib/node_modules/npm/node_modules/semver/semver.min.js +0 -1
  955. data/lib/node_modules/npm/node_modules/semver/semver.min.js.gz +0 -0
  956. data/lib/node_modules/npm/node_modules/sha/LICENSE +0 -46
  957. data/lib/node_modules/npm/node_modules/sha/README.md +0 -49
  958. data/lib/node_modules/npm/node_modules/sha/index.js +0 -120
  959. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/LICENSE +0 -27
  960. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/README.md +0 -768
  961. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/duplex.js +0 -1
  962. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/float.patch +0 -68
  963. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_duplex.js +0 -69
  964. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_passthrough.js +0 -41
  965. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_readable.js +0 -927
  966. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_transform.js +0 -205
  967. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/lib/_stream_writable.js +0 -369
  968. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/package.json +0 -36
  969. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/passthrough.js +0 -1
  970. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/readable.js +0 -6
  971. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/transform.js +0 -1
  972. data/lib/node_modules/npm/node_modules/sha/node_modules/readable-stream/writable.js +0 -1
  973. data/lib/node_modules/npm/node_modules/sha/package.json +0 -32
  974. data/lib/node_modules/npm/node_modules/slide/LICENSE +0 -15
  975. data/lib/node_modules/npm/node_modules/slide/README.md +0 -143
  976. data/lib/node_modules/npm/node_modules/slide/index.js +0 -1
  977. data/lib/node_modules/npm/node_modules/slide/lib/async-map-ordered.js +0 -65
  978. data/lib/node_modules/npm/node_modules/slide/lib/async-map.js +0 -56
  979. data/lib/node_modules/npm/node_modules/slide/lib/bind-actor.js +0 -16
  980. data/lib/node_modules/npm/node_modules/slide/lib/chain.js +0 -20
  981. data/lib/node_modules/npm/node_modules/slide/lib/slide.js +0 -3
  982. data/lib/node_modules/npm/node_modules/slide/package.json +0 -35
  983. data/lib/node_modules/npm/node_modules/tar/LICENCE +0 -25
  984. data/lib/node_modules/npm/node_modules/tar/README.md +0 -46
  985. data/lib/node_modules/npm/node_modules/tar/examples/extracter.js +0 -11
  986. data/lib/node_modules/npm/node_modules/tar/examples/reader.js +0 -36
  987. data/lib/node_modules/npm/node_modules/tar/lib/buffer-entry.js +0 -30
  988. data/lib/node_modules/npm/node_modules/tar/lib/entry-writer.js +0 -169
  989. data/lib/node_modules/npm/node_modules/tar/lib/entry.js +0 -213
  990. data/lib/node_modules/npm/node_modules/tar/lib/extended-header-writer.js +0 -191
  991. data/lib/node_modules/npm/node_modules/tar/lib/extended-header.js +0 -140
  992. data/lib/node_modules/npm/node_modules/tar/lib/extract.js +0 -78
  993. data/lib/node_modules/npm/node_modules/tar/lib/global-header-writer.js +0 -14
  994. data/lib/node_modules/npm/node_modules/tar/lib/header.js +0 -385
  995. data/lib/node_modules/npm/node_modules/tar/lib/pack.js +0 -231
  996. data/lib/node_modules/npm/node_modules/tar/lib/parse.js +0 -270
  997. data/lib/node_modules/npm/node_modules/tar/package.json +0 -40
  998. data/lib/node_modules/npm/node_modules/tar/tar.js +0 -173
  999. data/lib/node_modules/npm/node_modules/text-table/LICENSE +0 -18
  1000. data/lib/node_modules/npm/node_modules/text-table/example/align.js +0 -8
  1001. data/lib/node_modules/npm/node_modules/text-table/example/center.js +0 -8
  1002. data/lib/node_modules/npm/node_modules/text-table/example/dotalign.js +0 -9
  1003. data/lib/node_modules/npm/node_modules/text-table/example/doubledot.js +0 -11
  1004. data/lib/node_modules/npm/node_modules/text-table/example/table.js +0 -6
  1005. data/lib/node_modules/npm/node_modules/text-table/index.js +0 -86
  1006. data/lib/node_modules/npm/node_modules/text-table/package.json +0 -52
  1007. data/lib/node_modules/npm/node_modules/text-table/readme.markdown +0 -134
  1008. data/lib/node_modules/npm/node_modules/uid-number/LICENCE +0 -25
  1009. data/lib/node_modules/npm/node_modules/uid-number/README.md +0 -17
  1010. data/lib/node_modules/npm/node_modules/uid-number/get-uid-gid.js +0 -24
  1011. data/lib/node_modules/npm/node_modules/uid-number/package.json +0 -35
  1012. data/lib/node_modules/npm/node_modules/uid-number/uid-number.js +0 -54
  1013. data/lib/node_modules/npm/node_modules/which/LICENSE +0 -23
  1014. data/lib/node_modules/npm/node_modules/which/README.md +0 -5
  1015. data/lib/node_modules/npm/node_modules/which/bin/which +0 -14
  1016. data/lib/node_modules/npm/node_modules/which/package.json +0 -34
  1017. data/lib/node_modules/npm/node_modules/which/which.js +0 -104
  1018. data/lib/node_modules/npm/package.json +0 -155
  1019. data/lib/node_modules/npm/scripts/clean-old.sh +0 -165
  1020. data/lib/node_modules/npm/scripts/doc-build.sh +0 -84
  1021. data/lib/node_modules/npm/scripts/index-build.js +0 -62
  1022. data/lib/node_modules/npm/scripts/install.sh +0 -313
  1023. data/lib/node_modules/npm/scripts/release.sh +0 -36
  1024. data/lib/node_modules/npm/scripts/relocate.sh +0 -26
@@ -1,44 +0,0 @@
1
- #!/usr/bin/env python
2
-
3
- # Copyright (c) 2012 Google Inc. All rights reserved.
4
- # Use of this source code is governed by a BSD-style license that can be
5
- # found in the LICENSE file.
6
-
7
- """ Unit tests for the ninja.py file. """
8
-
9
- import gyp.generator.ninja as ninja
10
- import unittest
11
- import StringIO
12
- import sys
13
- import TestCommon
14
-
15
-
16
- class TestPrefixesAndSuffixes(unittest.TestCase):
17
- def test_BinaryNamesWindows(self):
18
- writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'build.ninja', '.',
19
- 'build.ninja', 'win')
20
- spec = { 'target_name': 'wee' }
21
- self.assertTrue(writer.ComputeOutputFileName(spec, 'executable').
22
- endswith('.exe'))
23
- self.assertTrue(writer.ComputeOutputFileName(spec, 'shared_library').
24
- endswith('.dll'))
25
- self.assertTrue(writer.ComputeOutputFileName(spec, 'static_library').
26
- endswith('.lib'))
27
-
28
- def test_BinaryNamesLinux(self):
29
- writer = ninja.NinjaWriter('foo', 'wee', '.', '.', 'build.ninja', '.',
30
- 'build.ninja', 'linux')
31
- spec = { 'target_name': 'wee' }
32
- self.assertTrue('.' not in writer.ComputeOutputFileName(spec,
33
- 'executable'))
34
- self.assertTrue(writer.ComputeOutputFileName(spec, 'shared_library').
35
- startswith('lib'))
36
- self.assertTrue(writer.ComputeOutputFileName(spec, 'static_library').
37
- startswith('lib'))
38
- self.assertTrue(writer.ComputeOutputFileName(spec, 'shared_library').
39
- endswith('.so'))
40
- self.assertTrue(writer.ComputeOutputFileName(spec, 'static_library').
41
- endswith('.a'))
42
-
43
- if __name__ == '__main__':
44
- unittest.main()
@@ -1,1224 +0,0 @@
1
- # Copyright (c) 2012 Google Inc. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- import filecmp
6
- import gyp.common
7
- import gyp.xcodeproj_file
8
- import errno
9
- import os
10
- import sys
11
- import posixpath
12
- import re
13
- import shutil
14
- import subprocess
15
- import tempfile
16
-
17
-
18
- # Project files generated by this module will use _intermediate_var as a
19
- # custom Xcode setting whose value is a DerivedSources-like directory that's
20
- # project-specific and configuration-specific. The normal choice,
21
- # DERIVED_FILE_DIR, is target-specific, which is thought to be too restrictive
22
- # as it is likely that multiple targets within a single project file will want
23
- # to access the same set of generated files. The other option,
24
- # PROJECT_DERIVED_FILE_DIR, is unsuitable because while it is project-specific,
25
- # it is not configuration-specific. INTERMEDIATE_DIR is defined as
26
- # $(PROJECT_DERIVED_FILE_DIR)/$(CONFIGURATION).
27
- _intermediate_var = 'INTERMEDIATE_DIR'
28
-
29
- # SHARED_INTERMEDIATE_DIR is the same, except that it is shared among all
30
- # targets that share the same BUILT_PRODUCTS_DIR.
31
- _shared_intermediate_var = 'SHARED_INTERMEDIATE_DIR'
32
-
33
- _library_search_paths_var = 'LIBRARY_SEARCH_PATHS'
34
-
35
- generator_default_variables = {
36
- 'EXECUTABLE_PREFIX': '',
37
- 'EXECUTABLE_SUFFIX': '',
38
- 'STATIC_LIB_PREFIX': 'lib',
39
- 'SHARED_LIB_PREFIX': 'lib',
40
- 'STATIC_LIB_SUFFIX': '.a',
41
- 'SHARED_LIB_SUFFIX': '.dylib',
42
- # INTERMEDIATE_DIR is a place for targets to build up intermediate products.
43
- # It is specific to each build environment. It is only guaranteed to exist
44
- # and be constant within the context of a project, corresponding to a single
45
- # input file. Some build environments may allow their intermediate directory
46
- # to be shared on a wider scale, but this is not guaranteed.
47
- 'INTERMEDIATE_DIR': '$(%s)' % _intermediate_var,
48
- 'OS': 'mac',
49
- 'PRODUCT_DIR': '$(BUILT_PRODUCTS_DIR)',
50
- 'LIB_DIR': '$(BUILT_PRODUCTS_DIR)',
51
- 'RULE_INPUT_ROOT': '$(INPUT_FILE_BASE)',
52
- 'RULE_INPUT_EXT': '$(INPUT_FILE_SUFFIX)',
53
- 'RULE_INPUT_NAME': '$(INPUT_FILE_NAME)',
54
- 'RULE_INPUT_PATH': '$(INPUT_FILE_PATH)',
55
- 'RULE_INPUT_DIRNAME': '$(INPUT_FILE_DIRNAME)',
56
- 'SHARED_INTERMEDIATE_DIR': '$(%s)' % _shared_intermediate_var,
57
- 'CONFIGURATION_NAME': '$(CONFIGURATION)',
58
- }
59
-
60
- # The Xcode-specific sections that hold paths.
61
- generator_additional_path_sections = [
62
- 'mac_bundle_resources',
63
- 'mac_framework_headers',
64
- 'mac_framework_private_headers',
65
- # 'mac_framework_dirs', input already handles _dirs endings.
66
- ]
67
-
68
- # The Xcode-specific keys that exist on targets and aren't moved down to
69
- # configurations.
70
- generator_additional_non_configuration_keys = [
71
- 'mac_bundle',
72
- 'mac_bundle_resources',
73
- 'mac_framework_headers',
74
- 'mac_framework_private_headers',
75
- 'mac_xctest_bundle',
76
- 'xcode_create_dependents_test_runner',
77
- ]
78
-
79
- # We want to let any rules apply to files that are resources also.
80
- generator_extra_sources_for_rules = [
81
- 'mac_bundle_resources',
82
- 'mac_framework_headers',
83
- 'mac_framework_private_headers',
84
- ]
85
-
86
- # Xcode's standard set of library directories, which don't need to be duplicated
87
- # in LIBRARY_SEARCH_PATHS. This list is not exhaustive, but that's okay.
88
- xcode_standard_library_dirs = frozenset([
89
- '$(SDKROOT)/usr/lib',
90
- '$(SDKROOT)/usr/local/lib',
91
- ])
92
-
93
- def CreateXCConfigurationList(configuration_names):
94
- xccl = gyp.xcodeproj_file.XCConfigurationList({'buildConfigurations': []})
95
- if len(configuration_names) == 0:
96
- configuration_names = ['Default']
97
- for configuration_name in configuration_names:
98
- xcbc = gyp.xcodeproj_file.XCBuildConfiguration({
99
- 'name': configuration_name})
100
- xccl.AppendProperty('buildConfigurations', xcbc)
101
- xccl.SetProperty('defaultConfigurationName', configuration_names[0])
102
- return xccl
103
-
104
-
105
- class XcodeProject(object):
106
- def __init__(self, gyp_path, path, build_file_dict):
107
- self.gyp_path = gyp_path
108
- self.path = path
109
- self.project = gyp.xcodeproj_file.PBXProject(path=path)
110
- projectDirPath = gyp.common.RelativePath(
111
- os.path.dirname(os.path.abspath(self.gyp_path)),
112
- os.path.dirname(path) or '.')
113
- self.project.SetProperty('projectDirPath', projectDirPath)
114
- self.project_file = \
115
- gyp.xcodeproj_file.XCProjectFile({'rootObject': self.project})
116
- self.build_file_dict = build_file_dict
117
-
118
- # TODO(mark): add destructor that cleans up self.path if created_dir is
119
- # True and things didn't complete successfully. Or do something even
120
- # better with "try"?
121
- self.created_dir = False
122
- try:
123
- os.makedirs(self.path)
124
- self.created_dir = True
125
- except OSError, e:
126
- if e.errno != errno.EEXIST:
127
- raise
128
-
129
- def Finalize1(self, xcode_targets, serialize_all_tests):
130
- # Collect a list of all of the build configuration names used by the
131
- # various targets in the file. It is very heavily advised to keep each
132
- # target in an entire project (even across multiple project files) using
133
- # the same set of configuration names.
134
- configurations = []
135
- for xct in self.project.GetProperty('targets'):
136
- xccl = xct.GetProperty('buildConfigurationList')
137
- xcbcs = xccl.GetProperty('buildConfigurations')
138
- for xcbc in xcbcs:
139
- name = xcbc.GetProperty('name')
140
- if name not in configurations:
141
- configurations.append(name)
142
-
143
- # Replace the XCConfigurationList attached to the PBXProject object with
144
- # a new one specifying all of the configuration names used by the various
145
- # targets.
146
- try:
147
- xccl = CreateXCConfigurationList(configurations)
148
- self.project.SetProperty('buildConfigurationList', xccl)
149
- except:
150
- sys.stderr.write("Problem with gyp file %s\n" % self.gyp_path)
151
- raise
152
-
153
- # The need for this setting is explained above where _intermediate_var is
154
- # defined. The comments below about wanting to avoid project-wide build
155
- # settings apply here too, but this needs to be set on a project-wide basis
156
- # so that files relative to the _intermediate_var setting can be displayed
157
- # properly in the Xcode UI.
158
- #
159
- # Note that for configuration-relative files such as anything relative to
160
- # _intermediate_var, for the purposes of UI tree view display, Xcode will
161
- # only resolve the configuration name once, when the project file is
162
- # opened. If the active build configuration is changed, the project file
163
- # must be closed and reopened if it is desired for the tree view to update.
164
- # This is filed as Apple radar 6588391.
165
- xccl.SetBuildSetting(_intermediate_var,
166
- '$(PROJECT_DERIVED_FILE_DIR)/$(CONFIGURATION)')
167
- xccl.SetBuildSetting(_shared_intermediate_var,
168
- '$(SYMROOT)/DerivedSources/$(CONFIGURATION)')
169
-
170
- # Set user-specified project-wide build settings and config files. This
171
- # is intended to be used very sparingly. Really, almost everything should
172
- # go into target-specific build settings sections. The project-wide
173
- # settings are only intended to be used in cases where Xcode attempts to
174
- # resolve variable references in a project context as opposed to a target
175
- # context, such as when resolving sourceTree references while building up
176
- # the tree tree view for UI display.
177
- # Any values set globally are applied to all configurations, then any
178
- # per-configuration values are applied.
179
- for xck, xcv in self.build_file_dict.get('xcode_settings', {}).iteritems():
180
- xccl.SetBuildSetting(xck, xcv)
181
- if 'xcode_config_file' in self.build_file_dict:
182
- config_ref = self.project.AddOrGetFileInRootGroup(
183
- self.build_file_dict['xcode_config_file'])
184
- xccl.SetBaseConfiguration(config_ref)
185
- build_file_configurations = self.build_file_dict.get('configurations', {})
186
- if build_file_configurations:
187
- for config_name in configurations:
188
- build_file_configuration_named = \
189
- build_file_configurations.get(config_name, {})
190
- if build_file_configuration_named:
191
- xcc = xccl.ConfigurationNamed(config_name)
192
- for xck, xcv in build_file_configuration_named.get('xcode_settings',
193
- {}).iteritems():
194
- xcc.SetBuildSetting(xck, xcv)
195
- if 'xcode_config_file' in build_file_configuration_named:
196
- config_ref = self.project.AddOrGetFileInRootGroup(
197
- build_file_configurations[config_name]['xcode_config_file'])
198
- xcc.SetBaseConfiguration(config_ref)
199
-
200
- # Sort the targets based on how they appeared in the input.
201
- # TODO(mark): Like a lot of other things here, this assumes internal
202
- # knowledge of PBXProject - in this case, of its "targets" property.
203
-
204
- # ordinary_targets are ordinary targets that are already in the project
205
- # file. run_test_targets are the targets that run unittests and should be
206
- # used for the Run All Tests target. support_targets are the action/rule
207
- # targets used by GYP file targets, just kept for the assert check.
208
- ordinary_targets = []
209
- run_test_targets = []
210
- support_targets = []
211
-
212
- # targets is full list of targets in the project.
213
- targets = []
214
-
215
- # does the it define it's own "all"?
216
- has_custom_all = False
217
-
218
- # targets_for_all is the list of ordinary_targets that should be listed
219
- # in this project's "All" target. It includes each non_runtest_target
220
- # that does not have suppress_wildcard set.
221
- targets_for_all = []
222
-
223
- for target in self.build_file_dict['targets']:
224
- target_name = target['target_name']
225
- toolset = target['toolset']
226
- qualified_target = gyp.common.QualifiedTarget(self.gyp_path, target_name,
227
- toolset)
228
- xcode_target = xcode_targets[qualified_target]
229
- # Make sure that the target being added to the sorted list is already in
230
- # the unsorted list.
231
- assert xcode_target in self.project._properties['targets']
232
- targets.append(xcode_target)
233
- ordinary_targets.append(xcode_target)
234
- if xcode_target.support_target:
235
- support_targets.append(xcode_target.support_target)
236
- targets.append(xcode_target.support_target)
237
-
238
- if not int(target.get('suppress_wildcard', False)):
239
- targets_for_all.append(xcode_target)
240
-
241
- if target_name.lower() == 'all':
242
- has_custom_all = True;
243
-
244
- # If this target has a 'run_as' attribute, add its target to the
245
- # targets, and add it to the test targets.
246
- if target.get('run_as'):
247
- # Make a target to run something. It should have one
248
- # dependency, the parent xcode target.
249
- xccl = CreateXCConfigurationList(configurations)
250
- run_target = gyp.xcodeproj_file.PBXAggregateTarget({
251
- 'name': 'Run ' + target_name,
252
- 'productName': xcode_target.GetProperty('productName'),
253
- 'buildConfigurationList': xccl,
254
- },
255
- parent=self.project)
256
- run_target.AddDependency(xcode_target)
257
-
258
- command = target['run_as']
259
- script = ''
260
- if command.get('working_directory'):
261
- script = script + 'cd "%s"\n' % \
262
- gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
263
- command.get('working_directory'))
264
-
265
- if command.get('environment'):
266
- script = script + "\n".join(
267
- ['export %s="%s"' %
268
- (key, gyp.xcodeproj_file.ConvertVariablesToShellSyntax(val))
269
- for (key, val) in command.get('environment').iteritems()]) + "\n"
270
-
271
- # Some test end up using sockets, files on disk, etc. and can get
272
- # confused if more then one test runs at a time. The generator
273
- # flag 'xcode_serialize_all_test_runs' controls the forcing of all
274
- # tests serially. It defaults to True. To get serial runs this
275
- # little bit of python does the same as the linux flock utility to
276
- # make sure only one runs at a time.
277
- command_prefix = ''
278
- if serialize_all_tests:
279
- command_prefix = \
280
- """python -c "import fcntl, subprocess, sys
281
- file = open('$TMPDIR/GYP_serialize_test_runs', 'a')
282
- fcntl.flock(file.fileno(), fcntl.LOCK_EX)
283
- sys.exit(subprocess.call(sys.argv[1:]))" """
284
-
285
- # If we were unable to exec for some reason, we want to exit
286
- # with an error, and fixup variable references to be shell
287
- # syntax instead of xcode syntax.
288
- script = script + 'exec ' + command_prefix + '%s\nexit 1\n' % \
289
- gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
290
- gyp.common.EncodePOSIXShellList(command.get('action')))
291
-
292
- ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase({
293
- 'shellScript': script,
294
- 'showEnvVarsInLog': 0,
295
- })
296
- run_target.AppendProperty('buildPhases', ssbp)
297
-
298
- # Add the run target to the project file.
299
- targets.append(run_target)
300
- run_test_targets.append(run_target)
301
- xcode_target.test_runner = run_target
302
-
303
-
304
- # Make sure that the list of targets being replaced is the same length as
305
- # the one replacing it, but allow for the added test runner targets.
306
- assert len(self.project._properties['targets']) == \
307
- len(ordinary_targets) + len(support_targets)
308
-
309
- self.project._properties['targets'] = targets
310
-
311
- # Get rid of unnecessary levels of depth in groups like the Source group.
312
- self.project.RootGroupsTakeOverOnlyChildren(True)
313
-
314
- # Sort the groups nicely. Do this after sorting the targets, because the
315
- # Products group is sorted based on the order of the targets.
316
- self.project.SortGroups()
317
-
318
- # Create an "All" target if there's more than one target in this project
319
- # file and the project didn't define its own "All" target. Put a generated
320
- # "All" target first so that people opening up the project for the first
321
- # time will build everything by default.
322
- if len(targets_for_all) > 1 and not has_custom_all:
323
- xccl = CreateXCConfigurationList(configurations)
324
- all_target = gyp.xcodeproj_file.PBXAggregateTarget(
325
- {
326
- 'buildConfigurationList': xccl,
327
- 'name': 'All',
328
- },
329
- parent=self.project)
330
-
331
- for target in targets_for_all:
332
- all_target.AddDependency(target)
333
-
334
- # TODO(mark): This is evil because it relies on internal knowledge of
335
- # PBXProject._properties. It's important to get the "All" target first,
336
- # though.
337
- self.project._properties['targets'].insert(0, all_target)
338
-
339
- # The same, but for run_test_targets.
340
- if len(run_test_targets) > 1:
341
- xccl = CreateXCConfigurationList(configurations)
342
- run_all_tests_target = gyp.xcodeproj_file.PBXAggregateTarget(
343
- {
344
- 'buildConfigurationList': xccl,
345
- 'name': 'Run All Tests',
346
- },
347
- parent=self.project)
348
- for run_test_target in run_test_targets:
349
- run_all_tests_target.AddDependency(run_test_target)
350
-
351
- # Insert after the "All" target, which must exist if there is more than
352
- # one run_test_target.
353
- self.project._properties['targets'].insert(1, run_all_tests_target)
354
-
355
- def Finalize2(self, xcode_targets, xcode_target_to_target_dict):
356
- # Finalize2 needs to happen in a separate step because the process of
357
- # updating references to other projects depends on the ordering of targets
358
- # within remote project files. Finalize1 is responsible for sorting duty,
359
- # and once all project files are sorted, Finalize2 can come in and update
360
- # these references.
361
-
362
- # To support making a "test runner" target that will run all the tests
363
- # that are direct dependents of any given target, we look for
364
- # xcode_create_dependents_test_runner being set on an Aggregate target,
365
- # and generate a second target that will run the tests runners found under
366
- # the marked target.
367
- for bf_tgt in self.build_file_dict['targets']:
368
- if int(bf_tgt.get('xcode_create_dependents_test_runner', 0)):
369
- tgt_name = bf_tgt['target_name']
370
- toolset = bf_tgt['toolset']
371
- qualified_target = gyp.common.QualifiedTarget(self.gyp_path,
372
- tgt_name, toolset)
373
- xcode_target = xcode_targets[qualified_target]
374
- if isinstance(xcode_target, gyp.xcodeproj_file.PBXAggregateTarget):
375
- # Collect all the run test targets.
376
- all_run_tests = []
377
- pbxtds = xcode_target.GetProperty('dependencies')
378
- for pbxtd in pbxtds:
379
- pbxcip = pbxtd.GetProperty('targetProxy')
380
- dependency_xct = pbxcip.GetProperty('remoteGlobalIDString')
381
- if hasattr(dependency_xct, 'test_runner'):
382
- all_run_tests.append(dependency_xct.test_runner)
383
-
384
- # Directly depend on all the runners as they depend on the target
385
- # that builds them.
386
- if len(all_run_tests) > 0:
387
- run_all_target = gyp.xcodeproj_file.PBXAggregateTarget({
388
- 'name': 'Run %s Tests' % tgt_name,
389
- 'productName': tgt_name,
390
- },
391
- parent=self.project)
392
- for run_test_target in all_run_tests:
393
- run_all_target.AddDependency(run_test_target)
394
-
395
- # Insert the test runner after the related target.
396
- idx = self.project._properties['targets'].index(xcode_target)
397
- self.project._properties['targets'].insert(idx + 1, run_all_target)
398
-
399
- # Update all references to other projects, to make sure that the lists of
400
- # remote products are complete. Otherwise, Xcode will fill them in when
401
- # it opens the project file, which will result in unnecessary diffs.
402
- # TODO(mark): This is evil because it relies on internal knowledge of
403
- # PBXProject._other_pbxprojects.
404
- for other_pbxproject in self.project._other_pbxprojects.keys():
405
- self.project.AddOrGetProjectReference(other_pbxproject)
406
-
407
- self.project.SortRemoteProductReferences()
408
-
409
- # Give everything an ID.
410
- self.project_file.ComputeIDs()
411
-
412
- # Make sure that no two objects in the project file have the same ID. If
413
- # multiple objects wind up with the same ID, upon loading the file, Xcode
414
- # will only recognize one object (the last one in the file?) and the
415
- # results are unpredictable.
416
- self.project_file.EnsureNoIDCollisions()
417
-
418
- def Write(self):
419
- # Write the project file to a temporary location first. Xcode watches for
420
- # changes to the project file and presents a UI sheet offering to reload
421
- # the project when it does change. However, in some cases, especially when
422
- # multiple projects are open or when Xcode is busy, things don't work so
423
- # seamlessly. Sometimes, Xcode is able to detect that a project file has
424
- # changed but can't unload it because something else is referencing it.
425
- # To mitigate this problem, and to avoid even having Xcode present the UI
426
- # sheet when an open project is rewritten for inconsequential changes, the
427
- # project file is written to a temporary file in the xcodeproj directory
428
- # first. The new temporary file is then compared to the existing project
429
- # file, if any. If they differ, the new file replaces the old; otherwise,
430
- # the new project file is simply deleted. Xcode properly detects a file
431
- # being renamed over an open project file as a change and so it remains
432
- # able to present the "project file changed" sheet under this system.
433
- # Writing to a temporary file first also avoids the possible problem of
434
- # Xcode rereading an incomplete project file.
435
- (output_fd, new_pbxproj_path) = \
436
- tempfile.mkstemp(suffix='.tmp', prefix='project.pbxproj.gyp.',
437
- dir=self.path)
438
-
439
- try:
440
- output_file = os.fdopen(output_fd, 'wb')
441
-
442
- self.project_file.Print(output_file)
443
- output_file.close()
444
-
445
- pbxproj_path = os.path.join(self.path, 'project.pbxproj')
446
-
447
- same = False
448
- try:
449
- same = filecmp.cmp(pbxproj_path, new_pbxproj_path, False)
450
- except OSError, e:
451
- if e.errno != errno.ENOENT:
452
- raise
453
-
454
- if same:
455
- # The new file is identical to the old one, just get rid of the new
456
- # one.
457
- os.unlink(new_pbxproj_path)
458
- else:
459
- # The new file is different from the old one, or there is no old one.
460
- # Rename the new file to the permanent name.
461
- #
462
- # tempfile.mkstemp uses an overly restrictive mode, resulting in a
463
- # file that can only be read by the owner, regardless of the umask.
464
- # There's no reason to not respect the umask here, which means that
465
- # an extra hoop is required to fetch it and reset the new file's mode.
466
- #
467
- # No way to get the umask without setting a new one? Set a safe one
468
- # and then set it back to the old value.
469
- umask = os.umask(077)
470
- os.umask(umask)
471
-
472
- os.chmod(new_pbxproj_path, 0666 & ~umask)
473
- os.rename(new_pbxproj_path, pbxproj_path)
474
-
475
- except Exception:
476
- # Don't leave turds behind. In fact, if this code was responsible for
477
- # creating the xcodeproj directory, get rid of that too.
478
- os.unlink(new_pbxproj_path)
479
- if self.created_dir:
480
- shutil.rmtree(self.path, True)
481
- raise
482
-
483
-
484
- def AddSourceToTarget(source, type, pbxp, xct):
485
- # TODO(mark): Perhaps source_extensions and library_extensions can be made a
486
- # little bit fancier.
487
- source_extensions = ['c', 'cc', 'cpp', 'cxx', 'm', 'mm', 's']
488
-
489
- # .o is conceptually more of a "source" than a "library," but Xcode thinks
490
- # of "sources" as things to compile and "libraries" (or "frameworks") as
491
- # things to link with. Adding an object file to an Xcode target's frameworks
492
- # phase works properly.
493
- library_extensions = ['a', 'dylib', 'framework', 'o']
494
-
495
- basename = posixpath.basename(source)
496
- (root, ext) = posixpath.splitext(basename)
497
- if ext:
498
- ext = ext[1:].lower()
499
-
500
- if ext in source_extensions and type != 'none':
501
- xct.SourcesPhase().AddFile(source)
502
- elif ext in library_extensions and type != 'none':
503
- xct.FrameworksPhase().AddFile(source)
504
- else:
505
- # Files that aren't added to a sources or frameworks build phase can still
506
- # go into the project file, just not as part of a build phase.
507
- pbxp.AddOrGetFileInRootGroup(source)
508
-
509
-
510
- def AddResourceToTarget(resource, pbxp, xct):
511
- # TODO(mark): Combine with AddSourceToTarget above? Or just inline this call
512
- # where it's used.
513
- xct.ResourcesPhase().AddFile(resource)
514
-
515
-
516
- def AddHeaderToTarget(header, pbxp, xct, is_public):
517
- # TODO(mark): Combine with AddSourceToTarget above? Or just inline this call
518
- # where it's used.
519
- settings = '{ATTRIBUTES = (%s, ); }' % ('Private', 'Public')[is_public]
520
- xct.HeadersPhase().AddFile(header, settings)
521
-
522
-
523
- _xcode_variable_re = re.compile('(\$\((.*?)\))')
524
- def ExpandXcodeVariables(string, expansions):
525
- """Expands Xcode-style $(VARIABLES) in string per the expansions dict.
526
-
527
- In some rare cases, it is appropriate to expand Xcode variables when a
528
- project file is generated. For any substring $(VAR) in string, if VAR is a
529
- key in the expansions dict, $(VAR) will be replaced with expansions[VAR].
530
- Any $(VAR) substring in string for which VAR is not a key in the expansions
531
- dict will remain in the returned string.
532
- """
533
-
534
- matches = _xcode_variable_re.findall(string)
535
- if matches == None:
536
- return string
537
-
538
- matches.reverse()
539
- for match in matches:
540
- (to_replace, variable) = match
541
- if not variable in expansions:
542
- continue
543
-
544
- replacement = expansions[variable]
545
- string = re.sub(re.escape(to_replace), replacement, string)
546
-
547
- return string
548
-
549
-
550
- _xcode_define_re = re.compile(r'([\\\"\' ])')
551
- def EscapeXcodeDefine(s):
552
- """We must escape the defines that we give to XCode so that it knows not to
553
- split on spaces and to respect backslash and quote literals. However, we
554
- must not quote the define, or Xcode will incorrectly intepret variables
555
- especially $(inherited)."""
556
- return re.sub(_xcode_define_re, r'\\\1', s)
557
-
558
-
559
- def PerformBuild(data, configurations, params):
560
- options = params['options']
561
-
562
- for build_file, build_file_dict in data.iteritems():
563
- (build_file_root, build_file_ext) = os.path.splitext(build_file)
564
- if build_file_ext != '.gyp':
565
- continue
566
- xcodeproj_path = build_file_root + options.suffix + '.xcodeproj'
567
- if options.generator_output:
568
- xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
569
-
570
- for config in configurations:
571
- arguments = ['xcodebuild', '-project', xcodeproj_path]
572
- arguments += ['-configuration', config]
573
- print "Building [%s]: %s" % (config, arguments)
574
- subprocess.check_call(arguments)
575
-
576
-
577
- def GenerateOutput(target_list, target_dicts, data, params):
578
- options = params['options']
579
- generator_flags = params.get('generator_flags', {})
580
- parallel_builds = generator_flags.get('xcode_parallel_builds', True)
581
- serialize_all_tests = \
582
- generator_flags.get('xcode_serialize_all_test_runs', True)
583
- project_version = generator_flags.get('xcode_project_version', None)
584
- skip_excluded_files = \
585
- not generator_flags.get('xcode_list_excluded_files', True)
586
- xcode_projects = {}
587
- for build_file, build_file_dict in data.iteritems():
588
- (build_file_root, build_file_ext) = os.path.splitext(build_file)
589
- if build_file_ext != '.gyp':
590
- continue
591
- xcodeproj_path = build_file_root + options.suffix + '.xcodeproj'
592
- if options.generator_output:
593
- xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
594
- xcp = XcodeProject(build_file, xcodeproj_path, build_file_dict)
595
- xcode_projects[build_file] = xcp
596
- pbxp = xcp.project
597
-
598
- if parallel_builds:
599
- pbxp.SetProperty('attributes',
600
- {'BuildIndependentTargetsInParallel': 'YES'})
601
- if project_version:
602
- xcp.project_file.SetXcodeVersion(project_version)
603
-
604
- # Add gyp/gypi files to project
605
- if not generator_flags.get('standalone'):
606
- main_group = pbxp.GetProperty('mainGroup')
607
- build_group = gyp.xcodeproj_file.PBXGroup({'name': 'Build'})
608
- main_group.AppendChild(build_group)
609
- for included_file in build_file_dict['included_files']:
610
- build_group.AddOrGetFileByPath(included_file, False)
611
-
612
- xcode_targets = {}
613
- xcode_target_to_target_dict = {}
614
- for qualified_target in target_list:
615
- [build_file, target_name, toolset] = \
616
- gyp.common.ParseQualifiedTarget(qualified_target)
617
-
618
- spec = target_dicts[qualified_target]
619
- if spec['toolset'] != 'target':
620
- raise Exception(
621
- 'Multiple toolsets not supported in xcode build (target %s)' %
622
- qualified_target)
623
- configuration_names = [spec['default_configuration']]
624
- for configuration_name in sorted(spec['configurations'].keys()):
625
- if configuration_name not in configuration_names:
626
- configuration_names.append(configuration_name)
627
- xcp = xcode_projects[build_file]
628
- pbxp = xcp.project
629
-
630
- # Set up the configurations for the target according to the list of names
631
- # supplied.
632
- xccl = CreateXCConfigurationList(configuration_names)
633
-
634
- # Create an XCTarget subclass object for the target. The type with
635
- # "+bundle" appended will be used if the target has "mac_bundle" set.
636
- # loadable_modules not in a mac_bundle are mapped to
637
- # com.googlecode.gyp.xcode.bundle, a pseudo-type that xcode.py interprets
638
- # to create a single-file mh_bundle.
639
- _types = {
640
- 'executable': 'com.apple.product-type.tool',
641
- 'loadable_module': 'com.googlecode.gyp.xcode.bundle',
642
- 'shared_library': 'com.apple.product-type.library.dynamic',
643
- 'static_library': 'com.apple.product-type.library.static',
644
- 'executable+bundle': 'com.apple.product-type.application',
645
- 'loadable_module+bundle': 'com.apple.product-type.bundle',
646
- 'loadable_module+xctest': 'com.apple.product-type.bundle.unit-test',
647
- 'shared_library+bundle': 'com.apple.product-type.framework',
648
- }
649
-
650
- target_properties = {
651
- 'buildConfigurationList': xccl,
652
- 'name': target_name,
653
- }
654
-
655
- type = spec['type']
656
- is_xctest = int(spec.get('mac_xctest_bundle', 0))
657
- is_bundle = int(spec.get('mac_bundle', 0)) or is_xctest
658
- if type != 'none':
659
- type_bundle_key = type
660
- if is_xctest:
661
- type_bundle_key += '+xctest'
662
- assert type == 'loadable_module', (
663
- 'mac_xctest_bundle targets must have type loadable_module '
664
- '(target %s)' % target_name)
665
- elif is_bundle:
666
- type_bundle_key += '+bundle'
667
-
668
- xctarget_type = gyp.xcodeproj_file.PBXNativeTarget
669
- try:
670
- target_properties['productType'] = _types[type_bundle_key]
671
- except KeyError, e:
672
- gyp.common.ExceptionAppend(e, "-- unknown product type while "
673
- "writing target %s" % target_name)
674
- raise
675
- else:
676
- xctarget_type = gyp.xcodeproj_file.PBXAggregateTarget
677
- assert not is_bundle, (
678
- 'mac_bundle targets cannot have type none (target "%s")' %
679
- target_name)
680
- assert not is_xctest, (
681
- 'mac_xctest_bundle targets cannot have type none (target "%s")' %
682
- target_name)
683
-
684
- target_product_name = spec.get('product_name')
685
- if target_product_name is not None:
686
- target_properties['productName'] = target_product_name
687
-
688
- xct = xctarget_type(target_properties, parent=pbxp,
689
- force_outdir=spec.get('product_dir'),
690
- force_prefix=spec.get('product_prefix'),
691
- force_extension=spec.get('product_extension'))
692
- pbxp.AppendProperty('targets', xct)
693
- xcode_targets[qualified_target] = xct
694
- xcode_target_to_target_dict[xct] = spec
695
-
696
- spec_actions = spec.get('actions', [])
697
- spec_rules = spec.get('rules', [])
698
-
699
- # Xcode has some "issues" with checking dependencies for the "Compile
700
- # sources" step with any source files/headers generated by actions/rules.
701
- # To work around this, if a target is building anything directly (not
702
- # type "none"), then a second target is used to run the GYP actions/rules
703
- # and is made a dependency of this target. This way the work is done
704
- # before the dependency checks for what should be recompiled.
705
- support_xct = None
706
- if type != 'none' and (spec_actions or spec_rules):
707
- support_xccl = CreateXCConfigurationList(configuration_names);
708
- support_target_properties = {
709
- 'buildConfigurationList': support_xccl,
710
- 'name': target_name + ' Support',
711
- }
712
- if target_product_name:
713
- support_target_properties['productName'] = \
714
- target_product_name + ' Support'
715
- support_xct = \
716
- gyp.xcodeproj_file.PBXAggregateTarget(support_target_properties,
717
- parent=pbxp)
718
- pbxp.AppendProperty('targets', support_xct)
719
- xct.AddDependency(support_xct)
720
- # Hang the support target off the main target so it can be tested/found
721
- # by the generator during Finalize.
722
- xct.support_target = support_xct
723
-
724
- prebuild_index = 0
725
-
726
- # Add custom shell script phases for "actions" sections.
727
- for action in spec_actions:
728
- # There's no need to write anything into the script to ensure that the
729
- # output directories already exist, because Xcode will look at the
730
- # declared outputs and automatically ensure that they exist for us.
731
-
732
- # Do we have a message to print when this action runs?
733
- message = action.get('message')
734
- if message:
735
- message = 'echo note: ' + gyp.common.EncodePOSIXShellArgument(message)
736
- else:
737
- message = ''
738
-
739
- # Turn the list into a string that can be passed to a shell.
740
- action_string = gyp.common.EncodePOSIXShellList(action['action'])
741
-
742
- # Convert Xcode-type variable references to sh-compatible environment
743
- # variable references.
744
- message_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(message)
745
- action_string_sh = gyp.xcodeproj_file.ConvertVariablesToShellSyntax(
746
- action_string)
747
-
748
- script = ''
749
- # Include the optional message
750
- if message_sh:
751
- script += message_sh + '\n'
752
- # Be sure the script runs in exec, and that if exec fails, the script
753
- # exits signalling an error.
754
- script += 'exec ' + action_string_sh + '\nexit 1\n'
755
- ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase({
756
- 'inputPaths': action['inputs'],
757
- 'name': 'Action "' + action['action_name'] + '"',
758
- 'outputPaths': action['outputs'],
759
- 'shellScript': script,
760
- 'showEnvVarsInLog': 0,
761
- })
762
-
763
- if support_xct:
764
- support_xct.AppendProperty('buildPhases', ssbp)
765
- else:
766
- # TODO(mark): this assumes too much knowledge of the internals of
767
- # xcodeproj_file; some of these smarts should move into xcodeproj_file
768
- # itself.
769
- xct._properties['buildPhases'].insert(prebuild_index, ssbp)
770
- prebuild_index = prebuild_index + 1
771
-
772
- # TODO(mark): Should verify that at most one of these is specified.
773
- if int(action.get('process_outputs_as_sources', False)):
774
- for output in action['outputs']:
775
- AddSourceToTarget(output, type, pbxp, xct)
776
-
777
- if int(action.get('process_outputs_as_mac_bundle_resources', False)):
778
- for output in action['outputs']:
779
- AddResourceToTarget(output, pbxp, xct)
780
-
781
- # tgt_mac_bundle_resources holds the list of bundle resources so
782
- # the rule processing can check against it.
783
- if is_bundle:
784
- tgt_mac_bundle_resources = spec.get('mac_bundle_resources', [])
785
- else:
786
- tgt_mac_bundle_resources = []
787
-
788
- # Add custom shell script phases driving "make" for "rules" sections.
789
- #
790
- # Xcode's built-in rule support is almost powerful enough to use directly,
791
- # but there are a few significant deficiencies that render them unusable.
792
- # There are workarounds for some of its inadequacies, but in aggregate,
793
- # the workarounds added complexity to the generator, and some workarounds
794
- # actually require input files to be crafted more carefully than I'd like.
795
- # Consequently, until Xcode rules are made more capable, "rules" input
796
- # sections will be handled in Xcode output by shell script build phases
797
- # performed prior to the compilation phase.
798
- #
799
- # The following problems with Xcode rules were found. The numbers are
800
- # Apple radar IDs. I hope that these shortcomings are addressed, I really
801
- # liked having the rules handled directly in Xcode during the period that
802
- # I was prototyping this.
803
- #
804
- # 6588600 Xcode compiles custom script rule outputs too soon, compilation
805
- # fails. This occurs when rule outputs from distinct inputs are
806
- # interdependent. The only workaround is to put rules and their
807
- # inputs in a separate target from the one that compiles the rule
808
- # outputs. This requires input file cooperation and it means that
809
- # process_outputs_as_sources is unusable.
810
- # 6584932 Need to declare that custom rule outputs should be excluded from
811
- # compilation. A possible workaround is to lie to Xcode about a
812
- # rule's output, giving it a dummy file it doesn't know how to
813
- # compile. The rule action script would need to touch the dummy.
814
- # 6584839 I need a way to declare additional inputs to a custom rule.
815
- # A possible workaround is a shell script phase prior to
816
- # compilation that touches a rule's primary input files if any
817
- # would-be additional inputs are newer than the output. Modifying
818
- # the source tree - even just modification times - feels dirty.
819
- # 6564240 Xcode "custom script" build rules always dump all environment
820
- # variables. This is a low-prioroty problem and is not a
821
- # show-stopper.
822
- rules_by_ext = {}
823
- for rule in spec_rules:
824
- rules_by_ext[rule['extension']] = rule
825
-
826
- # First, some definitions:
827
- #
828
- # A "rule source" is a file that was listed in a target's "sources"
829
- # list and will have a rule applied to it on the basis of matching the
830
- # rule's "extensions" attribute. Rule sources are direct inputs to
831
- # rules.
832
- #
833
- # Rule definitions may specify additional inputs in their "inputs"
834
- # attribute. These additional inputs are used for dependency tracking
835
- # purposes.
836
- #
837
- # A "concrete output" is a rule output with input-dependent variables
838
- # resolved. For example, given a rule with:
839
- # 'extension': 'ext', 'outputs': ['$(INPUT_FILE_BASE).cc'],
840
- # if the target's "sources" list contained "one.ext" and "two.ext",
841
- # the "concrete output" for rule input "two.ext" would be "two.cc". If
842
- # a rule specifies multiple outputs, each input file that the rule is
843
- # applied to will have the same number of concrete outputs.
844
- #
845
- # If any concrete outputs are outdated or missing relative to their
846
- # corresponding rule_source or to any specified additional input, the
847
- # rule action must be performed to generate the concrete outputs.
848
-
849
- # concrete_outputs_by_rule_source will have an item at the same index
850
- # as the rule['rule_sources'] that it corresponds to. Each item is a
851
- # list of all of the concrete outputs for the rule_source.
852
- concrete_outputs_by_rule_source = []
853
-
854
- # concrete_outputs_all is a flat list of all concrete outputs that this
855
- # rule is able to produce, given the known set of input files
856
- # (rule_sources) that apply to it.
857
- concrete_outputs_all = []
858
-
859
- # messages & actions are keyed by the same indices as rule['rule_sources']
860
- # and concrete_outputs_by_rule_source. They contain the message and
861
- # action to perform after resolving input-dependent variables. The
862
- # message is optional, in which case None is stored for each rule source.
863
- messages = []
864
- actions = []
865
-
866
- for rule_source in rule.get('rule_sources', []):
867
- rule_source_dirname, rule_source_basename = \
868
- posixpath.split(rule_source)
869
- (rule_source_root, rule_source_ext) = \
870
- posixpath.splitext(rule_source_basename)
871
-
872
- # These are the same variable names that Xcode uses for its own native
873
- # rule support. Because Xcode's rule engine is not being used, they
874
- # need to be expanded as they are written to the makefile.
875
- rule_input_dict = {
876
- 'INPUT_FILE_BASE': rule_source_root,
877
- 'INPUT_FILE_SUFFIX': rule_source_ext,
878
- 'INPUT_FILE_NAME': rule_source_basename,
879
- 'INPUT_FILE_PATH': rule_source,
880
- 'INPUT_FILE_DIRNAME': rule_source_dirname,
881
- }
882
-
883
- concrete_outputs_for_this_rule_source = []
884
- for output in rule.get('outputs', []):
885
- # Fortunately, Xcode and make both use $(VAR) format for their
886
- # variables, so the expansion is the only transformation necessary.
887
- # Any remaning $(VAR)-type variables in the string can be given
888
- # directly to make, which will pick up the correct settings from
889
- # what Xcode puts into the environment.
890
- concrete_output = ExpandXcodeVariables(output, rule_input_dict)
891
- concrete_outputs_for_this_rule_source.append(concrete_output)
892
-
893
- # Add all concrete outputs to the project.
894
- pbxp.AddOrGetFileInRootGroup(concrete_output)
895
-
896
- concrete_outputs_by_rule_source.append( \
897
- concrete_outputs_for_this_rule_source)
898
- concrete_outputs_all.extend(concrete_outputs_for_this_rule_source)
899
-
900
- # TODO(mark): Should verify that at most one of these is specified.
901
- if int(rule.get('process_outputs_as_sources', False)):
902
- for output in concrete_outputs_for_this_rule_source:
903
- AddSourceToTarget(output, type, pbxp, xct)
904
-
905
- # If the file came from the mac_bundle_resources list or if the rule
906
- # is marked to process outputs as bundle resource, do so.
907
- was_mac_bundle_resource = rule_source in tgt_mac_bundle_resources
908
- if was_mac_bundle_resource or \
909
- int(rule.get('process_outputs_as_mac_bundle_resources', False)):
910
- for output in concrete_outputs_for_this_rule_source:
911
- AddResourceToTarget(output, pbxp, xct)
912
-
913
- # Do we have a message to print when this rule runs?
914
- message = rule.get('message')
915
- if message:
916
- message = gyp.common.EncodePOSIXShellArgument(message)
917
- message = ExpandXcodeVariables(message, rule_input_dict)
918
- messages.append(message)
919
-
920
- # Turn the list into a string that can be passed to a shell.
921
- action_string = gyp.common.EncodePOSIXShellList(rule['action'])
922
-
923
- action = ExpandXcodeVariables(action_string, rule_input_dict)
924
- actions.append(action)
925
-
926
- if len(concrete_outputs_all) > 0:
927
- # TODO(mark): There's a possibilty for collision here. Consider
928
- # target "t" rule "A_r" and target "t_A" rule "r".
929
- makefile_name = '%s.make' % re.sub(
930
- '[^a-zA-Z0-9_]', '_' , '%s_%s' % (target_name, rule['rule_name']))
931
- makefile_path = os.path.join(xcode_projects[build_file].path,
932
- makefile_name)
933
- # TODO(mark): try/close? Write to a temporary file and swap it only
934
- # if it's got changes?
935
- makefile = open(makefile_path, 'wb')
936
-
937
- # make will build the first target in the makefile by default. By
938
- # convention, it's called "all". List all (or at least one)
939
- # concrete output for each rule source as a prerequisite of the "all"
940
- # target.
941
- makefile.write('all: \\\n')
942
- for concrete_output_index in \
943
- xrange(0, len(concrete_outputs_by_rule_source)):
944
- # Only list the first (index [0]) concrete output of each input
945
- # in the "all" target. Otherwise, a parallel make (-j > 1) would
946
- # attempt to process each input multiple times simultaneously.
947
- # Otherwise, "all" could just contain the entire list of
948
- # concrete_outputs_all.
949
- concrete_output = \
950
- concrete_outputs_by_rule_source[concrete_output_index][0]
951
- if concrete_output_index == len(concrete_outputs_by_rule_source) - 1:
952
- eol = ''
953
- else:
954
- eol = ' \\'
955
- makefile.write(' %s%s\n' % (concrete_output, eol))
956
-
957
- for (rule_source, concrete_outputs, message, action) in \
958
- zip(rule['rule_sources'], concrete_outputs_by_rule_source,
959
- messages, actions):
960
- makefile.write('\n')
961
-
962
- # Add a rule that declares it can build each concrete output of a
963
- # rule source. Collect the names of the directories that are
964
- # required.
965
- concrete_output_dirs = []
966
- for concrete_output_index in xrange(0, len(concrete_outputs)):
967
- concrete_output = concrete_outputs[concrete_output_index]
968
- if concrete_output_index == 0:
969
- bol = ''
970
- else:
971
- bol = ' '
972
- makefile.write('%s%s \\\n' % (bol, concrete_output))
973
-
974
- concrete_output_dir = posixpath.dirname(concrete_output)
975
- if (concrete_output_dir and
976
- concrete_output_dir not in concrete_output_dirs):
977
- concrete_output_dirs.append(concrete_output_dir)
978
-
979
- makefile.write(' : \\\n')
980
-
981
- # The prerequisites for this rule are the rule source itself and
982
- # the set of additional rule inputs, if any.
983
- prerequisites = [rule_source]
984
- prerequisites.extend(rule.get('inputs', []))
985
- for prerequisite_index in xrange(0, len(prerequisites)):
986
- prerequisite = prerequisites[prerequisite_index]
987
- if prerequisite_index == len(prerequisites) - 1:
988
- eol = ''
989
- else:
990
- eol = ' \\'
991
- makefile.write(' %s%s\n' % (prerequisite, eol))
992
-
993
- # Make sure that output directories exist before executing the rule
994
- # action.
995
- if len(concrete_output_dirs) > 0:
996
- makefile.write('\t@mkdir -p "%s"\n' %
997
- '" "'.join(concrete_output_dirs))
998
-
999
- # The rule message and action have already had the necessary variable
1000
- # substitutions performed.
1001
- if message:
1002
- # Mark it with note: so Xcode picks it up in build output.
1003
- makefile.write('\t@echo note: %s\n' % message)
1004
- makefile.write('\t%s\n' % action)
1005
-
1006
- makefile.close()
1007
-
1008
- # It might be nice to ensure that needed output directories exist
1009
- # here rather than in each target in the Makefile, but that wouldn't
1010
- # work if there ever was a concrete output that had an input-dependent
1011
- # variable anywhere other than in the leaf position.
1012
-
1013
- # Don't declare any inputPaths or outputPaths. If they're present,
1014
- # Xcode will provide a slight optimization by only running the script
1015
- # phase if any output is missing or outdated relative to any input.
1016
- # Unfortunately, it will also assume that all outputs are touched by
1017
- # the script, and if the outputs serve as files in a compilation
1018
- # phase, they will be unconditionally rebuilt. Since make might not
1019
- # rebuild everything that could be declared here as an output, this
1020
- # extra compilation activity is unnecessary. With inputPaths and
1021
- # outputPaths not supplied, make will always be called, but it knows
1022
- # enough to not do anything when everything is up-to-date.
1023
-
1024
- # To help speed things up, pass -j COUNT to make so it does some work
1025
- # in parallel. Don't use ncpus because Xcode will build ncpus targets
1026
- # in parallel and if each target happens to have a rules step, there
1027
- # would be ncpus^2 things going. With a machine that has 2 quad-core
1028
- # Xeons, a build can quickly run out of processes based on
1029
- # scheduling/other tasks, and randomly failing builds are no good.
1030
- script = \
1031
- """JOB_COUNT="$(/usr/sbin/sysctl -n hw.ncpu)"
1032
- if [ "${JOB_COUNT}" -gt 4 ]; then
1033
- JOB_COUNT=4
1034
- fi
1035
- exec xcrun make -f "${PROJECT_FILE_PATH}/%s" -j "${JOB_COUNT}"
1036
- exit 1
1037
- """ % makefile_name
1038
- ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase({
1039
- 'name': 'Rule "' + rule['rule_name'] + '"',
1040
- 'shellScript': script,
1041
- 'showEnvVarsInLog': 0,
1042
- })
1043
-
1044
- if support_xct:
1045
- support_xct.AppendProperty('buildPhases', ssbp)
1046
- else:
1047
- # TODO(mark): this assumes too much knowledge of the internals of
1048
- # xcodeproj_file; some of these smarts should move into xcodeproj_file
1049
- # itself.
1050
- xct._properties['buildPhases'].insert(prebuild_index, ssbp)
1051
- prebuild_index = prebuild_index + 1
1052
-
1053
- # Extra rule inputs also go into the project file. Concrete outputs were
1054
- # already added when they were computed.
1055
- groups = ['inputs', 'inputs_excluded']
1056
- if skip_excluded_files:
1057
- groups = [x for x in groups if not x.endswith('_excluded')]
1058
- for group in groups:
1059
- for item in rule.get(group, []):
1060
- pbxp.AddOrGetFileInRootGroup(item)
1061
-
1062
- # Add "sources".
1063
- for source in spec.get('sources', []):
1064
- (source_root, source_extension) = posixpath.splitext(source)
1065
- if source_extension[1:] not in rules_by_ext:
1066
- # AddSourceToTarget will add the file to a root group if it's not
1067
- # already there.
1068
- AddSourceToTarget(source, type, pbxp, xct)
1069
- else:
1070
- pbxp.AddOrGetFileInRootGroup(source)
1071
-
1072
- # Add "mac_bundle_resources" and "mac_framework_private_headers" if
1073
- # it's a bundle of any type.
1074
- if is_bundle:
1075
- for resource in tgt_mac_bundle_resources:
1076
- (resource_root, resource_extension) = posixpath.splitext(resource)
1077
- if resource_extension[1:] not in rules_by_ext:
1078
- AddResourceToTarget(resource, pbxp, xct)
1079
- else:
1080
- pbxp.AddOrGetFileInRootGroup(resource)
1081
-
1082
- for header in spec.get('mac_framework_private_headers', []):
1083
- AddHeaderToTarget(header, pbxp, xct, False)
1084
-
1085
- # Add "mac_framework_headers". These can be valid for both frameworks
1086
- # and static libraries.
1087
- if is_bundle or type == 'static_library':
1088
- for header in spec.get('mac_framework_headers', []):
1089
- AddHeaderToTarget(header, pbxp, xct, True)
1090
-
1091
- # Add "copies".
1092
- pbxcp_dict = {}
1093
- for copy_group in spec.get('copies', []):
1094
- dest = copy_group['destination']
1095
- if dest[0] not in ('/', '$'):
1096
- # Relative paths are relative to $(SRCROOT).
1097
- dest = '$(SRCROOT)/' + dest
1098
-
1099
- # Coalesce multiple "copies" sections in the same target with the same
1100
- # "destination" property into the same PBXCopyFilesBuildPhase, otherwise
1101
- # they'll wind up with ID collisions.
1102
- pbxcp = pbxcp_dict.get(dest, None)
1103
- if pbxcp is None:
1104
- pbxcp = gyp.xcodeproj_file.PBXCopyFilesBuildPhase({
1105
- 'name': 'Copy to ' + copy_group['destination']
1106
- },
1107
- parent=xct)
1108
- pbxcp.SetDestination(dest)
1109
-
1110
- # TODO(mark): The usual comment about this knowing too much about
1111
- # gyp.xcodeproj_file internals applies.
1112
- xct._properties['buildPhases'].insert(prebuild_index, pbxcp)
1113
-
1114
- pbxcp_dict[dest] = pbxcp
1115
-
1116
- for file in copy_group['files']:
1117
- pbxcp.AddFile(file)
1118
-
1119
- # Excluded files can also go into the project file.
1120
- if not skip_excluded_files:
1121
- for key in ['sources', 'mac_bundle_resources', 'mac_framework_headers',
1122
- 'mac_framework_private_headers']:
1123
- excluded_key = key + '_excluded'
1124
- for item in spec.get(excluded_key, []):
1125
- pbxp.AddOrGetFileInRootGroup(item)
1126
-
1127
- # So can "inputs" and "outputs" sections of "actions" groups.
1128
- groups = ['inputs', 'inputs_excluded', 'outputs', 'outputs_excluded']
1129
- if skip_excluded_files:
1130
- groups = [x for x in groups if not x.endswith('_excluded')]
1131
- for action in spec.get('actions', []):
1132
- for group in groups:
1133
- for item in action.get(group, []):
1134
- # Exclude anything in BUILT_PRODUCTS_DIR. They're products, not
1135
- # sources.
1136
- if not item.startswith('$(BUILT_PRODUCTS_DIR)/'):
1137
- pbxp.AddOrGetFileInRootGroup(item)
1138
-
1139
- for postbuild in spec.get('postbuilds', []):
1140
- action_string_sh = gyp.common.EncodePOSIXShellList(postbuild['action'])
1141
- script = 'exec ' + action_string_sh + '\nexit 1\n'
1142
-
1143
- # Make the postbuild step depend on the output of ld or ar from this
1144
- # target. Apparently putting the script step after the link step isn't
1145
- # sufficient to ensure proper ordering in all cases. With an input
1146
- # declared but no outputs, the script step should run every time, as
1147
- # desired.
1148
- ssbp = gyp.xcodeproj_file.PBXShellScriptBuildPhase({
1149
- 'inputPaths': ['$(BUILT_PRODUCTS_DIR)/$(EXECUTABLE_PATH)'],
1150
- 'name': 'Postbuild "' + postbuild['postbuild_name'] + '"',
1151
- 'shellScript': script,
1152
- 'showEnvVarsInLog': 0,
1153
- })
1154
- xct.AppendProperty('buildPhases', ssbp)
1155
-
1156
- # Add dependencies before libraries, because adding a dependency may imply
1157
- # adding a library. It's preferable to keep dependencies listed first
1158
- # during a link phase so that they can override symbols that would
1159
- # otherwise be provided by libraries, which will usually include system
1160
- # libraries. On some systems, ld is finicky and even requires the
1161
- # libraries to be ordered in such a way that unresolved symbols in
1162
- # earlier-listed libraries may only be resolved by later-listed libraries.
1163
- # The Mac linker doesn't work that way, but other platforms do, and so
1164
- # their linker invocations need to be constructed in this way. There's
1165
- # no compelling reason for Xcode's linker invocations to differ.
1166
-
1167
- if 'dependencies' in spec:
1168
- for dependency in spec['dependencies']:
1169
- xct.AddDependency(xcode_targets[dependency])
1170
- # The support project also gets the dependencies (in case they are
1171
- # needed for the actions/rules to work).
1172
- if support_xct:
1173
- support_xct.AddDependency(xcode_targets[dependency])
1174
-
1175
- if 'libraries' in spec:
1176
- for library in spec['libraries']:
1177
- xct.FrameworksPhase().AddFile(library)
1178
- # Add the library's directory to LIBRARY_SEARCH_PATHS if necessary.
1179
- # I wish Xcode handled this automatically.
1180
- library_dir = posixpath.dirname(library)
1181
- if library_dir not in xcode_standard_library_dirs and (
1182
- not xct.HasBuildSetting(_library_search_paths_var) or
1183
- library_dir not in xct.GetBuildSetting(_library_search_paths_var)):
1184
- xct.AppendBuildSetting(_library_search_paths_var, library_dir)
1185
-
1186
- for configuration_name in configuration_names:
1187
- configuration = spec['configurations'][configuration_name]
1188
- xcbc = xct.ConfigurationNamed(configuration_name)
1189
- for include_dir in configuration.get('mac_framework_dirs', []):
1190
- xcbc.AppendBuildSetting('FRAMEWORK_SEARCH_PATHS', include_dir)
1191
- for include_dir in configuration.get('include_dirs', []):
1192
- xcbc.AppendBuildSetting('HEADER_SEARCH_PATHS', include_dir)
1193
- for library_dir in configuration.get('library_dirs', []):
1194
- if library_dir not in xcode_standard_library_dirs and (
1195
- not xcbc.HasBuildSetting(_library_search_paths_var) or
1196
- library_dir not in xcbc.GetBuildSetting(_library_search_paths_var)):
1197
- xcbc.AppendBuildSetting(_library_search_paths_var, library_dir)
1198
-
1199
- if 'defines' in configuration:
1200
- for define in configuration['defines']:
1201
- set_define = EscapeXcodeDefine(define)
1202
- xcbc.AppendBuildSetting('GCC_PREPROCESSOR_DEFINITIONS', set_define)
1203
- if 'xcode_settings' in configuration:
1204
- for xck, xcv in configuration['xcode_settings'].iteritems():
1205
- xcbc.SetBuildSetting(xck, xcv)
1206
- if 'xcode_config_file' in configuration:
1207
- config_ref = pbxp.AddOrGetFileInRootGroup(
1208
- configuration['xcode_config_file'])
1209
- xcbc.SetBaseConfiguration(config_ref)
1210
-
1211
- build_files = []
1212
- for build_file, build_file_dict in data.iteritems():
1213
- if build_file.endswith('.gyp'):
1214
- build_files.append(build_file)
1215
-
1216
- for build_file in build_files:
1217
- xcode_projects[build_file].Finalize1(xcode_targets, serialize_all_tests)
1218
-
1219
- for build_file in build_files:
1220
- xcode_projects[build_file].Finalize2(xcode_targets,
1221
- xcode_target_to_target_dict)
1222
-
1223
- for build_file in build_files:
1224
- xcode_projects[build_file].Write()