biodiversity 5.1.1 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04ea2a69ec867a904293aaaf7c482970c7f456d5025b103e6e45ce6ff89a686e
4
- data.tar.gz: 14b251bb4b841f2916151002e8ed4718ef8732b771069a1543ab1b0c0402585d
3
+ metadata.gz: 19a4839ddcb07b42d444a2686cac74d0a0ade63fd75a9c43b8963acee898e96a
4
+ data.tar.gz: 29106bdb8e3f74060c4e891779484bb76759b1d81a66a8676e5fef043e324df8
5
5
  SHA512:
6
- metadata.gz: 9addd540eb74d8bfdc3d851fc2a277e9bc613b588dc12b22ccfcb59b901ac16293297d464f7e56c09b3dd6ecdf3412e95954fcf7eda7bc9bdcb816006f36a898
7
- data.tar.gz: 36364f23418870c90578a6ffd779faeff07d2cee2cb9f2b3c6e6dd1e03c925e93c6fabc3fc7191c55bcc1d27ee1b5bb1ac3968bca4ed7a112503aa5abaf771fe
6
+ metadata.gz: 4e4c8d955e6ac7219f5c11f9d26c51600f3c6609496390a3fbee03654704ef68376a0a297e9d5d49ea2c2df03a3b68b8b954b51942e22f38eb8243b676696c0e
7
+ data.tar.gz: 3bf85048cbe1a8e7fc79a6614dab6812818665a3bb998dbe78010b51adf5d2582df2dee884e79555339a3a9c8219ddf33a98deb2a877ca195baf7031909b3015
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 5.1.2 -- upgrade to gnparser v1.0.2
2
+
3
+ 5.1.1 -- simplified signature of methods
4
+
5
+ 5.1.0 -- changed sinature of methods
6
+
1
7
  5.0.0 -- changed GNparser to v 1.0.0
2
8
 
3
9
  4.0.3 -- fix memory leak in parse_ary method
Binary file
@@ -80,20 +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
-
84
- extern char* ParseToString(char* p0, char* p1, int p2);
83
+ extern char* ParseToString(char* name, char* f, int details);
85
84
 
86
85
  // FreeMemory takes a string pointer and frees its memory.
87
-
88
- extern void FreeMemory(char* p0);
86
+ extern void FreeMemory(char* p);
89
87
 
90
88
  // ParseAryToString function takes an array of names, parsing format, and a
91
89
  // withDetails flag as 0|1 integer. Parsed outputs are sent as a string in
92
90
  // either CSV or JSON format. Format argument can take values of 'csv',
93
91
  // 'compact', or 'pretty'. For withDetails argument 0 means false, 1 means
94
92
  // true.
95
-
96
- extern char* ParseAryToString(char** p0, int p1, char* p2, int p3);
93
+ extern char* ParseAryToString(char** in, int length, char* f, int details);
97
94
 
98
95
  #ifdef __cplusplus
99
96
  }
Binary file
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.1'
5
+ VERSION = '5.1.2'
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.1
4
+ version: 5.1.2
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-19 00:00:00.000000000 Z
11
+ date: 2021-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.2.3
145
+ rubygems_version: 3.2.6
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Parser of scientific names