ninjs 0.13.7 → 0.13.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (275) hide show
  1. data/.bundle/config +2 -0
  2. data/CNAME +1 -0
  3. data/Gemfile +13 -0
  4. data/Gemfile.lock +36 -0
  5. data/LICENSE +29 -0
  6. data/README.md +348 -0
  7. data/VERSION +1 -1
  8. data/bin/ninjs +211 -0
  9. data/lib/ninjs.rb +10 -0
  10. data/lib/ninjs/command.rb +88 -0
  11. data/lib/ninjs/configuration.rb +82 -0
  12. data/lib/ninjs/dependencies.rb +16 -0
  13. data/lib/ninjs/generator.rb +57 -0
  14. data/lib/ninjs/helpers.rb +17 -0
  15. data/lib/ninjs/manifest.rb +9 -0
  16. data/lib/ninjs/notification.rb +37 -0
  17. data/lib/ninjs/project.rb +214 -0
  18. data/ninjs.gemspec +294 -5
  19. data/repository/jquery/1.1.4.js +2508 -0
  20. data/repository/jquery/1.2.6.js +32 -0
  21. data/repository/jquery/1.3.2.js +19 -0
  22. data/repository/jquery/1.4.2.js +154 -0
  23. data/repository/jquery/1.4.3.js +166 -0
  24. data/repository/jquery/1.4.4.js +167 -0
  25. data/repository/jquery/1.5.js +16 -0
  26. data/repository/jquery/fancybox/1.3.1.js +1079 -0
  27. data/repository/jquery/fancybox/assets/1.3.1/css/fancybox.css +363 -0
  28. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/blank.gif +0 -0
  29. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_close.png +0 -0
  30. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_loading.png +0 -0
  31. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_left.png +0 -0
  32. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_right.png +0 -0
  33. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_e.png +0 -0
  34. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_n.png +0 -0
  35. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_ne.png +0 -0
  36. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_nw.png +0 -0
  37. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_s.png +0 -0
  38. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_se.png +0 -0
  39. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_sw.png +0 -0
  40. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_w.png +0 -0
  41. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_left.png +0 -0
  42. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_main.png +0 -0
  43. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_over.png +0 -0
  44. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_right.png +0 -0
  45. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-x.png +0 -0
  46. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-y.png +0 -0
  47. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox.png +0 -0
  48. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js +72 -0
  49. data/repository/jquery/fancybox/latest.js +1 -0
  50. data/repository/jquery/latest.js +1 -0
  51. data/repository/jquery/mobile/1.0a3.js +123 -0
  52. data/repository/jquery/mobile/1.0a3/assets/css/jquery.mobile.css +1652 -0
  53. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/ajax-loader.png +0 -0
  54. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-off.png +0 -0
  55. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-on.png +0 -0
  56. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-off.png +0 -0
  57. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-on.png +0 -0
  58. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icon-search-black.png +0 -0
  59. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-black.png +0 -0
  60. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-white.png +0 -0
  61. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-black.png +0 -0
  62. data/repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-white.png +0 -0
  63. data/repository/jquery/mobile/latest.js +1 -0
  64. data/repository/jquery/mousewheel/3.0.2.js +11 -0
  65. data/repository/jquery/mousewheel/latest.js +1 -0
  66. data/repository/jquery/ui/1.8.7.js +783 -0
  67. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css +19 -0
  68. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css +11 -0
  69. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css +53 -0
  70. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css +11 -0
  71. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css +38 -0
  72. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css +41 -0
  73. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css +68 -0
  74. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css +21 -0
  75. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css +11 -0
  76. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css +20 -0
  77. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css +10 -0
  78. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css +24 -0
  79. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css +18 -0
  80. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css +252 -0
  81. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  82. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  83. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  84. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  85. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
  86. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  87. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  88. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  89. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png +0 -0
  90. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
  91. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png +0 -0
  92. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png +0 -0
  93. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
  94. data/repository/jquery/ui/latest.js +1 -0
  95. data/repository/json2.js +482 -0
  96. data/repository/modernizr/1.5.js +28 -0
  97. data/repository/modernizr/latest.js +1 -0
  98. data/repository/ninjs/core/.core.pdoc.yaml +0 -0
  99. data/repository/ninjs/core/.existence.pdoc.yaml +12 -0
  100. data/repository/ninjs/core/.extend.pdoc.yaml +0 -0
  101. data/repository/ninjs/core/.nin.pdoc.yaml +0 -0
  102. data/repository/ninjs/core/application.js +47 -0
  103. data/repository/ninjs/core/existence.js +277 -0
  104. data/repository/ninjs/core/extend.js +77 -0
  105. data/repository/ninjs/core/module.js +135 -0
  106. data/repository/ninjs/core/nin.js +4 -0
  107. data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
  108. data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
  109. data/repository/ninjs/docs/Data/FileInfo.nd +16 -0
  110. data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
  111. data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
  112. data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
  113. data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
  114. data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
  115. data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
  116. data/repository/ninjs/docs/Languages.txt +113 -0
  117. data/repository/ninjs/docs/Menu.txt +63 -0
  118. data/repository/ninjs/docs/Topics.txt +81 -0
  119. data/repository/ninjs/docs/files/core/application-js.html +44 -0
  120. data/repository/ninjs/docs/files/core/existence-js.html +60 -0
  121. data/repository/ninjs/docs/files/core/extend-js.html +55 -0
  122. data/repository/ninjs/docs/files/core/module-js.html +80 -0
  123. data/repository/ninjs/docs/files/core/nin-js.html +38 -0
  124. data/repository/ninjs/docs/index.html +1 -0
  125. data/repository/ninjs/docs/index/Classes.html +33 -0
  126. data/repository/ninjs/docs/index/Files.html +45 -0
  127. data/repository/ninjs/docs/index/Functions.html +65 -0
  128. data/repository/ninjs/docs/index/General.html +85 -0
  129. data/repository/ninjs/docs/index/Variables.html +45 -0
  130. data/repository/ninjs/docs/javascript/main.js +841 -0
  131. data/repository/ninjs/docs/javascript/prettify.js +1526 -0
  132. data/repository/ninjs/docs/javascript/searchdata.js +152 -0
  133. data/repository/ninjs/docs/search/ClassesN.html +20 -0
  134. data/repository/ninjs/docs/search/FilesA.html +20 -0
  135. data/repository/ninjs/docs/search/FilesE.html +20 -0
  136. data/repository/ninjs/docs/search/FilesM.html +20 -0
  137. data/repository/ninjs/docs/search/FilesN.html +20 -0
  138. data/repository/ninjs/docs/search/FunctionsA.html +20 -0
  139. data/repository/ninjs/docs/search/FunctionsC.html +20 -0
  140. data/repository/ninjs/docs/search/FunctionsE.html +20 -0
  141. data/repository/ninjs/docs/search/FunctionsI.html +20 -0
  142. data/repository/ninjs/docs/search/FunctionsM.html +20 -0
  143. data/repository/ninjs/docs/search/FunctionsR.html +20 -0
  144. data/repository/ninjs/docs/search/FunctionsS.html +20 -0
  145. data/repository/ninjs/docs/search/FunctionsSymbols.html +20 -0
  146. data/repository/ninjs/docs/search/FunctionsU.html +20 -0
  147. data/repository/ninjs/docs/search/GeneralA.html +20 -0
  148. data/repository/ninjs/docs/search/GeneralC.html +20 -0
  149. data/repository/ninjs/docs/search/GeneralD.html +20 -0
  150. data/repository/ninjs/docs/search/GeneralE.html +20 -0
  151. data/repository/ninjs/docs/search/GeneralF.html +20 -0
  152. data/repository/ninjs/docs/search/GeneralI.html +20 -0
  153. data/repository/ninjs/docs/search/GeneralM.html +20 -0
  154. data/repository/ninjs/docs/search/GeneralN.html +20 -0
  155. data/repository/ninjs/docs/search/GeneralR.html +20 -0
  156. data/repository/ninjs/docs/search/GeneralS.html +20 -0
  157. data/repository/ninjs/docs/search/GeneralSymbols.html +20 -0
  158. data/repository/ninjs/docs/search/GeneralT.html +20 -0
  159. data/repository/ninjs/docs/search/GeneralU.html +20 -0
  160. data/repository/ninjs/docs/search/GeneralV.html +20 -0
  161. data/repository/ninjs/docs/search/NoResults.html +15 -0
  162. data/repository/ninjs/docs/search/VariablesD.html +20 -0
  163. data/repository/ninjs/docs/search/VariablesN.html +20 -0
  164. data/repository/ninjs/docs/search/VariablesR.html +20 -0
  165. data/repository/ninjs/docs/search/VariablesT.html +20 -0
  166. data/repository/ninjs/docs/styles/main.css +828 -0
  167. data/repository/ninjs/extensions/jquery.elements.js +60 -0
  168. data/repository/ninjs/tests/index.html +21 -0
  169. data/repository/ninjs/tests/ninjs.test.js +188 -0
  170. data/repository/ninjs/tests/ninjs.utilities.test.js +137 -0
  171. data/repository/ninjs/tests/qunit/qunit.css +197 -0
  172. data/repository/ninjs/tests/qunit/qunit.js +1415 -0
  173. data/repository/ninjs/utilities/all.js +5 -0
  174. data/repository/ninjs/utilities/array.js +29 -0
  175. data/repository/ninjs/utilities/cookie.js +0 -0
  176. data/repository/ninjs/utilities/css.js +51 -0
  177. data/repository/ninjs/utilities/number.js +11 -0
  178. data/repository/ninjs/utilities/string.js +61 -0
  179. data/repository/nullconsole.js +7 -0
  180. data/repository/qunit/assets/css/qunit.css +196 -0
  181. data/repository/qunit/qunit.js +1374 -0
  182. data/repository/selectivizr/1.0.js +5 -0
  183. data/repository/selectivizr/latest.js +1 -0
  184. data/repository/syntaxhighlighter/all.js +11 -0
  185. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +226 -0
  186. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +328 -0
  187. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +331 -0
  188. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +339 -0
  189. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +324 -0
  190. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  191. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +324 -0
  192. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +324 -0
  193. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +324 -0
  194. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +117 -0
  195. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +120 -0
  196. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +128 -0
  197. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +113 -0
  198. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  199. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +113 -0
  200. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +113 -0
  201. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +113 -0
  202. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +216 -0
  203. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +2 -0
  204. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +2 -0
  205. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +2 -0
  206. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +2 -0
  207. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +2 -0
  208. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +2 -0
  209. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +2 -0
  210. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +2 -0
  211. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +7 -0
  212. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +36 -0
  213. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +48 -0
  214. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +32 -0
  215. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +36 -0
  216. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +32 -0
  217. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +32 -0
  218. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +32 -0
  219. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +120 -0
  220. data/repository/syntaxhighlighter/shAutoloader.js +17 -0
  221. data/repository/syntaxhighlighter/shBrushAS3.js +59 -0
  222. data/repository/syntaxhighlighter/shBrushAppleScript.js +75 -0
  223. data/repository/syntaxhighlighter/shBrushBash.js +59 -0
  224. data/repository/syntaxhighlighter/shBrushCSharp.js +65 -0
  225. data/repository/syntaxhighlighter/shBrushColdFusion.js +100 -0
  226. data/repository/syntaxhighlighter/shBrushCpp.js +97 -0
  227. data/repository/syntaxhighlighter/shBrushCss.js +91 -0
  228. data/repository/syntaxhighlighter/shBrushDelphi.js +55 -0
  229. data/repository/syntaxhighlighter/shBrushDiff.js +41 -0
  230. data/repository/syntaxhighlighter/shBrushErlang.js +52 -0
  231. data/repository/syntaxhighlighter/shBrushGroovy.js +67 -0
  232. data/repository/syntaxhighlighter/shBrushJScript.js +52 -0
  233. data/repository/syntaxhighlighter/shBrushJava.js +57 -0
  234. data/repository/syntaxhighlighter/shBrushJavaFX.js +58 -0
  235. data/repository/syntaxhighlighter/shBrushPerl.js +72 -0
  236. data/repository/syntaxhighlighter/shBrushPhp.js +88 -0
  237. data/repository/syntaxhighlighter/shBrushPlain.js +33 -0
  238. data/repository/syntaxhighlighter/shBrushPowerShell.js +74 -0
  239. data/repository/syntaxhighlighter/shBrushPython.js +64 -0
  240. data/repository/syntaxhighlighter/shBrushRuby.js +55 -0
  241. data/repository/syntaxhighlighter/shBrushSass.js +94 -0
  242. data/repository/syntaxhighlighter/shBrushScala.js +51 -0
  243. data/repository/syntaxhighlighter/shBrushSql.js +66 -0
  244. data/repository/syntaxhighlighter/shBrushVb.js +56 -0
  245. data/repository/syntaxhighlighter/shBrushXml.js +69 -0
  246. data/repository/syntaxhighlighter/shCore.js +17 -0
  247. data/repository/syntaxhighlighter/shLegacy.js +17 -0
  248. data/spec/command_spec.rb +9 -0
  249. data/spec/configuration_spec.rb +70 -0
  250. data/spec/dependencies_spec.rb +27 -0
  251. data/spec/fixtures/autoload.js +3 -0
  252. data/spec/fixtures/changed.ninjs.conf +6 -0
  253. data/spec/fixtures/compressed.myapp.js +39 -0
  254. data/spec/fixtures/core.js +6 -0
  255. data/spec/fixtures/dependencies.js +3 -0
  256. data/spec/fixtures/foo.elements.js +3 -0
  257. data/spec/fixtures/foo.js +17 -0
  258. data/spec/fixtures/foo.model.js +3 -0
  259. data/spec/fixtures/foo.module.js +13 -0
  260. data/spec/fixtures/hello.elements.js +3 -0
  261. data/spec/fixtures/hello.js +17 -0
  262. data/spec/fixtures/hello.model.js +3 -0
  263. data/spec/fixtures/hello.module.js +13 -0
  264. data/spec/fixtures/myapp.initial.js +535 -0
  265. data/spec/fixtures/myapp.js +710 -0
  266. data/spec/fixtures/new.ninjs.conf +6 -0
  267. data/spec/fixtures/ninjs.conf +6 -0
  268. data/spec/generator_spec.rb +34 -0
  269. data/spec/helpers_spec.rb +11 -0
  270. data/spec/manifest_spec.rb +8 -0
  271. data/spec/ninjs_spec.rb +20 -0
  272. data/spec/notification_spec.rb +27 -0
  273. data/spec/project_spec.rb +239 -0
  274. data/spec/spec_helper.rb +29 -0
  275. metadata +294 -50
