Skip to content

Commit f6c287c

Browse files
committed
Release 0.42.0
Add `text()` function on PostmanSDK.Response Signed-off-by: Gopal S Akshintala <gopala.akshintala@salesforce.com>
1 parent d85fe00 commit f6c287c

File tree

5 files changed

+14
-7
lines changed

5 files changed

+14
-7
lines changed

.idea/misc.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BUILD.bazel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ package(default_visibility = ["//visibility:public"])
44

55
java_import(
66
name = "com_salesforce_revoman_revoman",
7-
jars = glob(["build/libs/revoman-root-*.jar"]),
8-
srcjar = glob(["build/libs/revoman-root-*-sources.jar"])[0],
7+
jars = glob(
8+
["build/libs/revoman-root-*.jar"],
9+
allow_empty = False,
10+
),
11+
srcjar = glob(
12+
["build/libs/revoman-root-*-sources.jar"],
13+
allow_empty = False,
14+
)[0],
915
)

buildSrc/src/main/kotlin/Config.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
* ************************************************************************************************
77
*/
88
const val GROUP_ID = "com.salesforce.revoman"
9-
const val VERSION = "0.41.6"
9+
const val VERSION = "0.42.0"
1010
const val ARTIFACT_ID = "revoman"
1111
const val STAGING_PROFILE_ID = "1ea0a23e61ba7d"

src/integrationTest/kotlin/com/salesforce/revoman/integration/apigee/ApigeeKtTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ class ApigeeKtTest {
2525
}
2626

2727
companion object {
28-
private const val PM_COLLECTION_PATH =
29-
"pm-templates/apigee/apigee.postman_collection.json"
28+
private const val PM_COLLECTION_PATH = "pm-templates/apigee/apigee.postman_collection.json"
3029
}
3130
}

src/main/kotlin/com/salesforce/revoman/internal/postman/PostmanSDK.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,14 @@ class PostmanSDK(
149149
* [Functions as Java Values](https://www.graalvm.org/22.3/reference-manual/embed-languages/#define-guest-language-functions-as-java-values):
150150
*/
151151
fun json(): Value = jsonStrToObj(body)
152-
152+
153153
fun text(): String = body
154154
}
155155

156156
@Suppress("unused")
157157
fun setEnvironmentVariable(key: String, value: String) {
158158
environment.set(key, value)
159159
}
160-
161160
}
162161

163162
data class Info(@JvmField val requestName: String)

0 commit comments

Comments
 (0)