<commit_before>import com.burtbeckwith.grails.plugins.appinfo.ContextListener
import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH

class AppInfoGrailsPlugin {

	String version = '0.3'
	String grailsVersion = '1.1 > *'
	def dependsOn = ['dynamicController': '0.2 > *',
	                 'googleVisualization': '0.2.1 > *',
	                 'jquery': '1.4.2.5 > *']

	String author = '<NAME>'
	String authorEmail = '<EMAIL>'
	String title = 'Application Info'
	String description = "UI for inspecting various aspects of the application's configuration"
	String documentation = 'http://grails.org/plugin/app-info'

	def doWithWebDescriptor = { xml ->
		def useContextListener = CH.config.grails.plugins.appinfo.useContextListener
		if (useContextListener == null || (useContextListener instanceof Boolean && useContextListener)) {
			def filterMapping = xml.'filter-mapping'
			filterMapping[filterMapping.size() - 1] + {
				'listener' {
					'listener-class'(ContextListener.name)
				}
			}
		}
	}
}
<commit_msg>update for latest version of dynamic-controller<commit_after>import com.burtbeckwith.grails.plugins.appinfo.ContextListener
import org.codehaus.groovy.grails.commons.ConfigurationHolder as CH

class AppInfoGrailsPlugin {

	String version = '0.3'
	String grailsVersion = '1.2 > *'
	def dependsOn = ['dynamicController': '0.2.1 > *',
	                 'googleVisualization': '0.2.1 > *',
	                 'jquery': '1.4.2.5 > *']

	String author = '<NAME>'
	String authorEmail = '<EMAIL>'
	String title = 'Application Info'
	String description = "UI for inspecting various aspects of the application's configuration"
	String documentation = 'http://grails.org/plugin/app-info'

	def doWithWebDescriptor = { xml ->
		def useContextListener = CH.config.grails.plugins.appinfo.useContextListener
		if (useContextListener == null || (useContextListener instanceof Boolean && useContextListener)) {
			def filterMapping = xml.'filter-mapping'
			filterMapping[filterMapping.size() - 1] + {
				'listener' {
					'listener-class'(ContextListener.name)
				}
			}
		}
	}
}

{'fraction_non_alphanumeric': 0.12607449856733524, 'fraction_numerical': 0.013849092645654251, 'mean_word_length': 3.7831050228310503, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '2456435', 'n_tokens_mistral': 678, 'n_tokens_neox': 621, 'n_words': 137}