@@ -0,0 +1,6 @@
1
+ name: application
2
+ src_dir: modules
3
+ dest_dir: application
4
+ output: expanded
5
+ dependencies: ['<jquery/latest>']
6
+ autoload: ['../lib/utilities']
@@ -0,0 +1,6 @@
1
+ name: myapp
2
+ src_dir: modules
3
+ dest_dir: application
4
+ output: expanded
5
+ dependencies: ['<jquery/latest>']
6
+ autoload: ['../lib/utilities']
@@ -0,0 +1,34 @@
1
+ require "spec_helper"
2
+
3
+ describe Ninjs::Generator do
4
+ before :each do
5
+ @config = {
6
+ :project => Ninjs::Project.new('myapp'),
7
+ :type => 'module',
8
+ :name => 'mymod',
9
+ :alias => nil,
10
+ :dest => 'application',
11
+ :src => 'modules',
12
+ :dependencies => { :elements => false, :model => false }
13
+ }
14
+
15
+ @test_dirs = %w(application modules elements models)
16
+ @test_dirs.each do |dir|
17
+ FileUtils.mkdir(dir)
18
+ end
19
+
20
+ end
21
+
22
+ after :each do
23
+ FileUtils.rm('modules/mymod.module.js')
24
+ @test_dirs.each do |dir|
25
+ FileUtils.rmdir(dir)
26
+ end
27
+ end
28
+
29
+ #it 'should should generate a module file' do
30
+ # generator = Ninjs::Generator.new(@config)
31
+ # generator.project.proj
32
+ # generator.generate
33
+ #end
34
+ end
@@ -0,0 +1,11 @@
1
+ require "spec_helper"
2
+
3
+ describe Ninjs::Helpers do
4
+ it 'should create a module filename from a POSIX path' do
5
+ Ninjs::Helpers.get_filename('/some/path/some.module.js').should === 'some'
6
+ end
7
+
8
+ it 'should create a module filename from a Windows path' do
9
+ Ninjs::Helpers.get_filename('D:\\\\some\path\some.module.js').should === 'some'
10
+ end
11
+ end
@@ -0,0 +1,8 @@
1
+ require "spec_helper"
2
+
3
+ describe Ninjs::Manifest do
4
+ it 'should conatin the correct driectories' do
5
+ directories = %w(application elements lib models modules plugins tests tests/qunit)
6
+ Ninjs::Manifest.directories.should === directories
7
+ end
8
+ end
@@ -0,0 +1,20 @@
1
+ require "spec_helper"
2
+
3
+ describe Ninjs do
4
+ it 'should have the correct BASE_DIR' do
5
+ Ninjs::BASE_DIR.should == File.expand_path('../')
6
+ end
7
+
8
+ it 'should have the correct LIB_DIR' do
9
+ Ninjs::LIB_DIR.should === File.expand_path('../lib')
10
+ end
11
+
12
+ it 'should have the correct ROOT_DIR' do
13
+ Ninjs::ROOT_DIR.should === File.expand_path(Dir.getwd)
14
+ end
15
+
16
+ it 'should have the correct VERSION' do
17
+ version = File.open("#{Ninjs::BASE_DIR}/VERSION").readlines.join('')
18
+ Ninjs::VERSION.should === version
19
+ end
20
+ end
@@ -0,0 +1,27 @@
1
+ require "spec_helper"
2
+
3
+ describe Ninjs::Notification do
4
+ it 'should have a notify method' do
5
+ Ninjs::Notification.notify('hello', :none).should == 'hello'
6
+ end
7
+
8
+ it 'should have a notice method' do
9
+ Ninjs::Notification.notice('hello').should === 'hello'
10
+ end
11
+
12
+ it 'should have a log method' do
13
+ Ninjs::Notification.log('hello').should === "\e[32m>>>\e[0m hello"
14
+ end
15
+
16
+ it 'should have an event method' do
17
+ Ninjs::Notification.event('hello').should === "\e[33m<<<\e[0m hello"
18
+ end
19
+
20
+ it 'should have an added method' do
21
+ Ninjs::Notification.added('hello').should === "\e[32m+++\e[0m hello"
22
+ end
23
+
24
+ it 'should have an error method' do
25
+ Ninjs::Notification.error('hello').should === "\e[0;31m!!!\e[0m hello"
26
+ end
27
+ end
@@ -0,0 +1,239 @@
1
+ require "spec_helper.rb"
2
+
3
+ describe Ninjs::Project do
4
+ it "should exist" do
5
+ Ninjs::Project.should_not be_nil
6
+ end
7
+
8
+ it "should have a @root setter method" do
9
+ suppress_output { @project = Ninjs::Project.new 'myapp' }
10
+ @project.root = File.expand_path(Dir.getwd)
11
+ @project.root.should == File.expand_path(Dir.getwd)
12
+ end
13
+
14
+ context 'Instantiation without an existing config file' do
15
+ before :each do
16
+ suppress_output { @project = Ninjs::Project.new 'myapp' }
17
+ end
18
+
19
+ after :each do
20
+ File.delete 'ninjs.conf' if File.exists? 'ninjs.conf'
21
+ end
22
+
23
+ it 'should raise an error if initialized without a name' do
24
+ File.delete 'ninjs.conf' if File.exists? 'ninjs.conf'
25
+ lambda{ project = Ninjs::Project.new }.should raise_error(ArgumentError)
26
+ end
27
+
28
+ it 'should have a root variable' do
29
+ @project.root.should == File.expand_path(Dir.getwd)
30
+ end
31
+
32
+ it 'should have an empty modules array' do
33
+ @project.modules.should == Array.new
34
+ end
35
+
36
+ it 'should have a config object' do
37
+ @project.config.should_not be_nil
38
+ end
39
+
40
+ it 'should set the config.name property' do
41
+ @project.config.name.should == 'myapp'
42
+ end
43
+ end
44
+
45
+ context "Instantiation with an existing config file" do
46
+ before :each do
47
+ File.open File.expand_path("ninjs.conf"), 'w' do |file|
48
+ file << %Q{name: something\noutput: expanded\ndependencies: ["<jquery/latest>"]\nautoload: ["../lib/utilities"]\nsrc_dir: classes\ndest_dir: compiled}
49
+ end
50
+ @project = Ninjs::Project.new
51
+ end
52
+
53
+ after :each do
54
+ File.delete "ninjs.conf"
55
+ end
56
+
57
+ it 'should have a valid config object' do
58
+ @project.config.should_not be_nil
59
+ @project.config.name.should == 'something'
60
+ @project.config.output.should == 'expanded'
61
+ @project.config.dependencies.should == ["<jquery/latest>"]
62
+ @project.config.autoload.should == ["../lib/utilities"]
63
+ @project.config.src_dir.should == 'classes'
64
+ @project.config.dest_dir.should == 'compiled'
65
+ end
66
+ end
67
+
68
+ context "Project Creation" do
69
+ before :each do
70
+ suppress_output do
71
+ @project = Ninjs::Project.new 'myapp'
72
+ @project.create_project_scaffold
73
+ end
74
+ end
75
+
76
+ after :each do
77
+ FileUtils.rm_rf "application"
78
+ FileUtils.rm_rf "elements"
79
+ FileUtils.rm_rf "lib"
80
+ FileUtils.rm_rf "models"
81
+ FileUtils.rm_rf "modules"
82
+ FileUtils.rm_rf "plugins"
83
+ FileUtils.rm_rf "tests"
84
+ end
85
+
86
+ it 'should create a project directory structure' do
87
+ File.directory?("application").should be_true
88
+ File.directory?("elements").should be_true
89
+ File.directory?("lib").should be_true
90
+ File.directory?("models").should be_true
91
+ File.directory?("modules").should be_true
92
+ File.directory?("plugins").should be_true
93
+ File.directory?("tests").should be_true
94
+ end
95
+
96
+ it 'should create a ninjs lib file' do
97
+ suppress_output { @project.create_ninjs_lib_file }
98
+ File.exists?(File.expand_path("lib/nin.js")).should be_true
99
+ end
100
+
101
+ it 'should create a utilities file' do
102
+ suppress_output { @project.create_utility_lib_file }
103
+ File.exists?(File.expand_path("lib/utilities.js")).should be_true
104
+ end
105
+
106
+ it 'should create an application file' do
107
+ suppress_output do
108
+ @project.create_ninjs_lib_file
109
+ @project.create_ninjs_application_file
110
+ end
111
+
112
+ File.exists?(File.expand_path("application/myapp.js")).should be_true
113
+ application_file_content = File.open("application/myapp.js").readlines
114
+ application_file_content.shift
115
+ application_file_content.join('').should == File.open('fixtures/myapp.initial.js').readlines.join('')
116
+ end
117
+
118
+ it 'should import test files' do
119
+ suppress_output { @project.import_test_files }
120
+ File.exists?(File.expand_path("tests")).should be_true
121
+ File.exists?(File.expand_path("tests/qunit")).should be_true
122
+ File.exists?(File.expand_path("tests/index.html")).should be_true
123
+ File.exists?(File.expand_path("tests/ninjs.test.js")).should be_true
124
+ File.exists?(File.expand_path("tests/ninjs.utilities.test.js")).should be_true
125
+ File.exists?(File.expand_path("tests/qunit/qunit.js")).should be_true
126
+ File.exists?(File.expand_path("tests/qunit/qunit.css")).should be_true
127
+ end
128
+ end
129
+
130
+ context 'Project management' do
131
+ before :each do
132
+ suppress_output do
133
+ @project = Ninjs::Project.new 'myapp'
134
+ @project.create
135
+ end
136
+
137
+ FileUtils.cp 'fixtures/hello.module.js', File.expand_path('modules')
138
+ FileUtils.cp 'fixtures/hello.elements.js', File.expand_path('elements')
139
+ FileUtils.cp 'fixtures/hello.model.js', File.expand_path('models')
140
+ FileUtils.cp 'fixtures/foo.module.js', File.expand_path('modules')
141
+ FileUtils.cp 'fixtures/foo.elements.js', File.expand_path('elements')
142
+ FileUtils.cp 'fixtures/foo.model.js', File.expand_path('models')
143
+ end
144
+
145
+ after :each do
146
+ FileUtils.rm_rf 'application'
147
+ FileUtils.rm_rf 'modules'
148
+ FileUtils.rm_rf 'elements'
149
+ FileUtils.rm_rf 'models'
150
+ FileUtils.rm_rf 'lib'
151
+ FileUtils.rm_rf 'plugins'
152
+ FileUtils.rm_rf 'tests'
153
+ FileUtils.rm_rf 'ninjs.conf'
154
+ end
155
+
156
+ it 'should create a config file' do
157
+ 'ninjs.conf'.should be_same_file_as 'fixtures/ninjs.conf'
158
+ end
159
+
160
+ it 'should get modules' do
161
+ @project.get_modules
162
+ @project.modules.should == [
163
+ "/Volumes/Storage/Development/ninjs/spec/modules/foo.module.js",
164
+ "/Volumes/Storage/Development/ninjs/spec/modules/hello.module.js"
165
+ ]
166
+ end
167
+
168
+ it 'should compile a module' do
169
+ @project.compile_module File.expand_path('modules/hello.module.js'), 'hello'
170
+ File.exists?('application/hello.js').should be_true
171
+ 'application/hello.js'.should be_same_file_as 'fixtures/hello.js'
172
+ end
173
+
174
+ it 'should add modules from a directory' do
175
+ @project.add_scripts_to_models(File.expand_path('modules'))
176
+
177
+ @project.modules.should == [
178
+ '/Volumes/Storage/Development/ninjs/spec/modules/foo.module.js',
179
+ '/Volumes/Storage/Development/ninjs/spec/modules/hello.module.js'
180
+ ]
181
+ end
182
+
183
+ it 'should compile the modules' do
184
+ @project.add_scripts_to_models(File.expand_path('modules'))
185
+ @project.compile_modules
186
+
187
+ 'application/hello.js'.should be_same_file_as 'fixtures/hello.js'
188
+ 'application/foo.js'.should be_same_file_as 'fixtures/foo.js'
189
+ end
190
+
191
+ it 'should write the dependencies to a file' do
192
+ FileUtils.touch 'dependencies.js'
193
+
194
+ File.open(File.expand_path('dependencies.js'), 'w') do |file|
195
+ @project.write_dependencies(file)
196
+ end
197
+
198
+ 'dependencies.js'.should be_same_file_as 'fixtures/dependencies.js'
199
+
200
+ File.delete 'dependencies.js'
201
+ end
202
+
203
+ it 'should write the core to a file' do
204
+ FileUtils.touch 'core.js'
205
+
206
+ File.open('core.js', 'w') do |file|
207
+ @project.write_core(file)
208
+ end
209
+
210
+ 'core.js'.should be_same_file_as 'fixtures/core.js'
211
+
212
+ File.delete 'core.js'
213
+ end
214
+
215
+ it 'should write the autoloaded files to a file' do
216
+ FileUtils.touch 'autoload.js'
217
+
218
+ File.open('autoload.js', 'w') do |file|
219
+ @project.write_autoload(file)
220
+ end
221
+
222
+ 'autoload.js'.should be_same_file_as 'fixtures/autoload.js'
223
+
224
+ File.delete 'autoload.js'
225
+ end
226
+
227
+ it 'should update the application file' do
228
+ suppress_output { @project.update_application_file }
229
+ 'application/myapp.js'.should be_same_file_as 'fixtures/myapp.js'
230
+ end
231
+
232
+ it 'should compress an application' do
233
+ @project.compress_application
234
+ 'application/myapp.js'.should be_same_file_as 'fixtures/compressed.myapp.js'
235
+ end
236
+
237
+ end
238
+
239
+ end
@@ -0,0 +1,29 @@
1
+ $: << File.join(File.dirname(__FILE__), "../lib")
2
+
3
+ require 'ninjs'
4
+ require 'fileutils'
5
+ require 'rspec'
6
+ require 'digest/md5'
7
+
8
+ RSpec::Matchers.define(:be_same_file_as) do |epxected_file_path|
9
+ match do |actual_file_path|
10
+ md5_hash(actual_file_path).should == md5_hash(epxected_file_path)
11
+ end
12
+
13
+ def md5_hash(file_path)
14
+ Digest::MD5.hexdigest(File.read(file_path))
15
+ end
16
+ end
17
+
18
+ def suppress_output(&block)
19
+ original_stdout = $stdout
20
+ $stdout = fake = StringIO.new
21
+
22
+ begin
23
+ yield
24
+ ensure
25
+ $stdout = original_stdout
26
+ end
27
+
28
+ fake.string
29
+ end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ninjs
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 13
8
- - 7
9
- version: 0.13.7
4
+ prerelease:
5
+ version: 0.13.8
10
6
  platform: ruby
11
7
  authors:
12
8
  - Dayton Nolan
@@ -14,8 +10,8 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-05-26 00:00:00 -05:00
18
- default_executable:
13
+ date: 2011-06-02 00:00:00 -05:00
14
+ default_executable: ninjs
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
21
17
  name: fssm
@@ -24,8 +20,6 @@ dependencies:
24
20
  requirements:
25
21
  - - ">="
26
22
  - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
23
  version: "0"
30
24
  type: :runtime
31
25
  prerelease: false
@@ -37,8 +31,6 @@ dependencies:
37
31
  requirements:
38
32
  - - ">="
39
33
  - !ruby/object:Gem::Version
40
- segments:
41
- - 0
42
34
  version: "0"
43
35
  type: :runtime
44
36
  prerelease: false
@@ -50,10 +42,6 @@ dependencies:
50
42
  requirements:
51
43
  - - "="
52
44
  - !ruby/object:Gem::Version
53
- segments:
54
- - 1
55
- - 0
56
- - 2
57
45
  version: 1.0.2
58
46
  type: :runtime
59
47
  prerelease: false
@@ -65,8 +53,6 @@ dependencies:
65
53
  requirements:
66
54
  - - ">="
67
55
  - !ruby/object:Gem::Version
68
- segments:
69
- - 0
70
56
  version: "0"
71
57
  type: :development
72
58
  prerelease: false
@@ -78,10 +64,6 @@ dependencies:
78
64
  requirements:
79
65
  - - ~>
80
66
  - !ruby/object:Gem::Version
81
- segments:
82
- - 1
83
- - 0
84
- - 0
85
67
  version: 1.0.0
86
68
  type: :development
87
69
  prerelease: false
@@ -93,10 +75,6 @@ dependencies:
93
75
  requirements:
94
76
  - - ~>
95
77
  - !ruby/object:Gem::Version
96
- segments:
97
- - 1
98
- - 5
99
- - 2
100
78
  version: 1.5.2
101
79
  type: :development
102
80
  prerelease: false
@@ -108,8 +86,6 @@ dependencies:
108
86
  requirements:
109
87
  - - ">="
110
88
  - !ruby/object:Gem::Version
111
- segments:
112
- - 0
113
89
  version: "0"
114
90
  type: :development
115
91
  prerelease: false
@@ -121,8 +97,6 @@ dependencies:
121
97
  requirements:
122
98
  - - ">="
123
99
  - !ruby/object:Gem::Version
124
- segments:
125
- - 0
126
100
  version: "0"
127
101
  type: :development
128
102
  prerelease: false
@@ -134,8 +108,6 @@ dependencies:
134
108
  requirements:
