Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (33 sloc) 1.219 kB
# 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 'rspec'
require 'rspec/core/rake_task'
desc "Run all examples with RCov"
RSpec::Core::RakeTask.new('spec:rcov') do |t|
t.rcov = true
end
RSpec::Core::RakeTask.new('spec') do |t|
t.verbose = true
end
task :default => :spec
rescue LoadError
puts "rspec, or one of its dependencies, is not available. Install it with: sudo gem install rspec"
end
Jump to Line
Something went wrong with that request. Please try again.