Skip to content

Commit 3c17b1f

Browse files
authored
test fixes (#177)
* test fixes * udate version * update version * update version * added release script
1 parent b8948e8 commit 3c17b1f

File tree

6 files changed

+21
-6
lines changed

6 files changed

+21
-6
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
# [Rqueue] New and Notable Changes
2+
3+
### [2.12.0] - 14-Dec-2022
4+
### Fixes
5+
* Upgraded Pebble version for CVE
6+
* Use System Zone ID for UI display
7+
8+
29
### [2.11.1] - 18-Nov-2022
310
### Fixes
411
Bug introduced by 2.11
@@ -308,4 +315,8 @@ Fixes:
308315

309316
[2.11]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.11-RELEASE
310317

318+
[2.11.1]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.11.1-RELEASE
319+
320+
[2.12.0]: https://repo1.maven.org/maven2/com/github/sonus21/rqueue-core/2.12.0-RELEASE
321+
311322
[122]: https://github.com/sonus21/rqueue/issues/122

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
7878
<dependency>
7979
<groupId>com.github.sonus21</groupId>
8080
<artifactId>rqueue-spring-boot-starter</artifactId>
81-
<version>2.11.1-RELEASE</version>
81+
<version>2.12.0-RELEASE</version>
8282
</dependency>
8383
```
8484
@@ -91,14 +91,14 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
9191
* Add Dependency
9292
* Gradle
9393
```groovy
94-
implementation 'com.github.sonus21:rqueue-spring:2.11.1-RELEASE'
94+
implementation 'com.github.sonus21:rqueue-spring:2.12.0-RELEASE'
9595
```
9696
* Maven
9797
```xml
9898
<dependency>
9999
<groupId>com.github.sonus21</groupId>
100100
<artifactId>rqueue-spring</artifactId>
101-
<version>2.11.1-RELEASE</version>
101+
<version>2.12.0-RELEASE</version>
102102
</dependency>
103103
```
104104

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ext {
7070

7171
subprojects {
7272
group = 'com.github.sonus21'
73-
version = '2.11.1-RELEASE'
73+
version = '2.12.0-RELEASE'
7474

7575
dependencies {
7676
// https://mvnrepository.com/artifact/org.springframework/spring-messaging

publish.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
./gradlew rqueue-core:publish
3+
./gradlew rqueue-spring:publish
4+
./gradlew rqueue-spring-boot-starter:publish

rqueue-core/src/test/java/com/github/sonus21/rqueue/utils/DateTimeUtilsTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void negativeMilliToHumanRepresentation() {
7575

7676
@Test
7777
void formatMilliToString() {
78-
assertEquals("26 Apr 1970 17:46", DateTimeUtils.formatMilliToString(10000000000L));
78+
assertEquals("1970-04-26 17:46", DateTimeUtils.formatMilliToString(10000000000L));
7979
assertEquals("", DateTimeUtils.formatMilliToString(null));
8080
}
8181
}

rqueue-core/src/test/java/com/github/sonus21/rqueue/web/view/DateTimeFunctionTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void getArguments() {
3737
@Test
3838
void execute() {
3939
assertEquals(
40-
"01 May 2020 12:21",
40+
"2020-05-01 12:21",
4141
function.execute(Collections.singletonMap("milli", 1588335692988L), null, null, -1));
4242
}
4343
}

0 commit comments

Comments
 (0)