execjs-1.4.0.gemspec 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # -*- encoding: utf-8 -*-
  2. Gem::Specification.new do |s|
  3. s.name = "execjs"
  4. s.version = "1.4.0"
  5. s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  6. s.authors = ["Sam Stephenson", "Josh Peek"]
  7. s.date = "2012-05-20"
  8. s.description = "ExecJS lets you run JavaScript code from Ruby."
  9. s.email = ["sstephenson@gmail.com", "josh@joshpeek.com"]
  10. s.homepage = "https://github.com/sstephenson/execjs"
  11. s.require_paths = ["lib"]
  12. s.rubygems_version = "1.8.24"
  13. s.summary = "Run JavaScript code from Ruby"
  14. if s.respond_to? :specification_version then
  15. s.specification_version = 3
  16. if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
  17. s.add_runtime_dependency(%q<multi_json>, ["~> 1.0"])
  18. s.add_development_dependency(%q<rake>, [">= 0"])
  19. else
  20. s.add_dependency(%q<multi_json>, ["~> 1.0"])
  21. s.add_dependency(%q<rake>, [">= 0"])
  22. end
  23. else
  24. s.add_dependency(%q<multi_json>, ["~> 1.0"])
  25. s.add_dependency(%q<rake>, [">= 0"])
  26. end
  27. end