Permalink
Browse files

installed blue-ridge

  • Loading branch information...
1 parent 639da07 commit 58e36d30f4bc29dc7a9ea554fd4afe71990cc2a4 @stuarthalloway committed May 21, 2009
Showing with 18,364 additions and 0 deletions.
  1. +15 −0 test/javascript/application_spec.js
  2. +16 −0 test/javascript/fixtures/application.html
  3. +90 −0 test/javascript/fixtures/screw.css
  4. +1 −0 test/javascript/spec_helper.js
  5. +20 −0 vendor/plugins/blue-ridge/LICENSE
  6. +22 −0 vendor/plugins/blue-ridge/LICENSE-Screw.Unit
  7. +22 −0 vendor/plugins/blue-ridge/LICENSE-Smoke
  8. +233 −0 vendor/plugins/blue-ridge/README.markdown
  9. +42 −0 vendor/plugins/blue-ridge/TODO.taskpaper
  10. +18 −0 vendor/plugins/blue-ridge/generators/blue_ridge/blue_ridge_generator.rb
  11. +16 −0 vendor/plugins/blue-ridge/generators/blue_ridge/templates/application.html
  12. +15 −0 vendor/plugins/blue-ridge/generators/blue_ridge/templates/application_spec.js
  13. +90 −0 vendor/plugins/blue-ridge/generators/blue_ridge/templates/screw.css
  14. +1 −0 vendor/plugins/blue-ridge/generators/blue_ridge/templates/spec_helper.js
  15. +30 −0 vendor/plugins/blue-ridge/generators/javascript_spec/javascript_spec_generator.rb
  16. +13 −0 vendor/plugins/blue-ridge/generators/javascript_spec/templates/fixture.html.erb
  17. +10 −0 vendor/plugins/blue-ridge/generators/javascript_spec/templates/javascript_spec.js.erb
  18. +43 −0 vendor/plugins/blue-ridge/lib/blue-ridge.js
  19. +32 −0 vendor/plugins/blue-ridge/lib/consoleReportForRake.js
  20. +8,841 −0 vendor/plugins/blue-ridge/lib/env.rhino.js
  21. +3,549 −0 vendor/plugins/blue-ridge/lib/jquery-1.2.6.js
  22. +4,376 −0 vendor/plugins/blue-ridge/lib/jquery-1.3.2.js
  23. +29 −0 vendor/plugins/blue-ridge/lib/jquery.fn.js
  24. +109 −0 vendor/plugins/blue-ridge/lib/jquery.print.js
  25. BIN vendor/plugins/blue-ridge/lib/js.jar
  26. +92 −0 vendor/plugins/blue-ridge/lib/screw.behaviors.js
  27. +82 −0 vendor/plugins/blue-ridge/lib/screw.builder.js
  28. +45 −0 vendor/plugins/blue-ridge/lib/screw.events.js
  29. +187 −0 vendor/plugins/blue-ridge/lib/screw.matchers.js
  30. +22 −0 vendor/plugins/blue-ridge/lib/screw.mocking.js
  31. +26 −0 vendor/plugins/blue-ridge/lib/shell.js
  32. +6 −0 vendor/plugins/blue-ridge/lib/smoke.core.js
  33. +130 −0 vendor/plugins/blue-ridge/lib/smoke.mock.js
  34. +29 −0 vendor/plugins/blue-ridge/lib/smoke.stub.js
  35. +50 −0 vendor/plugins/blue-ridge/lib/test_runner.js
  36. +62 −0 vendor/plugins/blue-ridge/tasks/javascript_testing_tasks.rake
@@ -0,0 +1,15 @@
+require("spec_helper.js");
+require("../../public/javascripts/application.js");
+
+Screw.Unit(function(){
+ describe("Your application javascript", function(){
+ it("does something", function(){
+ expect("hello").to(equal, "hello");
+ });
+
+ it("accesses the DOM from fixtures/application.html", function(){
+ expect($('.select_me').length).to(equal, 2);
+ });
+ });
+});
+
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+ <title>Application | JavaScript Testing Results</title>
+ <link rel="stylesheet" href="screw.css" type="text/css" charset="utf-8" />
+ <script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script>
+</head>
+
+<body>
+ <!-- Put any HTML fixture elements here. -->
+ <div class="select_me"/>
+ <span class="select_me"/>
+ <div class="dont_select_me"/>
+</body>
+</html>
@@ -0,0 +1,90 @@
+html {
+ padding: 0.5em;
+ font-family: Georgia, serif;
+ background: #EDEBD5;
+}
+
+ li {
+ list-style-type: none;
+ }
+
+ .focused {
+ background-color: #F4F2E4;
+ }
+
+ .focused * {
+ opacity: 1.0;
+ }
+
+ h1, h2, p {
+ opacity: 0.4;
+ }
+
+ .describes {
+ padding-left: 0;
+ }
+
+ .describes h1 {
+ font-size: 1.1em;
+ color: #877C21;
+ line-height: 1.8em;
+ margin: 0pt 0pt 0.6em;
+ border-bottom: 1px solid transparent;
+ }
+
+ .describes h1:hover {
+ cursor: pointer;
+ color: #000;
+ background-color: #F4F2E4;
+ border-bottom: 1px solid #9A8E51;
+ }
+
+ .describes .describe {
+ margin-left: 0.6em;
+ padding-left: 0.6em;
+ border: 1px dashed #999;
+ }
+
+ .describes .describe .its {}
+
+ .describes .describe .its .it {
+ list-style-type: lower-roman;
+ list-style-position: outside;
+ }
+
+ .describes .describe .its .it h2 {
+ font-weight: normal;
+ font-style: italic;
+ padding-left: 0.5em;
+ font-size: 1.0em;
+ color: #877C21;
+ line-height: 1.8em;
+ margin: 0 0 0.5em;
+ border-bottom: 1px solid transparent;
+ }
+
+ .describes .describe .its .it.enqueued h2 {
+ background-color: #CC6600;
+ color: white !important;
+ }
+
+ .describes .describe .its .it.passed h2 {
+ background-color: #5A753D;
+ color: white !important;
+ }
+
+ .describes .describe .its .it.failed h2 {
+ background-color: #993300;
+ color: white !important;
+ }
+
+ .describes .describe .its .it.failed p {
+ margin-left: 1em;
+ color: #993300;
+ }
+
+ .describes .describe .its .it h2:hover {
+ cursor: pointer;
+ color: #000 !important;
+ border-bottom: 1px solid #9A8E51;
+ }
@@ -0,0 +1 @@
+// Use this file to require common dependencies or to setup useful test functions.
@@ -0,0 +1,20 @@
+Copyright (c) 2008-2009 Relevance, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
+Copyright (c) 2008 Nick Kallen
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,22 @@
+Copyright (c) 2008 Andy Kent
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Oops, something went wrong.

0 comments on commit 58e36d3

Please sign in to comment.