From 154ddd119e10ee3197f5b35e7266c8f427545ca1 Mon Sep 17 00:00:00 2001 From: Liquidsoul Date: Fri, 19 May 2017 21:51:49 +0200 Subject: [PATCH 1/2] Fix snakeToCamelCase argument information in README The valid options are "true", "yes" or "1" not "true", "no" or "0". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39d1b782..0b784c63 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ * [String filters](Documentation/filters-strings.md): * `escapeReservedKeywords`: Escape keywods reserved in the Swift language, by wrapping them inside backticks so that the can be used as regular escape keywords in Swift code. * `lowerFirstWord` - * `snakeToCamelCase`: Transforms text from snake_case to camelCase. By default it keeps leading underscores, unless a single optional argument is set to "true", "no" or "0". + * `snakeToCamelCase`: Transforms text from snake_case to camelCase. By default it keeps leading underscores, unless a single optional argument is set to "true", "yes" or "1". * `camelToSnakeCase`: Transforms text from camelCase to snake_case. By default it converts to lower case, unless a single optional argument is set to "false", "no" or "0". * `swiftIdentifier`: Transforms an arbitrary string into a valid Swift identifier (using only valid characters for a Swift identifier as defined in the Swift language reference) * `titlecase` From 589026410ce7689edb6cf9c68579e486a322b783 Mon Sep 17 00:00:00 2001 From: Liquidsoul Date: Fri, 19 May 2017 21:56:43 +0200 Subject: [PATCH 2/2] Add entry in changelog --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d004dfd..e2c607f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,9 @@ ### Bug Fixes -_None_ +* Fix `snakeToCamelCase` parameters information in README. + [Liquidsoul](https://github.com/Liquidsoul) + [#45](https://github.com/SwiftGen/StencilSwiftKit/pulls/45) ### Breaking Changes