ofac 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +5 -0
- data/VERSION.yml +1 -1
- data/lib/ofac/models/ofac_sdn.rb +1 -1
- data/ofac.gemspec +1 -1
- data/rdoc/CreateOfacSdns.html +1 -1
- data/rdoc/Ofac.html +1 -1
- data/rdoc/OfacMatch.html +1 -1
- data/rdoc/OfacMigration.html +1 -1
- data/rdoc/OfacMigration/Generators.html +1 -1
- data/rdoc/OfacMigration/Generators/BuildGenerator.html +1 -1
- data/rdoc/OfacSdn.html +2 -2
- data/rdoc/OfacSdnLoader.html +1 -1
- data/rdoc/README_rdoc.html +1 -1
- data/rdoc/String.html +1 -1
- data/rdoc/created.rid +2 -2
- data/rdoc/index.html +2 -2
- data/rdoc/table_of_contents.html +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab326f47639f15ad57987882e582abc7a16b7998
|
4
|
+
data.tar.gz: fd4e3652679310ac2bb39a6015c3a29ffa39487d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd6ca05541286e1c18b913574e6d6a8ae6fc82f5bcaad5381d369f4b56ab553c30a4552dc24122be3c8a4dd30e1b9e514e05d417039847ec10b543ddcb15a4f6
|
7
|
+
data.tar.gz: 27d88183e095623139fe86fcf5fe0a69710ba119cf2c828bbbb5669a1fe7c0eef8f95da564805b12b0aba44f974c6e2e1bbf5f7bfd739d487ba9b22af1686eb8
|
data/History.txt
CHANGED
data/VERSION.yml
CHANGED
data/lib/ofac/models/ofac_sdn.rb
CHANGED
@@ -19,7 +19,7 @@ class OfacSdn < ActiveRecord::Base
|
|
19
19
|
conditions = "(#{name_conditions}) or (#{alt_name_conditions})"
|
20
20
|
end
|
21
21
|
# we need the values in there twice, once for the names and once for the alt_names
|
22
|
-
OfacSdn.select(:name, :alternate_identity_name, :address, :city).where(sdn_type: 'individual').where(conditions, *(values * 2))
|
22
|
+
OfacSdn.select([:name, :alternate_identity_name, :address, :city]).where(sdn_type: 'individual').where(conditions, *(values * 2))
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|
data/ofac.gemspec
CHANGED
data/rdoc/CreateOfacSdns.html
CHANGED
data/rdoc/Ofac.html
CHANGED
data/rdoc/OfacMatch.html
CHANGED
data/rdoc/OfacMigration.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>module OfacMigration::Generators - ofac 2.0.
|
7
|
+
<title>module OfacMigration::Generators - ofac 2.0.1</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet">
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>class OfacMigration::Generators::BuildGenerator - ofac 2.0.
|
7
|
+
<title>class OfacMigration::Generators::BuildGenerator - ofac 2.0.1</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="../../rdoc.css" rel="stylesheet">
|
10
10
|
|
data/rdoc/OfacSdn.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>class OfacSdn - ofac 2.0.
|
7
|
+
<title>class OfacSdn - ofac 2.0.1</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
10
|
|
@@ -182,7 +182,7 @@
|
|
182
182
|
<span class="ruby-identifier">conditions</span> = <span class="ruby-node">"(#{name_conditions}) or (#{alt_name_conditions})"</span>
|
183
183
|
<span class="ruby-keyword">end</span>
|
184
184
|
<span class="ruby-comment"># we need the values in there twice, once for the names and once for the alt_names</span>
|
185
|
-
<span class="ruby-constant">OfacSdn</span>.<span class="ruby-identifier">select</span>(<span class="ruby-value">:name</span>, <span class="ruby-value">:alternate_identity_name</span>, <span class="ruby-value">:address</span>, <span class="ruby-value">:city</span>).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">sdn_type</span><span class="ruby-operator">:</span> <span class="ruby-string">'individual'</span>).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">conditions</span>, <span class="ruby-operator">*</span>(<span class="ruby-identifier">values</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span>))
|
185
|
+
<span class="ruby-constant">OfacSdn</span>.<span class="ruby-identifier">select</span>([<span class="ruby-value">:name</span>, <span class="ruby-value">:alternate_identity_name</span>, <span class="ruby-value">:address</span>, <span class="ruby-value">:city</span>]).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">sdn_type</span><span class="ruby-operator">:</span> <span class="ruby-string">'individual'</span>).<span class="ruby-identifier">where</span>(<span class="ruby-identifier">conditions</span>, <span class="ruby-operator">*</span>(<span class="ruby-identifier">values</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span>))
|
186
186
|
<span class="ruby-keyword">end</span></pre>
|
187
187
|
</div><!-- possible_sdns-source -->
|
188
188
|
|
data/rdoc/OfacSdnLoader.html
CHANGED
data/rdoc/README_rdoc.html
CHANGED
data/rdoc/String.html
CHANGED
data/rdoc/created.rid
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
Tue, 07 Jan 2014
|
1
|
+
Tue, 07 Jan 2014 10:20:16 -0500
|
2
2
|
README.rdoc Tue, 07 Jan 2014 09:55:46 -0500
|
3
3
|
lib/generators/ofac_migration/build/build_generator.rb Fri, 16 Mar 2012 15:37:08 -0400
|
4
4
|
lib/generators/ofac_migration/build/templates/create_ofac_sdns.rb Fri, 16 Mar 2012 15:37:08 -0400
|
5
5
|
lib/ofac.rb Thu, 02 Sep 2010 14:42:06 -0400
|
6
6
|
lib/ofac/models/ofac.rb Tue, 07 Jan 2014 09:45:35 -0500
|
7
|
-
lib/ofac/models/ofac_sdn.rb Tue, 07 Jan 2014
|
7
|
+
lib/ofac/models/ofac_sdn.rb Tue, 07 Jan 2014 10:18:10 -0500
|
8
8
|
lib/ofac/models/ofac_sdn_loader.rb Wed, 05 Jun 2013 09:04:58 -0400
|
9
9
|
lib/ofac/ofac_match.rb Wed, 29 Jul 2009 13:27:13 -0400
|
10
10
|
lib/ofac/ruby_string_extensions.rb Mon, 11 May 2009 12:39:33 -0400
|
data/rdoc/index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>ofac 2.0.
|
7
|
+
<title>ofac 2.0.1</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
10
|
|
@@ -84,7 +84,7 @@
|
|
84
84
|
</nav>
|
85
85
|
|
86
86
|
<div id="documentation" class="description">
|
87
|
-
<p>This is the API documentation for ofac 2.0.
|
87
|
+
<p>This is the API documentation for ofac 2.0.1.
|
88
88
|
</div>
|
89
89
|
|
90
90
|
|
data/rdoc/table_of_contents.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
|
6
6
|
|
7
|
-
<title>Table of Contents - ofac 2.0.
|
7
|
+
<title>Table of Contents - ofac 2.0.1</title>
|
8
8
|
|
9
9
|
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
|
10
10
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
|
22
22
|
|
23
23
|
<body class="indexpage">
|
24
|
-
<h1>Table of Contents - ofac 2.0.
|
24
|
+
<h1>Table of Contents - ofac 2.0.1</h1>
|
25
25
|
|
26
26
|
<h2>Pages</h2>
|
27
27
|
<ul>
|