Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ExecJS 0.1.0

  • Loading branch information...
commit 02ae49735aac7790078d44383a33ddeca7457ce8 1 parent 608086f
@sstephenson authored
Showing with 48 additions and 12 deletions.
  1. +21 −0 LICENSE
  2. +11 −1 readme.md → README.md
  3. +16 −11 execjs.gemspec
View
21 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.
View
12 readme.md → README.md
@@ -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.
View
27 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
Please sign in to comment.
Something went wrong with that request. Please try again.