Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit dd8f7f53f94dd51be152f8140431017e2a6e71d3 1 parent 163c64a
Larry Karnowski authored
View
2  README.markdown
@@ -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:
View
2  ...avascript_testing/javascript_testing_generator.rb → generators/blue_ridge/blue_ridge_generator.rb
@@ -1,4 +1,4 @@
-class JavascriptTestingGenerator < Rails::Generator::Base
+class BlueRidgeGenerator < Rails::Generator::Base
def manifest
record do |m|
m.directory base_dir
View
2  ...ors/javascript_testing/templates/application.html → generators/blue_ridge/templates/application.html
@@ -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>
View
0  .../javascript_testing/templates/application_spec.js → generators/blue_ridge/templates/application_spec.js
File renamed without changes
View
0  generators/javascript_testing/templates/screw.css → generators/blue_ridge/templates/screw.css
File renamed without changes
View
0  ...ators/javascript_testing/templates/spec_helper.js → generators/blue_ridge/templates/spec_helper.js
File renamed without changes
View
2  generators/javascript_spec/templates/fixture.html.erb
@@ -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>
View
0  lib/javascript_testing.js → lib/blue-ridge.js
File renamed without changes
View
2  lib/shell.js
@@ -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");
View
2  tasks/javascript_testing_tasks.rake
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.