Description:
upgraded rails to 2.3.5, removed rspec tasks from Rakefile
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r251:88c164fc461e - - 2 files changed: 1 inserted, 9 deleted
@@ -6,14 +6,6 | |||||
|
6 | require 'rake' |
|
6 | require 'rake' |
|
7 | require 'rake/testtask' |
|
7 | require 'rake/testtask' |
|
8 | require 'rake/rdoctask' |
|
8 | require 'rake/rdoctask' |
|
9 |
|
9 | ||
|
10 | require 'tasks/rails' |
|
10 | require 'tasks/rails' |
|
11 |
|
11 | ||
|
12 | - require 'spec/rake/spectask' |
|
||
|
13 | - |
|
||
|
14 | - desc "Run all examples with RCov" |
|
||
|
15 | - Spec::Rake::SpecTask.new('examples_with_rcov') do |t| |
|
||
|
16 | - t.spec_files = FileList['spec/*/*.rb'] |
|
||
|
17 | - t.rcov = true |
|
||
|
18 | - #t.rcov_opts = ['--exclude', 'examples'] |
|
||
|
19 | - end |
|
@@ -2,13 +2,13 | |||||
|
2 |
|
2 | ||
|
3 | # Uncomment below to force Rails into production mode when |
|
3 | # Uncomment below to force Rails into production mode when |
|
4 | # you don't control web/app server and can't set it the proper way |
|
4 | # you don't control web/app server and can't set it the proper way |
|
5 | # ENV['RAILS_ENV'] ||= 'production' |
|
5 | # ENV['RAILS_ENV'] ||= 'production' |
|
6 |
|
6 | ||
|
7 | # Specifies gem version of Rails to use when vendor/rails is not present |
|
7 | # Specifies gem version of Rails to use when vendor/rails is not present |
|
8 |
- RAILS_GEM_VERSION = '2.3. |
|
8 | + RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION |
|
9 |
|
9 | ||
|
10 | # Bootstrap the Rails environment, frameworks, and default configuration |
|
10 | # Bootstrap the Rails environment, frameworks, and default configuration |
|
11 | require File.join(File.dirname(__FILE__), 'boot') |
|
11 | require File.join(File.dirname(__FILE__), 'boot') |
|
12 |
|
12 | ||
|
13 | Rails::Initializer.run do |config| |
|
13 | Rails::Initializer.run do |config| |
|
14 | # Settings in config/environments/* take precedence over those specified here |
|
14 | # Settings in config/environments/* take precedence over those specified here |
You need to be logged in to leave comments.
Login now