gn_crossmap 2.1.1 → 2.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
  SHA1:
3
- metadata.gz: ef76ffb4478fc4a0a74b2ac7ed75ecd81c3dc9a8
4
- data.tar.gz: 750d574f44159b5cf9abd190b7f1fecd33328c69
3
+ metadata.gz: 2cb0f8467f22fd33b40b61932a6896f18a51fca9
4
+ data.tar.gz: 680c2f63b3a6c3f28c9aa9bd6201bc524d050c15
5
5
  SHA512:
6
- metadata.gz: 4a132900cfbc95633f757223ff79ed8f476224de22f3a2f56045b30eef52aa26af7f772d21169ce7c57e716af3134c0759092b87e8e11d9c9c87bf0e4fc1a8fc
7
- data.tar.gz: 757eea133471182836ff0b09e1766e54ab85765029a41de324b398959c70df3b0e13a5c537ec81b2707e01e5639de558bfe4e358e476cdd8b2a5f8b2f2b592b2
6
+ metadata.gz: 7253349f82b36991755684ac8c5f7952a4fb17205b53c9b5559b7804d7eb46a7ac9e3e040c01efe0faa14d625bdddba715e9f870be1bb95458736cede79e3fa7
7
+ data.tar.gz: 4e7686286194008ab6c6211402b19c1b1e1813e2e3551965c23d1f3e34daeb93ca8c1275be9f2a9bae1f498751cc1a1b730fd69f6462ea96661c1374b4423e31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ``gn_crossmap`` CHANGELOG
2
2
 
3
+ ## 2.1.2
4
+
5
+ * @dimus - fix recognition of taxonID with traling space
6
+
3
7
  ## 2.1.1
4
8
 
5
9
  * @dimus - fix stats for ingestion
@@ -56,9 +56,10 @@ module GnCrossmap
56
56
  def collect_names(slice)
57
57
  @current_data = {}
58
58
  slice.each_with_object("") do |row, str|
59
- @current_data[row[:id]] = row[:original]
60
- @processor.input[row[:id]] = { rank: row[:rank] }
61
- str << "#{row[:id]}|#{row[:name]}\n"
59
+ id = row[:id].strip
60
+ @current_data[id] = row[:original]
61
+ @processor.input[id] = { rank: row[:rank] }
62
+ str << "#{id}|#{row[:name]}\n"
62
63
  end
63
64
  end
64
65
 
@@ -1,6 +1,6 @@
1
1
  # Namespace module for crossmapping checklists to GN sources
2
2
  module GnCrossmap
3
- VERSION = "2.1.1".freeze
3
+ VERSION = "2.1.2".freeze
4
4
 
5
5
  def self.version
6
6
  VERSION
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: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2017-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop