gn_list_resolver 3.2.0.1 → 3.2.0.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: 3b30d2905481948448c40c18922587551a228819
4
- data.tar.gz: 3ff55484ce12de44275814909941c3ba9b63ce03
3
+ metadata.gz: 68d71ae2a35ea80f943a1603cf192ac7191273f9
4
+ data.tar.gz: c98e24a0c1f1d5822594a7758bf060ef49b5faa6
5
5
  SHA512:
6
- metadata.gz: a82ffc469b139df0cd3ca8444a74a9fc73a16c8334153e9cd48d28882c9509a2ffdb837a46f9d76a564df282d10760e2be937802d10655ef6c892c7d0431aa11
7
- data.tar.gz: 78e74f0263368c2d339151162583e35c1fd3f9facdbfba4cb73cb5333de994a375951ca3d0a03d766d07a1feb9c1f39ae74f5d80dd9a369d060f067fb822a961
6
+ metadata.gz: 92affc4e7b1a595628599b2649b445d3feefbd571cd94f2d6e5836ab735bc84f89ea01942577d7c0c466e62faf00d76cd344d2e0bc3f7adc179215b006b16b44
7
+ data.tar.gz: 210ed739493c5d011ed74b7480bf5cf616ce14bdd0cca6b66d5b1a3915211bda0081ed785c84b9c443c129947b917756530ce0674e2eb4c8a13de5b52a365b48
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ``gn_list_resolver`` CHANGELOG
2
2
 
3
+ ## 3.2.0.2
4
+
5
+ @alexander-myltsev - bring tests in accordance to changes in gnindex API
6
+
3
7
  ## 3.2.0.1
4
8
 
5
9
  @dimus, @alexander-myltsev - sync with `gn_crossmap`'s 3.2.0, current name is
@@ -80,7 +80,11 @@ module GnListResolver
80
80
  # rubocop:enable all
81
81
 
82
82
  def current_name(result)
83
- result.accepted_name.name.value || result.name.value
83
+ if result.accepted_name.nil?
84
+ result.name.value
85
+ else
86
+ result.accepted_name.name.value
87
+ end
84
88
  end
85
89
 
86
90
  def canonical(name_string)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Namespace module for crossmapping checklists to GN sources
4
4
  module GnListResolver
5
- VERSION = "3.2.0.1"
5
+ VERSION = "3.2.0.2"
6
6
 
7
7
  def self.version
8
8
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gn_list_resolver
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.1
4
+ version: 3.2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-08-27 00:00:00.000000000 Z
12
+ date: 2017-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: biodiversity