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
Search Repo:
commit  9ab93fb2e6a0eb8d4b40ccadefa8e80e54487449
tree    462c711bb302b1b29f77e3b72ef4da6e55995673
parent  36533ab7f5b523fd5d84acb5cd9f7859dbf1b3d3
name age message
folder .gitignore Thu Apr 24 16:30:07 -0700 2008 Ignore .DS_Store [jbarnette]
folder .gitmodules Mon Apr 21 17:42:33 -0700 2008 vendor/spidermonkey is now a Git submodule trac... [jbarnette]
folder History.txt Tue Mar 11 22:50:49 -0700 2008 Skeletal Hoe structure. [jbarnette]
folder MINGW32.mk Wed Apr 23 08:17:10 -0700 2008 First cut of a cross-compilation process so we ... [matthewd]
folder Manifest.txt Wed Apr 23 21:15:33 -0700 2008 Updating manifest. [jbarnette]
folder README.txt Fri Apr 18 10:49:57 -0700 2008 Added Yehuda to the authors list. [jbarnette]
folder Rakefile Wed Apr 23 08:43:34 -0700 2008 Use Rake's cp helper: it logs. [jbarnette]
folder bin/ Fri Apr 25 10:20:55 -0700 2008 Scrub 'bin/johnson' lines from the backtrace in... [jbarnette]
folder browser/ Wed Apr 23 01:38:58 -0700 2008 Removing exploratory file [wycats]
folder cross-compile.txt Wed Apr 23 21:40:46 -0700 2008 Probably worth noting that it's a good idea to ... [matthewd]
folder ext/ Fri Apr 25 04:45:08 -0700 2008 Enabled a bunch of warnings, and added .toStrin... [matthewd]
folder js/ Fri Apr 25 04:46:23 -0700 2008 Replace Ruby.Generator with a much dumber imple... [matthewd]
folder lib/ Thu Apr 24 23:10:37 -0700 2008 Added a bunch of exception propagation handling. [matthewd]
folder test/ Thu Apr 24 23:10:37 -0700 2008 Added a bunch of exception propagation handling. [matthewd]
folder 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.