3 ms·
Monkey-patching really? You're forgetting what else Rails has in our ecosystem: Github. 1.) Fork a project on Github, say the push notification gem https://git
by danielsju6 14y ago
Monkey-patching really? You're forgetting what else Rails has in our ecosystem: Github.
1.) Fork a project on Github, say the push notification gem https://github.com/jpoz/APNS https://github.com/jpoz/APNS
2.) Alter behavior in your branch https://github.com/jamesdaniels/APNS https://github.com/jamesdaniels/APNS
3.) Optional bit, send a pull-request with your changes
4.) Vendor it or require your fork in the Gemfile: gem 'apns', :git => 'git@github.com:jamesdaniels/APNS.git'
Tada!
- mtarnovan 14y agoshortcut: gem 'apns', :github => 'jamesdaniels/APNS'
- danielsju6 14y agoNice.