diff --git a/README.md b/README.md
index bbd0d25..a795b2b 100644
--- a/README.md
+++ b/README.md
@@ -20,8 +20,12 @@ Table of contents -
## Installation
-## For Gradle:
-Step 1. Add it in your root `build.gradle` at the end of repositories:
+### Requirements
+
+- Java 1.8 or later
+
+### Gradle users
+Step 1. Add the JitPack repository to your build file
```
allprojects {
repositories {
@@ -33,17 +37,17 @@ allprojects {
Step 2. Add the dependency on project's `build.gradle`:
```
dependencies {
- implementation 'com.github.imagekit-developer:imagekit-java:v1.0.0'
+ implementation 'com.github.imagekit-developer:imagekit-java:1.0.0'
}
```
-### For Maven:
-Step 1. Add the JitPack repository to your build file:
+### Maven users
+Step 1. Add the JitPack repository to your build file
```
-
- jitpack.io
- https://jitpack.io
-
+
+ jitpack.io
+ https://jitpack.io
+
```
Step 2. Add the dependency in POM file:
@@ -51,15 +55,13 @@ Step 2. Add the dependency in POM file:
com.github.imagekit-developer
imagekit-java
- v1.0.0
+ 1.0.0
```
-
-
## Initialization
-Step 1. Create a `config.properties` file inside `src/main/resources` of your project. And put essential values of keys [UrlEndpoint, PrivateKey, PublicKey], no need to use any quote(',") in values.
+Step 1. Create a `config.properties` file inside `src/main/resources` of your project. And put essential values of keys [UrlEndpoint, PrivateKey, PublicKey], no need to use quote(`'` or `"`) in values.
```editorconfig
# Put essential values of keys [UrlEndpoint, PrivateKey, PublicKey]
diff --git a/imagekit-sdk/src/test/java/io/imagekit/sdk/tasks/UrlGenTest.java b/imagekit-sdk/src/test/java/io/imagekit/sdk/tasks/UrlGenTest.java
index 37c2198..1b379a8 100644
--- a/imagekit-sdk/src/test/java/io/imagekit/sdk/tasks/UrlGenTest.java
+++ b/imagekit-sdk/src/test/java/io/imagekit/sdk/tasks/UrlGenTest.java
@@ -21,4 +21,12 @@ public void signUrl_tests_expire_zero() {
assertThat("41b3075c40bc84147eb71b8b49ae7fbf349d0f00",is(signature));
}
+
+ @Test
+ public void signUrl_tests_without_slash_expire_zero() {
+ String url="https://test-domain.com/test-endpoint/tr:w-100/test-signed-url.png";
+ String signature = UrlGen.signUrl("private_key_test", url, "https://test-domain.com/test-endpoint", 0);
+ assertThat("41b3075c40bc84147eb71b8b49ae7fbf349d0f00",is(signature));
+
+ }
}
\ No newline at end of file