Skip to content

elpic/friendly_ghost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(casper, the) friendly_ghost Build Status

Overview

A simplistic, opinionated Ruby runner for CasperJS projects. Designed to hand JSON from the last line of STDOUT back to the user. Maybe someone else will find it useful, but I doubt it.

Installation

Using rubygems: gem install friendly_ghost

OR using Bundler: gem 'friendly_ghost'

OR using hub: git clone ezkl/friendly_ghost

Usage

runner = FriendlyGhost::Runner.new
runner.casper_path #=> /usr/local/bin/casperjs

runner.command 'test spec/support/json.js'
runner.process.success? #=> true
runner.process.out #=> STDOUT
runner.process.err #=> STDERR

Dependencies

About

A simplistic, opinionated Ruby runner for CasperJS projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 89.1%
  • JavaScript 10.9%