gn_crossmap 0.1.7 → 0.1.8

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
  SHA1:
3
- metadata.gz: 9f528c813176d1683a162444e5a70917e9efd2bb
4
- data.tar.gz: bd398879ac5ffd7cf104d89b0dc4d6060e2cdd64
3
+ metadata.gz: 86fb5fd0af52a9d6f090087144dba5bd68f1b82b
4
+ data.tar.gz: 6c88b19b64806e01af435ba78014e95dce4bf48d
5
5
  SHA512:
6
- metadata.gz: 873f228e5f5e52c565df39771e788978d13f5f020cc739b37d5ef982df3d1e3477a1e535e95cd19bc6c92bd23983b799eddb52701005e8a59b3f5518c0b2da80
7
- data.tar.gz: d10af8cf20f2e00f2508f155edd768eaee53faa1ff0046c3d740067d784d1d442067c1c1ba7e04cf3a07f6455725ade882d47a66d318e0895a286eb1b9053835
6
+ metadata.gz: 71628a47f7a41d1bc3d5444e029d36c3b1698eee93328ec1b7bcefc4c5c9bdcb60a0a892c9db851ba5c374e1b4172701f1cb22e0da701bf8e786c99fd3946db8
7
+ data.tar.gz: d9eb89cafb55e004e3b3d039cea5ed3471a21c24e4dac3c4a350254c1248eb6257004a82af48aac9a6071bcf1bc860c680351760649b5966525146394c19fef3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  gn_crossmap CHANGELOG
2
2
  =====================
3
+ 0.1.8
4
+ -----
5
+
6
+ * @dimus - #14 - show synonym status
7
+
3
8
  0.1.7
4
9
  -----
5
10
 
@@ -51,9 +51,11 @@ module GnCrossmap
51
51
  end
52
52
 
53
53
  def new_data(datum, result)
54
+ synonym = result[:current_name_string] ? "synonym" : nil
54
55
  [matched_type(result), datum[:supplied_name_string],
55
56
  result[:name_string], result[:canonical_form],
56
57
  @input[datum[:supplied_id]][:rank], matched_rank(result),
58
+ synonym, result[:current_name_string],
57
59
  result[:edit_distance], result[:score], result[:taxon_id]]
58
60
  end
59
61
 
@@ -1,6 +1,6 @@
1
1
  # Namespace module for crossmapping checklists to GN sources
2
2
  module GnCrossmap
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
 
5
5
  def self.version
6
6
  VERSION
@@ -23,7 +23,8 @@ module GnCrossmap
23
23
  def output_fields(original_fields)
24
24
  original_fields + [:matchedType, :inputName, :matchedName,
25
25
  :matchedCanonicalForm, :inputRank, :matchedRank,
26
- :matchedEditDistance, :marchedScore, :matchTaxonID]
26
+ :synonymStatus, :acceptedName, :matchedEditDistance,
27
+ :marchedScore, :matchTaxonID]
27
28
  end
28
29
  end
29
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gn_crossmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop
@@ -203,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
203
  version: '0'
204
204
  requirements: []
205
205
  rubyforge_project:
206
- rubygems_version: 2.2.3
206
+ rubygems_version: 2.4.5
207
207
  signing_key:
208
208
  specification_version: 4
209
209
  summary: Crossmaps a list of scientific names to names from a data source in GN Index