Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare iteration 0.2.2-SNAPSHOT #97

Merged
merged 7 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: surrealdb
path: build/libs/surrealdb-0.2.1.jar
path: build/libs/surrealdb-0.2.2-SNAPSHOT.jar

- name: Linux Integration Test
run: ./gradlew -i integrationTest
Expand Down
123 changes: 102 additions & 21 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "surrealdb"
version = "0.2.1"
version = "0.2.2"
authors = ["Emmanuel Keller <[email protected]>"]
edition = "2021"

Expand All @@ -13,14 +13,13 @@ opt-level = 3

[dependencies]
jni = "0.21.1"
surrealdb = "2.1.4"
surrealdb = { git = "https://github.com/surrealdb/surrealdb.git" }
serde = "1.0.217"
rust_decimal = "1.36.0"
tokio = "1.42.0"
tokio = "1.43.0"
parking_lot = "0.12.3"
once_cell = "1.20.2"
chrono = "0.4.39"
log = "0.4.22"
dashmap = "6.1.0"

[features]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Gradle:

```groovy
ext {
surrealdbVersion = "0.2.1"
surrealdbVersion = "0.2.2-SNAPSHOT"
}

dependencies {
Expand All @@ -80,7 +80,7 @@ Maven:
<dependency>
<groupId>com.surrealdb</groupId>
<artifactId>surrealdb</artifactId>
<version>0.2.1</version>
<version>0.2.2-SNAPSHOT</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'com.surrealdb'
version '0.2.1'
version '0.2.2-SNAPSHOT'

repositories {
mavenCentral()
Expand All @@ -33,7 +33,7 @@ configurations {

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
integrationTestImplementation files("build/libs/surrealdb-0.2.1.jar")
integrationTestImplementation files("build/libs/surrealdb-0.2.2-SNAPSHOT.jar")
}

jacoco {
Expand Down
6 changes: 5 additions & 1 deletion src/test/java/com/surrealdb/ConnectionTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void connectMemory() throws SurrealException {
final Value value = response.take(0);
assertTrue(value.isObject());
final Object object = value.getObject();
assertEquals(object.len(), 4);
assertEquals(object.len(), 5);
{
final Value v = object.get("accesses");
assertTrue(v.isObject());
Expand All @@ -65,6 +65,10 @@ void connectMemory() throws SurrealException {
assertTrue(v.isObject());
assertEquals(v.getObject().len(), 1);
}
{
final Value v = object.get("system");
assertTrue(v.isObject());
}
}
}
}
Expand Down