135
109
  - - ">="
136
110
  - !ruby/object:Gem::Version
137
- segments:
138
- - 0
139
111
  version: "0"
140
112
  type: :runtime
141
113
  prerelease: false
@@ -147,8 +119,6 @@ dependencies:
147
119
  requirements:
148
120
  - - ">="
149
121
  - !ruby/object:Gem::Version
150
- segments:
151
- - 0
152
122
  version: "0"
153
123
  type: :runtime
154
124
  prerelease: false
@@ -160,8 +130,6 @@ dependencies:
160
130
  requirements:
161
131
  - - ">="
162
132
  - !ruby/object:Gem::Version
163
- segments:
164
- - 0
165
133
  version: "0"
166
134
  type: :runtime
167
135
  prerelease: false
@@ -173,8 +141,6 @@ dependencies:
173
141
  requirements:
174
142
  - - ">="
175
143
  - !ruby/object:Gem::Version
176
- segments:
177
- - 0
178
144
  version: "0"
179
145
  type: :runtime
180
146
  prerelease: false
@@ -186,24 +152,295 @@ dependencies:
186
152
  requirements:
187
153
  - - ">="
188
154
  - !ruby/object:Gem::Version
189
- segments:
190
- - 0
191
155
  version: "0"
192
156
  type: :development
