Skip to content

Instantly share code, notes, and snippets.

@jolros
Created May 30, 2012 17:21
Show Gist options
  • Save jolros/2837754 to your computer and use it in GitHub Desktop.
Save jolros/2837754 to your computer and use it in GitHub Desktop.
Diff between an upgraded Grails 2.0.0 -> 2.0.4 project and a new 2.0.4 project, or why detailed migration notes matter in code-copying web frameworks
diff -r 2.0.0/whoopy/application.properties 2.0.4/whoopy/application.properties
2,3c2,3
< #Tue May 29 20:22:17 PDT 2012
< app.grails.version=2.0.0
---
> #Tue May 29 20:24:18 PDT 2012
> app.grails.version=2.0.4
diff -r 2.0.0/whoopy/grails-app/conf/BuildConfig.groovy 2.0.4/whoopy/grails-app/conf/BuildConfig.groovy
42c42,47
< runtime ":resources:1.1.5"
---
> runtime ":resources:1.1.6"
>
> // Uncomment these (or add new ones) to enable additional resources capabilities
> //runtime ":zipped-resources:1.0"
> //runtime ":cached-resources:1.0"
> //runtime ":yui-minify-resources:0.1.4"
diff -r 2.0.0/whoopy/grails-app/conf/DataSource.groovy 2.0.4/whoopy/grails-app/conf/DataSource.groovy
9c9
< cache.use_query_cache = true
---
> cache.use_query_cache = false
17c17
< url = "jdbc:h2:mem:devDb;MVCC=TRUE"
---
> url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
23c23
< url = "jdbc:h2:mem:testDb;MVCC=TRUE"
---
> url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
29c29
< url = "jdbc:h2:prodDb;MVCC=TRUE"
---
> url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
diff -r 2.0.0/whoopy/grails-app/views/index.gsp 2.0.4/whoopy/grails-app/views/index.gsp
31a32,35
>
> #status li {
> line-height: 1.3;
> }
49a54
> line-height: 1.5;
57a63
> line-height: 1.3;
diff -r 2.0.0/whoopy/web-app/css/main.css 2.0.4/whoopy/web-app/css/main.css
6a7,10
> h1, h2, h3, h4, h5, h6 {
> line-height: 1.1;
> }
>
309a314,315
> margin-left: 0;
> margin-right: 0;
328c334
< padding: 0.5em;
---
> padding: 0.25em;
356,357c362,363
< background: transparent url(../images/skin/exclamation.png) 0 50% no-repeat;
< text-indent: 22px;
---
> background: transparent url(../images/skin/exclamation.png) 0.5em 50% no-repeat;
> text-indent: 2.2em;
361,362c367,368
< background: transparent url(../images/skin/information.png) 0 50% no-repeat;
< text-indent: 22px;
---
> background: transparent url(../images/skin/information.png) 0.5em 50% no-repeat;
> text-indent: 2.2em;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment