From 84e9020219b5ed7eaf9d633f627466b4c9a2f614 Mon Sep 17 00:00:00 2001 From: Bret Pettichord Date: Sat, 7 Feb 2009 16:19:45 +0000 Subject: [PATCH] updates for watircraft 0.3.2 --- watircraft/config/environments.yml | 2 ++ watircraft/lib/initialize.rb | 8 +++++--- watircraft/lib/steps/world.rb | 4 ++++ watircraft/rakefile | 8 +------- watircraft/script/generate | 5 ----- watircraft/test/features/feature_helper.rb | 4 ++++ watircraft/test/specs/spec_helper.rb | 4 ++++ 7 files changed, 20 insertions(+), 15 deletions(-) diff --git a/watircraft/config/environments.yml b/watircraft/config/environments.yml index f6fe9df..4840952 100644 --- a/watircraft/config/environments.yml +++ b/watircraft/config/environments.yml @@ -1,2 +1,4 @@ test: + url: http://localhost:3000 +local: url: http://localhost:3000 \ No newline at end of file diff --git a/watircraft/lib/initialize.rb b/watircraft/lib/initialize.rb index d616f26..caa61ba 100644 --- a/watircraft/lib/initialize.rb +++ b/watircraft/lib/initialize.rb @@ -1,5 +1,7 @@ -# This file is autogenerated. -# Do not edit this file. It will be automatically replaced when you upgrade to newer versions -# of watircraft. +# Generated at Tue Feb 03 20:42:54 +0000 2009 +# Generated by watircraft 0.3.1 + +$LOAD_PATH.unshift ENV['TAZA_DEV'] + 'lib' if ENV['TAZA_DEV'] + ENV['ENVIRONMENT'] ||= "test" APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unless defined?(APP_ROOT) diff --git a/watircraft/lib/steps/world.rb b/watircraft/lib/steps/world.rb index 929595b..8f1b6ec 100644 --- a/watircraft/lib/steps/world.rb +++ b/watircraft/lib/steps/world.rb @@ -1,3 +1,7 @@ +# This file is autogenerated. +# Do not edit this file. It will be automatically replaced when you +# upgrade to newer versions of watircraft. + require 'spec' $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/..') require 'initialize' diff --git a/watircraft/rakefile b/watircraft/rakefile index 59fdbd3..1a75f57 100644 --- a/watircraft/rakefile +++ b/watircraft/rakefile @@ -1,10 +1,4 @@ -#Generated at Mon Feb 02 21:38:27 +0000 2009 +#Generated at Tue Feb 03 20:42:54 +0000 2009 require 'rubygems' require 'taza/tasks' -#Taza::Rake::Tasks.new do |t| -# file_hole = "artifacts/#{Time.now.to_i}" -# t.spec_opts = ["--format html:#{file_hole}/index.html", -# "--format p", -# "--format failing_examples:#{file_hole}/failing_examples.txt"] -#end diff --git a/watircraft/script/generate b/watircraft/script/generate index 703d284..1baf8d6 100644 --- a/watircraft/script/generate +++ b/watircraft/script/generate @@ -1,5 +1,4 @@ #!/usr/bin/env ruby -$LOAD_PATH.unshift ENV['TAZA_DEV'] + 'lib' if ENV['TAZA_DEV'] APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) begin @@ -12,8 +11,4 @@ require 'rubigen/scripts/generate' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:watircraft, :test_unit] -if ENV['TAZA_DEV'] - RubiGen::Base.prepend_sources( - RubiGen::PathSource.new(:dev, ENV['TAZA_DEV'] + 'watircraft_generators')) -end RubiGen::Scripts::Generate.new.run(ARGV) diff --git a/watircraft/test/features/feature_helper.rb b/watircraft/test/features/feature_helper.rb index 2985b51..60653bc 100644 --- a/watircraft/test/features/feature_helper.rb +++ b/watircraft/test/features/feature_helper.rb @@ -1,3 +1,7 @@ +# This file is autogenerated. +# Do not edit this file. It will be automatically replaced when you +# upgrade to newer versions of watircraft. + require 'rubygems' library = File.expand_path(File.dirname(__FILE__) + '/../../lib') diff --git a/watircraft/test/specs/spec_helper.rb b/watircraft/test/specs/spec_helper.rb index 2d1f50e..950d8f0 100644 --- a/watircraft/test/specs/spec_helper.rb +++ b/watircraft/test/specs/spec_helper.rb @@ -1,3 +1,7 @@ +# This file is autogenerated. +# Do not edit this file. It will be automatically replaced when you +# upgrade to newer versions of watircraft. + require 'rubygems' require 'spec' require 'mocha'