Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
83 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.rdb | ||
*.d | ||
# Object files | ||
*.o | ||
*.ko | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifdef PRINT_VERSION_TARGET | ||
#include <stdio.h> | ||
#include "version.h" | ||
|
||
/* This is a utility that prints the current semantic version string, to be used in make files */ | ||
|
||
int main(int argc, char **argv) { | ||
printf("%d.%d.%d\n", REJSON_VERSION_MAJOR, REJSON_VERSION_MINOR, | ||
REJSON_VERSION_PATCH); | ||
return 0; | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
display_name: ReJSON | ||
author: Redis Labs | ||
email: redismodules@redislabs.com | ||
description: Native JSON Data Type for Redis | ||
homepage: http://rejson.io | ||
license: AGPLv3 | ||
command_line_args: "" | ||
min_redis_version: "4.0" | ||
min_redis_pack_version: "5.0" | ||
capabilities: | ||
- types | ||
- no_multi_key | ||
- replica_of | ||
- eviction_expiry | ||
- failover_migrate | ||
- flash | ||
- backup_restore | ||
- reshard_rebalance | ||
- persistence_aof | ||
- persistence_rdb | ||
- hash_policy | ||
- clustering | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef REJSON_VERSION_H_ | ||
// This is where the modules build/version is declared. | ||
// If declared with -D in compile time, this file is ignored | ||
|
||
|
||
#ifndef REJSON_VERSION_MAJOR | ||
#define REJSON_VERSION_MAJOR 0 | ||
#endif | ||
|
||
#ifndef REJSON_VERSION_MINOR | ||
#define REJSON_VERSION_MINOR 99 | ||
#endif | ||
|
||
#ifndef REJSON_VERSION_PATCH | ||
#define REJSON_VERSION_PATCH 0 | ||
#endif | ||
|
||
#define REJSON_MODULE_VERSION \ | ||
(REJSON_VERSION_MAJOR * 10000 + REJSON_VERSION_MINOR * 100 + REJSON_VERSION_PATCH) | ||
|
||
#endif |