biodiversity 5.1.2 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19a4839ddcb07b42d444a2686cac74d0a0ade63fd75a9c43b8963acee898e96a
4
- data.tar.gz: 29106bdb8e3f74060c4e891779484bb76759b1d81a66a8676e5fef043e324df8
3
+ metadata.gz: edae363431b2855927ee3ff977da0987e3a8989cabf89c05b75f25b6daa82197
4
+ data.tar.gz: 84cb944df5d6b9779c5103de481dba7fe60f4aedf30515cce752bf79cd3486d4
5
5
  SHA512:
6
- metadata.gz: 4e4c8d955e6ac7219f5c11f9d26c51600f3c6609496390a3fbee03654704ef68376a0a297e9d5d49ea2c2df03a3b68b8b954b51942e22f38eb8243b676696c0e
7
- data.tar.gz: 3bf85048cbe1a8e7fc79a6614dab6812818665a3bb998dbe78010b51adf5d2582df2dee884e79555339a3a9c8219ddf33a98deb2a877ca195baf7031909b3015
6
+ metadata.gz: af5f2f8c954cb3570f7a57b657038936fe544379d196a5c76b73dc783476150b1724c667d0dd2e45e486c1718c2a828089965afde5e90a69d5ce3203761d8ef2
7
+ data.tar.gz: f40a48c418e83049845fbdbd56d8b29b56f8aed521449ae103c378d510f8b7178958a83632d4a14d00dfb7656929224c3fc1673786e62a3cfa3cd18ce29ae6f7
@@ -19,7 +19,7 @@ typedef struct { const char *p; ptrdiff_t n; } _GoString_;
19
19
  /* Start of preamble from import "C" comments. */
20
20
 
21
21
 
22
- #line 3 "main.go"
22
+ #line 5 "main.go"
23
23
 
24
24
  #include "stdlib.h"
25
25
 
Binary file
@@ -19,7 +19,7 @@ typedef struct { const char *p; ptrdiff_t n; } _GoString_;
19
19
  /* Start of preamble from import "C" comments. */
20
20
 
21
21
 
22
- #line 3 "main.go"
22
+ #line 5 "main.go"
23
23
 
24
24
  #include "stdlib.h"
25
25
 
Binary file
@@ -19,7 +19,7 @@ typedef struct { const char *p; ptrdiff_t n; } _GoString_;
19
19
  /* Start of preamble from import "C" comments. */
20
20
 
21
21
 
22
- #line 3 "main.go"
22
+ #line 5 "main.go"
23
23
 
24
24
  #include "stdlib.h"
25
25
 
@@ -80,17 +80,17 @@ extern "C" {
80
80
  // 'csv', 'compact', 'pretty'. If withDetails argument is 0, additional
81
81
  // parsed details are ommited, if it is 1 -- they are included.
82
82
  // true.
83
- extern char* ParseToString(char* name, char* f, int details);
83
+ extern __declspec(dllexport) char* ParseToString(char* name, char* f, int details);
84
84
 
85
85
  // FreeMemory takes a string pointer and frees its memory.
86
- extern void FreeMemory(char* p);
86
+ extern __declspec(dllexport) void FreeMemory(char* p);
87
87
 
88
88
  // ParseAryToString function takes an array of names, parsing format, and a
89
89
  // withDetails flag as 0|1 integer. Parsed outputs are sent as a string in
90
90
  // either CSV or JSON format. Format argument can take values of 'csv',
91
91
  // 'compact', or 'pretty'. For withDetails argument 0 means false, 1 means
92
92
  // true.
93
- extern char* ParseAryToString(char** in, int length, char* f, int details);
93
+ extern __declspec(dllexport) char* ParseAryToString(char** in, int length, char* f, int details);
94
94
 
95
95
  #ifdef __cplusplus
96
96
  }
Binary file
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Biodiversity module provides a namespace for scientific name parser.
4
4
  module Biodiversity
5
- VERSION = '5.1.2'
5
+ VERSION = '5.2.0'
6
6
 
7
7
  def self.version
8
8
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biodiversity
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.2
4
+ version: 5.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-22 00:00:00.000000000 Z
11
+ date: 2021-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi