cdmbl 0.2.34 → 0.3.0

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: 44cbe0011ee8e9de23677d202393e4b4c5803b80
4
- data.tar.gz: 930f488b73ceb9a9d8d85ce7d3c16b46b81d4d29
3
+ metadata.gz: 5fc97e300305366d0faaab32f77aea9e6b4858c3
4
+ data.tar.gz: 4a10e18b965f47e7b527e3fc87a5d8eeb989cf08
5
5
  SHA512:
6
- metadata.gz: 3463663d6d2ccd696bfc2121d20ffe831c599198f18bdc333bdd19ba43e3df77c6f0c0cfd373a7538556f4545729244144325f8d9c908f7f067cb9d55bb1693d
7
- data.tar.gz: de3254496cd7078018f7af3c85ddb067e3fe7e1c3050c52b5f3a45b430428c11c27d6eebf5f76a40692d1d02fd1ccd3ab067fc978bc946c7fa5413070c1d4e12
6
+ metadata.gz: 1a1b8541e6d097decc5163de3018ab0d53126c87056468492b36996768703cb9e42a1a29a0171e90222333475b9e9eaf41422ef2add22495b0cae84afe04b13d
7
+ data.tar.gz: 04e4caca067aabd20823bb93156b22a0b9b7fa19db5dec13c715d61eb625f388d312c665a9926cecc7b367fc69e334cebc51b54f2b591d613f146f6d0439c43c
data/.travis.yml CHANGED
@@ -1,5 +1,8 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.0
4
+ - 2.3.0
5
5
  before_install: gem install bundler -v 1.12.5
6
+ env:
7
+ matrix:
8
+ secure: n+qvS/V5ZeCZ15RMNPeTxtAd+79XZniWNoYCriGtrJkELt/7bc4teXB8thowXHrm4Sx2lHW9uE8cR2s56RyRoV0PQU+nenjylAHPkfwlu/isutw3PGGFJoF3O89bG5jtQCQcequSH+PHRLc0xYoKaRLOMEuO0RPzd+hALt3jobzs5Q4hvvFinF8yDOTG0Qo24CtvZqNMAz0QtkWJExIZ8i2G7DnkY7Jy6DaJjv+A3MdTe2xTikSjWOvFjMrRVd1v+aP9gUTNVTy5aahpKSwub7TzsS/yj8rSI8717As/sSxepWXBg1N1AnrH6ttgjpdyjELXYlTrCx01u4sQMW3HRKG4WJzSVKaQ9W6fF82TQySh6hAaiO5/HYZ73+TTCnEk6eFJT/FaT7yNyOwhRA2Wq091PVFgfZOFy+Hxbj3dWVZm0hS5odaQ5c/aUYR8EiyfUwgHQQxl2QYjUMci+5QOa5k5TmqBHq4iqa0khC5t/zbCvY5ImC4/ySTtIQZnAtHxh3ZhdrukQn0LgLQ4BKVGZEz0wyiaMQrkf8XUgv5pkegTcAhkaz7vZs5j0wtY6CV0q9t5D2n8Xj9amo3SOfTtJjOLZ3xBJhjJRr4J219wN0EFtHt+3rXVoKcw3Vz1ysyV1Jn2B68LF0LPHwSFKDGqptP3axBJNs/utGcDTHAx8hU=
@@ -46,9 +46,10 @@ module CDMBL
46
46
  class KeywordFormatter
47
47
  def self.format(value)
48
48
  vals = []
49
+ vals << value['genera'].split(';') if value['genera'].respond_to?(:split)
49
50
  vals << value['specif'].split(';') if value['specif'].respond_to?(:split)
50
51
  vals << value['subjec'].split(';') if value['subjec'].respond_to?(:split)
51
- vals.flatten.uniq
52
+ vals.flatten.uniq.sort
52
53
  end
53
54
  end
54
55
 
data/lib/cdmbl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module CDMBL
2
- VERSION = "0.2.34"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdmbl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.34
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - chadfennell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-05 00:00:00.000000000 Z
11
+ date: 2017-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hash_at_path