Sha256: fa5406f00455e21fb23b6f8b37398523a8d4128d9bedf44784b2531b2b44a961
Contents?: true
Size: 1.87 KB
Versions: 1
Compression:
Stored size: 1.87 KB
Contents
require 'rubygems' begin gem 'jeweler' require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "rdf-rdfxml" gemspec.summary = "RDF/XML reader/writer for RDF.rb." gemspec.description = <<-DESCRIPTION RDF::RDFXML is an RDF/XML reader and writer for Ruby using the RDF.rb library suite. DESCRIPTION gemspec.email = "gregg@kellogg-assoc.com" gemspec.homepage = "http://github.com/gkellogg/rdf-rdfxml" gemspec.authors = ["Gregg Kellogg"] gemspec.add_dependency('rdf', '>= 0.2.0') gemspec.add_dependency('nokogiri', '>= 1.3.3') gemspec.add_development_dependency('rspec') gemspec.add_development_dependency('rdf-spec') gemspec.add_development_dependency('activesupport', '>= 2.3.0') gemspec.extra_rdoc_files = %w(README.rdoc History.txt AUTHORS) end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/*_spec.rb'] end desc "Run specs through RCov" Spec::Rake::SpecTask.new("spec:rcov") do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/*_spec.rb' spec.rcov = true end desc "Generate HTML report specs" Spec::Rake::SpecTask.new("doc:spec") do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/*_spec.rb'] spec.spec_opts = ["--format", "html:doc/spec.html"] end desc "Generate RDF Core Manifest.yml" namespace :spec do task :prepare do $:.unshift(File.join(File.dirname(__FILE__), 'lib')) require 'rdf/rdfxml' require 'spec/rdf_helper' require 'fileutils' yaml = File.join(RDFCORE_DIR, "Manifest.yml") FileUtils.rm_f(yaml) RdfHelper::TestCase.to_yaml(RDFCORE_TEST, RDFCORE_DIR, yaml) end end task :default => :spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdf-rdfxml-0.2.0 | Rakefile |