Skip to content

Commit

Permalink
Renamed the generators and the core in-browser JS file to "blue-ridge".
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Karnowski committed Apr 22, 2009
1 parent 163c64a commit dd8f7f5
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -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:

Expand Down
@@ -1,4 +1,4 @@
class JavascriptTestingGenerator < Rails::Generator::Base
class BlueRidgeGenerator < Rails::Generator::Base
def manifest
record do |m|
m.directory base_dir
Expand Down
Expand Up @@ -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>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion generators/javascript_spec/templates/fixture.html.erb
Expand Up @@ -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>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/shell.js
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion tasks/javascript_testing_tasks.rake
Expand Up @@ -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

Expand Down

0 comments on commit dd8f7f5

Please sign in to comment.