<commit_before>import com.radiadesign.relationalscope.RelationalScope

class RelationallyScopedQueryGrailsPlugin {
    // the plugin version
    def version = "1.0"
    // the version or versions of Grails the plugin is designed for
    def grailsVersion = "1.3.5 > *"
    // the other plugins this plugin depends on
    def dependsOn = [hibernate:"1.2.0 > *"]
    // resources that are excluded from plugin packaging
    def pluginExcludes = [
            "grails-app/views/error.gsp",
            "grails-app/controllers/InspectorController.groovy"
    ]
    def observes = ["domain"]

    // TODO Fill in these fields
    def author = "<NAME>"
    def authorEmail = "<EMAIL>"
    def title = "RelationalScope"
    def description = '''\\
This plugin was inspired by both the power of Groovy builders in HibernateCriteriaBuilder 
and the new Relation querying API that appeared in ActiveRecord with Rails 3.0. Major goals 
include arbitrarily nested reuasable scopes and lazy execution of the query generated. Also available 
will be a level of introspection into the logical expression generated that Criteria cannot provide.
'''<commit_msg>Relscope is officially going version 2.0 soon!<commit_after>import com.radiadesign.relationalscope.RelationalScope

class RelationallyScopedQueryGrailsPlugin {
    // the plugin version
    def version = "2.0"
    // the version or versions of Grails the plugin is designed for
    def grailsVersion = "1.3.5 > *"
    // the other plugins this plugin depends on
    def dependsOn = [hibernate:"1.2.0 > *"]
    // resources that are excluded from plugin packaging
    def pluginExcludes = [
            "grails-app/views/error.gsp",
            "grails-app/controllers/InspectorController.groovy"
    ]
    def observes = ["domain"]

    // TODO Fill in these fields
    def author = "<NAME>"
    def authorEmail = "<EMAIL>"
    def title = "RelationalScope"
    def description = '''\\
This plugin was inspired by both the power of Groovy builders in HibernateCriteriaBuilder 
and the new Relation querying API that appeared in ActiveRecord with Rails 3.0. Major goals 
include arbitrarily nested reuasable scopes and lazy execution of the query generated. Also available 
will be a level of introspection into the logical expression generated that Criteria cannot provide.
'''
{'fraction_non_alphanumeric': 0.07410598879793193, 'fraction_numerical': 0.009478672985781991, 'mean_word_length': 3.332089552238806, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '120805', 'n_tokens_mistral': 634, 'n_tokens_neox': 606, 'n_words': 250}