ofac 1.1.11 → 1.1.12

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.
Files changed (5) hide show
  1. data/History.txt +47 -38
  2. data/VERSION.yml +3 -2
  3. data/lib/ofac.rb +1 -1
  4. data/ofac.gemspec +2 -2
  5. metadata +2 -2
data/History.txt CHANGED
@@ -1,72 +1,81 @@
1
- == 0.1.0 2009-05-7
1
+ == 1.1.12 2010-09-03
2
2
 
3
- * 1 major enhancement:
4
- * Table creation and data load task complete
3
+ * 1 minor enhancement:
4
+ * Changed the method to load the rake tasks from import to load to be jruby friendly.
5
5
 
6
- == 1.0.0 2009-05-11
6
+ == 1.1.11 2009-07-29
7
7
 
8
- * 1 major enhancement:
9
- * Initail release
8
+ * 1 minor enhancement:
9
+ * Removed the changes from 1.1.10. 1.1.10 produced a score of 0 when a higher score was more accurate.
10
+ Changed the scoring algorithm to not include partial matches on sounds like. This code has little impact on score, and
11
+ has a very high overhead on performance.
10
12
 
11
- == 1.1.0 2009-05-12
13
+ == 1.1.10 2009-07-28
12
14
 
13
15
  * 1 minor enhancement:
14
- * Modified the match alogorithm to reduct the score if there is not an address or city match if the data is in the database.
16
+ * Modified the select in OfacSdn to use the city to pull records from the database. This is another compromise to improve performance,
17
+ but still get a score. The db_hit? method is still faster, but this will still calculate a score for accuracy.
15
18
 
16
- == 1.1.2 2009-05-13
19
+ == 1.1.9 2009-07-24
17
20
 
18
- * 2 minor changes:
19
- * Changed the sql in the initial search to do a like instead of a soundex. For short names, the soundex returned almost the entire table
20
- making the process take too long.
21
- * Also changed the sql to only return individuals, also for the sake of performance.
21
+ * 1 minor enhancement:
22
+ * Added a method, db_hit? for when your more concerned with speed than accuracy. db_hit? will retun true if there is an exact name match
23
+ in the ofac_sdn database. This method ignores address and city and does not produce a score.
24
+ Usage: Ofac.new({:name => 'Oscar Hernandez', :city => 'Clearwater', :address => '123 somewhere ln'}).db_hit?
22
25
 
23
- == 1.1.3 2009-05-15
26
+
27
+ == 1.1.8 2009-06-30
24
28
 
25
29
  * 1 bug fix:
26
- * fixed a bug that threw an error if a space was passed in for the name.
30
+ * Refactored the select on OfacSdn to use the AR connection instead of building sql and using the raw connection. Fixes a bug
31
+ introducted in 1.1.6 where quotes in the name raised an error.
27
32
 
28
- == 1.1.4 2009-06-02
33
+
34
+ == 1.1.7 2009-06-30
35
+
36
+ * 1 bug fix:
37
+ * fixed error when passing a nil value into the new :first_name or :last_name hash values when initializing the Ofac object.
38
+
39
+ == 1.1.6 2009-06-29
29
40
 
30
41
  * 1 minor enhancement:
31
- * Improved performance by ignoring initial in names when searching the database for possible hits.
42
+ * Allow passing of first and last name seperately...to improve performance.
43
+
32
44
 
33
45
  == 1.1.5 2009-06-03
34
46
 
35
47
  * 1 bug fix:
36
48
  * fixed a bug that threw an error if only single character initials are passed in for the name.
37
49
 
38
- == 1.1.6 2009-06-29
50
+ == 1.1.4 2009-06-02
39
51
 
40
52
  * 1 minor enhancement:
41
- * Allow passing of first and last name seperately...to improve performance.
53
+ * Improved performance by ignoring initial in names when searching the database for possible hits.
42
54
 
43
- == 1.1.7 2009-06-30
55
+ == 1.1.3 2009-05-15
44
56
 
45
57
  * 1 bug fix:
46
- * fixed error when passing a nil value into the new :first_name or :last_name hash values when initializing the Ofac object.
58
+ * fixed a bug that threw an error if a space was passed in for the name.
47
59
 
48
- == 1.1.8 2009-06-30
60
+ == 1.1.2 2009-05-13
49
61
 
50
- * 1 bug fix:
51
- * Refactored the select on OfacSdn to use the AR connection instead of building sql and using the raw connection. Fixes a bug
52
- introducted in 1.1.6 where quotes in the name raised an error.
62
+ * 2 minor changes:
63
+ * Changed the sql in the initial search to do a like instead of a soundex. For short names, the soundex returned almost the entire table
64
+ making the process take too long.
65
+ * Also changed the sql to only return individuals, also for the sake of performance.
53
66
 
54
- == 1.1.9 2009-07-24
67
+ == 1.1.0 2009-05-12
55
68
 
56
69
  * 1 minor enhancement:
57
- * Added a method, db_hit? for when your more concerned with speed than accuracy. db_hit? will retun true if there is an exact name match
58
- in the ofac_sdn database. This method ignores address and city and does not produce a score.
59
- Usage: Ofac.new({:name => 'Oscar Hernandez', :city => 'Clearwater', :address => '123 somewhere ln'}).db_hit?
70
+ * Modified the match alogorithm to reduct the score if there is not an address or city match if the data is in the database.
60
71
 
61
- == 1.1.10 2009-07-28
62
72
 
63
- * 1 minor enhancement:
64
- * Modified the select in OfacSdn to use the city to pull records from the database. This is another compromise to improve performance,
65
- but still get a score. The db_hit? method is still faster, but this will still calculate a score for accuracy.
73
+ == 1.0.0 2009-05-11
66
74
 
67
- == 1.1.11 2009-07-29
75
+ * 1 major enhancement:
76
+ * Initail release
68
77
 
69
- * 1 minor enhancement:
70
- * Removed the changes from 1.1.10. 1.1.10 produced a score of 0 when a higher score was more accurate.
71
- Changed the scoring algorithm to not include partial matches on sounds like. This code has little impact on score, and
72
- has a very high overhead on performance.
78
+ == 0.1.0 2009-05-7
79
+
80
+ * 1 major enhancement:
81
+ * Table creation and data load task complete
data/VERSION.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  ---
2
- :minor: 1
3
- :patch: 11
4
2
  :major: 1
3
+ :minor: 1
4
+ :patch: 12
5
+ :build:
data/lib/ofac.rb CHANGED
@@ -6,4 +6,4 @@ require 'ofac/models/ofac_sdn_loader'
6
6
  require 'ofac/models/ofac'
7
7
 
8
8
  # Load rake file
9
- import "#{File.dirname(__FILE__)}/tasks/ofac.rake"
9
+ load "#{File.dirname(__FILE__)}/tasks/ofac.rake"
data/ofac.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ofac}
8
- s.version = "1.1.11"
8
+ s.version = "1.1.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kevin Tyll"]
12
- s.date = %q{2010-02-05}
12
+ s.date = %q{2010-09-03}
13
13
  s.description = %q{Attempts to find a hit on the Office of Foreign Assets Control's Specially Designated Nationals list.}
14
14
  s.email = %q{kevintyll@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ofac
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Tyll
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-05 00:00:00 -05:00
12
+ date: 2010-09-03 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15