Permalink
Browse files

Renamed the generators and the core in-browser JS file to "blue-ridge".

  • Loading branch information...
1 parent 163c64a commit dd8f7f53f94dd51be152f8140431017e2a6e71d3 Larry Karnowski committed Apr 22, 2009
View
@@ -14,7 +14,7 @@ Installing and Running
To install:
./script/plugin install git://github.com/relevance/blue-ridge.git
- ./script/generate javascript_testing
+ ./script/generate blue_ridge
To run all of the specs:
@@ -1,4 +1,4 @@
-class JavascriptTestingGenerator < Rails::Generator::Base
+class BlueRidgeGenerator < Rails::Generator::Base
def manifest
record do |m|
m.directory base_dir
@@ -4,7 +4,7 @@
<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/javascript_testing.js"></script>
+ <script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script>
</head>
<body>
@@ -4,7 +4,7 @@
<head>
<title><%= class_name_without_spec %> | 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/javascript_testing.js"></script>
+ <script type="text/javascript" src="../../../vendor/plugins/blue-ridge/lib/blue-ridge.js"></script>
</head>
<body>
File renamed without changes.
View
@@ -9,7 +9,7 @@
print("=================================================");
var plugin_prefix = "vendor/plugins/blue-ridge/";
- var fixture_file = plugin_prefix + "generators/javascript_testing/templates/application.html";
+ var fixture_file = plugin_prefix + "generators/blue_ridge/templates/application.html";
load(plugin_prefix + "lib/env.rhino.js");
print(" - loaded env.js");
@@ -5,7 +5,7 @@ test_runner_command = "#{rhino_command} #{plugin_prefix}/lib/test_runner.js"
def find_base_dir
target_dirs = ["test/javascript", "spec/javascripts", "examples/javascripts"]
base_dir = target_dirs.find {|d| File.exist?(d) }
- raise "Could not find JavaScript test directory.\nNone of the following directories existed: #{target_dirs.join(", ")}.\nMaybe you need to call './script/generate javascript_testing'?" unless base_dir
+ raise "Could not find JavaScript test directory.\nNone of the following directories existed: #{target_dirs.join(", ")}.\nMaybe you need to call './script/generate blue_ridge'?" unless base_dir
base_dir
end

0 comments on commit dd8f7f5

Please sign in to comment.