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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0894103e3439ab8efd1043daef9c2dde6670efcb
4
- data.tar.gz: 22605149296182337b8275708b3c9389f43ed266
3
+ metadata.gz: ab326f47639f15ad57987882e582abc7a16b7998
4
+ data.tar.gz: fd4e3652679310ac2bb39a6015c3a29ffa39487d
5
5
  SHA512:
6
- metadata.gz: 093fd778fffe2ba91f7ad8a7eead62b7286777997bd2b369eef5327fb3ffebd47651d423ffc1f21f33d20f38695dfae0cefc481e5c27af8dfc8c8594d8dc4513
7
- data.tar.gz: 04fcb9b6383e5e12f5d8bd7d8329375f7fe7b4664e5ea3a76bafeaa67f2af94353362b558bd680b71fbe05ae279596e0162aabde77af6630a003e150c868f6ac
6
+ metadata.gz: bd6ca05541286e1c18b913574e6d6a8ae6fc82f5bcaad5381d369f4b56ab553c30a4552dc24122be3c8a4dd30e1b9e514e05d417039847ec10b543ddcb15a4f6
7
+ data.tar.gz: 27d88183e095623139fe86fcf5fe0a69710ba119cf2c828bbbb5669a1fe7c0eef8f95da564805b12b0aba44f974c6e2e1bbf5f7bfd739d487ba9b22af1686eb8
@@ -1,3 +1,8 @@
1
+ == 2.0.1 2014-01-07
2
+
3
+ * 1 bug fix
4
+ * Make backward compatible for Rails 3
5
+
1
6
  == 2.0.0 2014-01-07
2
7
 
3
8
  * 1 enhancement:
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 0
4
- :patch: 0
4
+ :patch: 1
5
5
  :build:
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ofac"
8
- s.version = "2.0.0"
8
+ s.version = "2.0.1"
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"]
@@ -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 CreateOfacSdns - ofac 2.0.0</title>
7
+ <title>class CreateOfacSdns - 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 Ofac - ofac 2.0.0</title>
7
+ <title>class Ofac - 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 OfacMatch - ofac 2.0.0</title>
7
+ <title>class OfacMatch - 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>module OfacMigration - ofac 2.0.0</title>
7
+ <title>module OfacMigration - 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>module OfacMigration::Generators - ofac 2.0.0</title>
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.0</title>
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
 
@@ -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.0</title>
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">&quot;(#{name_conditions}) or (#{alt_name_conditions})&quot;</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">&#39;individual&#39;</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">&#39;individual&#39;</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
 
@@ -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 OfacSdnLoader - ofac 2.0.0</title>
7
+ <title>class OfacSdnLoader - 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>README - ofac 2.0.0</title>
7
+ <title>README - 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 String - ofac 2.0.0</title>
7
+ <title>class String - ofac 2.0.1</title>
8
8
 
9
9
  <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
10
 
@@ -1,10 +1,10 @@
1
- Tue, 07 Jan 2014 09:58:09 -0500
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 09:48:22 -0500
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
@@ -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.0</title>
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.0.
87
+ <p>This is the API documentation for ofac 2.0.1.
88
88
  </div>
89
89
 
90
90
 
@@ -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.0</title>
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.0</h1>
24
+ <h1>Table of Contents - ofac 2.0.1</h1>
25
25
 
26
26
  <h2>Pages</h2>
27
27
  <ul>
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Tyll