Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shikhalev/current_spec
Get gemspec object for current file
https://github.com/shikhalev/current_spec
Last synced: about 1 month ago
JSON representation
Get gemspec object for current file
- Host: GitHub
- URL: https://github.com/shikhalev/current_spec
- Owner: shikhalev
- License: lgpl-3.0
- Created: 2015-02-06T08:34:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T20:09:29.000Z (over 9 years ago)
- Last Synced: 2024-03-23T01:43:55.202Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# current_spec
Get gemspec object for current file.
[![Gem Version](https://badge.fury.io/rb/current_spec.svg)](http://badge.fury.io/rb/current_spec)
[![GitHub license](https://img.shields.io/badge/license-LGPLv3-orange.svg?style=flat)](https://raw.githubusercontent.com/shikhalev/current_spec/master/LICENSE)
[![Code Climate](https://codeclimate.com/github/shikhalev/current_spec/badges/gpa.svg)](https://codeclimate.com/github/shikhalev/current_spec)* `Gem::current_spec` — return a `Gem::Specification` object which contains
current source file. `nil` if not found.
* `Gem::current_spec_version` - return a version string of this specification
or `nil` if not found.## License
* [GNU Lesser General Public License v3](LICENSE)