Skip to content

Commit

Permalink
general upgrade
Browse files Browse the repository at this point in the history
- upgraded files to their 2.0.4 counterparts
- removed zips
  • Loading branch information
Jeroen Wesbeek committed Jun 26, 2012
1 parent 696dda2 commit d762d99
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 85 deletions.
88 changes: 56 additions & 32 deletions GromGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import org.codehaus.groovy.grails.plugins.GrailsPluginUtils
*
* A plugin to send notifications to the window manager of the
* host OS. It currently supports the following:
* - Max OS X via Growl
* - Max OS X via Growl
* - Windows via Growl for Windows
* - Linux via libnotify
*
Expand All @@ -18,24 +18,62 @@ import org.codehaus.groovy.grails.plugins.GrailsPluginUtils
* $Author$
* $Date$
*/

class GromGrailsPlugin {
def version = "0.2.3"
def grailsVersion = "1.3.4 > *"
def dependsOn = [:]
def pluginExcludes = ["grails-app/views/error.gsp"]
def author = "Jeroen Wesbeek"
def authorEmail = "work@osx.eu"
def title = "Grom"
def description = '''Grom (Dutch for Growl) sends Grails notifications to Mac OS X and Windows using Growl, or to Linux using libnotify.'''
def documentation = "http://grails.org/plugin/grom"

def doWithWebDescriptor = { xml ->
// TODO Implement additions to web.xml (optional), this event occurs before
}
def version = "0.2.4"
def grailsVersion = "1.3.4 > *"
def dependsOn = [:]
def pluginExcludes = [
"grails-app/views/error.gsp",
"grails-app/conf/DataSource.groovy",
"web-app/css",
"web-app/images",
"web-app/js"
]
def author = "Jeroen Wesbeek"
def authorEmail = "work@osx.eu"
def title = "Grom"
def description = '''Grom (Dutch for Growl) sends Grails notifications to Mac OS X and Windows using Growl, or to Linux using libnotify.'''
def documentation = "https://github.com/4np/grails-grom/blob/master/README.md"
def license = "APACHE"
def issueManagement = [ system: "github", url: "https://github.com/4np/grails-grom/issues" ]
def scm = [ url: "https://github.com/4np/grails-grom" ]

// Extra (optional) plugin metadata

// Details of company behind the plugin (if there is one)
// def organization = [ name: "My Company", url: "http://www.my-company.com/" ]

// Any additional developers beyond the author specified above.
// def developers = [ [ name: "Joe Bloggs", email: "joe@bloggs.net" ]]

def doWithWebDescriptor = { xml ->
// TODO Implement additions to web.xml (optional), this event occurs before
}

def doWithSpring = {
// TODO Implement runtime spring config (optional)
}

def doWithApplicationContext = { applicationContext ->
// TODO Implement post initialization spring config (optional)
}

def onChange = { event ->
// TODO Implement code that is executed when any artefact that this plugin is
// watching is modified and reloaded. The event contains: event.source,
// event.application, event.manager, event.ctx, and event.plugin.
}

def onConfigChange = { event ->
// TODO Implement code that is executed when the project configuration changes.
// The event is the same as for 'onChange'.
}

def onShutdown = { event ->
// TODO Implement code that is executed when the application shuts down (optional)
}

def doWithSpring = {
// TODO Implement runtime spring config (optional)
}

def getPluginDirectory = { application ->
// at this stage we do not have the pluginPath
Expand All @@ -60,6 +98,7 @@ class GromGrailsPlugin {
// set up Grom
try {
setUpGrom(applicationName, pluginBasePath, log)

} catch (Exception e) {
log.error "Grom: encountered a problem setting up the global grom method"
log.error " --> ${e.getMessage()}"
Expand Down Expand Up @@ -213,19 +252,4 @@ class GromGrailsPlugin {
throw new Exception(feedback)
}
}

def doWithApplicationContext = { applicationContext ->
// TODO Implement post initialization spring config (optional)
}

def onChange = { event ->
// TODO Implement code that is executed when any artefact that this plugin is
// watching is modified and reloaded. The event contains: event.source,
// event.application, event.manager, event.ctx, and event.plugin.
}

def onConfigChange = { event ->
// TODO Implement code that is executed when the project configuration changes.
// The event is the same as for 'onChange'.
}
}
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 Oct 19 11:31:27 CEST 2010
app.grails.version=1.3.4
app.name=grom
#Tue Jun 26 14:39:29 CEST 2012
app.grails.version=2.0.4
app.name=grom
Binary file removed grails-grom-0.2.0.zip
Binary file not shown.
Binary file removed grails-grom-0.2.1.zip
Binary file not shown.
Binary file removed grails-grom-0.2.2.zip
Binary file not shown.
Binary file removed grails-grom-0.2.3.zip
Binary file not shown.
10 changes: 0 additions & 10 deletions plugin.xml

This file was deleted.

20 changes: 0 additions & 20 deletions src/docs/ref/Codec/grom.gdoc

This file was deleted.

20 changes: 0 additions & 20 deletions src/docs/ref/Controller/grom.gdoc

This file was deleted.

Binary file modified web-app/lib/grom.scpt
Binary file not shown.

0 comments on commit d762d99

Please sign in to comment.