jax 1.1.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (473) hide show
  1. data/.gitignore +4 -0
  2. data/.rvmrc +2 -3
  3. data/.travis.yml +8 -22
  4. data/README.md +2 -2
  5. data/Rakefile +128 -96
  6. data/app/assets/javascripts/jax/controller-list.js.coffee +22 -0
  7. data/app/assets/javascripts/jax/dom-helpers.js.coffee +17 -0
  8. data/app/assets/javascripts/jax/jasmine_runner.js +177 -0
  9. data/app/assets/javascripts/jax/runtime.js +6 -0
  10. data/app/assets/javascripts/jax/shader_editor.js.coffee +33 -0
  11. data/app/assets/stylesheets/jax/controller-list.css +5 -0
  12. data/app/assets/stylesheets/jax/jasmine.css +16 -0
  13. data/app/assets/stylesheets/jax/nav.css +41 -0
  14. data/app/assets/stylesheets/jax/runtime.css +47 -0
  15. data/app/assets/stylesheets/jax/shader_editor.css +3 -0
  16. data/app/assets/stylesheets/jax/suite.css +82 -0
  17. data/app/controllers/jax/suite_controller.rb +48 -0
  18. data/app/views/jax/suite/jasmine.html.erb +38 -0
  19. data/app/views/jax/suite/run_webgl.html.erb +49 -0
  20. data/app/views/jax/suite/shader_editor.html.erb +24 -0
  21. data/app/views/layouts/jax.html.erb +40 -0
  22. data/bin/jax +8 -4
  23. data/config/routes.rb +2 -0
  24. data/config.ru +5 -0
  25. data/features/rails/resources.feature +45 -0
  26. data/features/rails/shaders.feature +13 -0
  27. data/features/rails/specs.feature +24 -0
  28. data/features/runtime.feature +15 -0
  29. data/features/step_definitions/environment_steps.rb +15 -0
  30. data/features/step_definitions/response_steps.rb +13 -0
  31. data/features/step_definitions/runtime.rb +11 -0
  32. data/features/step_definitions/web_steps.rb +223 -0
  33. data/features/support/env.rb +75 -0
  34. data/features/support/paths.rb +30 -0
  35. data/features/support/rails_environment.rb +3 -0
  36. data/features/support/selectors.rb +39 -0
  37. data/features/support/setup.rb +17 -0
  38. data/jax.gemspec +22 -16
  39. data/lib/assets/javascripts/jax/anim_frame.js +64 -0
  40. data/lib/assets/javascripts/jax/application.js +16 -0
  41. data/lib/assets/javascripts/jax/builtin/all.js +21 -0
  42. data/lib/assets/javascripts/jax/builtin/meshes/cube.js +83 -0
  43. data/lib/assets/javascripts/jax/builtin/meshes/plane.js +67 -0
  44. data/lib/assets/javascripts/jax/builtin/meshes/quad.js +89 -0
  45. data/lib/assets/javascripts/jax/builtin/meshes/sphere.js +65 -0
  46. data/lib/assets/javascripts/jax/builtin/meshes/teapot.js +48 -0
  47. data/lib/assets/javascripts/jax/builtin/meshes/torus.js +64 -0
  48. data/lib/assets/javascripts/jax/compatibility.js +312 -0
  49. data/lib/assets/javascripts/jax/context.js +741 -0
  50. data/lib/assets/javascripts/jax/core/base.js +69 -0
  51. data/lib/assets/javascripts/jax/core/glMatrix_ext/mat3.js +20 -0
  52. data/lib/assets/javascripts/jax/core/glMatrix_ext/mat4.js +10 -0
  53. data/lib/assets/javascripts/jax/core/glMatrix_ext/quat4.js +148 -0
  54. data/lib/assets/javascripts/jax/core/glMatrix_ext/vec2.js +25 -0
  55. data/lib/assets/javascripts/jax/core/glMatrix_ext/vec3.js +86 -0
  56. data/lib/assets/javascripts/jax/core/glMatrix_ext/vec4.js +28 -0
  57. data/lib/assets/javascripts/jax/core/helper.js +44 -0
  58. data/lib/assets/javascripts/jax/core/math.js +61 -0
  59. data/lib/assets/javascripts/jax/core/matrix_stack.js +310 -0
  60. data/lib/assets/javascripts/jax/core/util.js +271 -0
  61. data/lib/assets/javascripts/jax/core.js +43 -0
  62. data/lib/assets/javascripts/jax/events.js +304 -0
  63. data/lib/assets/javascripts/jax/geometry/line.js +185 -0
  64. data/lib/assets/javascripts/jax/geometry/plane.js +371 -0
  65. data/lib/assets/javascripts/jax/geometry/triangle/inliner.rb +94 -0
  66. data/lib/assets/javascripts/jax/geometry/triangle/slow_tri_tri_intersect.js +20 -0
  67. data/lib/assets/javascripts/jax/geometry/triangle/tri_tri_intersect.js +281 -0
  68. data/lib/assets/javascripts/jax/geometry/triangle/tri_tri_intersect_optimized.js +564 -0
  69. data/lib/assets/javascripts/jax/geometry/triangle.js +311 -0
  70. data/lib/assets/javascripts/jax/geometry.js +14 -0
  71. data/lib/assets/javascripts/jax/mvc/controller.js +188 -0
  72. data/lib/assets/javascripts/jax/mvc/model.js +302 -0
  73. data/lib/assets/javascripts/jax/mvc/route_set.js +148 -0
  74. data/lib/assets/javascripts/jax/mvc/view.js +43 -0
  75. data/lib/assets/javascripts/jax/mvc/view_manager.js +65 -0
  76. data/lib/assets/javascripts/jax/noise.js +251 -0
  77. data/lib/assets/javascripts/jax/prototype/class.js +81 -0
  78. data/lib/assets/javascripts/jax/prototype/core.js +112 -0
  79. data/lib/assets/javascripts/jax/prototype/extensions.js +142 -0
  80. data/lib/assets/javascripts/jax/vendor/ejs.js +1 -0
  81. data/lib/assets/javascripts/jax/vendor/glMatrix.js +7 -0
  82. data/lib/assets/javascripts/jax/webgl/camera.js +697 -0
  83. data/lib/assets/javascripts/jax/webgl/cleanup.js +1 -0
  84. data/lib/assets/javascripts/jax/webgl/core/buffer.js +292 -0
  85. data/lib/assets/javascripts/jax/webgl/core/data_region.js +184 -0
  86. data/lib/assets/javascripts/jax/webgl/core/data_segment.js +255 -0
  87. data/lib/assets/javascripts/jax/webgl/core/events.js +99 -0
  88. data/lib/assets/javascripts/jax/webgl/core/framebuffer.js +316 -0
  89. data/lib/assets/javascripts/jax/webgl/core.js +6 -0
  90. data/lib/assets/javascripts/jax/webgl/material.js +381 -0
  91. data/lib/assets/javascripts/jax/webgl/mesh/normals.js +37 -0
  92. data/lib/assets/javascripts/jax/webgl/mesh/support.js +104 -0
  93. data/lib/assets/javascripts/jax/webgl/mesh/tangent_space.js +111 -0
  94. data/lib/assets/javascripts/jax/webgl/mesh.js +440 -0
  95. data/lib/assets/javascripts/jax/webgl/scene/frustum.js +422 -0
  96. data/lib/assets/javascripts/jax/webgl/scene/light_manager.js +141 -0
  97. data/lib/assets/javascripts/jax/webgl/scene/light_source.js +300 -0
  98. data/lib/assets/javascripts/jax/webgl/scene.js +16 -0
  99. data/lib/assets/javascripts/jax/webgl/shader/delegator/attribute.js +53 -0
  100. data/lib/assets/javascripts/jax/webgl/shader/delegator/uniform.js +71 -0
  101. data/lib/assets/javascripts/jax/webgl/shader/delegator.js +13 -0
  102. data/lib/assets/javascripts/jax/webgl/shader/manifest.js +70 -0
  103. data/lib/assets/javascripts/jax/webgl/shader/program.js +138 -0
  104. data/lib/assets/javascripts/jax/webgl/shader.js +299 -0
  105. data/lib/assets/javascripts/jax/webgl/shader_chain.js +267 -0
  106. data/lib/assets/javascripts/jax/webgl/texture.js +506 -0
  107. data/lib/assets/javascripts/jax/webgl/world.js +279 -0
  108. data/lib/assets/javascripts/jax/webgl.js +109 -0
  109. data/lib/assets/javascripts/jax.js +136 -0
  110. data/{builtin/app/shaders/basic/common.ejs → lib/assets/javascripts/shaders/basic/common.glsl} +0 -0
  111. data/{builtin/app/shaders/basic/fragment.ejs → lib/assets/javascripts/shaders/basic/fragment.glsl} +0 -0
  112. data/{builtin/app/shaders/basic/vertex.ejs → lib/assets/javascripts/shaders/basic/vertex.glsl} +1 -1
  113. data/{builtin/app/shaders/depthmap/common.ejs → lib/assets/javascripts/shaders/depthmap/common.glsl} +0 -0
  114. data/{builtin/app/shaders/depthmap/fragment.ejs → lib/assets/javascripts/shaders/depthmap/fragment.glsl} +1 -1
  115. data/{builtin/app → lib/assets/javascripts}/shaders/depthmap/material.js +0 -0
  116. data/{builtin/app/shaders/depthmap/vertex.ejs → lib/assets/javascripts/shaders/depthmap/vertex.glsl} +0 -0
  117. data/{builtin/app/shaders/fog/common.ejs → lib/assets/javascripts/shaders/fog/common.glsl} +0 -0
  118. data/{builtin/app/shaders/fog/fragment.ejs → lib/assets/javascripts/shaders/fog/fragment.glsl} +0 -0
  119. data/{builtin/app → lib/assets/javascripts}/shaders/fog/manifest.yml +0 -0
  120. data/{builtin/app → lib/assets/javascripts}/shaders/fog/material.js +6 -8
  121. data/{builtin/app/shaders/fog/vertex.ejs → lib/assets/javascripts/shaders/fog/vertex.glsl} +0 -0
  122. data/{builtin/app/shaders/functions/depth_map.ejs → lib/assets/javascripts/shaders/functions/depth_map.glsl} +0 -0
  123. data/{builtin/app/shaders/functions/lights.ejs → lib/assets/javascripts/shaders/functions/lights.glsl} +0 -0
  124. data/{builtin/app/shaders/functions/noise.ejs → lib/assets/javascripts/shaders/functions/noise.glsl} +0 -0
  125. data/lib/assets/javascripts/shaders/lighting/common.glsl +5 -0
  126. data/{builtin/app/shaders/lighting/fragment.ejs → lib/assets/javascripts/shaders/lighting/fragment.glsl} +0 -0
  127. data/{builtin/app → lib/assets/javascripts}/shaders/lighting/manifest.yml +0 -0
  128. data/{builtin/app → lib/assets/javascripts}/shaders/lighting/material.js +2 -4
  129. data/{builtin/app/shaders/lighting/vertex.ejs → lib/assets/javascripts/shaders/lighting/vertex.glsl} +0 -0
  130. data/{builtin/app/shaders/normal_map/common.ejs → lib/assets/javascripts/shaders/normal_map/common.glsl} +1 -1
  131. data/{builtin/app/shaders/normal_map/fragment.ejs → lib/assets/javascripts/shaders/normal_map/fragment.glsl} +0 -0
  132. data/{builtin/app → lib/assets/javascripts}/shaders/normal_map/manifest.yml +0 -0
  133. data/lib/assets/javascripts/shaders/normal_map/material.js +11 -0
  134. data/{builtin/app/shaders/normal_map/vertex.ejs → lib/assets/javascripts/shaders/normal_map/vertex.glsl} +0 -0
  135. data/{builtin/app/shaders/paraboloid/common.ejs → lib/assets/javascripts/shaders/paraboloid/common.glsl} +0 -0
  136. data/{builtin/app/shaders/paraboloid/fragment.ejs → lib/assets/javascripts/shaders/paraboloid/fragment.glsl} +0 -0
  137. data/{builtin/app → lib/assets/javascripts}/shaders/paraboloid/manifest.yml +0 -0
  138. data/{builtin/app → lib/assets/javascripts}/shaders/paraboloid/material.js +2 -4
  139. data/{builtin/app/shaders/paraboloid/vertex.ejs → lib/assets/javascripts/shaders/paraboloid/vertex.glsl} +0 -0
  140. data/{builtin/app/shaders/picking/common.ejs → lib/assets/javascripts/shaders/picking/common.glsl} +0 -0
  141. data/{builtin/app/shaders/picking/fragment.ejs → lib/assets/javascripts/shaders/picking/fragment.glsl} +0 -0
  142. data/{builtin/app → lib/assets/javascripts}/shaders/picking/material.js +2 -4
  143. data/{builtin/app/shaders/picking/vertex.ejs → lib/assets/javascripts/shaders/picking/vertex.glsl} +0 -0
  144. data/{builtin/app/shaders/shadow_map/common.ejs → lib/assets/javascripts/shaders/shadow_map/common.glsl} +2 -1
  145. data/{builtin/app/shaders/shadow_map/fragment.ejs → lib/assets/javascripts/shaders/shadow_map/fragment.glsl} +1 -1
  146. data/{builtin/app → lib/assets/javascripts}/shaders/shadow_map/manifest.yml +0 -0
  147. data/{builtin/app → lib/assets/javascripts}/shaders/shadow_map/material.js +4 -6
  148. data/{builtin/app/shaders/shadow_map/vertex.ejs → lib/assets/javascripts/shaders/shadow_map/vertex.glsl} +0 -0
  149. data/{builtin/app/shaders/texture/common.ejs → lib/assets/javascripts/shaders/texture/common.glsl} +0 -0
  150. data/{builtin/app/shaders/texture/fragment.ejs → lib/assets/javascripts/shaders/texture/fragment.glsl} +0 -0
  151. data/{builtin/app → lib/assets/javascripts}/shaders/texture/manifest.yml +0 -0
  152. data/lib/assets/javascripts/shaders/texture/material.js +17 -0
  153. data/{builtin/app/shaders/texture/vertex.ejs → lib/assets/javascripts/shaders/texture/vertex.glsl} +0 -0
  154. data/lib/generators/jax/all.rb +16 -0
  155. data/lib/generators/jax/application/application_generator.rb +48 -0
  156. data/lib/generators/jax/base/actions.rb +52 -0
  157. data/lib/generators/jax/base/coffee_generator.rb +30 -0
  158. data/lib/generators/jax/base/named_base.rb +17 -0
  159. data/lib/generators/jax/base/plugin_base.rb +108 -0
  160. data/lib/generators/jax/base/plugin_credentials.rb +99 -0
  161. data/lib/generators/jax/base/plugin_manifest.rb +75 -0
  162. data/lib/generators/jax/base/rails_base.rb +30 -0
  163. data/lib/generators/jax/base/source_root.rb +5 -0
  164. data/lib/generators/jax/controller/controller_generator.rb +37 -0
  165. data/lib/generators/jax/helper/helper_generator.rb +30 -0
  166. data/lib/generators/jax/install/install_generator.rb +27 -0
  167. data/lib/generators/jax/jax_generator.rb +13 -0
  168. data/lib/generators/jax/light/light_generator.rb +23 -0
  169. data/lib/{jax/generators → generators/jax}/material/USAGE +4 -8
  170. data/lib/generators/jax/material/material_generator.rb +112 -0
  171. data/lib/generators/jax/model/model_generator.rb +24 -0
  172. data/lib/generators/jax/plugin/plugin_generator.rb +72 -0
  173. data/lib/generators/jax/scaffold/scaffold_generator.rb +35 -0
  174. data/lib/generators/jax/shader/shader_generator.rb +38 -0
  175. data/lib/jax/commands/plugin_manager.rb +240 -0
  176. data/lib/jax/commands.rb +69 -0
  177. data/lib/jax/configuration.rb +64 -0
  178. data/lib/jax/directive_processor.rb +53 -0
  179. data/lib/jax/engine.rb +38 -54
  180. data/lib/jax/helper_methods.rb +3 -0
  181. data/lib/jax/rails/application.rb +34 -0
  182. data/lib/jax/resource_file.rb +29 -0
  183. data/lib/jax/script_loader.rb +68 -0
  184. data/lib/jax/server.rb +87 -0
  185. data/lib/jax/shader.rb +70 -172
  186. data/lib/jax/testing/rails_environment.rb +94 -0
  187. data/lib/jax/util/tar.rb +75 -0
  188. data/lib/jax/util.rb +3 -0
  189. data/lib/jax/version.rb +7 -8
  190. data/lib/jax.rb +23 -41
  191. data/spec/bin/jax_spec.rb +149 -0
  192. data/{lib/jax/generators/app/templates/app/models/.empty_directory → spec/fixtures/public/favicon.ico} +0 -0
  193. data/spec/fixtures/public/textures/brickwall.jpg +0 -0
  194. data/spec/fixtures/public/textures/jacks.jpg +0 -0
  195. data/spec/fixtures/public/textures/normal_map.jpg +0 -0
  196. data/spec/fixtures/public/textures/rock.png +0 -0
  197. data/spec/fixtures/public/textures/rock_normal.png +0 -0
  198. data/spec/fixtures/public/textures/rss.png +0 -0
  199. data/spec/generators/jax/application_generator_spec.rb +18 -0
  200. data/spec/generators/jax/controller_generator_spec.rb +102 -0
  201. data/spec/generators/jax/helper_generator_spec.rb +55 -0
  202. data/spec/generators/jax/install_generator_spec.rb +30 -0
  203. data/spec/generators/jax/jax_generator_spec.rb +21 -0
  204. data/spec/generators/jax/light_generator_spec.rb +27 -0
  205. data/spec/generators/jax/material_generator_spec.rb +62 -0
  206. data/spec/generators/jax/model_generator_spec.rb +72 -0
  207. data/spec/generators/jax/plugin_generator_spec.rb +143 -0
  208. data/spec/generators/jax/scaffold_generator_spec.rb +35 -0
  209. data/spec/generators/jax/shader_generator_spec.rb +37 -0
  210. data/spec/javascripts/helpers/jasmine_webgl_helper.js +13 -0
  211. data/{lib/jax/generators/app/templates/spec/javascripts/support/spec_helpers → spec/javascripts/helpers}/jax_spec_environment_helper.js +7 -2
  212. data/{lib/jax/generators/app/templates/spec/javascripts/support/spec_helpers → spec/javascripts/helpers}/jax_spec_helper.js +0 -0
  213. data/spec/javascripts/jax/builtin/meshes/cube_spec.js +10 -0
  214. data/spec/javascripts/jax/builtin/meshes/plane_spec.js +8 -0
  215. data/spec/javascripts/jax/builtin/meshes/quad_spec.js +8 -0
  216. data/spec/javascripts/jax/builtin/meshes/sphere_spec.js +8 -0
  217. data/spec/javascripts/jax/builtin/meshes/teapot_spec.js +8 -0
  218. data/spec/javascripts/jax/builtin/meshes/torus_spec.js +8 -0
  219. data/spec/javascripts/jax/compatibility_spec.js +46 -0
  220. data/spec/javascripts/jax/context_events_spec.js +212 -0
  221. data/spec/javascripts/jax/context_spec.js +305 -0
  222. data/spec/javascripts/jax/core/data_region_spec.js +118 -0
  223. data/spec/javascripts/jax/core/data_segment_spec.js +96 -0
  224. data/spec/javascripts/jax/core/delegation_spec.js +48 -0
  225. data/spec/javascripts/jax/core/events_spec.js +17 -0
  226. data/spec/javascripts/jax/core/glMatrix_extensions_spec.js +8 -0
  227. data/spec/javascripts/jax/core/helper_spec.js +61 -0
  228. data/spec/javascripts/jax/core/matrix_stack_spec.js +28 -0
  229. data/spec/javascripts/jax/core/utils_spec.js +275 -0
  230. data/spec/javascripts/jax/geometry/line_spec.js +20 -0
  231. data/spec/javascripts/jax/geometry/plane_spec.js +181 -0
  232. data/spec/javascripts/jax/geometry/triangle_spec.js +105 -0
  233. data/spec/javascripts/jax/mvc/controller_spec.js +156 -0
  234. data/spec/javascripts/jax/mvc/model_spec.js +93 -0
  235. data/spec/javascripts/jax/mvc/route_set_spec.js +49 -0
  236. data/spec/javascripts/jax/mvc/view_manager_spec.js +17 -0
  237. data/spec/javascripts/jax/noise_spec.js +50 -0
  238. data/spec/javascripts/jax/optimizations/material_limitations_spec.js +85 -0
  239. data/spec/javascripts/jax/optimizations/shaders/basic_spec.js +65 -0
  240. data/spec/javascripts/jax/prototype/extensions_spec.js +34 -0
  241. data/spec/javascripts/jax/webgl/camera_spec.js +237 -0
  242. data/spec/javascripts/jax/webgl/core/events_spec.js +47 -0
  243. data/spec/javascripts/jax/webgl/framebuffer_spec.js +44 -0
  244. data/spec/javascripts/jax/webgl/lighting_spec.js +108 -0
  245. data/spec/javascripts/jax/webgl/material_spec.js +117 -0
  246. data/spec/javascripts/jax/webgl/mesh_spec.js +228 -0
  247. data/spec/javascripts/jax/webgl/shader/manifest_spec.js +57 -0
  248. data/spec/javascripts/jax/webgl/shader_chain_spec.js +211 -0
  249. data/spec/javascripts/jax/webgl/shader_spec.js +276 -0
  250. data/spec/javascripts/jax/webgl/tangent_space_spec.js +142 -0
  251. data/spec/javascripts/jax/webgl/texture_spec.js +159 -0
  252. data/spec/javascripts/jax/webgl_spec.js +5 -0
  253. data/spec/javascripts/jax/world_spec.js +175 -0
  254. data/spec/javascripts/jax_spec.js +14 -0
  255. data/spec/javascripts/node/mocks/webgl.js +159 -0
  256. data/spec/javascripts/node_helper.js +51 -0
  257. data/spec/javascripts/shaders/core_materials_spec.js +38 -0
  258. data/spec/javascripts/shaders/fog_spec.js +15 -0
  259. data/spec/javascripts/shaders/lighting_spec.js +15 -0
  260. data/spec/javascripts/shaders/normal_map_spec.js +15 -0
  261. data/spec/javascripts/shaders/paraboloid_spec.js +33 -0
  262. data/spec/javascripts/shaders/preprocessor_spec.js +45 -0
  263. data/spec/javascripts/shaders/shadow_map_spec.js +15 -0
  264. data/spec/javascripts/shaders/texture_spec.js +37 -0
  265. data/spec/javascripts/suite/controller_select_spec.js.coffee +24 -0
  266. data/spec/lib/jax/commands/plugin_manager/credentials_spec.rb +56 -0
  267. data/spec/lib/jax/commands/plugin_manager/push_spec.rb +62 -0
  268. data/spec/lib/jax/commands/plugin_manager_spec.rb +204 -0
  269. data/spec/lib/jax/rails/application_spec.rb +23 -0
  270. data/spec/lib/jax/shader_spec.rb +67 -0
  271. data/spec/lib/jax/util/tar_spec.rb +26 -0
  272. data/spec/{test_helper.rb → spec_helper.rb} +37 -28
  273. data/spec/support/test_model_generator.rb +14 -0
  274. data/templates/app/Gemfile.tt +17 -0
  275. data/templates/app/Rakefile +4 -0
  276. data/templates/app/config/application.rb +16 -0
  277. data/{lib/jax/generators/app/templates → templates/app}/config/boot.rb +0 -0
  278. data/templates/app/config/environment.rb +5 -0
  279. data/templates/app/config/environments/production.rb +4 -0
  280. data/templates/app/config.ru +6 -0
  281. data/{lib/jax/generators/app/templates/app/resources → templates/app/public}/.empty_directory +0 -0
  282. data/templates/app/script/jax +8 -0
  283. data/{lib/jax/generators/app/templates/app/views → templates/app/spec}/.empty_directory +0 -0
  284. data/templates/application_controller.js.coffee.erb +3 -0
  285. data/templates/application_controller.js.erb +6 -0
  286. data/templates/application_helper.js.coffee.erb +3 -0
  287. data/templates/application_helper.js.erb +3 -0
  288. data/templates/controller.js.coffee.erb +9 -0
  289. data/templates/controller.js.erb +15 -0
  290. data/templates/controller_spec.js.coffee.erb +9 -0
  291. data/templates/controller_spec.js.erb +12 -0
  292. data/templates/helper.js.coffee.erb +2 -0
  293. data/templates/helper.js.erb +3 -0
  294. data/templates/helper_spec.js.coffee.erb +8 -0
  295. data/templates/helper_spec.js.erb +12 -0
  296. data/{lib/jax/generators/light_source/templates/light.yml.tt → templates/light_source.resource.erb} +3 -3
  297. data/{lib/jax/generators/material/templates/material.yml.tt → templates/material.resource.erb} +0 -9
  298. data/templates/model.js.coffee.erb +3 -0
  299. data/templates/model.js.erb +5 -0
  300. data/templates/model_defaults.resource.erb +5 -0
  301. data/templates/model_spec.js.coffee.erb +16 -0
  302. data/templates/model_spec.js.erb +18 -0
  303. data/{lib/jax/generators/plugin/templates/new_plugin/app → templates/new_plugin/app/assets/jax}/controllers/.empty_directory +0 -0
  304. data/{lib/jax/generators/plugin/templates/new_plugin/app → templates/new_plugin/app/assets/jax}/helpers/.empty_directory +0 -0
  305. data/{lib/jax/generators/plugin/templates/new_plugin/app → templates/new_plugin/app/assets/jax}/models/.empty_directory +0 -0
  306. data/{lib/jax/generators/plugin/templates/new_plugin/app → templates/new_plugin/app/assets/jax}/resources/.empty_directory +0 -0
  307. data/{lib/jax/generators/plugin/templates/new_plugin/app → templates/new_plugin/app/assets/jax}/views/.empty_directory +0 -0
  308. data/{lib/jax/generators/plugin/templates → templates}/new_plugin/init.rb +0 -0
  309. data/{lib/jax/generators/plugin/templates → templates}/new_plugin/install.rb +0 -0
  310. data/{lib/jax/generators/plugin/templates/new_plugin/public → templates/new_plugin/spec}/.empty_directory +0 -0
  311. data/{lib/jax/generators/plugin/templates → templates}/new_plugin/uninstall.rb +0 -0
  312. data/{lib/jax/generators/shader/templates/common.ejs.tt → templates/shader_common.glsl.erb} +0 -0
  313. data/{lib/jax/generators/shader/templates/fragment.ejs.tt → templates/shader_fragment.glsl.erb} +0 -0
  314. data/{lib/jax/generators/shader/templates/manifest.yml.tt → templates/shader_manifest.yml.erb} +0 -0
  315. data/templates/shader_material.js.coffee.erb +22 -0
  316. data/{lib/jax/generators/shader/templates/material.js.tt → templates/shader_material.js.erb} +0 -0
  317. data/templates/shader_spec.js.coffee.erb +16 -0
  318. data/{lib/jax/generators/shader/templates/spec.js.tt → templates/shader_spec.js.erb} +1 -1
  319. data/{lib/jax/generators/shader/templates/vertex.ejs.tt → templates/shader_vertex.glsl.erb} +0 -0
  320. data/templates/view.js.coffee.erb +3 -0
  321. data/{lib/jax/generators/controller/templates/view.js.tt → templates/view.js.erb} +1 -1
  322. data/vendor/assets/javascripts/ejs.js +505 -0
  323. data/vendor/assets/javascripts/glMatrix.js +1772 -0
  324. data/vendor/assets/javascripts/jasmine.js +2476 -0
  325. data/vendor/assets/stylesheets/jasmine.css +166 -0
  326. data/vendor/pdoc_template/html/assets/images/pdoc/alias.png +0 -0
  327. data/vendor/pdoc_template/html/assets/images/pdoc/class.png +0 -0
  328. data/vendor/pdoc_template/html/assets/images/pdoc/class_deprecated.png +0 -0
  329. data/vendor/pdoc_template/html/assets/images/pdoc/class_method.png +0 -0
  330. data/vendor/pdoc_template/html/assets/images/pdoc/class_property.png +0 -0
  331. data/vendor/pdoc_template/html/assets/images/pdoc/constant.png +0 -0
  332. data/vendor/pdoc_template/html/assets/images/pdoc/constructor.png +0 -0
  333. data/vendor/pdoc_template/html/assets/images/pdoc/deprecated.png +0 -0
  334. data/vendor/pdoc_template/html/assets/images/pdoc/description.png +0 -0
  335. data/vendor/pdoc_template/html/assets/images/pdoc/information.png +0 -0
  336. data/vendor/pdoc_template/html/assets/images/pdoc/instance_method.png +0 -0
  337. data/vendor/pdoc_template/html/assets/images/pdoc/instance_property.png +0 -0
  338. data/vendor/pdoc_template/html/assets/images/pdoc/method.png +0 -0
  339. data/vendor/pdoc_template/html/assets/images/pdoc/method_deprecated.png +0 -0
  340. data/vendor/pdoc_template/html/assets/images/pdoc/mixin.png +0 -0
  341. data/vendor/pdoc_template/html/assets/images/pdoc/namespace.png +0 -0
  342. data/vendor/pdoc_template/html/assets/images/pdoc/property.png +0 -0
  343. data/vendor/pdoc_template/html/assets/images/pdoc/related_to.png +0 -0
  344. data/vendor/pdoc_template/html/assets/images/pdoc/search-background.png +0 -0
  345. data/vendor/pdoc_template/html/assets/images/pdoc/section-background.png +0 -0
  346. data/vendor/pdoc_template/html/assets/images/pdoc/section.png +0 -0
  347. data/vendor/pdoc_template/html/assets/images/pdoc/selected-section-background.png +0 -0
  348. data/vendor/pdoc_template/html/assets/images/pdoc/subclass.png +0 -0
  349. data/vendor/pdoc_template/html/assets/images/pdoc/superclass.png +0 -0
  350. data/vendor/pdoc_template/html/assets/images/pdoc/utility.png +0 -0
  351. data/vendor/pdoc_template/html/assets/javascripts/pdoc/application.js +478 -0
  352. data/vendor/pdoc_template/html/assets/javascripts/pdoc/prototype.js +4874 -0
  353. data/vendor/pdoc_template/html/assets/javascripts/pdoc/tabs.js +506 -0
  354. data/vendor/pdoc_template/html/assets/stylesheets/jax.css +30 -0
  355. data/vendor/pdoc_template/html/assets/stylesheets/pdoc/api.css +681 -0
  356. data/vendor/pdoc_template/html/assets/stylesheets/pdoc/pygments.css +62 -0
  357. data/vendor/pdoc_template/html/helpers.rb +35 -0
  358. data/vendor/pdoc_template/html/index.erb +18 -0
  359. data/vendor/pdoc_template/html/item_index.js.erb +6 -0
  360. data/vendor/pdoc_template/html/layout.erb +67 -0
  361. data/vendor/pdoc_template/html/leaf.erb +22 -0
  362. data/vendor/pdoc_template/html/node.erb +30 -0
  363. data/vendor/pdoc_template/html/partials/class_relationships.erb +19 -0
  364. data/vendor/pdoc_template/html/partials/classes.erb +7 -0
  365. data/vendor/pdoc_template/html/partials/constructor.erb +5 -0
  366. data/vendor/pdoc_template/html/partials/description.erb +5 -0
  367. data/vendor/pdoc_template/html/partials/link_list.erb +1 -0
  368. data/vendor/pdoc_template/html/partials/method_signatures.erb +14 -0
  369. data/vendor/pdoc_template/html/partials/methodized_note.erb +9 -0
  370. data/vendor/pdoc_template/html/partials/mixins.erb +7 -0
  371. data/vendor/pdoc_template/html/partials/namespaces.erb +7 -0
  372. data/vendor/pdoc_template/html/partials/related_utilities.erb +5 -0
  373. data/vendor/pdoc_template/html/partials/relationships.erb +11 -0
  374. data/vendor/pdoc_template/html/partials/short_description_list.erb +7 -0
  375. data/vendor/pdoc_template/html/partials/title.erb +24 -0
  376. data/vendor/pdoc_template/html/section.erb +18 -0
  377. metadata +635 -332
  378. data/builtin/app/shaders/lighting/common.ejs +0 -5
  379. data/builtin/app/shaders/normal_map/material.js +0 -16
  380. data/builtin/app/shaders/texture/material.js +0 -18
  381. data/jax.gems +0 -1
  382. data/lib/jax/application/builtin/configurable.rb +0 -5
  383. data/lib/jax/application/builtin/configuration.rb +0 -5
  384. data/lib/jax/application/builtin.rb +0 -12
  385. data/lib/jax/application/configurable.rb +0 -19
  386. data/lib/jax/application/configuration.rb +0 -60
  387. data/lib/jax/application/railties.rb +0 -26
  388. data/lib/jax/application.rb +0 -149
  389. data/lib/jax/core_ext/kernel.rb +0 -7
  390. data/lib/jax/engine/configurable.rb +0 -19
  391. data/lib/jax/engine/configuration.rb +0 -49
  392. data/lib/jax/generators/app/app_generator.rb +0 -96
  393. data/lib/jax/generators/app/templates/Gemfile.tt +0 -3
  394. data/lib/jax/generators/app/templates/Rakefile +0 -6
  395. data/lib/jax/generators/app/templates/app/controllers/application_controller.js.tt +0 -5
  396. data/lib/jax/generators/app/templates/app/helpers/application_helper.js.tt +0 -3
  397. data/lib/jax/generators/app/templates/config/application.rb.tt +0 -6
  398. data/lib/jax/generators/app/templates/config/environment.rb.tt +0 -5
  399. data/lib/jax/generators/app/templates/config/routes.rb.tt +0 -5
  400. data/lib/jax/generators/app/templates/public/index.html.tt +0 -26
  401. data/lib/jax/generators/app/templates/public/javascripts/jax.js +0 -9462
  402. data/lib/jax/generators/app/templates/public/stylesheets/%file_name%.css.tt +0 -11
  403. data/lib/jax/generators/app/templates/public/webgl_not_supported.html +0 -26
  404. data/lib/jax/generators/app/templates/script/jax +0 -7
  405. data/lib/jax/generators/app/templates/spec/javascripts/controllers/application_controller_spec.js +0 -11
  406. data/lib/jax/generators/app/templates/spec/javascripts/helpers/application_helper_spec.js +0 -12
  407. data/lib/jax/generators/app/templates/spec/javascripts/support/jasmine.yml +0 -91
  408. data/lib/jax/generators/app/templates/spec/javascripts/support/jasmine_config.rb +0 -23
  409. data/lib/jax/generators/app/templates/spec/javascripts/support/jasmine_runner.rb +0 -32
  410. data/lib/jax/generators/app/templates/spec/javascripts/support/spec_layout.html.erb +0 -104
  411. data/lib/jax/generators/app.rb +0 -18
  412. data/lib/jax/generators/commands.rb +0 -220
  413. data/lib/jax/generators/controller/USAGE +0 -9
  414. data/lib/jax/generators/controller/controller_generator.rb +0 -66
  415. data/lib/jax/generators/controller/templates/controller_source.js.tt +0 -16
  416. data/lib/jax/generators/controller/templates/controller_test.js.tt +0 -11
  417. data/lib/jax/generators/controller/templates/helper.js.tt +0 -3
  418. data/lib/jax/generators/controller/templates/helper_test.js.tt +0 -12
  419. data/lib/jax/generators/interactions.rb +0 -56
  420. data/lib/jax/generators/light_source/USAGE +0 -14
  421. data/lib/jax/generators/light_source/light_source_generator.rb +0 -46
  422. data/lib/jax/generators/material/material_generator.rb +0 -80
  423. data/lib/jax/generators/material/templates/append.yml.tt +0 -7
  424. data/lib/jax/generators/model/USAGE +0 -5
  425. data/lib/jax/generators/model/model_generator.rb +0 -40
  426. data/lib/jax/generators/model/templates/model.js.tt +0 -11
  427. data/lib/jax/generators/model/templates/test.js.tt +0 -11
  428. data/lib/jax/generators/packager/package_generator.rb +0 -32
  429. data/lib/jax/generators/plugin/USAGE +0 -4
  430. data/lib/jax/generators/plugin/all.rb +0 -113
  431. data/lib/jax/generators/plugin/credentials.rb +0 -108
  432. data/lib/jax/generators/plugin/plugin_generator.rb +0 -72
  433. data/lib/jax/generators/plugin/plugin_manager.rb +0 -254
  434. data/lib/jax/generators/plugin/templates/new_plugin/config/routes.rb +0 -3
  435. data/lib/jax/generators/plugin/templates/new_plugin/spec/.empty_directory +0 -0
  436. data/lib/jax/generators/script_jax_loader.rb +0 -49
  437. data/lib/jax/generators/shader/USAGE +0 -4
  438. data/lib/jax/generators/shader/shader_generator.rb +0 -70
  439. data/lib/jax/monkeypatch/jasmine/config.rb +0 -45
  440. data/lib/jax/monkeypatch/jasmine/server.rb +0 -50
  441. data/lib/jax/monkeypatch/jasmine.rb +0 -3
  442. data/lib/jax/packager/sprockets_template.rb +0 -77
  443. data/lib/jax/packager.rb +0 -59
  444. data/lib/jax/plugin/manifest.rb +0 -71
  445. data/lib/jax/plugin.rb +0 -49
  446. data/lib/jax/resource_compiler.rb +0 -60
  447. data/lib/jax/routes.rb +0 -62
  448. data/lib/jax/tasks/rake.rb +0 -38
  449. data/spec/benchmark.htm +0 -93
  450. data/spec/generators/app_generator_test.rb +0 -42
  451. data/spec/generators/controller_generator_test.rb +0 -47
  452. data/spec/generators/light_generator_test.rb +0 -37
  453. data/spec/generators/material_generator_test.rb +0 -22
  454. data/spec/generators/model_generator_test.rb +0 -26
  455. data/spec/generators/plugin_generator_test.rb +0 -114
  456. data/spec/generators/plugin_manager/push_test.rb +0 -59
  457. data/spec/generators/plugin_manager_test.rb +0 -192
  458. data/spec/generators/shader_generator_test.rb +0 -38
  459. data/spec/javascripts/support/jasmine.yml +0 -85
  460. data/spec/javascripts/support/jasmine_runner.rb +0 -32
  461. data/spec/lib/jax/application_test.rb +0 -18
  462. data/spec/lib/jax/generators/plugin/credentials_test.rb +0 -72
  463. data/spec/lib/jax/packager_test.rb +0 -87
  464. data/spec/lib/jax/plugin_test.rb +0 -27
  465. data/spec/lib/jax/reloading_test.rb +0 -23
  466. data/spec/lib/jax/routes_test.rb +0 -28
  467. data/spec/lib/jax/shader_test.rb +0 -29
  468. data/spec/lib/jax/tasks/jax_rake_test.rb +0 -85
  469. data/spec/support/bases/generator_test_case.rb +0 -108
  470. data/spec/support/bases/isolated_test_case.rb +0 -148
  471. data/spec/support/file_exist_matcher.rb +0 -23
  472. data/spec/support/spec_shell.rb +0 -110
  473. data/spec/test_app.rb +0 -3
