Sha256: f831a31ff57f81247a6861aee35ffc46d3e0d8831a3dc64b7b476eeb1985fe98

Contents?: true

Size: 1.66 KB

Versions: 1

Compression:

Stored size: 1.66 KB

Contents

require 'rubygems'
require 'yard'

begin
  gem 'jeweler'
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "rdf-n3"
    gemspec.summary = "Notation-3 (n3-rdf) and Turtle reader/writer for RDF.rb."
    gemspec.description = %q(RDF::N3 is an Notation-3 (n3-rdf) parser for Ruby using the RDF.rb library suite.)
    gemspec.email = "gregg@kellogg-assoc.com"
    gemspec.homepage = "http://github.com/gkellogg/rdf-n3"
    gemspec.authors = ["Gregg Kellogg"]
    gemspec.add_dependency('rdf', '>= 0.3.1')
    gemspec.add_development_dependency('open-uri-cached')
    gemspec.add_development_dependency('spira', '>= 0.0.12')
    gemspec.add_development_dependency('rspec', '>= 2.5.0')
    gemspec.add_development_dependency('rdf-spec', '>= 0.3.1')
    gemspec.add_development_dependency('rdf-rdfxml', '>= 0.3.1')
    gemspec.add_development_dependency('rdf-isomorphic', '>= 0.3.4')
    gemspec.add_development_dependency('yard')
    gemspec.extra_rdoc_files     = %w(README.md History.md AUTHORS VERSION)
  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 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

desc "Run specs through RCov"
RSpec::Core::RakeTask.new("spec:rcov") do |spec|
  spec.rcov = true
  spec.rcov_opts =  %q[--exclude "spec"]
end

desc "Generate HTML report specs"
RSpec::Core::RakeTask.new("doc:spec") do |spec|
  spec.rspec_opts = ["--format", "html", "-o", "doc/spec.html"]
end

YARD::Rake::YardocTask.new do |t|
  t.files   = %w(lib/**/*.rb README.md History.md AUTHORS VERSION)   # optional
end

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-n3-0.3.1.1 Rakefile