Sha256: 2621e6fba404700ad0848e53170e046ef2f584522eba86dbfc6bd5333091d02d

Contents?: true

Size: 1.02 KB

Versions: 9

Compression:

Stored size: 1.02 KB

Contents

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"
    gemspec.description = %{
      PGCrypto is an ActiveRecord::Base extension that allows you to asymmetrically
      encrypt PostgreSQL columns with as little trouble as possible. It's totally
      freaking rad.
    }
    gemspec.email = "flip@x451.com"
    gemspec.homepage = "http://github.com/Plinq/pgcrypto"
    gemspec.authors = ["Flip Sasser"]
  end
rescue LoadError
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pgcrypto-0.2.2 Rakefile
pgcrypto-0.2.1 Rakefile
pgcrypto-0.2.0 Rakefile
pgcrypto-0.1.1 Rakefile
pgcrypto-0.1.0 Rakefile
pgcrypto-0.0.4 Rakefile
pgcrypto-0.0.3 Rakefile
pgcrypto-0.0.2 Rakefile
pgcrypto-0.0.1 Rakefile