Skip to content

Commit

Permalink
changes for 0.2.2
Browse files Browse the repository at this point in the history
git-svn-id: http://ala.googlecode.com/svn/trunk/ala-web-theme@165 cf76a52e-83f7-1f8e-e3a8-b8364d34af1a
  • Loading branch information
djtfmartin committed Feb 4, 2014
1 parent b7883ea commit ee9f497
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 37 deletions.
34 changes: 5 additions & 29 deletions AlaWebThemeGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import grails.util.Holders

class AlaWebThemeGrailsPlugin {
// the plugin version
def version = "0.2.0"
def version = "0.2.2"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "2.1 > *"
// the other plugins this plugin depends on
Expand Down Expand Up @@ -48,34 +48,10 @@ made to `ala.less` and then CSS files generated with provided script (see README
def mappingElement = xml.'context-param'
def lastMapping = mappingElement[mappingElement.size()-1]
lastMapping + {
'context-param' {
'param-name' ('serverName')
'param-value' (Holders.config.security.cas.appServerName)
}
'context-param' {
'param-name' ('casServerName')
'param-value' (Holders.config.security.cas.casServerName)
}
'context-param' {
'param-name' ('uriFilterPattern')
'param-value' (Holders.config.security.cas.uriFilterPattern)
}
'context-param' {
'param-name' ('uriExclusionFilterPattern')
'param-value' (Holders.config.security.cas.uriExclusionFilterPattern)
}
'context-param' {
'param-name' ('authenticateOnlyIfLoggedInFilterPattern')
'param-value' (Holders.config.security.cas.authenticateOnlyIfLoggedInPattern)
}
}

if (Holders.config.security.cas.contextPath) {
lastMapping + {
'context-param' {
'param-name' ('contextPath')
'param-value' (Holders.config.security.cas.contextPath)
}
'env-entry' {
'env-entry-name' ('configPropFile')
'env-entry-value' (Holders.config.default_config)
'env-entry-type' ('java.lang.String')
}
}

Expand Down
6 changes: 3 additions & 3 deletions application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Grails Metadata file
#Tue Sep 03 12:11:08 EST 2013
app.grails.version=2.2.4
app.name=ala-web-theme
#Mon Dec 09 20:00:04 EST 2013
app.grails.version=2.2.2
app.name=ala-web-theme
2 changes: 1 addition & 1 deletion grails-app/conf/BuildConfig.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ grails.project.dependency.resolution = {
// runtime 'mysql:mysql-connector-java:5.1.18'
compile group:'au.org.ala',
name:'ala-cas-client',
version:'1.0-SNAPSHOT',
version:'2.0-SNAPSHOT',
transitive:false
compile 'org.jasig.cas.client:cas-client-core:3.1.12'
}
Expand Down
9 changes: 5 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<plugin name='ala-web-theme' version='0.2.0' grailsVersion='2.1 &gt; *'>
<plugin name='ala-web-theme' version='0.2.2' grailsVersion='2.1 &gt; *'>
<author>Nick dos Remedios</author>
<authorEmail>[email protected]</authorEmail>
<title>Ala Web Theme Plugin</title>
Expand All @@ -21,20 +21,21 @@ made to `ala.less` and then CSS files generated with provided script (see README
<repository name='mavenCentral' url='http://repo1.maven.org/maven2/' />
<repository name='http://maven.ala.org.au/repository' url='http://maven.ala.org.au/repository/' />
<repository name='Codehaus' url='http://repository.codehaus.org/' />
<repository name='http://grails.org/plugins' url='http://grails.org/plugins' />
</repositories>
<dependencies>
<compile>
<dependency group='org.jasig.cas.client' name='cas-client-core' version='3.1.12' />
<dependency group='au.org.ala' name='ala-cas-client' version='1.0-SNAPSHOT' />
<dependency group='au.org.ala' name='ala-cas-client' version='2.0-SNAPSHOT' />
</compile>
</dependencies>
<plugins>
<compile>
<plugin group='org.grails.plugins' name='rest' version='0.7' />
<plugin group='org.grails.plugins' name='cache-ehcache' version='1.0.0' />
<plugin group='org.grails.plugins' name='rest' version='0.7' />
</compile>
<runtime>
<plugin group='org.grails.plugins' name='resources' version='1.1.6' />
<plugin group='org.grails.plugins' name='resources' version='1.2.1' />
<plugin group='org.grails.plugins' name='jquery' version='1.7.1' />
</runtime>
</plugins>
Expand Down

0 comments on commit ee9f497

Please sign in to comment.