metadata CHANGED
@@ -1,203 +1,236 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jax
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0
4
5
  prerelease:
5
- version: 1.1.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Colin MacKenzie IV
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-09-08 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: rake
17
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2011-11-03 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &2153276260 !ruby/object:Gem::Requirement
18
17
  none: false
19
- requirements:
18
+ requirements:
20
19
  - - ~>
21
- - !ruby/object:Gem::Version
22
- version: 0.9.2
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *id001
26
- - !ruby/object:Gem::Dependency
27
- name: bundler
28
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2153276260
25
+ - !ruby/object:Gem::Dependency
26
+ name: jquery-rails
27
+ requirement: &2153273380 !ruby/object:Gem::Requirement
29
28
  none: false
30
- requirements:
29
+ requirements:
31
30
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 1.0.15
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.13
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
- name: thor
39
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2153273380
36
+ - !ruby/object:Gem::Dependency
37
+ name: jasmine
38
+ requirement: &2153272800 !ruby/object:Gem::Requirement
40
39
  none: false
41
- requirements:
40
+ requirements:
42
41
  - - ~>
43
- - !ruby/object:Gem::Version
44
- version: 0.14.6
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.2.0
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *id003
48
- - !ruby/object:Gem::Dependency
49
- name: jasmine
50
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2153272800
47
+ - !ruby/object:Gem::Dependency
48
+ name: rest-client
49
+ requirement: &2153272280 !ruby/object:Gem::Requirement
51
50
  none: false
