Sha256: bdfae9f1fc263c8eac0d85307e65cbccbacd2bb3ec8dae12d42b26fb25667a05

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

require 'rubygems/package_task'
require 'rake/testtask' 
require 'rdoc/task'

gemspec = Gem::Specification.new do |s|
  s.name     = "gem-patch"
  s.version  = "0.1.2"
  s.platform = Gem::Platform::RUBY
  s.summary     = "RubyGems plugin for patching gems."
  s.description = <<-EOF
                    `gem-patch` is a RubyGems plugin that helps to patch gems without manually opening and rebuilding them.
                    It opens a given .gem file, extracts it, patches it with system `patch` command,
                    clones its spec, updates the file list and builds the patched gem.
                  EOF
  s.homepage = "http://github.com/strzibny/gem-patch"
  s.licenses = ["MIT"]
  s.author   = "Josef Stribny"
  s.email    = "jstribny@redhat.com"
  s.required_ruby_version     = ">= 1.8.7"
  s.required_rubygems_version = ">= 1.8.0"
  s.files = FileList["README.md", "README.rdoc", "LICENCE", "rakefile.rb",
                      "lib/**/*.rb", "test/**/test*.rb"]
end

Gem::PackageTask.new gemspec do |pkg|
end

Rake::RDocTask.new do |rd|
  rd.main = "README.rdoc"
  rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
end

Rake::TestTask.new('test') do |t|
  t.libs << 'test'
  t.pattern = 'test/**/test*.rb'
  t.verbose = true
end

task :default => [:test]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gem-patch-0.1.2 rakefile.rb