Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
ExecJS 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sstephenson committed Mar 10, 2011
1 parent 608086f commit 02ae497
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 12 deletions.
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
Copyright (c) 2011 Sam Stephenson
Copyright (c) 2011 Josh Peek

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12 changes: 11 additions & 1 deletion readme.md → README.md
Expand Up @@ -30,4 +30,14 @@ A longer example, demonstrating how to invoke the CoffeeScript compiler:

context = ExecJS.compile(source)
context.call("CoffeeScript.compile", "square = (x) -> x * x", :bare => true)
# => var square;\nsquare = function(x) {\n return x * x;\n};"
# => "var square;\nsquare = function(x) {\n return x * x;\n};"

# Installation

$ gem install execjs

# License

Copyright (c) 2011 Sam Stephenson and Josh Peek.

Released under the MIT license. See `LICENSE` for details.
27 changes: 16 additions & 11 deletions execjs.gemspec
@@ -1,29 +1,34 @@
Gem::Specification.new do |s|
s.name = "execjs"
s.version = "0.0.0"
s.date = "2011-02-06"
s.name = "execjs"
s.version = "0.1.0"
s.date = "2011-03-10"

s.homepage = "https://github.com/sstephenson/execjs"
s.summary = "Run JavaScript from Ruby"
s.summary = "Run JavaScript code from Ruby"
s.description = <<-EOS
ExecJS lets you run JavaScript code from Ruby.
EOS

s.files = [
"lib/execjs.rb",
"lib/execjs/external_runtime.rb",
"lib/execjs/rhino_runtime.rb",
"lib/execjs/runtimes.rb",
"lib/execjs/support",
"lib/execjs/support/basic_runner.js",
"lib/execjs/support/jscript_runner.js",
"lib/execjs/support/json2.js",
"lib/execjs/support/node_runner.js",
"lib/execjs/v8_runtime.rb"
"lib/execjs/support/which.bat",
"lib/execjs/external_runtime.rb",
"lib/execjs/ruby_racer_runtime.rb",
"lib/execjs/ruby_rhino_runtime.rb",
"lib/execjs/runtimes.rb",
"lib/execjs.rb",
"LICENSE",
"README.md"
]

s.add_development_dependency "therubyracer"
s.add_development_dependency "therubyrhino"

s.authors = ["Sam Stephenson"]
s.email = "sstephenson@gmail.com"
s.authors = ["Sam Stephenson", "Josh Peek"]
s.email = ["sstephenson@gmail.com", "josh@joshpeek.com"]
s.rubyforge_project = "execjs"
end

0 comments on commit 02ae497

Please sign in to comment.