NUBIC/surveyor — pull request #314 by gaurish (2012-05-04 14:16:34+00:00)
Title: [Experimental] Refactoring to make asset pipeline work out-of-the box

This fixes #307. With this change, Asset pipeline works out of the box. so here is summary what all have been changed

1. Moved all assets(javascript/images/css) into `vendor/assets` & created index files which require those. hope, the order of js files is correct. if not, then let me know. I would fix it.
2. removed custom `surveyor_includes` helper & replaced that with standard rails helpers: `stylesheet_link_tag` & 'javascript_include_tag'
3. removed everything under `assets` in install generator & just added code which requires all css & javascript of surveyor. This works because, `vendor/assets` is already in asset path & we just need to require it to be included in the final concatenated file.
4. In unrelated change, switched default doctype to html5. let me if that's not okay, I would switch it back.

**How to Test**
1. create a new rails app
2. Edit Gemfile, add
gem "surveyor", git: "git://github.com/gaurish/surveyor.git", branch: "asset_pipeline"
3. do usual surveyor setup as given in Readme(no extra setup needed).

Let me know your thoughts on this.