require 'rubygems' require 'rake' begin gem 'jeweler', '~> 1.4' require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = 'dm-serializer' gem.summary = 'DataMapper plugin for serializing Resources and Collections' gem.description = gem.summary gem.email = 'vandenberg.guy [a] gmail [d] com' gem.homepage = 'http://github.com/datamapper/dm-serializer' gem.authors = [ 'Guy van den Berg' ] gem.rubyforge_project = 'datamapper' gem.add_dependency 'dm-core', '~> 1.0.0.rc1' gem.add_dependency 'fastercsv', '~> 1.5.0' gem.add_dependency 'json_pure', '~> 1.4.3' #gem.add_development_dependency 'libxml-ruby', '~> 1.1.3' # not available on JRuby gem.add_development_dependency 'dm-validations', '~> 1.0.0.rc1' gem.add_development_dependency 'nokogiri', '~> 1.4.1' gem.add_development_dependency 'rspec', '~> 1.3' end Jeweler::GemcutterTasks.new FileList['tasks/**/*.rake'].each { |task| import task } rescue LoadError puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler' end