lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'neo4j/version' Gem::Specification.new do |s| s.name = "neo4j" s.version = Neo4j::VERSION # s.platform = Gem::Platform::CURRENT # will probably support C Ruby via RJB also in the future s.authors = "Andreas Ronge" s.email = 'andreas.ronge@gmail.com' s.homepage = "http://github.com/andreasronge/neo4j/tree" s.rubyforge_project = 'neo4j' s.summary = "A graph database for JRuby" s.description = s.summary s.require_path = 'lib' s.files = Dir.glob("{bin,lib}/**/*") + %w(README.rdoc CHANGELOG CONTRIBUTORS Gemfile neo4j.gemspec) s.has_rdoc = true s.extra_rdoc_files = %w( README.rdoc ) s.rdoc_options = ["--quiet", "--title", "Neo4j.rb", "--opname", "index.html", "--line-numbers", "--main", "README.rdoc", "--inline-source"] s.required_ruby_version = ">= 1.8.7" s.add_dependency("activemodel", ["~> 3.0.0"]) s.add_dependency("railties", ["~> 3.0.0"]) s.add_development_dependency "rspec-apigen", ">= 0.0.4" s.add_development_dependency "rspec", ">= 2.0.0.beta.20" s.add_development_dependency "rspec-rails-matchers", "= 0.2.1" # s.add_development_dependency "rspec-unit", ">= 0.0.1" end