gn_crossmap 3.1.3 → 3.1.5

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: dd937cc49a912ee4e7eefd2706b8050cdb34bd03
4
- data.tar.gz: 764ad83d40ef1e9242a937d79548383483773398
3
+ metadata.gz: c2c789845b44b7024403fad224e24dffce133d23
4
+ data.tar.gz: 9257b08c532e69c141dadec5aa1f9d185dd50968
5
5
  SHA512:
6
- metadata.gz: ffb3cc23b36f9fe2310091b0f435f0c7f8245d7c5a9b2a26159800c3c3dbe0cd7f7871d0853ed4ae0ca378efdde4cba9891008ebfe4174b6717767fe40595cf3
7
- data.tar.gz: 609754d18b3079bea30cdadbec424f54dd40f50e759dd8dc1cf3e11266feee7dae74d6b9512edb57d0e8979223a9b5fbf59f67807db7564596632b6533943a17
6
+ metadata.gz: 2ca3260ab4a2985692b44bac76274a65a9079aef9b21254475ebb558d770f9e9cc4f05a35f28c4b802575c1799cc8785390192222cbe4400b0cfa669181e2043
7
+ data.tar.gz: 5339a56423169e8bc84dc72d83437d47409ba4c752bef77e7de00bbf91c3ef983389c99a0ab302b10bd6358510b2f85f759ef316f7baa3e1c3275ac1e1d34e1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # ``gn_crossmap`` CHANGELOG
2
2
 
3
+ ## 3.1.5
4
+
5
+ * @dimus - Fix number of columns in the output when there is no taxon_id given
6
+ and skip_original flag is set in options
7
+
8
+ ## 3.1.4
9
+
10
+ * @dimus - test typo
11
+
3
12
  ## 3.1.3
4
13
 
5
14
  * @dimus - Fix formatting bug for empty results, remove BOM char from headers
data/Rakefile CHANGED
@@ -11,3 +11,8 @@ end
11
11
  RuboCop::RakeTask.new
12
12
 
13
13
  task default: %i[rubocop rspec]
14
+
15
+ desc "open an irb session preloaded with this gem"
16
+ task :console do
17
+ sh "irb -r pp -r ./lib/gn_crossmap.rb"
18
+ end
@@ -41,7 +41,7 @@ module GnCrossmap
41
41
  end
42
42
 
43
43
  def prepare_original
44
- @skip_original ? [@row_hash[:taxonid]] : @row.map(&:last)
44
+ @skip_original ? [@row_hash[:taxonid]].compact : @row.map(&:last)
45
45
  end
46
46
 
47
47
  def collector_factory
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Namespace module for crossmapping checklists to GN sources
4
4
  module GnCrossmap
5
- VERSION = "3.1.3"
5
+ VERSION = "3.1.5"
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: gn_crossmap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.3
4
+ version: 3.1.5
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-08-09 00:00:00.000000000 Z
11
+ date: 2017-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: biodiversity