Skip to content

Commit

Permalink
Updated ruby contrib so that CI task now compatible with Prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
ragaskar committed Jan 23, 2010
1 parent d72b18c commit db1c6e6
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions contrib/ruby/jasmine_spec_builder.rb
Expand Up @@ -58,7 +58,7 @@ def load_suite_info
sleep 0.1
end

@suites = eval_js('JSON.stringify(jsApiReporter.suites())')
@suites = eval_js("var result = jsApiReporter.suites(); if (window.Prototype && result && result.toJSON) { result.toJSON()} else { JSON.stringify(result) }")
end

def results_for(spec_id)
Expand All @@ -69,7 +69,7 @@ def results_for(spec_id)
def load_results
@spec_results = {}
@spec_ids.each_slice(50) do |slice|
@spec_results.merge!(eval_js("JSON.stringify(jsApiReporter.resultsForSpecs(#{JSON.generate(slice)}))"))
@spec_results.merge!(eval_js("var result = jsApiReporter.resultsForSpecs(#{JSON.generate(slice)}); if (window.Prototype && result && result.toJSON) { result.toJSON()} else { JSON.stringify(result) }"))
end
@spec_results
end
Expand Down
2 changes: 1 addition & 1 deletion doc/files.html
Expand Up @@ -454,7 +454,7 @@ <h2><a href="symbols/src/src_WaitsForBlock.js.html">src/WaitsForBlock.js</a></h2
</div>
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/index.html
Expand Up @@ -316,7 +316,7 @@ <h2><a href="symbols/jasmine.util.html">jasmine.util</a></h2>
</div>
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blankt">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/_global_.html
Expand Up @@ -912,7 +912,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:21 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Block.html
Expand Up @@ -411,7 +411,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Clock.html
Expand Up @@ -672,7 +672,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Env.html
Expand Up @@ -1163,7 +1163,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.JsApiReporter.html
Expand Up @@ -816,7 +816,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Matchers.html
Expand Up @@ -1455,7 +1455,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.MultiReporter.html
Expand Up @@ -388,7 +388,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.NestedResults.html
Expand Up @@ -704,7 +704,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Reporter.html
Expand Up @@ -568,7 +568,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Runner.html
Expand Up @@ -704,7 +704,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Spec.html
Expand Up @@ -1253,7 +1253,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Spy.html
Expand Up @@ -849,7 +849,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.Suite.html
Expand Up @@ -699,7 +699,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.html
Expand Up @@ -1339,7 +1339,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:21 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion doc/symbols/jasmine.util.html
Expand Up @@ -529,7 +529,7 @@ <h1 class="classTitle">
<!-- ============================== footer ================================= -->
<div class="fineprint" style="clear:both">

Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Jan 23 2010 13:48:22 GMT-0800 (PST)
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion lib/jasmine-0.10.0.js
Expand Up @@ -2257,5 +2257,5 @@ jasmine.version_= {
"major": 0,
"minor": 10,
"build": 0,
"revision": 1261768736
"revision": 1264283294
};

0 comments on commit db1c6e6

Please sign in to comment.