Skip to content

Commit

Permalink
test fixes (#177)
Browse files Browse the repository at this point in the history
* test fixes

* udate version

* update version

* update version

* added release script
  • Loading branch information
sonus21 authored Dec 14, 2022
1 parent b8948e8 commit 3c17b1f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# [Rqueue] New and Notable Changes

### [2.12.0] - 14-Dec-2022
### Fixes
* Upgraded Pebble version for CVE
* Use System Zone ID for UI display


### [2.11.1] - 18-Nov-2022
### Fixes
Bug introduced by 2.11
Expand Down Expand Up @@ -308,4 +315,8 @@ Fixes:

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

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

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

[122]: https://github.com/sonus21/rqueue/issues/122
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
<dependency>
<groupId>com.github.sonus21</groupId>
<artifactId>rqueue-spring-boot-starter</artifactId>
<version>2.11.1-RELEASE</version>
<version>2.12.0-RELEASE</version>
</dependency>
```

Expand All @@ -91,14 +91,14 @@ Release Version: [Maven central](https://search.maven.org/search?q=g:com.github.
* Add Dependency
* Gradle
```groovy
implementation 'com.github.sonus21:rqueue-spring:2.11.1-RELEASE'
implementation 'com.github.sonus21:rqueue-spring:2.12.0-RELEASE'
```
* Maven
```xml
<dependency>
<groupId>com.github.sonus21</groupId>
<artifactId>rqueue-spring</artifactId>
<version>2.11.1-RELEASE</version>
<version>2.12.0-RELEASE</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ext {

subprojects {
group = 'com.github.sonus21'
version = '2.11.1-RELEASE'
version = '2.12.0-RELEASE'

dependencies {
// https://mvnrepository.com/artifact/org.springframework/spring-messaging
Expand Down
4 changes: 4 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
./gradlew rqueue-core:publish
./gradlew rqueue-spring:publish
./gradlew rqueue-spring-boot-starter:publish
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void negativeMilliToHumanRepresentation() {

@Test
void formatMilliToString() {
assertEquals("26 Apr 1970 17:46", DateTimeUtils.formatMilliToString(10000000000L));
assertEquals("1970-04-26 17:46", DateTimeUtils.formatMilliToString(10000000000L));
assertEquals("", DateTimeUtils.formatMilliToString(null));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void getArguments() {
@Test
void execute() {
assertEquals(
"01 May 2020 12:21",
"2020-05-01 12:21",
function.execute(Collections.singletonMap("milli", 1588335692988L), null, null, -1));
}
}

0 comments on commit 3c17b1f

Please sign in to comment.