52
- requirements:
51
+ requirements:
53
52
  - - ~>
54
- - !ruby/object:Gem::Version
55
- version: 1.0.2.0
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.3
56
55
  type: :runtime
57
56
  prerelease: false
58
- version_requirements: *id004
59
- - !ruby/object:Gem::Dependency
60
- name: railties
61
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2153272280
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ requirement: &2153271720 !ruby/object:Gem::Requirement
62
61
  none: false
63
- requirements:
62
+ requirements:
64
63
  - - ~>
65
- - !ruby/object:Gem::Version
66
- version: 3.0.8
67
- type: :runtime
64
+ - !ruby/object:Gem::Version
65
+ version: 2.6.0
66
+ type: :development
68
67
  prerelease: false
69
- version_requirements: *id005
70
- - !ruby/object:Gem::Dependency
71
- name: sprockets
72
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2153271720
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-rails
71
+ requirement: &2153271160 !ruby/object:Gem::Requirement
73
72
  none: false
74
- requirements:
73
+ requirements:
75
74
  - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 1.0.2
78
- type: :runtime
75
+ - !ruby/object:Gem::Version
76
+ version: 3.1.0
77
+ type: :development
79
78
  prerelease: false
80
- version_requirements: *id006
81
- - !ruby/object:Gem::Dependency
82
- name: rest-client
83
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2153271160
80
+ - !ruby/object:Gem::Dependency
81
+ name: coderay
82
+ requirement: &2153270600 !ruby/object:Gem::Requirement
84
83
  none: false