193
157
  prerelease: false
194
158
  version_requirements: *id013
195
159
  description: Ninjs is a ruby application and small javascript framework that helps you build clean, modular javascript applications. Ninjs encourages "Good Parts" best practices and the Crockford school Module pattern (http://www.crockford.com/). The ninjs command line application is an automatic compiler, written in ruby, and based on the Sprockets library (http://getsprockets.org/).
196
160
  email: daytonn@gmail.com
197
- executables: []
198
-
161
+ executables:
162
+ - ninjs
199
163
  extensions: []
200
164
 
201
- extra_rdoc_files: []
202
-
165
+ extra_rdoc_files:
166
+ - LICENSE
167
+ - README.md
203
168
  files:
169
+ - .bundle/config
170
+ - CNAME
171
+ - Gemfile
172
+ - Gemfile.lock
173
+ - LICENSE
174
+ - README.md
204
175
  - Rakefile
205
176
  - VERSION
177
+ - bin/ninjs
178
+ - lib/ninjs.rb
179
+ - lib/ninjs/command.rb
180
+ - lib/ninjs/configuration.rb
181
+ - lib/ninjs/dependencies.rb
182
+ - lib/ninjs/generator.rb
183
+ - lib/ninjs/helpers.rb
184
+ - lib/ninjs/manifest.rb
185
+ - lib/ninjs/notification.rb
186
+ - lib/ninjs/project.rb
206
187
  - ninjs.gemspec
188
+ - repository/jquery/1.1.4.js
189
+ - repository/jquery/1.2.6.js
190
+ - repository/jquery/1.3.2.js
191
+ - repository/jquery/1.4.2.js
192
+ - repository/jquery/1.4.3.js
193
+ - repository/jquery/1.4.4.js
194
+ - repository/jquery/1.5.js
195
+ - repository/jquery/fancybox/1.3.1.js
196
+ - repository/jquery/fancybox/assets/1.3.1/css/fancybox.css
197
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/blank.gif
198
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_close.png
199
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_loading.png
200
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_left.png
201
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_nav_right.png
202
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_e.png
203
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_n.png
204
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_ne.png
205
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_nw.png
206
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_s.png
207
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_se.png
208
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_sw.png
209
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_shadow_w.png
210
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_left.png
211
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_main.png
212
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_over.png
213
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancy_title_right.png
214
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-x.png
215
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox-y.png
216
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/fancybox.png
217
+ - repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js
218
+ - repository/jquery/fancybox/latest.js
219
+ - repository/jquery/latest.js
220
+ - repository/jquery/mobile/1.0a3.js
221
+ - repository/jquery/mobile/1.0a3/assets/css/jquery.mobile.css
222
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/ajax-loader.png
223
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-off.png
224
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-check-on.png
225
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-off.png
226
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/form-radio-on.png
227
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icon-search-black.png
228
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-black.png
229
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-18-white.png
230
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-black.png
231
+ - repository/jquery/mobile/1.0a3/assets/images/jquerymobile/icons-36-white.png
232
+ - repository/jquery/mobile/latest.js
233
+ - repository/jquery/mousewheel/3.0.2.js
234
+ - repository/jquery/mousewheel/latest.js
235
+ - repository/jquery/ui/1.8.7.js
236
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css
237
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css
238
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css
239
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css
240
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css
241
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css
242
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css
243
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css
244
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css
245
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css
246
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css
247
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css
248
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css
249
+ - repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css
250
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png
251
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png
252
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png
253
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png
254
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png
255
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png
256
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png
257
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png
258
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png
259
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png
260
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png
261
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png
262
+ - repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png
263
+ - repository/jquery/ui/latest.js
264
+ - repository/json2.js
265
+ - repository/modernizr/1.5.js
266
+ - repository/modernizr/latest.js
267
+ - repository/ninjs/core/.core.pdoc.yaml
268
+ - repository/ninjs/core/.existence.pdoc.yaml
269
+ - repository/ninjs/core/.extend.pdoc.yaml
270
+ - repository/ninjs/core/.nin.pdoc.yaml
271
+ - repository/ninjs/core/application.js
272
+ - repository/ninjs/core/existence.js
273
+ - repository/ninjs/core/extend.js
274
+ - repository/ninjs/core/module.js
275
+ - repository/ninjs/core/nin.js
276
+ - repository/ninjs/docs/Data/ClassHierarchy.nd
277
+ - repository/ninjs/docs/Data/ConfigFileInfo.nd
278
+ - repository/ninjs/docs/Data/FileInfo.nd
279
+ - repository/ninjs/docs/Data/ImageFileInfo.nd
280
+ - repository/ninjs/docs/Data/ImageReferenceTable.nd
281
+ - repository/ninjs/docs/Data/IndexInfo.nd
282
+ - repository/ninjs/docs/Data/PreviousMenuState.nd
283
+ - repository/ninjs/docs/Data/PreviousSettings.nd
284
+ - repository/ninjs/docs/Data/SymbolTable.nd
285
+ - repository/ninjs/docs/Languages.txt
286
+ - repository/ninjs/docs/Menu.txt
287
+ - repository/ninjs/docs/Topics.txt
288
+ - repository/ninjs/docs/files/core/application-js.html
289
+ - repository/ninjs/docs/files/core/existence-js.html
290
+ - repository/ninjs/docs/files/core/extend-js.html
291
+ - repository/ninjs/docs/files/core/module-js.html
292
+ - repository/ninjs/docs/files/core/nin-js.html
293
+ - repository/ninjs/docs/index.html
294
+ - repository/ninjs/docs/index/Classes.html
295
+ - repository/ninjs/docs/index/Files.html
296
+ - repository/ninjs/docs/index/Functions.html
297
+ - repository/ninjs/docs/index/General.html
298
+ - repository/ninjs/docs/index/Variables.html
299
+ - repository/ninjs/docs/javascript/main.js
300
+ - repository/ninjs/docs/javascript/prettify.js
301
+ - repository/ninjs/docs/javascript/searchdata.js
302
+ - repository/ninjs/docs/search/ClassesN.html
303
+ - repository/ninjs/docs/search/FilesA.html
304
+ - repository/ninjs/docs/search/FilesE.html
305
+ - repository/ninjs/docs/search/FilesM.html
306
+ - repository/ninjs/docs/search/FilesN.html
307
+ - repository/ninjs/docs/search/FunctionsA.html
308
+ - repository/ninjs/docs/search/FunctionsC.html
309
+ - repository/ninjs/docs/search/FunctionsE.html
310
+ - repository/ninjs/docs/search/FunctionsI.html
311
+ - repository/ninjs/docs/search/FunctionsM.html
312
+ - repository/ninjs/docs/search/FunctionsR.html
313
+ - repository/ninjs/docs/search/FunctionsS.html
314
+ - repository/ninjs/docs/search/FunctionsSymbols.html
315
+ - repository/ninjs/docs/search/FunctionsU.html
316
+ - repository/ninjs/docs/search/GeneralA.html
317
+ - repository/ninjs/docs/search/GeneralC.html
318
+ - repository/ninjs/docs/search/GeneralD.html
319
+ - repository/ninjs/docs/search/GeneralE.html
320
+ - repository/ninjs/docs/search/GeneralF.html
321
+ - repository/ninjs/docs/search/GeneralI.html
322
+ - repository/ninjs/docs/search/GeneralM.html
323
+ - repository/ninjs/docs/search/GeneralN.html
324
+ - repository/ninjs/docs/search/GeneralR.html
325
+ - repository/ninjs/docs/search/GeneralS.html
326
+ - repository/ninjs/docs/search/GeneralSymbols.html
327
+ - repository/ninjs/docs/search/GeneralT.html
328
+ - repository/ninjs/docs/search/GeneralU.html
329
+ - repository/ninjs/docs/search/GeneralV.html
330
+ - repository/ninjs/docs/search/NoResults.html
331
+ - repository/ninjs/docs/search/VariablesD.html
332
+ - repository/ninjs/docs/search/VariablesN.html
333
+ - repository/ninjs/docs/search/VariablesR.html
334
+ - repository/ninjs/docs/search/VariablesT.html
335
+ - repository/ninjs/docs/styles/main.css
336
+ - repository/ninjs/extensions/jquery.elements.js
337
+ - repository/ninjs/tests/index.html
338
+ - repository/ninjs/tests/ninjs.test.js
339
+ - repository/ninjs/tests/ninjs.utilities.test.js
340
+ - repository/ninjs/tests/qunit/qunit.css
341
+ - repository/ninjs/tests/qunit/qunit.js
342
+ - repository/ninjs/utilities/all.js
343
+ - repository/ninjs/utilities/array.js
344
+ - repository/ninjs/utilities/cookie.js
345
+ - repository/ninjs/utilities/css.js
346
+ - repository/ninjs/utilities/number.js
347
+ - repository/ninjs/utilities/string.js
348
+ - repository/nullconsole.js
349
+ - repository/qunit/assets/css/qunit.css
350
+ - repository/qunit/qunit.js
351
+ - repository/selectivizr/1.0.js
352
+ - repository/selectivizr/latest.js
353
+ - repository/syntaxhighlighter/all.js
354
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css
355
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css
356
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css
357
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css
358
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css
359
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css
360
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css
361
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css
362
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css
363
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css
364
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css
365
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css
366
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css
367
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css
368
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css
369
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css
370
+ - repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css
371
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss
372
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss
373
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss
374
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss
375
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss
376
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss
377
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss
378
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss
379
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss
380
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss
381
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss
382
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss
383
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss
384
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss
385
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss
386
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss
387
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss
388
+ - repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss
389
+ - repository/syntaxhighlighter/shAutoloader.js
390
+ - repository/syntaxhighlighter/shBrushAS3.js
391
+ - repository/syntaxhighlighter/shBrushAppleScript.js
392
+ - repository/syntaxhighlighter/shBrushBash.js
393
+ - repository/syntaxhighlighter/shBrushCSharp.js
394
+ - repository/syntaxhighlighter/shBrushColdFusion.js
395
+ - repository/syntaxhighlighter/shBrushCpp.js
396
+ - repository/syntaxhighlighter/shBrushCss.js
397
+ - repository/syntaxhighlighter/shBrushDelphi.js
398
+ - repository/syntaxhighlighter/shBrushDiff.js
399
+ - repository/syntaxhighlighter/shBrushErlang.js
400
+ - repository/syntaxhighlighter/shBrushGroovy.js
401
+ - repository/syntaxhighlighter/shBrushJScript.js
402
+ - repository/syntaxhighlighter/shBrushJava.js
403
+ - repository/syntaxhighlighter/shBrushJavaFX.js
404
+ - repository/syntaxhighlighter/shBrushPerl.js
405
+ - repository/syntaxhighlighter/shBrushPhp.js
406
+ - repository/syntaxhighlighter/shBrushPlain.js
407
+ - repository/syntaxhighlighter/shBrushPowerShell.js
408
+ - repository/syntaxhighlighter/shBrushPython.js
409
+ - repository/syntaxhighlighter/shBrushRuby.js
410
+ - repository/syntaxhighlighter/shBrushSass.js
411
+ - repository/syntaxhighlighter/shBrushScala.js
412
+ - repository/syntaxhighlighter/shBrushSql.js
413
+ - repository/syntaxhighlighter/shBrushVb.js
414
+ - repository/syntaxhighlighter/shBrushXml.js
415
+ - repository/syntaxhighlighter/shCore.js
416
+ - repository/syntaxhighlighter/shLegacy.js
417
+ - spec/command_spec.rb
418
+ - spec/configuration_spec.rb
419
+ - spec/dependencies_spec.rb
420
+ - spec/fixtures/autoload.js
421
+ - spec/fixtures/changed.ninjs.conf
422
+ - spec/fixtures/compressed.myapp.js
423
+ - spec/fixtures/core.js
424
+ - spec/fixtures/dependencies.js
425
+ - spec/fixtures/foo.elements.js
426
+ - spec/fixtures/foo.js
427
+ - spec/fixtures/foo.model.js
428
+ - spec/fixtures/foo.module.js
429
+ - spec/fixtures/hello.elements.js
430
+ - spec/fixtures/hello.js
431
+ - spec/fixtures/hello.model.js
432
+ - spec/fixtures/hello.module.js
433
+ - spec/fixtures/myapp.initial.js
434
+ - spec/fixtures/myapp.js
435
+ - spec/fixtures/new.ninjs.conf
436
+ - spec/fixtures/ninjs.conf
437
+ - spec/generator_spec.rb
438
+ - spec/helpers_spec.rb
439
+ - spec/manifest_spec.rb
440
+ - spec/ninjs_spec.rb
441
+ - spec/notification_spec.rb
442
+ - spec/project_spec.rb
443
+ - spec/spec_helper.rb
207
444
  has_rdoc: true
208
445
  homepage: http://github.com/textnotspeech/ninjs
209
446
  licenses:
@@ -218,7 +455,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
455
  requirements:
219
456
  - - ">="
220
457
  - !ruby/object:Gem::Version
221
- hash: 1283957270303370282
458
+ hash: 733674287232464568
222
459
  segments:
223
460
  - 0
224
461
  version: "0"
@@ -227,15 +464,22 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
464
  requirements:
228
465
  - - ">="
229
466
  - !ruby/object:Gem::Version
230
- segments:
231
- - 0
232
467
  version: "0"
233
468
  requirements: []
234
469
 
235
470
  rubyforge_project: nowarning
236
- rubygems_version: 1.3.7
471
+ rubygems_version: 1.5.2
237
472
  signing_key:
238
473
  specification_version: 3
239
474
  summary: ninjs is a command line application to help you write clean, modular javascript applications.
240
- test_files: []
241
-
475
+ test_files:
476
+ - spec/command_spec.rb
477
+ - spec/configuration_spec.rb
478
+ - spec/dependencies_spec.rb
479
+ - spec/generator_spec.rb
480
+ - spec/helpers_spec.rb
481
+ - spec/manifest_spec.rb
482
+ - spec/ninjs_spec.rb
483
+ - spec/notification_spec.rb
484
+ - spec/project_spec.rb
485
+ - spec/spec_helper.rb