Rakefile in rdf-rdfa-0.3.1.2 vs Rakefile in rdf-rdfa-0.3.3
- old
+ new
@@ -4,23 +4,23 @@
begin
gem 'jeweler'
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "rdf-rdfa"
- gemspec.summary = "RDFa reader for RDF.rb."
+ gemspec.summary = "RDFa reader/writer for RDF.rb."
gemspec.description = <<-DESCRIPTION
- RDF::RDFa is an RDFa reader for Ruby using the RDF.rb library suite.
+ RDF::RDFa is an RDFa reader/writer for Ruby using the RDF.rb library suite.
DESCRIPTION
gemspec.email = "gregg@kellogg-assoc.com"
gemspec.homepage = "http://github.com/gkellogg/rdf-rdfa"
gemspec.authors = ["Gregg Kellogg"]
- gemspec.add_dependency('rdf', '>= 0.3.1')
- gemspec.add_dependency('nokogiri', '>= 1.3.3')
+ gemspec.add_dependency('rdf', '>= 0.3.3')
+ gemspec.add_dependency('haml', '>= 3.0.0')
+ gemspec.add_dependency('nokogiri', '>= 1.4.4')
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-spec', '>= 0.3.3')
gemspec.add_development_dependency('rdf-isomorphic', '>= 0.3.4')
gemspec.add_development_dependency('yard')
gemspec.extra_rdoc_files = %w(README.md History.md AUTHORS CONTRIBUTORS)
end
Jeweler::GemcutterTasks.new
@@ -40,28 +40,8 @@
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.rdoc History.txt AUTHORS CONTRIBUTORS) # optional
-end
-
-desc "Generate RDF Core Manifest.yml"
-namespace :spec do
- task :prepare do
- $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
- require 'rdf/rdfa'
- require 'spec/rdfa_helper'
- require 'fileutils'
-
- %w(xhtml html4 html5 svgtiny).each do |suite|
- yaml = manifest_file = File.join(File.dirname(__FILE__), "spec", "#{suite}-manifest.yml")
- FileUtils.rm_f(yaml)
- #RDF::RDFa.debug = true
- RdfaHelper::TestCase.to_yaml(suite, yaml)
- #RDF::RDFa.debug = false
- end
- end
-end
+YARD::Rake::YardocTask.new
task :default => :spec