85
- requirements:
84
+ requirements:
86
85
  - - ~>
87
- - !ruby/object:Gem::Version
88
- version: 1.6.3
89
- type: :runtime
86
+ - !ruby/object:Gem::Version
87
+ version: 0.9.7
88
+ type: :development
90
89
  prerelease: false
91
- version_requirements: *id007
92
- - !ruby/object:Gem::Dependency
93
- name: minitar
94
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *2153270600
91
+ - !ruby/object:Gem::Dependency
92
+ name: sqlite3
93
+ requirement: &2153270020 !ruby/object:Gem::Requirement
95
94
  none: false
96
- requirements:
95
+ requirements:
97
96
  - - ~>
98
- - !ruby/object:Gem::Version
99
- version: 0.5.3
100
- type: :runtime
97
+ - !ruby/object:Gem::Version
98
+ version: 1.3.4
99
+ type: :development
101
100
  prerelease: false
102
- version_requirements: *id008
103
- - !ruby/object:Gem::Dependency
104
- name: coderay
105
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *2153270020
102
+ - !ruby/object:Gem::Dependency
103
+ name: sass-rails
104
+ requirement: &2153269420 !ruby/object:Gem::Requirement
106
105
  none: false
107
- requirements:
106
+ requirements:
108
107
  - - ~>
109
- - !ruby/object:Gem::Version
110
- version: 0.9.7
108
+ - !ruby/object:Gem::Version
109
+ version: 3.1.0
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *2153269420
113
+ - !ruby/object:Gem::Dependency
114
+ name: uglifier
115
+ requirement: &2153268860 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ~>
119
+ - !ruby/object:Gem::Version
120
+ version: 1.0.2
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *2153268860
124
+ - !ruby/object:Gem::Dependency
125
+ name: genspec
126
+ requirement: &2153268280 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.3
111
132
  type: :development
112
133
  prerelease: false
113
- version_requirements: *id009
114
- - !ruby/object:Gem::Dependency
134
+ version_requirements: *2153268280
135
+ - !ruby/object:Gem::Dependency
136
+ name: selenium-webdriver
137
+ requirement: &2153267700 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 2.9.1
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: *2153267700
146
+ - !ruby/object:Gem::Dependency
115
147
  name: fakeweb
116
- requirement: &id010 !ruby/object:Gem::Requirement
148
+ requirement: &2153267140 !ruby/object:Gem::Requirement
117
149
  none: false
118
- requirements:
150
+ requirements:
119
151
  - - ~>
120
- - !ruby/object:Gem::Version
152
+ - !ruby/object:Gem::Version
121
153
  version: 1.3.0
122
154
  type: :development
123
155
  prerelease: false
124
- version_requirements: *id010
125
- - !ruby/object:Gem::Dependency
156
+ version_requirements: *2153267140
157
+ - !ruby/object:Gem::Dependency
126
158
  name: ansi
127
- requirement: &id011 !ruby/object:Gem::Requirement
159
+ requirement: &2153266700 !ruby/object:Gem::Requirement
128
160
  none: false
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: "0"
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
133
165
  type: :development
134
166
  prerelease: false
135
- version_requirements: *id011
136
- - !ruby/object:Gem::Dependency
137
- name: turn
138
- requirement: &id012 !ruby/object:Gem::Requirement
167
+ version_requirements: *2153266700
168
+ - !ruby/object:Gem::Dependency
169
+ name: cucumber-rails
170
+ requirement: &2153266040 !ruby/object:Gem::Requirement
139
171
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: "0"
172
+ requirements:
173
+ - - ~>
174
+ - !ruby/object:Gem::Version
175
+ version: 1.0.2
144
176
  type: :development
145
177
  prerelease: false
146
- version_requirements: *id012
147
- - !ruby/object:Gem::Dependency
178
+ version_requirements: *2153266040
179
+ - !ruby/object:Gem::Dependency
148
180
  name: RedCloth
149
- requirement: &id013 !ruby/object:Gem::Requirement
181
+ requirement: &2153261800 !ruby/object:Gem::Requirement
150
182
  none: false
151
- requirements:
183
+ requirements:
152
184
  - - ~>
153
- - !ruby/object:Gem::Version
154
- version: "4.2"
185
+ - !ruby/object:Gem::Version
186
+ version: '4.2'
155
187
  type: :development
156
188
  prerelease: false
157
- version_requirements: *id013
158
- - !ruby/object:Gem::Dependency
189
+ version_requirements: *2153261800
190
+ - !ruby/object:Gem::Dependency
159
191
  name: w3c_validators
160
- requirement: &id014 !ruby/object:Gem::Requirement
192
+ requirement: &2153261320 !ruby/object:Gem::Requirement
161
193
  none: false
