dwc_agent 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: 85a83233676096ae89385fa15d9df82a8ae4fdbb
4
- data.tar.gz: 5fba52783d9724a2c3d9b6e0011affb204c1e759
3
+ metadata.gz: fbe92590f01bd5333578849826932058e68a14a0
4
+ data.tar.gz: e87eb07c1776202332c8ae5e1717c59909bd1256
5
5
  SHA512:
6
- metadata.gz: 1d2a61e2b1d95573b8dc456fb53617f518c07b327fce7773effeba4aef9c8322468e6f8e6cbd72f6107d7f0d59c93b0624b44f54522555542f69cb9ee17a0abb
7
- data.tar.gz: 8acc297375824ed643db7a1d2ec6b51636d80ee194e2decc8abfc54e3db8d39b4431afb12a25039b5dc27be624676dc4cbdde3fada9c2b6a9907fde0eaeb4ec6
6
+ metadata.gz: 9b042f5be8bd7e8983f33a496537ea61e086aab192b390ac59bf6fc230d2ead84541c7bc7e095b2a846398edf3bd2115e9821c9bf3aa8c4fbf1993113d53f1d6
7
+ data.tar.gz: cd957e05a15a20610adbb0c2f3f2ae2e9347bd544ab27871635815938e00e69d8676a9273805112804ca909f352095af189b2597504bad4aa2708100ad38a3f0
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: utf-8
3
+
4
+ require 'dwc_agent'
5
+
6
+ puts DwcAgent.similarity_score(ARGV[0],ARGV[1])
@@ -10,8 +10,8 @@ module DwcAgent
10
10
  Cleaner.clean(parsed_namae)
11
11
  end
12
12
 
13
- def similarity(given1, given2)
14
- Similarity.similarity(given1, given2)
13
+ def similarity_score(given1, given2)
14
+ Similarity.similarity_score(given1, given2)
15
15
  end
16
16
 
17
17
  end
@@ -3,7 +3,7 @@ module DwcAgent
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- PATCH = 1
6
+ PATCH = 2
7
7
  BUILD = nil
8
8
 
9
9
  def self.version
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwc_agent
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
  - David P. Shorthouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-19 00:00:00.000000000 Z
11
+ date: 2018-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: namae
@@ -85,10 +85,12 @@ description: Parses the typically messy content in Darwin Core terms that contai
85
85
  email: davidpshorthouse@gmail.coms
86
86
  executables:
87
87
  - dwcagent
88
+ - dwcagent-similarity
88
89
  extensions: []
89
90
  extra_rdoc_files: []
90
91
  files:
91
92
  - bin/dwcagent
93
+ - bin/dwcagent-similarity
92
94
  - lib/dwc_agent.rb
93
95
  - lib/dwc_agent/cleaner.rb
94
96
  - lib/dwc_agent/constants.rb