Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shikhalev/share-paths

Manage search paths provided by some gems
https://github.com/shikhalev/share-paths

Last synced: about 1 month ago
JSON representation

Manage search paths provided by some gems

Awesome Lists containing this project

README

        

# share-paths

Manage search paths provided by some gems.

[![Gem Version](https://badge.fury.io/rb/share-paths.svg)](http://badge.fury.io/rb/share-paths)
[![GitHub license](https://img.shields.io/badge/license-LGPLv3-orange.svg?style=flat)](https://raw.githubusercontent.com/shikhalev/share-paths/master/LICENSE)
[![Code Climate](https://codeclimate.com/github/shikhalev/share-paths/badges/gpa.svg)](https://codeclimate.com/github/shikhalev/share-paths)

## Usage

At gems place your share files in `/share` directory and add to source
code:

```Ruby
require 'share-paths'

Share::register_vendor_path
```

At application find share files by:

```Ruby
js = Share['js/myscript.js']
css = Share['css/darc.css']
```

## License

* [GNU Lesser General Public License v3](LICENSE)