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
tenderlove (author)
Wed Apr 23 16:39:30 -0700 2008
commit  380ddb0d54f39a6059572e9e0968fde69e58476e
tree    8812a9998623375c9604d37c04f9415229960a59
parent  673ecfa09a54f326669bbc98a4c097cce87a11b9
name age message
file .gitignore Thu Apr 24 16:30:07 -0700 2008 Ignore .DS_Store [jbarnette]
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 Mon Nov 10 11:09:46 -0800 2008 Adding a version check for Ruby 1.8.6. [jbarnette]
directory bin/ Tue Sep 09 01:03:44 -0700 2008 It's now possible to execute multiple JS files ... [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/ Mon Nov 10 11:27:28 -0800 2008 Revert "Ruby.Class.prototype, not totally ... [jbarnette]
directory js/ Tue Sep 09 01:03:44 -0700 2008 It's now possible to execute multiple JS files ... [jbarnette]
directory lib/ Mon Nov 10 11:27:28 -0800 2008 Revert "Ruby.Class.prototype, not totally ... [jbarnette]
directory test/ Mon Nov 10 11:27:28 -0800 2008 Revert "Ruby.Class.prototype, not totally ... [jbarnette]
directory vendor/ Sun Jul 06 03:03:57 -0700 2008 Updating SpiderMonkey. [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.