Gem::Specification.new do |s| root_dir = File.dirname(__FILE__) files = Dir.glob("#{root_dir}/**/*.*").map { |x| x[root_dir.length + 1, x.length]} s.name = 'oneis' s.version = '1.0.1' s.date = '2013-02-13' s.summary = "ONEIS Tools" s.description = "ONEIS Developer Tools" s.authors = ["ONEIS"] s.email = 'client.services@oneis.co.uk' s.platform = "java" s.add_dependency('jruby-openssl', '>= 0.7.7') s.add_dependency('json', '>= 1.7.7') s.files = files s.executables = ['oneis-plugin'] s.default_executable = 'oneis-plugin' s.homepage = "http://docs.oneis.co.uk/dev/tool/plugin" end