gn_crossmap 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/gn_crossmap.gemspec +4 -8
- data/lib/gn_crossmap/collector.rb +0 -6
- data/lib/gn_crossmap/column_collector.rb +0 -2
- data/lib/gn_crossmap/version.rb +1 -1
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa28cee629270ecd5f8db2a1dce17fb60313ee5a
|
4
|
+
data.tar.gz: 146757cbb36fba1ebe78757cb044e4d4f02c73db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87a7b5cf1cda75e9e33a3034195fbd50c732f54e42b41bfcd027f381ef6a3c84fc9889c11a74fc26177437ddb0f0164e16e334164a17b12ac5098a8adcefee7b
|
7
|
+
data.tar.gz: e355f6c2033a4acf0d333182779a6390d156a643ea6a77f7816dd380c550689a8805aec5e1185383840bedc19954cfbdc4d7724a1e233d4a08236aa83ec4d836
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -123,9 +123,9 @@ See [LICENSE][license] for details.
|
|
123
123
|
[gem_link]: http://badge.fury.io/rb/gn_crossmap
|
124
124
|
[ci_badge]: https://secure.travis-ci.org/GlobalNamesArchitecture/gn_crossmap.png
|
125
125
|
[ci_link]: http://travis-ci.org/GlobalNamesArchitecture/gn_crossmap
|
126
|
-
[cov_badge]: https://coveralls.io/repos/GlobalNamesArchitecture/gn_crossmap/badge.
|
126
|
+
[cov_badge]: https://coveralls.io/repos/GlobalNamesArchitecture/gn_crossmap/badge.svg?branch=master
|
127
127
|
[cov_link]: https://coveralls.io/r/GlobalNamesArchitecture/gn_crossmap?branch=master
|
128
|
-
[code_badge]: https://codeclimate.com/github/GlobalNamesArchitecture/gn_crossmap.
|
128
|
+
[code_badge]: https://codeclimate.com/github/GlobalNamesArchitecture/gn_crossmap/badges/gpa.svg
|
129
129
|
[code_link]: https://codeclimate.com/github/GlobalNamesArchitecture/gn_crossmap
|
130
130
|
[dep_badge]: https://gemnasium.com/GlobalNamesArchitecture/gn_crossmap.png
|
131
131
|
[dep_link]: https://gemnasium.com/GlobalNamesArchitecture/gn_crossmap
|
data/gn_crossmap.gemspec
CHANGED
@@ -11,14 +11,10 @@ Gem::Specification.new do |gem|
|
|
11
11
|
|
12
12
|
gem.summary = "Crossmaps a list of scientific names to names from " \
|
13
13
|
"a data source in GN Index"
|
14
|
-
gem.description = "
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
"reference. User also supplies an id of a data source "\
|
19
|
-
"from global names resolver/index. User gets back a " \
|
20
|
-
"new comma-separated file where scientific names from " \
|
21
|
-
"her list match data from the given data source."
|
14
|
+
gem.description = "Gem uses a checklist in a comma-separated format as " \
|
15
|
+
"an input, and returns back a new comma-separated " \
|
16
|
+
"list crossmapping the scientific names to one of the " \
|
17
|
+
"data sources from http://resolver.globalnames.org"
|
22
18
|
gem.homepage = "https://github.com/GlobalNamesArchitecture/gn_crossmap"
|
23
19
|
|
24
20
|
gem.files = `git ls-files -z`.split("\x0").
|
@@ -1,12 +1,6 @@
|
|
1
1
|
module GnCrossmap
|
2
2
|
# Assemble data from CSV reader by checking column fields
|
3
3
|
class Collector
|
4
|
-
RANKS = %i(kingdom subkingdom phylum subphylum superclass class
|
5
|
-
subclass cohort superorder order suborder infraorder superfamily
|
6
|
-
family subfamily tribe subtribe genus subgenus section species
|
7
|
-
subspecies variety form)
|
8
|
-
SPECIES_RANKS = %i(genus species subspecies variety form)
|
9
|
-
|
10
4
|
attr_reader :data
|
11
5
|
|
12
6
|
def initialize
|
data/lib/gn_crossmap/version.rb
CHANGED
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: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitry Mozzherin
|
@@ -122,11 +122,9 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description:
|
126
|
-
a
|
127
|
-
|
128
|
-
an id of a data source from global names resolver/index. User gets back a new comma-separated
|
129
|
-
file where scientific names from her list match data from the given data source.
|
125
|
+
description: Gem uses a checklist in a comma-separated format as an input, and returns
|
126
|
+
back a new comma-separated list crossmapping the scientific names to one of the
|
127
|
+
data sources from http://resolver.globalnames.org
|
130
128
|
email:
|
131
129
|
- dmozzherin@gmail.com
|
132
130
|
executables:
|