gn_crossmap 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac2bef76184049dac604ad4be78998d50fc8cc54
4
- data.tar.gz: 4ebf72afdfe65e37148d19dd2234d771cb3db951
3
+ metadata.gz: aa28cee629270ecd5f8db2a1dce17fb60313ee5a
4
+ data.tar.gz: 146757cbb36fba1ebe78757cb044e4d4f02c73db
5
5
  SHA512:
6
- metadata.gz: 06b2f2a33ad5d73344e73afa6b76790ab195b5529b98984949a40a3d1e64eb79f5449d1045a0a0c1d60af6b65a5076f63deb3339d1e1b6edbf734790fc5b4cff
7
- data.tar.gz: f26df79b31645a2228be814aa47e9efd4f4976d9753df3ca4a0ebeafc1b5b7f1d91cd55d8e61555a655f1c39d0051d36e34554a983f07fec507aa4e4aaf5ed75
6
+ metadata.gz: 87a7b5cf1cda75e9e33a3034195fbd50c732f54e42b41bfcd027f381ef6a3c84fc9889c11a74fc26177437ddb0f0164e16e334164a17b12ac5098a8adcefee7b
7
+ data.tar.gz: e355f6c2033a4acf0d333182779a6390d156a643ea6a77f7816dd380c550689a8805aec5e1185383840bedc19954cfbdc4d7724a1e233d4a08236aa83ec4d836
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  gn_crossmap CHANGELOG
2
2
  =====================
3
3
 
4
+ 0.1.2
5
+ -----
6
+ - [Dmitry Mozzherin][dimus] - clean up docs, and remove junk code
7
+
4
8
  0.1.1
5
9
  -----
6
10
  - [Dmitry Mozzherin][dimus] - first official release -- works for full names
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.png?branch=master
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.png
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 = "User supplies a comma-separated file which breaks " \
15
- "contains in one row a hierarchy path of known ranks, " \
16
- "scientific name which can be split into its semantic " \
17
- "elements and include authorship and taxon concept " \
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
@@ -7,8 +7,6 @@ module GnCrossmap
7
7
  subspecies variety form)
8
8
  SPECIES_RANKS = %i(genus species subspecies variety form)
9
9
 
10
- attr_reader :data
11
-
12
10
  def initialize(fields)
13
11
  @fields = fields
14
12
  end
@@ -1,6 +1,6 @@
1
1
  # Namespace module for crossmapping checklists to GN sources
2
2
  module GnCrossmap
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
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: 0.1.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: User supplies a comma-separated file which breaks contains in one row
126
- a hierarchy path of known ranks, scientific name which can be split into its semantic
127
- elements and include authorship and taxon concept reference. User also supplies
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: