Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/shikhalev/share-paths
- Owner: shikhalev
- License: lgpl-3.0
- Created: 2015-02-25T20:28:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T03:01:41.000Z (over 9 years ago)
- Last Synced: 2024-04-25T06:21:42.787Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)