Sha256: a774bedd8bcb43ea3e097cc2427a45fc8896d8bf2af4d9d589b6257e3344b851

Contents?: true

Size: 743 Bytes

Versions: 8

Compression:

Stored size: 743 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems'
  gem 'rspec'
  require 'spec'
end


require 'fileutils'

# Must set before requiring generator libs.
TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
PROJECT_NAME = "ride" unless defined?(PROJECT_NAME)
app_root = File.join(TMP_ROOT, PROJECT_NAME)
if defined?(APP_ROOT)
  APP_ROOT.replace(app_root)
else
  APP_ROOT = app_root
end
if defined?(RAILS_ROOT)
  RAILS_ROOT.replace(app_root)
else
  RAILS_ROOT = app_root
end

begin
  require 'rubigen'
rescue LoadError
  require 'rubygems'
  require 'rubigen'
end
require File.join(File.dirname(__FILE__), 'generator_spec_helper')
$:.unshift(File.dirname(__FILE__) + '/../app_generators/ride')
require 'ride_generator'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ride-0.3.1 spec/spec_generator_helper.rb
ride-0.4.2 spec/spec_generator_helper.rb
ride-0.2.1 spec/spec_generator_helper.rb
ride-0.1.2 spec/spec_generator_helper.rb
ride-0.4.3 spec/spec_generator_helper.rb
ride-0.4.8 spec/spec_generator_helper.rb
ride-0.1.1 spec/spec_generator_helper.rb
ride-0.4.1 spec/spec_generator_helper.rb