Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Commit

Permalink
Minor doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
ragaskar committed Jan 27, 2010
1 parent e0a90dd commit e5503c9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
42 changes: 29 additions & 13 deletions README.markdown
@@ -1,21 +1,37 @@
jasmine-ruby
============

git clone git://github.com/ragaskar/jasmine-ruby.git
cd jasmine-ruby
rake jeweler:build
rake jeweler:install
cd ..
mkdir test-jasmine
cd test-jasmine
jasmine init
rake jasmine
Jasmine Ruby dynamically serves HTML suites for (Jasmine)[http://github.com/pivotal/jasmine]

then
To use:

http://localhost:8888
`(sudo) gem install jasmine`

and go!
Post-installation:

After a few more touch-ups, I'll update the gemcutter.org gem ...
For Rails support, use

`script/generate jasmine`

For other projects, use

`jasmine init`

After initializing a project, you may

`rake jasmine`

to set up a server. Opening localhost:8888 in a web browser will now run your jasmine specs.

You may also

`rake jasmine:ci`

which will run your Jasmine suites using selenium and rspec. This task is suitable for running in continuous integration environments.

Simple Configuration:

Customize `spec/javascripts/support/jasmine.yaml` to enumerate the source files, stylesheets, and spec files you would like the Jasmine runner to include.
You may use dir glob strings.

It is also possible to add overrides into the `spec/javascripts/support/jasmine_config.rb` file directly if you require further customization.
2 changes: 1 addition & 1 deletion jasmine.gemspec
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = %q{jasmine}
s.version = "0.4.0"
s.version = "0.4.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Rajan Agaskar", "Christian Williams"]
Expand Down

0 comments on commit e5503c9

Please sign in to comment.