162
- requirements:
194
+ requirements:
163
195
  - - ~>
164
- - !ruby/object:Gem::Version
165
- version: 1.1.1
196
+ - !ruby/object:Gem::Version
197
+ version: '1.2'
166
198
  type: :development
167
199
  prerelease: false
168
- version_requirements: *id014
169
- - !ruby/object:Gem::Dependency
200
+ version_requirements: *2153261320
201
+ - !ruby/object:Gem::Dependency
170
202
  name: treetop
171
- requirement: &id015 !ruby/object:Gem::Requirement
203
+ requirement: &2153260780 !ruby/object:Gem::Requirement
172
204
  none: false
173
- requirements:
205
+ requirements:
174
206
  - - ~>
175
- - !ruby/object:Gem::Version
207
+ - !ruby/object:Gem::Version
176
208
  version: 1.4.9
177
209
  type: :development
178
210
  prerelease: false
179
- version_requirements: *id015
180
- - !ruby/object:Gem::Dependency
211
+ version_requirements: *2153260780
212
+ - !ruby/object:Gem::Dependency
181
213
  name: bluecloth
182
- requirement: &id016 !ruby/object:Gem::Requirement
214
+ requirement: &2153260280 !ruby/object:Gem::Requirement
183
215
  none: false
184
- requirements:
216
+ requirements:
185
217
  - - ~>
186
- - !ruby/object:Gem::Version
218
+ - !ruby/object:Gem::Version
187
219
  version: 2.0.11
188
220
  type: :development
189
221
  prerelease: false
190
- version_requirements: *id016
191
- description: Framework for creating rich WebGL-enabled applications using JavaScript and Ruby
192
- email:
222
+ version_requirements: *2153260280
223
+ description: ! "\n Framework for creating rich WebGL-enabled applications using
224
+ JavaScript and Ruby.\n Can be used stand-alone to create static JavaScript documents,
225
+ or integrated\n seamlessly with Ruby on Rails to build dynamic WebGL applications.\n
226
+ \ "
227
+ email:
193
228
  - sinisterchipmunk@gmail.com
194
- executables:
229
+ executables:
195
230
  - jax
196
231
  extensions: []
197
-
198
232
  extra_rdoc_files: []
199
-
200
- files:
233
+ files:
201
234
  - .gitignore
202
235
  - .gitmodules
203
236
  - .rvmrc
@@ -207,150 +240,199 @@ files:
207
240
  - LICENSE
208
241
  - README.md
209
242
  - Rakefile
243
+ - app/assets/javascripts/jax/controller-list.js.coffee
244
+ - app/assets/javascripts/jax/dom-helpers.js.coffee
245
+ - app/assets/javascripts/jax/jasmine_runner.js
246
+ - app/assets/javascripts/jax/runtime.js
247
+ - app/assets/javascripts/jax/shader_editor.js.coffee
248
+ - app/assets/stylesheets/jax/controller-list.css
249
+ - app/assets/stylesheets/jax/jasmine.css
250
+ - app/assets/stylesheets/jax/nav.css
251
+ - app/assets/stylesheets/jax/runtime.css
252
+ - app/assets/stylesheets/jax/shader_editor.css
253
+ - app/assets/stylesheets/jax/suite.css
254
+ - app/controllers/jax/suite_controller.rb
255
+ - app/views/jax/suite/jasmine.html.erb
256
+ - app/views/jax/suite/run_webgl.html.erb
257
+ - app/views/jax/suite/shader_editor.html.erb
258
+ - app/views/layouts/jax.html.erb
210
259
  - bin/jax
211
- - builtin/app/shaders/basic/common.ejs
212
- - builtin/app/shaders/basic/fragment.ejs
213
- - builtin/app/shaders/basic/vertex.ejs
214
- - builtin/app/shaders/depthmap/common.ejs
215
- - builtin/app/shaders/depthmap/fragment.ejs
216
- - builtin/app/shaders/depthmap/material.js
217
- - builtin/app/shaders/depthmap/vertex.ejs
218
- - builtin/app/shaders/fog/common.ejs
219
- - builtin/app/shaders/fog/fragment.ejs
220
- - builtin/app/shaders/fog/manifest.yml
221
- - builtin/app/shaders/fog/material.js
222
- - builtin/app/shaders/fog/vertex.ejs
223
- - builtin/app/shaders/functions/depth_map.ejs
224
- - builtin/app/shaders/functions/lights.ejs
225
- - builtin/app/shaders/functions/noise.ejs
226
- - builtin/app/shaders/lighting/common.ejs
227
- - builtin/app/shaders/lighting/fragment.ejs
228
- - builtin/app/shaders/lighting/manifest.yml
229
- - builtin/app/shaders/lighting/material.js
230
- - builtin/app/shaders/lighting/vertex.ejs
231
- - builtin/app/shaders/normal_map/common.ejs
232
- - builtin/app/shaders/normal_map/fragment.ejs
233
- - builtin/app/shaders/normal_map/manifest.yml
234
- - builtin/app/shaders/normal_map/material.js
235
- - builtin/app/shaders/normal_map/vertex.ejs
236
- - builtin/app/shaders/paraboloid/common.ejs
237
- - builtin/app/shaders/paraboloid/fragment.ejs
238
- - builtin/app/shaders/paraboloid/manifest.yml
239
- - builtin/app/shaders/paraboloid/material.js
240
- - builtin/app/shaders/paraboloid/vertex.ejs
241
- - builtin/app/shaders/picking/common.ejs
242
- - builtin/app/shaders/picking/fragment.ejs
243
- - builtin/app/shaders/picking/material.js
244
- - builtin/app/shaders/picking/vertex.ejs
245
- - builtin/app/shaders/shadow_map/common.ejs
246
- - builtin/app/shaders/shadow_map/fragment.ejs
247
- - builtin/app/shaders/shadow_map/manifest.yml
248
- - builtin/app/shaders/shadow_map/material.js
249
- - builtin/app/shaders/shadow_map/vertex.ejs
250
- - builtin/app/shaders/texture/common.ejs
251
- - builtin/app/shaders/texture/fragment.ejs
252
- - builtin/app/shaders/texture/manifest.yml
253
- - builtin/app/shaders/texture/material.js
254
- - builtin/app/shaders/texture/vertex.ejs
255
- - jax.gems
260
+ - config.ru
261
+ - config/routes.rb
262
+ - features/rails/resources.feature
263
+ - features/rails/shaders.feature
264
+ - features/rails/specs.feature
265
+ - features/runtime.feature
266
+ - features/step_definitions/environment_steps.rb
267
+ - features/step_definitions/response_steps.rb
268
+ - features/step_definitions/runtime.rb
269
+ - features/step_definitions/web_steps.rb
270
+ - features/support/env.rb
271
+ - features/support/paths.rb
272
+ - features/support/rails_environment.rb
273
+ - features/support/selectors.rb
274
+ - features/support/setup.rb
256
275
  - jax.gemspec
276
+ - lib/assets/javascripts/jax.js
277
+ - lib/assets/javascripts/jax/anim_frame.js
278
+ - lib/assets/javascripts/jax/application.js
279
+ - lib/assets/javascripts/jax/builtin/all.js
280
+ - lib/assets/javascripts/jax/builtin/meshes/cube.js
281
+ - lib/assets/javascripts/jax/builtin/meshes/plane.js
282
+ - lib/assets/javascripts/jax/builtin/meshes/quad.js
283
+ - lib/assets/javascripts/jax/builtin/meshes/sphere.js
284
+ - lib/assets/javascripts/jax/builtin/meshes/teapot.js
285
+ - lib/assets/javascripts/jax/builtin/meshes/torus.js
286
+ - lib/assets/javascripts/jax/compatibility.js
287
+ - lib/assets/javascripts/jax/context.js
288
+ - lib/assets/javascripts/jax/core.js
289
+ - lib/assets/javascripts/jax/core/base.js
290
+ - lib/assets/javascripts/jax/core/glMatrix_ext/mat3.js
291
+ - lib/assets/javascripts/jax/core/glMatrix_ext/mat4.js
292
+ - lib/assets/javascripts/jax/core/glMatrix_ext/quat4.js
293
+ - lib/assets/javascripts/jax/core/glMatrix_ext/vec2.js
294
+ - lib/assets/javascripts/jax/core/glMatrix_ext/vec3.js
295
+ - lib/assets/javascripts/jax/core/glMatrix_ext/vec4.js
296
+ - lib/assets/javascripts/jax/core/helper.js
297
+ - lib/assets/javascripts/jax/core/math.js
298
+ - lib/assets/javascripts/jax/core/matrix_stack.js
299
+ - lib/assets/javascripts/jax/core/util.js
300
+ - lib/assets/javascripts/jax/events.js
301
+ - lib/assets/javascripts/jax/geometry.js
302
+ - lib/assets/javascripts/jax/geometry/line.js
303
+ - lib/assets/javascripts/jax/geometry/plane.js
304
+ - lib/assets/javascripts/jax/geometry/triangle.js
305
+ - lib/assets/javascripts/jax/geometry/triangle/inliner.rb
306
+ - lib/assets/javascripts/jax/geometry/triangle/slow_tri_tri_intersect.js
307
+ - lib/assets/javascripts/jax/geometry/triangle/tri_tri_intersect.js
308
+ - lib/assets/javascripts/jax/geometry/triangle/tri_tri_intersect_optimized.js
309
+ - lib/assets/javascripts/jax/mvc/controller.js
310
+ - lib/assets/javascripts/jax/mvc/model.js
311
+ - lib/assets/javascripts/jax/mvc/route_set.js
312
+ - lib/assets/javascripts/jax/mvc/view.js
313
+ - lib/assets/javascripts/jax/mvc/view_manager.js
314
+ - lib/assets/javascripts/jax/noise.js
315
+ - lib/assets/javascripts/jax/prototype/class.js
316
+ - lib/assets/javascripts/jax/prototype/core.js
317
+ - lib/assets/javascripts/jax/prototype/extensions.js
318
+ - lib/assets/javascripts/jax/vendor/ejs.js
319
+ - lib/assets/javascripts/jax/vendor/glMatrix.js
320
+ - lib/assets/javascripts/jax/webgl.js
321
+ - lib/assets/javascripts/jax/webgl/camera.js
322
+ - lib/assets/javascripts/jax/webgl/cleanup.js
323
+ - lib/assets/javascripts/jax/webgl/core.js
324
+ - lib/assets/javascripts/jax/webgl/core/buffer.js
325
+ - lib/assets/javascripts/jax/webgl/core/data_region.js
326
+ - lib/assets/javascripts/jax/webgl/core/data_segment.js
327
+ - lib/assets/javascripts/jax/webgl/core/events.js
328
+ - lib/assets/javascripts/jax/webgl/core/framebuffer.js
329
+ - lib/assets/javascripts/jax/webgl/material.js
330
+ - lib/assets/javascripts/jax/webgl/mesh.js
331
+ - lib/assets/javascripts/jax/webgl/mesh/normals.js
332
+ - lib/assets/javascripts/jax/webgl/mesh/support.js
333
+ - lib/assets/javascripts/jax/webgl/mesh/tangent_space.js
334
+ - lib/assets/javascripts/jax/webgl/scene.js
335
+ - lib/assets/javascripts/jax/webgl/scene/frustum.js
336
+ - lib/assets/javascripts/jax/webgl/scene/light_manager.js
337
+ - lib/assets/javascripts/jax/webgl/scene/light_source.js
338
+ - lib/assets/javascripts/jax/webgl/shader.js
339
+ - lib/assets/javascripts/jax/webgl/shader/delegator.js
340
+ - lib/assets/javascripts/jax/webgl/shader/delegator/attribute.js
341
+ - lib/assets/javascripts/jax/webgl/shader/delegator/uniform.js
342
+ - lib/assets/javascripts/jax/webgl/shader/manifest.js
343
+ - lib/assets/javascripts/jax/webgl/shader/program.js
344
+ - lib/assets/javascripts/jax/webgl/shader_chain.js
345
+ - lib/assets/javascripts/jax/webgl/texture.js
346
+ - lib/assets/javascripts/jax/webgl/world.js
347
+ - lib/assets/javascripts/shaders/basic/common.glsl
348
+ - lib/assets/javascripts/shaders/basic/fragment.glsl
349
+ - lib/assets/javascripts/shaders/basic/vertex.glsl
350
+ - lib/assets/javascripts/shaders/depthmap/common.glsl
351
+ - lib/assets/javascripts/shaders/depthmap/fragment.glsl
352
+ - lib/assets/javascripts/shaders/depthmap/material.js
353
+ - lib/assets/javascripts/shaders/depthmap/vertex.glsl
354
+ - lib/assets/javascripts/shaders/fog/common.glsl
355
+ - lib/assets/javascripts/shaders/fog/fragment.glsl
356
+ - lib/assets/javascripts/shaders/fog/manifest.yml
357
+ - lib/assets/javascripts/shaders/fog/material.js
358
+ - lib/assets/javascripts/shaders/fog/vertex.glsl
359
+ - lib/assets/javascripts/shaders/functions/depth_map.glsl
360
+ - lib/assets/javascripts/shaders/functions/lights.glsl
361
+ - lib/assets/javascripts/shaders/functions/noise.glsl
362
+ - lib/assets/javascripts/shaders/lighting/common.glsl
363
+ - lib/assets/javascripts/shaders/lighting/fragment.glsl
364
+ - lib/assets/javascripts/shaders/lighting/manifest.yml
365
+ - lib/assets/javascripts/shaders/lighting/material.js
366
+ - lib/assets/javascripts/shaders/lighting/vertex.glsl
367
+ - lib/assets/javascripts/shaders/normal_map/common.glsl
368
+ - lib/assets/javascripts/shaders/normal_map/fragment.glsl
369
+ - lib/assets/javascripts/shaders/normal_map/manifest.yml
370
+ - lib/assets/javascripts/shaders/normal_map/material.js
371
+ - lib/assets/javascripts/shaders/normal_map/vertex.glsl
372
+ - lib/assets/javascripts/shaders/paraboloid/common.glsl
373
+ - lib/assets/javascripts/shaders/paraboloid/fragment.glsl
374
+ - lib/assets/javascripts/shaders/paraboloid/manifest.yml
375
+ - lib/assets/javascripts/shaders/paraboloid/material.js
376
+ - lib/assets/javascripts/shaders/paraboloid/vertex.glsl
377
+ - lib/assets/javascripts/shaders/picking/common.glsl
378
+ - lib/assets/javascripts/shaders/picking/fragment.glsl
379
+ - lib/assets/javascripts/shaders/picking/material.js
380
+ - lib/assets/javascripts/shaders/picking/vertex.glsl
381
+ - lib/assets/javascripts/shaders/shadow_map/common.glsl
382
+ - lib/assets/javascripts/shaders/shadow_map/fragment.glsl
383
+ - lib/assets/javascripts/shaders/shadow_map/manifest.yml
384
+ - lib/assets/javascripts/shaders/shadow_map/material.js
385
+ - lib/assets/javascripts/shaders/shadow_map/vertex.glsl
386
+ - lib/assets/javascripts/shaders/texture/common.glsl
387
+ - lib/assets/javascripts/shaders/texture/fragment.glsl
388
+ - lib/assets/javascripts/shaders/texture/manifest.yml
389
+ - lib/assets/javascripts/shaders/texture/material.js
390
+ - lib/assets/javascripts/shaders/texture/vertex.glsl
391
+ - lib/generators/jax/all.rb
392
+ - lib/generators/jax/application/application_generator.rb
393
+ - lib/generators/jax/base/actions.rb
394
+ - lib/generators/jax/base/coffee_generator.rb
395
+ - lib/generators/jax/base/named_base.rb
396
+ - lib/generators/jax/base/plugin_base.rb
397
+ - lib/generators/jax/base/plugin_credentials.rb
398
+ - lib/generators/jax/base/plugin_manifest.rb
399
+ - lib/generators/jax/base/rails_base.rb
400
+ - lib/generators/jax/base/source_root.rb
401
+ - lib/generators/jax/controller/controller_generator.rb
402
+ - lib/generators/jax/helper/helper_generator.rb
403
+ - lib/generators/jax/install/install_generator.rb
404
+ - lib/generators/jax/jax_generator.rb
405
+ - lib/generators/jax/light/light_generator.rb
406
+ - lib/generators/jax/material/USAGE
407
+ - lib/generators/jax/material/material_generator.rb
408
+ - lib/generators/jax/model/model_generator.rb
409
+ - lib/generators/jax/plugin/plugin_generator.rb
410
+ - lib/generators/jax/scaffold/scaffold_generator.rb
411
+ - lib/generators/jax/shader/shader_generator.rb
257
412
  - lib/jax.rb
