gn_crossmap 2.1.2 → 2.1.3

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: 2cb0f8467f22fd33b40b61932a6896f18a51fca9
4
- data.tar.gz: 680c2f63b3a6c3f28c9aa9bd6201bc524d050c15
3
+ metadata.gz: d9e9c42628d2d1a8a5d8aeea1b0b1614ffe5c7a9
4
+ data.tar.gz: ed427b1beb9cc204a1bdf622b1521645336af96e
5
5
  SHA512:
6
- metadata.gz: 7253349f82b36991755684ac8c5f7952a4fb17205b53c9b5559b7804d7eb46a7ac9e3e040c01efe0faa14d625bdddba715e9f870be1bb95458736cede79e3fa7
7
- data.tar.gz: 4e7686286194008ab6c6211402b19c1b1e1813e2e3551965c23d1f3e34daeb93ca8c1275be9f2a9bae1f498751cc1a1b730fd69f6462ea96661c1374b4423e31
6
+ metadata.gz: 5f61004fb4c0a2885f46fb1f16274694ee926d4d7c2ca3637f61e462e7ccf1b1c9eb7ac8ce77aad9cf46ad37760f72ecd46c61f52040c0807592de0b904d28e1
7
+ data.tar.gz: f6ae3e266a4d5738feb623d07176c6641e49edeacecb78378de746adf7addce82edd9d0d501e5efe962c37d99ae55194c31d60169a9a974e656fae09c055bd0f
@@ -1,5 +1,9 @@
1
1
  # ``gn_crossmap`` CHANGELOG
2
2
 
3
+ ## 2.1.3
4
+
5
+ * @dimus - fix nil situation in headers' fields
6
+
3
7
  ## 2.1.2
4
8
 
5
9
  * @dimus - fix recognition of taxonID with traling space
@@ -31,6 +31,7 @@ module GnCrossmap
31
31
 
32
32
  def prepare_field(field)
33
33
  field = field.to_s.tr(":", "/")
34
+ return :none if field == ""
34
35
  field.split("/")[-1].strip.downcase.to_sym
35
36
  end
36
37
 
@@ -1,6 +1,6 @@
1
1
  # Namespace module for crossmapping checklists to GN sources
2
2
  module GnCrossmap
3
- VERSION = "2.1.2".freeze
3
+ VERSION = "2.1.3".freeze
4
4
 
5
5
  def self.version
6
6
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gn_crossmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin