Skip to content

Commit

Permalink
Update gnparser to v1.0.2 (close #25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed Jan 22, 2021
1 parent 592f6c0 commit 0c1ed58
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
5.1.2 -- upgrade to gnparser v1.0.2

5.1.1 -- simplified signature of methods

5.1.0 -- changed sinature of methods

5.0.0 -- changed GNparser to v 1.0.0

4.0.3 -- fix memory leak in parse_ary method
Expand Down
Binary file modified clib/linux/libgnparser.so
Binary file not shown.
9 changes: 3 additions & 6 deletions clib/mac/libgnparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,17 @@ extern "C" {
// 'csv', 'compact', 'pretty'. If withDetails argument is 0, additional
// parsed details are ommited, if it is 1 -- they are included.
// true.

extern char* ParseToString(char* p0, char* p1, int p2);
extern char* ParseToString(char* name, char* f, int details);

// FreeMemory takes a string pointer and frees its memory.

extern void FreeMemory(char* p0);
extern void FreeMemory(char* p);

// ParseAryToString function takes an array of names, parsing format, and a
// withDetails flag as 0|1 integer. Parsed outputs are sent as a string in
// either CSV or JSON format. Format argument can take values of 'csv',
// 'compact', or 'pretty'. For withDetails argument 0 means false, 1 means
// true.

extern char* ParseAryToString(char** p0, int p1, char* p2, int p3);
extern char* ParseAryToString(char** in, int length, char* f, int details);

#ifdef __cplusplus
}
Expand Down
Binary file modified clib/mac/libgnparser.so
Binary file not shown.
Binary file modified clib/win/libgnparser.so
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/biodiversity/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Biodiversity module provides a namespace for scientific name parser.
module Biodiversity
VERSION = '5.1.1'
VERSION = '5.1.2'

def self.version
VERSION
Expand Down

0 comments on commit 0c1ed58

Please sign in to comment.