258
- - lib/jax/application.rb
259
- - lib/jax/application/builtin.rb
260
- - lib/jax/application/builtin/configurable.rb
261
- - lib/jax/application/builtin/configuration.rb
262
- - lib/jax/application/configurable.rb
263
- - lib/jax/application/configuration.rb
264
- - lib/jax/application/railties.rb
265
- - lib/jax/core_ext/kernel.rb
413
+ - lib/jax/commands.rb
414
+ - lib/jax/commands/plugin_manager.rb
415
+ - lib/jax/configuration.rb
416
+ - lib/jax/directive_processor.rb
266
417
  - lib/jax/engine.rb
267
- - lib/jax/engine/configurable.rb
268
- - lib/jax/engine/configuration.rb
269
- - lib/jax/generators/app.rb
270
- - lib/jax/generators/app/app_generator.rb
271
- - lib/jax/generators/app/templates/Gemfile.tt
272
- - lib/jax/generators/app/templates/Rakefile
273
- - lib/jax/generators/app/templates/app/controllers/application_controller.js.tt
274
- - lib/jax/generators/app/templates/app/helpers/application_helper.js.tt
275
- - lib/jax/generators/app/templates/app/models/.empty_directory
276
- - lib/jax/generators/app/templates/app/resources/.empty_directory
277
- - lib/jax/generators/app/templates/app/views/.empty_directory
278
- - lib/jax/generators/app/templates/config/application.rb.tt
279
- - lib/jax/generators/app/templates/config/boot.rb
280
- - lib/jax/generators/app/templates/config/environment.rb.tt
281
- - lib/jax/generators/app/templates/config/routes.rb.tt
282
- - lib/jax/generators/app/templates/public/index.html.tt
283
- - lib/jax/generators/app/templates/public/javascripts/jax.js
284
- - lib/jax/generators/app/templates/public/stylesheets/%file_name%.css.tt
285
- - lib/jax/generators/app/templates/public/webgl_not_supported.html
286
- - lib/jax/generators/app/templates/script/jax
287
- - lib/jax/generators/app/templates/spec/javascripts/controllers/application_controller_spec.js
288
- - lib/jax/generators/app/templates/spec/javascripts/helpers/application_helper_spec.js
289
- - lib/jax/generators/app/templates/spec/javascripts/support/jasmine.yml
290
- - lib/jax/generators/app/templates/spec/javascripts/support/jasmine_config.rb
291
- - lib/jax/generators/app/templates/spec/javascripts/support/jasmine_runner.rb
292
- - lib/jax/generators/app/templates/spec/javascripts/support/spec_helpers/jax_spec_environment_helper.js
293
- - lib/jax/generators/app/templates/spec/javascripts/support/spec_helpers/jax_spec_helper.js
294
- - lib/jax/generators/app/templates/spec/javascripts/support/spec_layout.html.erb
295
- - lib/jax/generators/commands.rb
296
- - lib/jax/generators/controller/USAGE
297
- - lib/jax/generators/controller/controller_generator.rb
298
- - lib/jax/generators/controller/templates/controller_source.js.tt
299
- - lib/jax/generators/controller/templates/controller_test.js.tt
300
- - lib/jax/generators/controller/templates/helper.js.tt
301
- - lib/jax/generators/controller/templates/helper_test.js.tt
302
- - lib/jax/generators/controller/templates/view.js.tt
303
- - lib/jax/generators/interactions.rb
304
- - lib/jax/generators/light_source/USAGE
305
- - lib/jax/generators/light_source/light_source_generator.rb
306
- - lib/jax/generators/light_source/templates/light.yml.tt
307
- - lib/jax/generators/material/USAGE
308
- - lib/jax/generators/material/material_generator.rb
309
- - lib/jax/generators/material/templates/append.yml.tt
310
- - lib/jax/generators/material/templates/material.yml.tt
311
- - lib/jax/generators/model/USAGE
312
- - lib/jax/generators/model/model_generator.rb
313
- - lib/jax/generators/model/templates/model.js.tt
314
- - lib/jax/generators/model/templates/test.js.tt
315
- - lib/jax/generators/packager/package_generator.rb
316
- - lib/jax/generators/plugin/USAGE
317
- - lib/jax/generators/plugin/all.rb
318
- - lib/jax/generators/plugin/credentials.rb
319
- - lib/jax/generators/plugin/plugin_generator.rb
320
- - lib/jax/generators/plugin/plugin_manager.rb
321
- - lib/jax/generators/plugin/templates/new_plugin/app/controllers/.empty_directory
322
- - lib/jax/generators/plugin/templates/new_plugin/app/helpers/.empty_directory
323
- - lib/jax/generators/plugin/templates/new_plugin/app/models/.empty_directory
324
- - lib/jax/generators/plugin/templates/new_plugin/app/resources/.empty_directory
325
- - lib/jax/generators/plugin/templates/new_plugin/app/views/.empty_directory
326
- - lib/jax/generators/plugin/templates/new_plugin/config/routes.rb
327
- - lib/jax/generators/plugin/templates/new_plugin/init.rb
328
- - lib/jax/generators/plugin/templates/new_plugin/install.rb
329
- - lib/jax/generators/plugin/templates/new_plugin/public/.empty_directory
330
- - lib/jax/generators/plugin/templates/new_plugin/spec/.empty_directory
331
- - lib/jax/generators/plugin/templates/new_plugin/uninstall.rb
332
- - lib/jax/generators/script_jax_loader.rb
333
- - lib/jax/generators/shader/USAGE
334
- - lib/jax/generators/shader/shader_generator.rb
335
- - lib/jax/generators/shader/templates/common.ejs.tt
336
- - lib/jax/generators/shader/templates/fragment.ejs.tt
337
- - lib/jax/generators/shader/templates/manifest.yml.tt
338
- - lib/jax/generators/shader/templates/material.js.tt
339
- - lib/jax/generators/shader/templates/spec.js.tt
340
- - lib/jax/generators/shader/templates/vertex.ejs.tt
341
- - lib/jax/monkeypatch/jasmine.rb
342
- - lib/jax/monkeypatch/jasmine/config.rb
343
- - lib/jax/monkeypatch/jasmine/server.rb
344
- - lib/jax/packager.rb
345
- - lib/jax/packager/sprockets_template.rb
346
- - lib/jax/plugin.rb
347
- - lib/jax/plugin/manifest.rb
348
- - lib/jax/resource_compiler.rb
349
- - lib/jax/routes.rb
418
+ - lib/jax/helper_methods.rb
419
+ - lib/jax/rails/application.rb
420
+ - lib/jax/resource_file.rb
421
+ - lib/jax/script_loader.rb
422
+ - lib/jax/server.rb
350
423
  - lib/jax/shader.rb
351
- - lib/jax/tasks/rake.rb
424
+ - lib/jax/testing/rails_environment.rb
425
+ - lib/jax/util.rb
426
+ - lib/jax/util/tar.rb
352
427
  - lib/jax/version.rb
353
- - spec/benchmark.htm
428
+ - spec/bin/jax_spec.rb
429
+ - spec/fixtures/public/favicon.ico
430
+ - spec/fixtures/public/textures/brickwall.jpg
431
+ - spec/fixtures/public/textures/jacks.jpg
432
+ - spec/fixtures/public/textures/normal_map.jpg
433
+ - spec/fixtures/public/textures/rock.png
434
+ - spec/fixtures/public/textures/rock_normal.png
435
+ - spec/fixtures/public/textures/rss.png
354
436
  - spec/fixtures/web/plugins/404.http
355
437
  - spec/fixtures/web/plugins/all.xml
356
438
  - spec/fixtures/web/plugins/author/create_account.xml.http
@@ -365,67 +447,238 @@ files:
365
447
  - spec/fixtures/web/plugins/vert.xml
366
448
  - spec/fixtures/web/plugins/vertex-blob.xml
367
449
  - spec/fixtures/web/plugins/vertex-height-map.xml
368
- - spec/generators/app_generator_test.rb
369
- - spec/generators/controller_generator_test.rb
370
- - spec/generators/light_generator_test.rb
371
- - spec/generators/material_generator_test.rb
372
- - spec/generators/model_generator_test.rb
373
- - spec/generators/plugin_generator_test.rb
374
- - spec/generators/plugin_manager/push_test.rb
375
- - spec/generators/plugin_manager_test.rb
376
- - spec/generators/shader_generator_test.rb
377
- - spec/javascripts/support/jasmine.yml
378
- - spec/javascripts/support/jasmine_runner.rb
379
- - spec/lib/jax/application_test.rb
380
- - spec/lib/jax/generators/plugin/credentials_test.rb
381
- - spec/lib/jax/packager_test.rb
382
- - spec/lib/jax/plugin_test.rb
383
- - spec/lib/jax/reloading_test.rb
384
- - spec/lib/jax/routes_test.rb
385
- - spec/lib/jax/shader_test.rb
386
- - spec/lib/jax/tasks/jax_rake_test.rb
387
- - spec/support/bases/generator_test_case.rb
388
- - spec/support/bases/isolated_test_case.rb
389
- - spec/support/file_exist_matcher.rb
450
+ - spec/generators/jax/application_generator_spec.rb
451
+ - spec/generators/jax/controller_generator_spec.rb
452
+ - spec/generators/jax/helper_generator_spec.rb
453
+ - spec/generators/jax/install_generator_spec.rb
454
+ - spec/generators/jax/jax_generator_spec.rb
455
+ - spec/generators/jax/light_generator_spec.rb
456
+ - spec/generators/jax/material_generator_spec.rb
457
+ - spec/generators/jax/model_generator_spec.rb
458
+ - spec/generators/jax/plugin_generator_spec.rb
459
+ - spec/generators/jax/scaffold_generator_spec.rb
460
+ - spec/generators/jax/shader_generator_spec.rb
461
+ - spec/javascripts/helpers/jasmine_webgl_helper.js
462
+ - spec/javascripts/helpers/jax_spec_environment_helper.js
463
+ - spec/javascripts/helpers/jax_spec_helper.js
464
+ - spec/javascripts/jax/builtin/meshes/cube_spec.js
465
+ - spec/javascripts/jax/builtin/meshes/plane_spec.js
466
+ - spec/javascripts/jax/builtin/meshes/quad_spec.js
467
+ - spec/javascripts/jax/builtin/meshes/sphere_spec.js
468
+ - spec/javascripts/jax/builtin/meshes/teapot_spec.js
469
+ - spec/javascripts/jax/builtin/meshes/torus_spec.js
470
+ - spec/javascripts/jax/compatibility_spec.js
471
+ - spec/javascripts/jax/context_events_spec.js
472
+ - spec/javascripts/jax/context_spec.js
473
+ - spec/javascripts/jax/core/data_region_spec.js
474
+ - spec/javascripts/jax/core/data_segment_spec.js
475
+ - spec/javascripts/jax/core/delegation_spec.js
476
+ - spec/javascripts/jax/core/events_spec.js
477
+ - spec/javascripts/jax/core/glMatrix_extensions_spec.js
478
+ - spec/javascripts/jax/core/helper_spec.js
479
+ - spec/javascripts/jax/core/matrix_stack_spec.js
480
+ - spec/javascripts/jax/core/utils_spec.js
481
+ - spec/javascripts/jax/geometry/line_spec.js
482
+ - spec/javascripts/jax/geometry/plane_spec.js
483
+ - spec/javascripts/jax/geometry/triangle_spec.js
484
+ - spec/javascripts/jax/mvc/controller_spec.js
485
+ - spec/javascripts/jax/mvc/model_spec.js
486
+ - spec/javascripts/jax/mvc/route_set_spec.js
487
+ - spec/javascripts/jax/mvc/view_manager_spec.js
488
+ - spec/javascripts/jax/noise_spec.js
489
+ - spec/javascripts/jax/optimizations/material_limitations_spec.js
490
+ - spec/javascripts/jax/optimizations/shaders/basic_spec.js
491
+ - spec/javascripts/jax/prototype/extensions_spec.js
492
+ - spec/javascripts/jax/webgl/camera_spec.js
493
+ - spec/javascripts/jax/webgl/core/events_spec.js
494
+ - spec/javascripts/jax/webgl/framebuffer_spec.js
495
+ - spec/javascripts/jax/webgl/lighting_spec.js
496
+ - spec/javascripts/jax/webgl/material_spec.js
497
+ - spec/javascripts/jax/webgl/mesh_spec.js
498
+ - spec/javascripts/jax/webgl/shader/manifest_spec.js
499
+ - spec/javascripts/jax/webgl/shader_chain_spec.js
500
+ - spec/javascripts/jax/webgl/shader_spec.js
501
+ - spec/javascripts/jax/webgl/tangent_space_spec.js
502
+ - spec/javascripts/jax/webgl/texture_spec.js
503
+ - spec/javascripts/jax/webgl_spec.js
504
+ - spec/javascripts/jax/world_spec.js
505
+ - spec/javascripts/jax_spec.js
506
+ - spec/javascripts/node/mocks/webgl.js
507
+ - spec/javascripts/node_helper.js
508
+ - spec/javascripts/shaders/core_materials_spec.js
509
+ - spec/javascripts/shaders/fog_spec.js
510
+ - spec/javascripts/shaders/lighting_spec.js
511
+ - spec/javascripts/shaders/normal_map_spec.js
512
+ - spec/javascripts/shaders/paraboloid_spec.js
513
+ - spec/javascripts/shaders/preprocessor_spec.js
514
+ - spec/javascripts/shaders/shadow_map_spec.js
515
+ - spec/javascripts/shaders/texture_spec.js
516
+ - spec/javascripts/suite/controller_select_spec.js.coffee
517
+ - spec/lib/jax/commands/plugin_manager/credentials_spec.rb
518
+ - spec/lib/jax/commands/plugin_manager/push_spec.rb
519
+ - spec/lib/jax/commands/plugin_manager_spec.rb
520
+ - spec/lib/jax/rails/application_spec.rb
521
+ - spec/lib/jax/shader_spec.rb
522
+ - spec/lib/jax/util/tar_spec.rb
523
+ - spec/spec_helper.rb
390
524
  - spec/support/fixtures_helper.rb
391
- - spec/support/spec_shell.rb
392
- - spec/test_app.rb
393
- - spec/test_helper.rb
525
+ - spec/support/test_model_generator.rb
526
+ - templates/app/Gemfile.tt
527
+ - templates/app/Rakefile
528
+ - templates/app/config.ru
529
+ - templates/app/config/application.rb
530
+ - templates/app/config/boot.rb
531
+ - templates/app/config/environment.rb
532
+ - templates/app/config/environments/production.rb
533
+ - templates/app/public/.empty_directory
534
+ - templates/app/script/jax
535
+ - templates/app/spec/.empty_directory
536
+ - templates/application_controller.js.coffee.erb
537
+ - templates/application_controller.js.erb
538
+ - templates/application_helper.js.coffee.erb
539
+ - templates/application_helper.js.erb
540
+ - templates/controller.js.coffee.erb
541
+ - templates/controller.js.erb
542
+ - templates/controller_spec.js.coffee.erb
543
+ - templates/controller_spec.js.erb
544
+ - templates/helper.js.coffee.erb
545
+ - templates/helper.js.erb
546
+ - templates/helper_spec.js.coffee.erb
547
+ - templates/helper_spec.js.erb
548
+ - templates/light_source.resource.erb
549
+ - templates/material.resource.erb
550
+ - templates/model.js.coffee.erb
551
+ - templates/model.js.erb
552
+ - templates/model_defaults.resource.erb
553
+ - templates/model_spec.js.coffee.erb
554
+ - templates/model_spec.js.erb
555
+ - templates/new_plugin/app/assets/jax/controllers/.empty_directory
556
+ - templates/new_plugin/app/assets/jax/helpers/.empty_directory
557
+ - templates/new_plugin/app/assets/jax/models/.empty_directory
558
+ - templates/new_plugin/app/assets/jax/resources/.empty_directory
559
+ - templates/new_plugin/app/assets/jax/views/.empty_directory
560
+ - templates/new_plugin/init.rb
561
+ - templates/new_plugin/install.rb
562
+ - templates/new_plugin/spec/.empty_directory
563
+ - templates/new_plugin/uninstall.rb
564
+ - templates/shader_common.glsl.erb
565
+ - templates/shader_fragment.glsl.erb
566
+ - templates/shader_manifest.yml.erb
567
+ - templates/shader_material.js.coffee.erb
568
+ - templates/shader_material.js.erb
569
+ - templates/shader_spec.js.coffee.erb
570
+ - templates/shader_spec.js.erb
571
+ - templates/shader_vertex.glsl.erb
572
+ - templates/view.js.coffee.erb
573
+ - templates/view.js.erb
574
+ - vendor/assets/javascripts/ejs.js
575
+ - vendor/assets/javascripts/glMatrix.js
576
+ - vendor/assets/javascripts/jasmine.js
577
+ - vendor/assets/stylesheets/jasmine.css
578
+ - vendor/pdoc_template/html/assets/images/pdoc/alias.png
579
+ - vendor/pdoc_template/html/assets/images/pdoc/class.png
580
+ - vendor/pdoc_template/html/assets/images/pdoc/class_deprecated.png
581
+ - vendor/pdoc_template/html/assets/images/pdoc/class_method.png
582
+ - vendor/pdoc_template/html/assets/images/pdoc/class_property.png
583
+ - vendor/pdoc_template/html/assets/images/pdoc/constant.png
584
+ - vendor/pdoc_template/html/assets/images/pdoc/constructor.png
585
+ - vendor/pdoc_template/html/assets/images/pdoc/deprecated.png
586
+ - vendor/pdoc_template/html/assets/images/pdoc/description.png
587
+ - vendor/pdoc_template/html/assets/images/pdoc/information.png
588
+ - vendor/pdoc_template/html/assets/images/pdoc/instance_method.png
589
+ - vendor/pdoc_template/html/assets/images/pdoc/instance_property.png
590
+ - vendor/pdoc_template/html/assets/images/pdoc/method.png
591
+ - vendor/pdoc_template/html/assets/images/pdoc/method_deprecated.png
592
+ - vendor/pdoc_template/html/assets/images/pdoc/mixin.png
593
+ - vendor/pdoc_template/html/assets/images/pdoc/namespace.png
594
+ - vendor/pdoc_template/html/assets/images/pdoc/property.png
595
+ - vendor/pdoc_template/html/assets/images/pdoc/related_to.png
596
+ - vendor/pdoc_template/html/assets/images/pdoc/search-background.png
597
+ - vendor/pdoc_template/html/assets/images/pdoc/section-background.png
598
+ - vendor/pdoc_template/html/assets/images/pdoc/section.png
599
+ - vendor/pdoc_template/html/assets/images/pdoc/selected-section-background.png
600
+ - vendor/pdoc_template/html/assets/images/pdoc/subclass.png
601
+ - vendor/pdoc_template/html/assets/images/pdoc/superclass.png
602
+ - vendor/pdoc_template/html/assets/images/pdoc/utility.png
603
+ - vendor/pdoc_template/html/assets/javascripts/pdoc/application.js
604
+ - vendor/pdoc_template/html/assets/javascripts/pdoc/prototype.js
605
+ - vendor/pdoc_template/html/assets/javascripts/pdoc/tabs.js
606
+ - vendor/pdoc_template/html/assets/stylesheets/jax.css
607
+ - vendor/pdoc_template/html/assets/stylesheets/pdoc/api.css
608
+ - vendor/pdoc_template/html/assets/stylesheets/pdoc/pygments.css
609
+ - vendor/pdoc_template/html/helpers.rb
610
+ - vendor/pdoc_template/html/index.erb
611
+ - vendor/pdoc_template/html/item_index.js.erb
612
+ - vendor/pdoc_template/html/layout.erb
613
+ - vendor/pdoc_template/html/leaf.erb
614
+ - vendor/pdoc_template/html/node.erb
615
+ - vendor/pdoc_template/html/partials/class_relationships.erb
616
+ - vendor/pdoc_template/html/partials/classes.erb
617
+ - vendor/pdoc_template/html/partials/constructor.erb
618
+ - vendor/pdoc_template/html/partials/description.erb
619
+ - vendor/pdoc_template/html/partials/link_list.erb
620
+ - vendor/pdoc_template/html/partials/method_signatures.erb
621
+ - vendor/pdoc_template/html/partials/methodized_note.erb
622
+ - vendor/pdoc_template/html/partials/mixins.erb
623
+ - vendor/pdoc_template/html/partials/namespaces.erb
624
+ - vendor/pdoc_template/html/partials/related_utilities.erb
625
+ - vendor/pdoc_template/html/partials/relationships.erb
626
+ - vendor/pdoc_template/html/partials/short_description_list.erb
627
+ - vendor/pdoc_template/html/partials/title.erb
628
+ - vendor/pdoc_template/html/section.erb
394
629
  homepage: http://jaxgl.com
