# -*- encoding: utf-8 -*- lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'spade/version' Gem::Specification.new do |s| s.name = "spade" s.version = Spade::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Charles Jolley", "Peter Wagenet"] s.email = ["charles@sproutcore.com", "peterw@strobecorp.com"] s.homepage = "http://github.com/strobecorp/spade" s.summary = s.description = "Unified JavaScript runner for browser and command line" s.add_dependency "eventmachine", "~> 0.12.10" s.add_dependency "json_pure", "~> 1.4.6" s.add_dependency "rack", "~> 1.2.1" s.add_dependency "thor", "~> 0.14.3" s.add_dependency "childlabor", "~> 0.0.3" s.add_dependency "therubyracer", "~> 0.9.2" s.add_development_dependency "rspec" s.add_development_dependency "bpm" paths = `git submodule`.split("\n").map do |line| path = line.gsub(/^.\w+\s+(\S+).*/,'\1') `cd #{path}; git ls-files`.split("\n").map { |p| File.join(path, p) } end paths << `git ls-files`.split("\n") s.files = paths.flatten s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = ['spade'] s.require_paths = ["lib"] end