Rakefile in pgcrypto-0.2.2 vs Rakefile in pgcrypto-0.2.4
- old
+ new
@@ -1,26 +1,6 @@
require 'rake'
-task :default => :spec
-
-begin
- require 'spec/rake/spectask'
-
- desc "Run all examples"
- Spec::Rake::SpecTask.new('spec') do |t|
- t.spec_files = FileList['spec/**/*.rb']
- end
-
- desc "Run all examples with RCov"
- Spec::Rake::SpecTask.new('spec:rcov') do |t|
- t.spec_files = FileList['spec/**/*.rb']
- t.rcov = true
- t.rcov_opts = ['--exclude', 'spec,gem']
- end
-rescue LoadError
- puts "Could not load Rspec. To run tests, use `gem install rspec`"
-end
-
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "pgcrypto"
gemspec.summary = "A transparent ActiveRecord::Base extension for encrypted columns"