Skip to content

Commit 6dfafa6

Browse files
committed
clean up Rakefile
1 parent c4f04c8 commit 6dfafa6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Rakefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ end
66

77
Bundler::GemHelper.install_tasks
88

9-
require 'yard'
10-
YARD::Rake::YardocTask.new do |t|
11-
t.files = ['lib/**/*.rb', 'README.md']
12-
end
13-
149
require "rspec/core/rake_task"
1510
RSpec::Core::RakeTask.new(:spec) do |task|
1611
task.pattern = 'spec/*_spec.rb'
@@ -27,10 +22,6 @@ namespace :spec do
2722
env = "DB_PREFIX=#{prefix} DB_SUFFIX=#{suffix}"
2823
fail unless system("#{rake} spec #{env}")
2924
end
30-
require 'active_record/version'
31-
if ActiveRecord::VERSION::MAJOR == 3
32-
fail unless system("#{rake} spec ATTR_ACCESSIBLE=1")
33-
end
3425
end
3526

3627
desc 'Run generator specs'

0 commit comments

Comments
 (0)