<commit_before>import com.b2wdigital.grails.plugin.logicaldelete.LogicalDeleteDomainClassEnhancer
import com.b2wdigital.grails.plugin.logicaldelete.PreQueryListener

class LogicalDeleteGrailsPlugin {
    def version = "0.1"
    def grailsVersion = "2.4.4 > *"
    def title = "Logical Delete Plugin"
    def author = "<NAME>"
    def authorEmail = "<EMAIL>"
    def description = '''\
Allows you to do a logical deletion of domain classes

This is a fork based on Ezequiel Parada's original Logical Delete plugin:
https://grails.org/plugin/logical-delete

The original plugin relied on Hibernate filters and HawkEventing. This one
aims to implement logical deletion using GORM only.
'''
    def documentation = "https://github.com/saboya/logical-delete"

    def license = "APACHE"
    def organization = [name: "B2W Digital", url: "http://www.b2wdigital.com/"]
    def developers = [
            [name: "<NAME>", email: "<EMAIL>"]
    ]
    def issueManagement = [system: 'GITHUB', url: 'https://github.com/saboya/logical-delete/issues']
    def scm = [url: 'https://github.com/saboya/logical-delete']

    def pluginExcludes = [
            "grails-app/domain/**",
            "grails-app/services/TestService"
    ]

    def loadAfter = ['controllers', 'domainClass']

    def doWithDynamicMethods = { ctx ->
        ctx.addApplicationListener(new PreQueryListener())
        LogicalDeleteDomainClassEnhancer.enhance(application.domainClasses)
    }
}<commit_msg>Removing loadAfter controllers, not needed.<commit_after>import com.b2wdigital.grails.plugin.logicaldelete.LogicalDeleteDomainClassEnhancer
import com.b2wdigital.grails.plugin.logicaldelete.PreQueryListener

class LogicalDeleteGrailsPlugin {
    def version = "0.1"
    def grailsVersion = "2.4.4 > *"
    def title = "Logical Delete Plugin"
    def author = "<NAME>"
    def authorEmail = "<EMAIL>"
    def description = '''\
Allows you to do a logical deletion of domain classes

This is a fork based on Ezequiel Parada's original Logical Delete plugin:
https://grails.org/plugin/logical-delete

The original plugin relied on Hibernate filters and HawkEventing. This one
aims to implement logical deletion using GORM only.
'''
    def documentation = "https://github.com/saboya/logical-delete"

    def license = "APACHE"
    def organization = [name: "B2W Digital", url: "http://www.b2wdigital.com/"]
    def developers = [
            [name: "<NAME>", email: "<EMAIL>"]
    ]
    def issueManagement = [system: 'GITHUB', url: 'https://github.com/saboya/logical-delete/issues']
    def scm = [url: 'https://github.com/saboya/logical-delete']

    def pluginExcludes = [
            "grails-app/domain/**",
            "grails-app/services/TestService"
    ]

    def loadAfter = ['domainClass']

    def doWithDynamicMethods = { ctx ->
        ctx.addApplicationListener(new PreQueryListener())
        LogicalDeleteDomainClassEnhancer.enhance(application.domainClasses)
    }
}
{'fraction_non_alphanumeric': 0.1163895486935867, 'fraction_numerical': 0.006107906345436036, 'mean_word_length': 3.5145482388973965, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3807831', 'n_tokens_mistral': 919, 'n_tokens_neox': 886, 'n_words': 223}