From e5503c98d8da3d951d795c70e3e3067c04da1d81 Mon Sep 17 00:00:00 2001 From: ragaskar Date: Tue, 26 Jan 2010 21:53:34 -0800 Subject: [PATCH] Minor doc update --- README.markdown | 42 +++++++++++++++++++++++++++++------------- jasmine.gemspec | 2 +- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/README.markdown b/README.markdown index ede902f..f32a144 100644 --- a/README.markdown +++ b/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. diff --git a/jasmine.gemspec b/jasmine.gemspec index 95ca5a8..cd419e2 100644 --- a/jasmine.gemspec +++ b/jasmine.gemspec @@ -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"]