gn_crossmap 4.0.2 → 4.0.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: 78484e72d25b7f4edd4dc339756a2e0c0a855fe2
4
- data.tar.gz: fae27bcaa9907f0eda181167d2a6f5d96f07b1f2
3
+ metadata.gz: 61f6c713d23eeb04135fdb9558fe16e5429ead95
4
+ data.tar.gz: dfe09aab9c97dc294e31050b43cce3142f590add
5
5
  SHA512:
6
- metadata.gz: 90166a2363931f124f22493c0e754f2f761bf225956ed8f9d0531f9b0f31a4f71e91fab42e040d573da470562b48e8594db3bb195c205517bb8421a911334698
7
- data.tar.gz: eea5797f9c160d8fe3eaf11c84f21f0842a3eb97f98e35496dc8b738ffe93376e3b8d3f8296fb3f0f1868b3d4fc7c0bae3e00ed3ad1da4ae133d24fcd7142c01
6
+ metadata.gz: 8bd080f8535c114c3208a5289d52adb95b74526e48fa1b30c4e3441651c2513327db85ea87db817f76007952beb39b4d71f085f791b6379d1eba4b8f90d1b721
7
+ data.tar.gz: 61392be183a275f3f017ff5f5489c251d581121c05e8338a28f568eb9ff5d78bbbc42e720753262a218f0da906487af5544d72b0be982863e40f818855e2d612
@@ -1,5 +1,9 @@
1
1
  # ``gn_crossmap`` CHANGELOG
2
2
 
3
+ ## 4.0.3
4
+
5
+ * @dimus - Update gems, remove deprecated gems
6
+
3
7
  ## 4.0.2
4
8
 
5
9
  * @dimus - Add resolution span_time to stats
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "trollop"
4
+ require "optimist"
5
5
  require "gn_crossmap"
6
6
 
7
7
  puts "This program requires Ruby >= v. 2.4.1" if RUBY_VERSION < "2.4.1"
@@ -9,7 +9,7 @@ puts "This program requires Ruby >= v. 2.4.1" if RUBY_VERSION < "2.4.1"
9
9
  CATALOGUE_OF_LIFE = 1
10
10
  OUTPUT = "output.csv"
11
11
  THREADS = 1
12
- opts = Trollop.options do
12
+ opts = Optimist.options do
13
13
  banner "Compares a list of scientific names to scientific names from a " \
14
14
  "data source from Global Names Resolver\n\n " \
15
15
  "Usage:\n crossmap [options]\n\noptions:" \
@@ -26,9 +26,9 @@ opts = Trollop.options do
26
26
  "matched names", type: :boolean)
27
27
  end
28
28
 
29
- Trollop.die :input, "must be set" if opts[:input].nil?
29
+ Optimist.die :input, "must be set" if opts[:input].nil?
30
30
  unless File.exist?(opts[:input]) || opts[:input] == "-"
31
- Trollop.die :input, "file must exist"
31
+ Optimist.die :input, "file must exist"
32
32
  end
33
33
 
34
34
  begin
@@ -30,19 +30,19 @@ Gem::Specification.new do |gem|
30
30
  gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
31
  gem.require_paths = ["lib"]
32
32
 
33
- gem.add_dependency "biodiversity", "~> 3.1"
33
+ gem.add_dependency "biodiversity", "~> 3.5"
34
34
  gem.add_dependency "concurrent-ruby", "~> 1.0"
35
35
  gem.add_dependency "gn_uuid", "~> 0.5"
36
36
  gem.add_dependency "logger-colors", "~> 1.0"
37
37
  gem.add_dependency "rest-client", "~> 2.0"
38
- gem.add_dependency "trollop", "~> 2.1"
38
+ gem.add_dependency "optimist", "~> 3.0"
39
39
 
40
- gem.add_development_dependency "bundler", "~> 1.7"
41
- gem.add_development_dependency "byebug", "~> 9.1"
40
+ gem.add_development_dependency "bundler", "~> 1.16"
41
+ gem.add_development_dependency "byebug", "~> 10.0"
42
42
  gem.add_development_dependency "coveralls", "~> 0.8"
43
- gem.add_development_dependency "rake", "~> 12.0"
44
- gem.add_development_dependency "rspec", "~> 3.2"
45
- gem.add_development_dependency "rubocop", "~> 0.50"
43
+ gem.add_development_dependency "rake", "~> 12.3"
44
+ gem.add_development_dependency "rspec", "~> 3.8"
45
+ gem.add_development_dependency "rubocop", "~> 0.59"
46
46
  end
47
47
 
48
48
  # rubocop:enable Metrics/BlockLength:
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Namespace module for crossmapping checklists to GN sources
4
4
  module GnCrossmap
5
- VERSION = "4.0.2"
5
+ VERSION = "4.0.3"
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: 4.0.2
4
+ version: 4.0.3
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-09-18 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: biodiversity
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '3.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.1'
26
+ version: '3.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concurrent-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -81,47 +81,47 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: trollop
84
+ name: optimist
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '2.1'
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '2.1'
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.7'
103
+ version: '1.16'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.7'
110
+ version: '1.16'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: byebug
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '9.1'
117
+ version: '10.0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '9.1'
124
+ version: '10.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: coveralls
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -142,42 +142,42 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '12.0'
145
+ version: '12.3'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '12.0'
152
+ version: '12.3'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rspec
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: '3.2'
159
+ version: '3.8'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: '3.2'
166
+ version: '3.8'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rubocop
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: '0.50'
173
+ version: '0.59'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: '0.50'
180
+ version: '0.59'
181
181
  description: Gem uses a checklist in a comma-separated format as an input, and returns
182
182
  back a new comma-separated list crossmapping the scientific names to one of the
183
183
  data sources from http://resolver.globalnames.org