Official changelog https://github.com/grails/grails-core/releases/tag/v3.2.8
New app diffs: https://github.com/erichelgeson/grails-versions/compare/3.2.7...3.2.8
☀️ Easy - 0 ⛅ Changes - 1
Official changelog https://github.com/grails/grails-core/releases/tag/v3.2.8
New app diffs: https://github.com/erichelgeson/grails-versions/compare/3.2.7...3.2.8
☀️ Easy - 0 ⛅ Changes - 1
package com.grails3book.stripe | |
import com.agileorbit.gambda.ApiGatewayHandler | |
import com.agileorbit.gambda.ApiGatewayRequest | |
import com.agileorbit.gambda.ApiGatewayProxyResponse | |
import com.amazonaws.services.lambda.runtime.Context | |
import com.stripe.Stripe | |
import com.stripe.model.Charge | |
import groovy.transform.CompileStatic |
Community sourced notes on upgrades to Grails 3.2.0.
Current Release 3.2.0
test |
$ chef --version | |
Chef Development Kit Version: 0.15.15 | |
chef-client version: 12.11.18 | |
delivery version: 0.0.23 (bf89a6b776b55b89a46bbd57fcaa615c143a09a0) | |
berks version: 4.3.5 | |
kitchen version: 1.10.0 | |
$ chef verify | |
Running verification for component 'berkshelf' | |
Running verification for component 'test-kitchen' |
// based on https://support.stripe.com/questions/can-i-charge-my-stripe-fees-to-my-customers | |
class StripeFees { | |
static BigDecimal creditCardPct = 0.029 | |
static Integer creditCardFixed = 30 // cents | |
static BigDecimal achPct = 0.008 | |
static Integer achMaxFee = 500 // cents | |
/** |
SENTRY_SECRET_KEY=longsecrethere | |
DOCKERPREFIX=eric | |
cat <<-EOF > requirements.txt | |
sentry-slack==0.5.0 | |
EOF | |
cat <<-EOF > Dockerfile | |
FROM sentry:8.5-onbuild | |
EOF |
// Taglib for Grails to create a <g:routes/> tag to allow you to output all the data you'd need to | |
// emulate ${createLink} in JS | |
// eg: $.get(baseURL + CONTROLLER_ACTION) http://localhost:8080/app/CONTROLLER/ACTION | |
// eg: $.get(baseURL + BOOKS_LIST) == http://localhost:8080/app/books/list | |
def grailsLinkGenerator | |
def routes = { | |
out << '<script type="text/javascript">' | |
out << "var baseUrl = '//' + window.location.host + '${request.contextPath}';" |
Why not? I thought it'd be interesting, and maybe useful.
### Keybase proof | |
I hereby claim: | |
* I am erichelgeson on github. | |
* I am erichelgeson (https://keybase.io/erichelgeson) on keybase. | |
* I have a public key whose fingerprint is 20D0 A95C 0704 57D3 AA21 B4EE 6252 7A7A 2BE2 EBDE | |
To claim this, I am signing this object: |