Skip to content

talho/han

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAN
===========

This is a plugin for OpenPHIN.
1) plugins are registerd in the global array $expansion_list
2) javascript and stylesheet files
  - any javascript and stylesheet files for the plugin are registered with
    rails register_javascript_expansion() and register_stylesheet_expansion()
  - the paths must be relative to Rails.root/public
  - the plugin install.rb must make links to the plugin js/css dirs in
    Rails.root/public
3) run cucumber tests for this plugin with 'rake cucumber:HAN'
4) run spec tests for this plugin with 'rake spec:HAN'

The following was done initially to setup the plugin:
1) edited Rails.root/spec/spec_helper.rb to
  - set fixture path to han/spec/fixtures/
  - load han/spec/factories.rb
2) Edited han/install.rb to create
  - link in Rails.root/public to vendor/plugins/han/public/javascripts
  - link in Rails.root/public to vendor/plugins/han/public/stylesheets
  - link in han/spec/spec_helper.rb -> Rails.root/spec/spec_helper.rb
3) Necessary factories were defined in han/spec/factories.rb
4) Defined tasks in han/tasks/cucumber.rake & han/tasks/rspec.rake
5) Defined migrations in han/tasks/han_tasks.rake


Example
=======

Example goes here.


Copyright (c) 2010 [name of plugin creator], released under the MIT license

About

Statewide alerting for the openphin project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published