Sha256: a218984d36955dcdee09043100afe29f766ffa77a31eaf7b5b4f4540d26d3526
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
# encoding: UTF-8 begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "yajl-ruby" gem.summary = "Ruby C bindings to the excellent Yajl JSON stream-based parser library." gem.email = "seniorlopez@gmail.com" gem.homepage = "http://github.com/brianmario/yajl-ruby" gem.authors = ["Brian Lopez", "Lloyd Hilaiel"] gem.require_paths = ["lib", "ext"] gem.extra_rdoc_files = `git ls-files *.rdoc`.split("\n") << 'ext/yajl.c' 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 = "yajl-ruby" 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 begin 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.libs << 'ext' t.spec_opts << '--options' << 'spec/spec.opts' end rescue LoadError puts "RSpec, or one of its dependencies, is not available. Install it with: sudo gem install rspec" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yajl-ruby-0.7.8 | Rakefile |
yajl-ruby-0.7.7 | Rakefile |