You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by as...@apache.org on 2008/05/14 11:39:37 UTC

svn commit: r656183 - in /ode/sandbox/singleshot: Rakefile config/environments/development.rb lib/tasks/database.rake

Author: assaf
Date: Wed May 14 02:39:37 2008
New Revision: 656183

URL: http://svn.apache.org/viewvc?rev=656183&view=rev
Log:
Removed annotate-models from vendor/plugins, using annotate-models Gem instead.

Modified:
    ode/sandbox/singleshot/Rakefile
    ode/sandbox/singleshot/config/environments/development.rb
    ode/sandbox/singleshot/lib/tasks/database.rake

Modified: ode/sandbox/singleshot/Rakefile
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/Rakefile?rev=656183&r1=656182&r2=656183&view=diff
==============================================================================
--- ode/sandbox/singleshot/Rakefile (original)
+++ ode/sandbox/singleshot/Rakefile Wed May 14 02:39:37 2008
@@ -11,13 +11,5 @@
 require 'lib/tasks/setup.rb'
 
 
-task 'setup' do |task|
-  task.install_gem 'rspec', '~>1.1.3'
-  task.install_gem 'rails', '~>2.0.2'
-  task.install_gem 'sqlite3-ruby', '~>1.2'
-
-  # Create development and test databases.
-  ['db:create', 'db:migrate', 'db:test:clone'].each do |task|
-    task.invoke
-  end
+task 'setup'=>['gems:install', 'db:create'] do |task|
 end

Modified: ode/sandbox/singleshot/config/environments/development.rb
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/config/environments/development.rb?rev=656183&r1=656182&r2=656183&view=diff
==============================================================================
--- ode/sandbox/singleshot/config/environments/development.rb (original)
+++ ode/sandbox/singleshot/config/environments/development.rb Wed May 14 02:39:37 2008
@@ -18,3 +18,8 @@
 config.action_mailer.raise_delivery_errors = false
 
 config.action_controller.allow_concurrency = true
+
+# These Gems are used for development.
+config.gem 'annotate-models', :lib=>'annotate_models'
+config.gem 'rspec', :lib=>'spec',                     :version=>'~> 1.1.3'
+config.gem 'sqlite3-ruby', :lib=>'sqlite3',           :version=>'~>1.2'

Modified: ode/sandbox/singleshot/lib/tasks/database.rake
URL: http://svn.apache.org/viewvc/ode/sandbox/singleshot/lib/tasks/database.rake?rev=656183&r1=656182&r2=656183&view=diff
==============================================================================
--- ode/sandbox/singleshot/lib/tasks/database.rake (original)
+++ ode/sandbox/singleshot/lib/tasks/database.rake Wed May 14 02:39:37 2008
@@ -1,3 +1,5 @@
+require 'annotate_models/tasks'
+
 namespace :db do
 
   desc 'Rebuild the database by running all migrations again'