Permalink
Browse files

Move erect sources to subdir

  • Loading branch information...
1 parent 08259bb commit ed4d16647a84a45f60200b18050adcb854580cc0 John Firebaugh committed Feb 20, 2010
View
@@ -7,7 +7,7 @@ rescue LoadError
require 'erector'
end
-require 'erector/erect'
+require 'erector/erect/erect'
unless Erector::Erect.new(ARGV).run
exit 1
@@ -1,6 +1,6 @@
require "optparse"
require "rake"
-require "erector/erected" # pull this out so we don't recreate the grammar every time
+require "erector/erect/erected" # pull this out so we don't recreate the grammar every time
module Erector
class Erect
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,6 +1,6 @@
require File.expand_path("#{File.dirname(__FILE__)}/../spec_helper")
-require "erector/erect"
+require "erector/erect/erect"
module Erector
describe Erect do
@@ -1,6 +1,6 @@
require File.expand_path("#{File.dirname(__FILE__)}/../spec_helper")
-require "erector/erect"
+require "erector/erect/erect"
module Erector
describe Erected do
@@ -1,6 +1,6 @@
require File.expand_path("#{File.dirname(__FILE__)}/../spec_helper")
-require "erector/erect"
+require "erector/erect/erect"
module ParserTestHelper
def assert_evals_to_self(input)
@@ -15,8 +15,8 @@
require "rr/adapters/rspec"
require 'treetop'
require "erector"
-require "erector/erect"
-require "erector/erected"
+require "erector/erect/erect"
+require "erector/erect/erected"
Spec::Runner.configure do |config|
config.mock_with RR::Adapters::Rspec

0 comments on commit ed4d166

Please sign in to comment.