Sha256: 27d63f4c076baf420ae36c04254eaad789c4c893e811d308da2d17bd8793b219

Contents?: true

Size: 1.46 KB

Versions: 4

Compression:

Stored size: 1.46 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "git-webhook"
    gem.summary = %Q{A github compatible post-receive web hook for git written in Ruby}
    gem.email = "lucas.mundim@intelitiva.com"
    gem.homepage = "http://github.com/lucasmundim/git-webhook"
    gem.authors = ["Lucas Roxo Mundim"]
    gem.rubyforge_project = "git-webhook"
    gem.add_dependency('grit', '>= 1.1.1')
    gem.add_dependency('active_support', '>= 2.3.3')
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  end

  Jeweler::RubyforgeTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_opts = ['--options', "spec/spec.opts"]
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end


task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION.yml')
    config = YAML.load(File.read('VERSION.yml'))
    version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "git-webhook #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
lucasmundim-git-webhook-0.0.1 Rakefile
lucasmundim-git-webhook-0.0.2 Rakefile
stupid-git-webhook-0.0.1 Rakefile
git-webhook-0.0.1 Rakefile