public
Rubygem
Description: Johnson wraps JavaScript in a loving Ruby embrace.
Homepage: http://github.com/jbarnette/johnson/wikis
Clone URL: git://github.com/jbarnette/johnson.git
commit  c3e2d69ccf82936b384567c668764d69fe7ec8bd
tree    a580222e11be5edda7d320c274d54b84ee78cecd
parent  0608c48aaf278688a9a3fe07bb33a8392cf104db
name age message
file .gitignore Mon Apr 21 01:18:39 -0700 2008 Exit on EOF, too. [matthewd]
file .gitmodules Mon Apr 21 17:42:33 -0700 2008 vendor/spidermonkey is now a Git submodule trac... [jbarnette]
file History.txt Tue Mar 11 22:50:49 -0700 2008 Skeletal Hoe structure. [jbarnette]
file MINGW32.mk Wed Apr 23 08:17:10 -0700 2008 First cut of a cross-compilation process so we ... [matthewd]
file Manifest.txt Wed Apr 23 01:13:33 -0700 2008 Merge branch 'master' of git@github.com:jbarnet... [wycats]
file README.txt Fri Apr 18 10:49:57 -0700 2008 Added Yehuda to the authors list. [jbarnette]
file Rakefile Wed Apr 23 08:43:34 -0700 2008 Use Rake's cp helper: it logs. [jbarnette]
directory bin/ Wed Apr 23 01:12:46 -0700 2008 Basic exception handling for Context#evaluate. [jbarnette]
directory browser/ Wed Apr 23 01:38:58 -0700 2008 Removing exploratory file [wycats]
file cross-compile.txt Wed Apr 23 21:40:46 -0700 2008 Probably worth noting that it's a good idea to ... [matthewd]
directory ext/ Wed Apr 23 21:39:26 -0700 2008 Fix a potential GC root leak, and make some nam... [matthewd]
directory js/ Wed Apr 23 01:27:32 -0700 2008 Don't use the built-in eval. [jbarnette]
directory lib/ Wed Apr 23 16:39:30 -0700 2008 labeling left and right side [tenderlove]
directory test/ Wed Apr 23 16:24:37 -0700 2008 adding a dot visitor [tenderlove]
directory vendor/ Wed Apr 23 16:54:33 -0700 2008 Syncing with SpiderMonkey trunk. [jbarnette]
README.txt
= johnson

* http://github.com/jbarnette/johnson
* http://johnson.lighthouseapp.com
* http://johnson.rubyforge.org

== DESCRIPTION:

Johnson wraps JavaScript in a loving Ruby embrace.

== SYNOPSIS:

  # FIXME: write some decent examples
  require "johnson"
  
  Johnson.evaluate("4 + 4") # => 8
  Johnson.evaluate("4 + foo", :foo => 4) # => 8

== REQUIREMENTS:

* Mocha (only for development)

== INSTALL:

  sudo gem install johnson

== LICENSE:

FIXME: ruby-spidermonkey shoutout

(The MIT License)

Copyright (c) 2008 John Barnette, Aaron Patterson, Yehuda Katz

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.