395
630
  licenses: []
396
-
397
631
  post_install_message:
398
632
  rdoc_options: []
399
-
400
- require_paths:
633
+ require_paths:
401
634
  - lib
402
- required_ruby_version: !ruby/object:Gem::Requirement
635
+ required_ruby_version: !ruby/object:Gem::Requirement
403
636
  none: false
404
- requirements:
405
- - - ">="
406
- - !ruby/object:Gem::Version
407
- hash: -263043828299151632
408
- segments:
637
+ requirements:
638
+ - - ! '>='
639
+ - !ruby/object:Gem::Version
640
+ version: '0'
641
+ segments:
409
642
  - 0
410
- version: "0"
411
- required_rubygems_version: !ruby/object:Gem::Requirement
643
+ hash: 3865866395311177846
644
+ required_rubygems_version: !ruby/object:Gem::Requirement
412
645
  none: false
413
- requirements:
414
- - - ">="
415
- - !ruby/object:Gem::Version
416
- hash: -263043828299151632
417
- segments:
646
+ requirements:
647
+ - - ! '>='
648
+ - !ruby/object:Gem::Version
649
+ version: '0'
650
+ segments:
418
651
  - 0
419
- version: "0"
652
+ hash: 3865866395311177846
420
653
  requirements: []
421
-
422
654
  rubyforge_project: jax
423
- rubygems_version: 1.8.5
655
+ rubygems_version: 1.8.10
424
656
  signing_key:
425
657
  specification_version: 3
426
- summary: Framework for creating rich WebGL-enabled applications using JavaScript and Ruby
427
- test_files:
428
- - spec/benchmark.htm
658
+ summary: Framework for creating rich WebGL-enabled applications using JavaScript and
659
+ Ruby
660
+ test_files:
661
+ - features/rails/resources.feature
662
+ - features/rails/shaders.feature
663
+ - features/rails/specs.feature
664
+ - features/runtime.feature
665
+ - features/step_definitions/environment_steps.rb
666
+ - features/step_definitions/response_steps.rb
667
+ - features/step_definitions/runtime.rb
668
+ - features/step_definitions/web_steps.rb
669
+ - features/support/env.rb
670
+ - features/support/paths.rb
671
+ - features/support/rails_environment.rb
672
+ - features/support/selectors.rb
673
+ - features/support/setup.rb
674
+ - spec/bin/jax_spec.rb
675
+ - spec/fixtures/public/favicon.ico
676
+ - spec/fixtures/public/textures/brickwall.jpg
677
+ - spec/fixtures/public/textures/jacks.jpg
678
+ - spec/fixtures/public/textures/normal_map.jpg
679
+ - spec/fixtures/public/textures/rock.png
680
+ - spec/fixtures/public/textures/rock_normal.png
681
+ - spec/fixtures/public/textures/rss.png
429
682
  - spec/fixtures/web/plugins/404.http
430
683
  - spec/fixtures/web/plugins/all.xml
431
684
  - spec/fixtures/web/plugins/author/create_account.xml.http
@@ -440,29 +693,79 @@ test_files:
440
693
  - spec/fixtures/web/plugins/vert.xml
441
694
  - spec/fixtures/web/plugins/vertex-blob.xml
442
695
  - spec/fixtures/web/plugins/vertex-height-map.xml
443
- - spec/generators/app_generator_test.rb
444
- - spec/generators/controller_generator_test.rb
445
- - spec/generators/light_generator_test.rb
446
- - spec/generators/material_generator_test.rb
447
- - spec/generators/model_generator_test.rb
448
- - spec/generators/plugin_generator_test.rb
449
- - spec/generators/plugin_manager/push_test.rb
450
- - spec/generators/plugin_manager_test.rb
451
- - spec/generators/shader_generator_test.rb
452
- - spec/javascripts/support/jasmine.yml
453
- - spec/javascripts/support/jasmine_runner.rb
454
- - spec/lib/jax/application_test.rb
455
- - spec/lib/jax/generators/plugin/credentials_test.rb
456
- - spec/lib/jax/packager_test.rb
457
- - spec/lib/jax/plugin_test.rb
458
- - spec/lib/jax/reloading_test.rb
459
- - spec/lib/jax/routes_test.rb
460
- - spec/lib/jax/shader_test.rb
461
- - spec/lib/jax/tasks/jax_rake_test.rb
462
- - spec/support/bases/generator_test_case.rb
463
- - spec/support/bases/isolated_test_case.rb
464
- - spec/support/file_exist_matcher.rb
696
+ - spec/generators/jax/application_generator_spec.rb
697
+ - spec/generators/jax/controller_generator_spec.rb
698
+ - spec/generators/jax/helper_generator_spec.rb
699
+ - spec/generators/jax/install_generator_spec.rb
700
+ - spec/generators/jax/jax_generator_spec.rb
701
+ - spec/generators/jax/light_generator_spec.rb
702
+ - spec/generators/jax/material_generator_spec.rb
703
+ - spec/generators/jax/model_generator_spec.rb
704
+ - spec/generators/jax/plugin_generator_spec.rb
705
+ - spec/generators/jax/scaffold_generator_spec.rb
706
+ - spec/generators/jax/shader_generator_spec.rb
707
+ - spec/javascripts/helpers/jasmine_webgl_helper.js
708
+ - spec/javascripts/helpers/jax_spec_environment_helper.js
709
+ - spec/javascripts/helpers/jax_spec_helper.js
710
+ - spec/javascripts/jax/builtin/meshes/cube_spec.js
711
+ - spec/javascripts/jax/builtin/meshes/plane_spec.js
712
+ - spec/javascripts/jax/builtin/meshes/quad_spec.js
713
+ - spec/javascripts/jax/builtin/meshes/sphere_spec.js
714
+ - spec/javascripts/jax/builtin/meshes/teapot_spec.js
715
+ - spec/javascripts/jax/builtin/meshes/torus_spec.js
716
+ - spec/javascripts/jax/compatibility_spec.js
717
+ - spec/javascripts/jax/context_events_spec.js
718
+ - spec/javascripts/jax/context_spec.js
719
+ - spec/javascripts/jax/core/data_region_spec.js
720
+ - spec/javascripts/jax/core/data_segment_spec.js
721
+ - spec/javascripts/jax/core/delegation_spec.js
722
+ - spec/javascripts/jax/core/events_spec.js
723
+ - spec/javascripts/jax/core/glMatrix_extensions_spec.js
724
+ - spec/javascripts/jax/core/helper_spec.js
725
+ - spec/javascripts/jax/core/matrix_stack_spec.js
726
+ - spec/javascripts/jax/core/utils_spec.js
727
+ - spec/javascripts/jax/geometry/line_spec.js
728
+ - spec/javascripts/jax/geometry/plane_spec.js
729
+ - spec/javascripts/jax/geometry/triangle_spec.js
730
+ - spec/javascripts/jax/mvc/controller_spec.js
731
+ - spec/javascripts/jax/mvc/model_spec.js
732
+ - spec/javascripts/jax/mvc/route_set_spec.js
733
+ - spec/javascripts/jax/mvc/view_manager_spec.js
734
+ - spec/javascripts/jax/noise_spec.js
735
+ - spec/javascripts/jax/optimizations/material_limitations_spec.js
736
+ - spec/javascripts/jax/optimizations/shaders/basic_spec.js
737
+ - spec/javascripts/jax/prototype/extensions_spec.js
738
+ - spec/javascripts/jax/webgl/camera_spec.js
739
+ - spec/javascripts/jax/webgl/core/events_spec.js
740
+ - spec/javascripts/jax/webgl/framebuffer_spec.js
741
+ - spec/javascripts/jax/webgl/lighting_spec.js
742
+ - spec/javascripts/jax/webgl/material_spec.js
743
+ - spec/javascripts/jax/webgl/mesh_spec.js
744
+ - spec/javascripts/jax/webgl/shader/manifest_spec.js
745
+ - spec/javascripts/jax/webgl/shader_chain_spec.js
746
+ - spec/javascripts/jax/webgl/shader_spec.js
747
+ - spec/javascripts/jax/webgl/tangent_space_spec.js
748
+ - spec/javascripts/jax/webgl/texture_spec.js
749
+ - spec/javascripts/jax/webgl_spec.js
750
+ - spec/javascripts/jax/world_spec.js
751
+ - spec/javascripts/jax_spec.js
752
+ - spec/javascripts/node/mocks/webgl.js
753
+ - spec/javascripts/node_helper.js
754
+ - spec/javascripts/shaders/core_materials_spec.js
755
+ - spec/javascripts/shaders/fog_spec.js
756
+ - spec/javascripts/shaders/lighting_spec.js
757
+ - spec/javascripts/shaders/normal_map_spec.js
758
+ - spec/javascripts/shaders/paraboloid_spec.js
759
+ - spec/javascripts/shaders/preprocessor_spec.js
760
+ - spec/javascripts/shaders/shadow_map_spec.js
761
+ - spec/javascripts/shaders/texture_spec.js
762
+ - spec/javascripts/suite/controller_select_spec.js.coffee
763
+ - spec/lib/jax/commands/plugin_manager/credentials_spec.rb
764
+ - spec/lib/jax/commands/plugin_manager/push_spec.rb
765
+ - spec/lib/jax/commands/plugin_manager_spec.rb
766
+ - spec/lib/jax/rails/application_spec.rb
767
+ - spec/lib/jax/shader_spec.rb
768
+ - spec/lib/jax/util/tar_spec.rb
769
+ - spec/spec_helper.rb
465
770
  - spec/support/fixtures_helper.rb
466
- - spec/support/spec_shell.rb
467
- - spec/test_app.rb
468
- - spec/test_helper.rb
771
+ - spec/support/test_model_generator.rb