metridoc-archives / metridoc-job-core

All non-grails core functionality for metridoc
0 stars 0 forks source link

make MetridocScript an extension #92

Closed tbarker9 closed 11 years ago

tbarker9 commented 11 years ago

made it an extension, changed tests appropriately

tbarker9 commented 11 years ago

The commits might seem large, but really the only thing I changed is src/main/resources/META-INF/services/org.codehaus.groovy.runtime.ExtensionModule. This basically adds all methods in MetridocScript to Script and Binding. By doing this I no longer have to do use(MetridocScript){}. The huge bulk of changes comes from refactoring code to reflect this.