-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
34 lines (27 loc) · 1.24 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
VMS
===========
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:VMS'
4) run spec tests for this plugin with 'rake spec:VMS'
The following was done initially to setup the plugin:
1) edited Rails.root/spec/spec_helper.rb to
- set fixture path to vms/spec/fixtures/
- load vms/spec/factories.rb
2) Edited vms/install.rb to create
- link in Rails.root/public to vendor/plugins/vms/public/javascripts
- link in Rails.root/public to vendor/plugins/vms/public/stylesheets
- link in vms/spec/spec_helper.rb -> Rails.root/spec/spec_helper.rb
3) Necessary factories were defined in vms/spec/factories.rb
4) Defined tasks in vms/tasks/cucumber.rake & vms/tasks/rspec.rake
5) Defined migrations in vms/tasks/vms_tasks.rake
Example
=======
Example goes here.
Copyright (c) 2010 [name of plugin creator], released under the MIT license