Sha256: 8d1292c555cf3d05267d2a6aa0e1507420be1edd7a2211e83d78ae02dc439c3c

Contents?: true

Size: 1.17 KB

Versions: 10

Compression:

Stored size: 1.17 KB

Contents

# encoding: UTF-8
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "escape_utils"
    gem.summary = "Faster string escaping routines for your web apps"
    gem.email = "seniorlopez@gmail.com"
    gem.homepage = "http://github.com/brianmario/escape_utils"
    gem.authors = ["Brian Lopez"]
    gem.require_paths = ["lib", "ext"]
    gem.extra_rdoc_files = `git ls-files *.rdoc`.split("\n")
    gem.files = `git ls-files`.split("\n")
    gem.extensions = ["ext/extconf.rb"]
    gem.files.include %w(lib/jeweler/templates/.document lib/jeweler/templates/.gitignore)
    # gem.rubyforge_project = "mysql2"
  end
rescue LoadError
  puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install jeweler -s http://gems.github.com"
end

require 'rake'
require 'spec/rake/spectask'

desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('spec:rcov') do |t|
  t.spec_files = FileList['spec/']
  t.rcov = true
  t.rcov_opts = lambda do
    IO.readlines("spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
  end
end
Spec::Rake::SpecTask.new('spec') do |t|
  t.spec_files = FileList['spec/']
  t.spec_opts << '--options' << 'spec/spec.opts'
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
escape_utils-0.1.9 Rakefile
escape_utils-0.1.8 Rakefile
escape_utils-0.1.7 Rakefile
escape_utils-0.1.6 Rakefile
escape_utils-0.1.5 Rakefile
escape_utils-0.1.4 Rakefile
escape_utils-0.1.3 Rakefile
escape_utils-0.1.2 Rakefile
escape_utils-0.1.1 Rakefile
escape_utils-0.1.0 Rakefile