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 = '2.0.2' s.date = '2015-01-09' 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.8.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