Skip to content

A Rails plugin for keeping track of monkeypatches between Rails versions

License

Notifications You must be signed in to change notification settings

ryana/evil_monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

= Evil Monkey

Rails plugin to keep track of monkeypatches.  Simply wrap any monkeypatches with evil_monkey,
and evil_monkey will explode when you upgrade Rails versions.


  evil_monkey('2.3.2') do

    class << ActiveRecord::Base
      def establish_connection
        #bleh
      end
    end

  end

As soon as Rails.version does not return '2.3.2', evil_monkey will raise an exception.

This also works in tests, where I find the majority of monkeypatching happens


== License

Inequal Opportunity is released under the MIT license.


== Support

Just email me at [email protected] with questions, bugs,
or patches

About

A Rails plugin for keeping track of monkeypatches between Rails versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages