https://github.com/deployable/deployable-patch
The monkeypatch place
https://github.com/deployable/deployable-patch
Last synced: 12 months ago
JSON representation
The monkeypatch place
- Host: GitHub
- URL: https://github.com/deployable/deployable-patch
- Owner: deployable
- License: mit
- Created: 2015-02-03T15:10:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-08T04:06:57.000Z (over 9 years ago)
- Last Synced: 2025-02-09T20:28:14.321Z (about 1 year ago)
- Language: Ruby
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Deployable::Patch
The place to store all the monkey patches
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'deployable-patch'
```
And then execute:
$ bundle
Or install it yourself:
$ gem install deployable-patch
## Usage
Monkeypatches should be seperated into directories/files based on their classes initially
Then grouped into include files elsewhere for ease of use
The more granular the seperation the more control you have over their use
```ruby
require "deployable/patch/hash/accept"
{:one => 1}.accept(:one)
```
## Contributing
1. Fork it ( https://github.com/deployable/deployable-patch/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request