• This repository has been archived on 18/Aug/2018
  • Stars
    star
    466
  • Rank 94,105 (Top 2 %)
  • Language
    Ruby
  • Created over 16 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Johnson wraps JavaScript in a loving Ruby embrace.

Johnsonยถ โ†‘

Descriptionยถ โ†‘

Johnson wraps JavaScript in a loving Ruby embrace. It embeds the Mozilla SpiderMonkey JavaScript runtime as a C extension.

Examplesยถ โ†‘

# FIX: write some decent examples
require "johnson"

Johnson.evaluate("4 + 4") # => 8
Johnson.evaluate("4 + foo", :foo => 4) # => 8

Installationยถ โ†‘

$ gem install johnson

Licenseยถ โ†‘

Copyright 2008-2010 John Barnette, Aaron Patterson, Yehuda Katz, Matthew Draper

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.

More Repositories

1

isolate

Gem segregation.
Ruby
249
star
2

pinglish

A simple Rack middleware for checking application health.
Ruby
158
star
3

pastejour

Broadcast standard out.
Ruby
66
star
4

vlad-git

Git support for Vlad.
Ruby
65
star
5

intercession

Your session loves you.
Ruby
50
star
6

watchable

A simple event/notification mixin for Ruby.
Ruby
40
star
7

herogit

DON'T YOU KNOW WHO I AM?!
Ruby
34
star
8

hoe-git

A Hoe plugin for tighter Git integration.
Ruby
25
star
9

stateful

Give an object or class stateful behavior.
Ruby
22
star
10

gchart

Exposes the Google Chart API via a friendly Ruby interface.
Ruby
22
star
11

dr-nic-magic-awesome

Magically fix your projects overnight!
18
star
12

dotfiles

Bash, Emacs, and various other configs.
Shell
15
star
13

hooky

Write Git hooks in your Rakefile.
Ruby
14
star
14

house-styles

A collection of coding style guides. Fork and add your own!
Ruby
14
star
15

hoe-debugging

A Hoe plugin to help you fix your broken codes.
Ruby
13
star
16

configlet

Configuration mismanagement.
Ruby
12
star
17

lunr

A read-only model layer for Sunspot and Solr.
Ruby
12
star
18

lather

Lather rinses and repeats.
Ruby
9
star
19

castigate

Abuse every revision of a Ruby/Rails project.
Ruby
8
star
20

insinuate

Broken. Two bits of delicious information.
Ruby
7
star
21

basis

YAPGT.
Ruby
7
star
22

sploit

This is so dumb.
Ruby
7
star
23

modelizer

Sometimes fixtures just ain't enough.
Ruby
6
star
24

backpack-journal

CLI for 37signals' Backpack Journal. Up for adoption!
Ruby
6
star
25

deeby

Tasks to switch your database configuration for a single Rake run.
Ruby
6
star
26

hoe-plugin-examples

Simple examples of how to write Hoe plugins.
Ruby
5
star
27

rubygems-future

Experiments. Don't hold your breath.
Ruby
5
star
28

jbarnette.github.com

My website.
Ruby
4
star
29

spidermonkey

Mozilla SpiderMonkey mirror and patches for Johnson.
JavaScript
4
star
30

between

Move data between rich models and simple structures.
Ruby
3
star
31

hoe-rubygems

A Hoe plugin with some additional RubyGems support.
Ruby
3
star
32

simplifier

Translate Ruby object graphs to simpler types.
Ruby
3
star
33

osx-multitouch

Broken. Trackpad multitouch in Ruby.
Ruby
3
star
34

hoe-doofus

A Hoe plugin to keep me from making broken releases.
Ruby
3
star
35

rack-goggles

Rack middleware for JSON API visibility.
JavaScript
3
star
36

onesie

One-page app helper for Rack stacks.
Ruby
2
star
37

contexts

Combine multiple Go contexts
Go
2
star
38

rake-secrets

Helpful tasks for storing sensitive stuff.
Ruby
2
star
39

logfmt

JSONL pretty-printer
Go
2
star
40

botany

A git branch switcher for Atom.
CoffeeScript
1
star
41

fortress

Multiple CI Joes working together.
Ruby
1
star
42

docker-oauth2-proxy

1
star
43

basis-gem-hoe

Nothing to see here.
Ruby
1
star
44

basis-rails-minimal

Ruby
1
star