Browse files

updated to elasticsearch 0.17.6

  • Loading branch information...
1 parent 5096b0d commit f63c0315cc1dcacd6c8b95d81f457c1e5cb52660 Cory Hacking committed Aug 22, 2011
Showing with 5 additions and 6 deletions.
  1. +2 −3 GormCouchdbElasticsearchGrailsPlugin.groovy
  2. +2 −2 grails-app/conf/BuildConfig.groovy
  3. +1 −1 plugin.xml
View
5 GormCouchdbElasticsearchGrailsPlugin.groovy
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-import grails.converters.JSON
import grails.util.GrailsUtil
import org.apache.commons.logging.Log
import org.apache.commons.logging.LogFactory
@@ -37,7 +36,7 @@ class GormCouchdbElasticsearchGrailsPlugin {
static final Log log = LogFactory.getLog(GormCouchdbElasticsearchGrailsPlugin.class)
// the plugin version
- def version = "0.6"
+ def version = "0.7"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.3.6 > *"
@@ -117,7 +116,7 @@ class GormCouchdbElasticsearchGrailsPlugin {
return null
}
- scm.domainClass.clazz.parse(delegate.sourceAsMap() as JSON)
+ scm.domainClass.clazz.parse(delegate.sourceAsString())
}
}
View
4 grails-app/conf/BuildConfig.groovy
@@ -28,11 +28,11 @@ grails.project.dependency.resolution = {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// latest elasticsearch
- runtime 'org.elasticsearch:elasticsearch:0.17.4'
+ runtime 'org.elasticsearch:elasticsearch:0.17.6'
// don't use because of groovy compatibility issues when deploying
// application as a war
- // runtime 'org.elasticsearch:elasticsearch-lang-groovy:0.17.4'
+ // runtime 'org.elasticsearch:elasticsearch-lang-groovy:0.17.6'
}
}
View
2 plugin.xml
@@ -1,4 +1,4 @@
-<plugin name='gorm-couchdb-elasticsearch' version='0.6' grailsVersion='1.3.6 &gt; *'>
+<plugin name='gorm-couchdb-elasticsearch' version='0.7' grailsVersion='1.3.6 &gt; *'>
<author>Cory Hacking</author>
<title>Grails CouchDB ElasticSearch Plugin</title>
<description>Integrates CouchDB with ElasticSearch, indexing domain instances using the Couchdb _change feed.</description>

0 comments on commit f63c031

Please sign in to comment.