ssn_validator 1.0.10 → 1.0.11
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.
- data/History.txt +5 -0
- data/VERSION.yml +1 -1
- data/lib/ssn_validator/models/death_master_file_loader.rb +10 -2
- data/rdoc/DeathMasterFileLoader.html +6 -6
- data/rdoc/created.rid +2 -2
- data/rdoc/index.html +2 -2
- data/ssn_validator.gemspec +11 -40
- metadata +152 -165
    
        data/History.txt
    CHANGED
    
    
    
        data/VERSION.yml
    CHANGED
    
    
| @@ -1,7 +1,15 @@ | |
| 1 1 | 
             
            require 'net/http'
         | 
| 2 2 | 
             
            require 'net/https'
         | 
| 3 3 | 
             
            require 'active_record'
         | 
| 4 | 
            -
             | 
| 4 | 
            +
            begin
         | 
| 5 | 
            +
              require 'active_record/connection_adapters/mysql2_adapter'
         | 
| 6 | 
            +
            rescue Gem::LoadError
         | 
| 7 | 
            +
              begin
         | 
| 8 | 
            +
                require 'active_record/connection_adapters/mysql_adapter'
         | 
| 9 | 
            +
              rescue Gem::LoadError
         | 
| 10 | 
            +
                puts 'Not using mysql, will use active record to load data'
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
            end
         | 
| 5 13 | 
             
            require 'ssn_validator/ntis'
         | 
| 6 14 |  | 
| 7 15 | 
             
            class DeathMasterFileLoader
         | 
| @@ -31,7 +39,7 @@ class DeathMasterFileLoader | |
| 31 39 |  | 
| 32 40 | 
             
              def load_file
         | 
| 33 41 |  | 
| 34 | 
            -
                if DeathMasterFile.connection.kind_of?(ActiveRecord::ConnectionAdapters:: | 
| 42 | 
            +
                if DeathMasterFile.connection.kind_of?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter) || DeathMasterFile.connection.kind_of?(ActiveRecord::ConnectionAdapters::JdbcAdapter)
         | 
| 35 43 | 
             
                  puts "Converting file to csv format for Mysql import.  This could take several minutes."
         | 
| 36 44 | 
             
                  yield "Converting file to csv format for Mysql import.  This could take several minutes." if block_given?
         | 
| 37 45 |  | 
| @@ -165,7 +165,7 @@ loaded, and loads each missing file in sequence up to the current file.</p> | |
| 165 165 |  | 
| 166 166 |  | 
| 167 167 | 
             
                      <div class="method-source-code" id="load_update_files_from_web-source">
         | 
| 168 | 
            -
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line  | 
| 168 | 
            +
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line 88</span>
         | 
| 169 169 | 
             
            <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_update_files_from_web</span>
         | 
| 170 170 | 
             
              <span class="ruby-identifier">max_as_of</span> = <span class="ruby-constant">DeathMasterFile</span>.<span class="ruby-identifier">maximum</span>(<span class="ruby-value">:as_of</span>)
         | 
| 171 171 | 
             
              <span class="ruby-identifier">run_file_date</span> = <span class="ruby-identifier">max_as_of</span>.<span class="ruby-identifier">beginning_of_month</span>.<span class="ruby-identifier">next_month</span>
         | 
| @@ -209,7 +209,7 @@ data is accurate.</p> | |
| 209 209 |  | 
| 210 210 |  | 
| 211 211 | 
             
                      <div class="method-source-code" id="new-source">
         | 
| 212 | 
            -
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line  | 
| 212 | 
            +
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line 19</span>
         | 
| 213 213 | 
             
            <span class="ruby-keyword">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">path_or_url</span>, <span class="ruby-identifier">file_as_of</span>)
         | 
| 214 214 | 
             
              <span class="ruby-ivar">@file_path_or_url</span> = <span class="ruby-identifier">path_or_url</span>
         | 
| 215 215 | 
             
              <span class="ruby-ivar">@file_as_of</span> = <span class="ruby-identifier">file_as_of</span>
         | 
| @@ -247,7 +247,7 @@ data is accurate.</p> | |
| 247 247 |  | 
| 248 248 |  | 
| 249 249 | 
             
                      <div class="method-source-code" id="get_file_from_web-source">
         | 
| 250 | 
            -
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line  | 
| 250 | 
            +
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line 55</span>
         | 
| 251 251 | 
             
            <span class="ruby-keyword">def</span> <span class="ruby-identifier">get_file_from_web</span>
         | 
| 252 252 | 
             
              <span class="ruby-identifier">uri</span> = <span class="ruby-constant">URI</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-ivar">@file_path_or_url</span>)
         | 
| 253 253 |  | 
| @@ -303,10 +303,10 @@ data is accurate.</p> | |
| 303 303 |  | 
| 304 304 |  | 
| 305 305 | 
             
                      <div class="method-source-code" id="load_file-source">
         | 
| 306 | 
            -
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line  | 
| 306 | 
            +
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line 40</span>
         | 
| 307 307 | 
             
            <span class="ruby-keyword">def</span> <span class="ruby-identifier">load_file</span>
         | 
| 308 308 |  | 
| 309 | 
            -
              <span class="ruby-keyword">if</span> <span class="ruby-constant">DeathMasterFile</span>.<span class="ruby-identifier">connection</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionAdapters</span><span class="ruby-operator">::</span><span class="ruby-constant"> | 
| 309 | 
            +
              <span class="ruby-keyword">if</span> <span class="ruby-constant">DeathMasterFile</span>.<span class="ruby-identifier">connection</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionAdapters</span><span class="ruby-operator">::</span><span class="ruby-constant">AbstractMysqlAdapter</span>) <span class="ruby-operator">||</span> <span class="ruby-constant">DeathMasterFile</span>.<span class="ruby-identifier">connection</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">ConnectionAdapters</span><span class="ruby-operator">::</span><span class="ruby-constant">JdbcAdapter</span>)
         | 
| 310 310 | 
             
                <span class="ruby-identifier">puts</span> <span class="ruby-string">"Converting file to csv format for Mysql import.  This could take several minutes."</span>
         | 
| 311 311 | 
             
                <span class="ruby-keyword">yield</span> <span class="ruby-string">"Converting file to csv format for Mysql import.  This could take several minutes."</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">block_given?</span>
         | 
| 312 312 |  | 
| @@ -344,7 +344,7 @@ data is accurate.</p> | |
| 344 344 |  | 
| 345 345 |  | 
| 346 346 | 
             
                      <div class="method-source-code" id="valid-3F-source">
         | 
| 347 | 
            -
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line  | 
| 347 | 
            +
                        <pre><span class="ruby-comment"># File lib/ssn_validator/models/death_master_file_loader.rb, line 25</span>
         | 
| 348 348 | 
             
            <span class="ruby-keyword">def</span> <span class="ruby-identifier">valid?</span>
         | 
| 349 349 | 
             
              <span class="ruby-identifier">raise</span>(<span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">"path_or_url not specified"</span>) <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@file_path_or_url</span>
         | 
| 350 350 | 
             
              <span class="ruby-identifier">raise</span>(<span class="ruby-constant">ArgumentError</span>, <span class="ruby-string">"as_of not specified"</span>) <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@file_as_of</span>
         | 
    
        data/rdoc/created.rid
    CHANGED
    
    | @@ -1,10 +1,10 @@ | |
| 1 | 
            -
            Tue,  | 
| 1 | 
            +
            Tue, 09 Oct 2012 11:33:09 -0400
         | 
| 2 2 | 
             
            README.rdoc	Fri, 24 Apr 2009 11:28:41 -0400
         | 
| 3 3 | 
             
            LICENSE	Fri, 24 Apr 2009 11:27:55 -0400
         | 
| 4 4 | 
             
            lib/ssn_validator.rb	Thu, 02 Sep 2010 14:39:54 -0400
         | 
| 5 5 | 
             
            lib/ssn_validator/ntis.rb	Wed, 22 Apr 2009 16:43:19 -0400
         | 
| 6 6 | 
             
            lib/ssn_validator/models/death_master_file.rb	Tue, 21 Dec 2010 12:06:44 -0500
         | 
| 7 | 
            -
            lib/ssn_validator/models/death_master_file_loader.rb	Tue,  | 
| 7 | 
            +
            lib/ssn_validator/models/death_master_file_loader.rb	Tue, 09 Oct 2012 11:23:00 -0400
         | 
| 8 8 | 
             
            lib/ssn_validator/models/ssn_high_group_code.rb	Tue, 21 Dec 2010 12:06:44 -0500
         | 
| 9 9 | 
             
            lib/ssn_validator/models/ssn_high_group_code_loader.rb	Mon, 07 Mar 2011 16:14:18 -0500
         | 
| 10 10 | 
             
            lib/ssn_validator/models/ssn_validator.rb	Fri, 24 Apr 2009 14:53:40 -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>ssn_validator 1.0. | 
| 7 | 
            +
            <title>ssn_validator 1.0.11</title>
         | 
| 8 8 |  | 
| 9 9 | 
             
            <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
         | 
| 10 10 |  | 
| @@ -81,7 +81,7 @@ | |
| 81 81 | 
             
              </div>
         | 
| 82 82 | 
             
            </nav>
         | 
| 83 83 |  | 
| 84 | 
            -
            <p>This is the API documentation for ssn_validator 1.0. | 
| 84 | 
            +
            <p>This is the API documentation for ssn_validator 1.0.11.
         | 
| 85 85 |  | 
| 86 86 |  | 
| 87 87 | 
             
            <footer id="validator-badges">
         | 
    
        data/ssn_validator.gemspec
    CHANGED
    
    | @@ -4,14 +4,14 @@ | |
| 4 4 | 
             
            # -*- encoding: utf-8 -*-
         | 
| 5 5 |  | 
| 6 6 | 
             
            Gem::Specification.new do |s|
         | 
| 7 | 
            -
              s.name =  | 
| 8 | 
            -
              s.version = "1.0. | 
| 7 | 
            +
              s.name = "ssn_validator"
         | 
| 8 | 
            +
              s.version = "1.0.11"
         | 
| 9 9 |  | 
| 10 10 | 
             
              s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
         | 
| 11 | 
            -
              s.authors = [ | 
| 12 | 
            -
              s.date =  | 
| 13 | 
            -
              s.description =  | 
| 14 | 
            -
              s.email =  | 
| 11 | 
            +
              s.authors = ["Kevin Tyll"]
         | 
| 12 | 
            +
              s.date = "2012-10-09"
         | 
| 13 | 
            +
              s.description = "Validates whether an SSN has likely been issued or not."
         | 
| 14 | 
            +
              s.email = "kevintyll@gmail.com"
         | 
| 15 15 | 
             
              s.extra_rdoc_files = [
         | 
| 16 16 | 
             
                "LICENSE",
         | 
| 17 17 | 
             
                "README.rdoc"
         | 
| @@ -121,40 +121,11 @@ Gem::Specification.new do |s| | |
| 121 121 | 
             
                "test/test_ssn_high_group_code_loader.rb",
         | 
| 122 122 | 
             
                "test/test_ssn_validator.rb"
         | 
| 123 123 | 
             
              ]
         | 
| 124 | 
            -
              s.homepage =  | 
| 125 | 
            -
              s.post_install_message =  | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 129 | 
            -
                script/generate ssn_validator_migration
         | 
| 130 | 
            -
            * Require the gem in your environment.rb file in the Rails::Initializer block:
         | 
| 131 | 
            -
                config.gem 'kevintyll-ssn_validator', :lib => 'ssn_validator'
         | 
| 132 | 
            -
            * To load your table with the current SSN data, from the command line, run:
         | 
| 133 | 
            -
                rake ssn_validator:update_data
         | 
| 134 | 
            -
                * The SSN data is updated monthly, so you'll want to run this rake task monthly to keep your validations accurate.
         | 
| 135 | 
            -
            * If you've purchased the death master file data, create the death_master_files migration:
         | 
| 136 | 
            -
                script/generate death_master_file_migration
         | 
| 137 | 
            -
            * To load the dmf files you receive from ntis:
         | 
| 138 | 
            -
                rake ssn_validator:death_master_file:load_file PATH='path/to/file' AS_OF='2009-03-01'
         | 
| 139 | 
            -
                * You'll need to pass in the full path to where the file is on disk.  You'll also need
         | 
| 140 | 
            -
                  to pass in the date this file's data are as of in the format yyyy-mm-dd.
         | 
| 141 | 
            -
                * This task must be used to load the initial file you receive from ntis on CD.  It can optionally be used
         | 
| 142 | 
            -
                  to load the monthly update files you download from the website.  If you manually download the update files,
         | 
| 143 | 
            -
                  you do not need to add your user name and password to the environment.rb file.  For a more automated approach
         | 
| 144 | 
            -
                  to loading the update files, add your user name and password to the environment.rb file and use the 2nd rake task.
         | 
| 145 | 
            -
            * To load the monthly updates from the ntis website:
         | 
| 146 | 
            -
                * Add your user_name and password to the environment.rb file
         | 
| 147 | 
            -
                    SsnValidator::Ntis.user_name = 'REPLACE WITH YOUR dmf.ntis.gov USER NAME'
         | 
| 148 | 
            -
                    SsnValidator::Ntis.password = 'REPLACE WITH YOUR dmf.ntis.gov PASSWORD'
         | 
| 149 | 
            -
                * Run the rake task:
         | 
| 150 | 
            -
                    rake ssn_validator:death_master_file:update_data
         | 
| 151 | 
            -
                    * This rake task will determine the most recent file that has been loaded, and loads all subsequent files in order
         | 
| 152 | 
            -
                    from the dmf.ntis.gov website.
         | 
| 153 | 
            -
                    * The death master file data is updated monthly, so you'll want to run this rake task monthly to keep your validations accurate.
         | 
| 154 | 
            -
            }
         | 
| 155 | 
            -
              s.require_paths = [%q{lib}]
         | 
| 156 | 
            -
              s.rubygems_version = %q{1.8.9}
         | 
| 157 | 
            -
              s.summary = %q{Validates whether an SSN has likely been issued or not.}
         | 
| 124 | 
            +
              s.homepage = "http://kevintyll.git.com/ssn_validator"
         | 
| 125 | 
            +
              s.post_install_message = "\nFor more information on ssn_validator, see http://kevintyll.github.com/ssn_validator/\n\n* To create the necessary db migration, from the command line, run:\n    script/generate ssn_validator_migration\n* Require the gem in your environment.rb file in the Rails::Initializer block:\n    config.gem 'kevintyll-ssn_validator', :lib => 'ssn_validator'\n* To load your table with the current SSN data, from the command line, run:\n    rake ssn_validator:update_data\n    * The SSN data is updated monthly, so you'll want to run this rake task monthly to keep your validations accurate.\n* If you've purchased the death master file data, create the death_master_files migration:\n    script/generate death_master_file_migration\n* To load the dmf files you receive from ntis:\n    rake ssn_validator:death_master_file:load_file PATH='path/to/file' AS_OF='2009-03-01'\n    * You'll need to pass in the full path to where the file is on disk.  You'll also need\n      to pass in the date this file's data are as of in the format yyyy-mm-dd.\n    * This task must be used to load the initial file you receive from ntis on CD.  It can optionally be used\n      to load the monthly update files you download from the website.  If you manually download the update files,\n      you do not need to add your user name and password to the environment.rb file.  For a more automated approach\n      to loading the update files, add your user name and password to the environment.rb file and use the 2nd rake task.\n* To load the monthly updates from the ntis website:\n    * Add your user_name and password to the environment.rb file\n        SsnValidator::Ntis.user_name = 'REPLACE WITH YOUR dmf.ntis.gov USER NAME'\n        SsnValidator::Ntis.password = 'REPLACE WITH YOUR dmf.ntis.gov PASSWORD'\n    * Run the rake task:\n        rake ssn_validator:death_master_file:update_data\n        * This rake task will determine the most recent file that has been loaded, and loads all subsequent files in order\n        from the dmf.ntis.gov website.\n        * The death master file data is updated monthly, so you'll want to run this rake task monthly to keep your validations accurate.\n"
         | 
| 126 | 
            +
              s.require_paths = ["lib"]
         | 
| 127 | 
            +
              s.rubygems_version = "1.8.24"
         | 
| 128 | 
            +
              s.summary = "Validates whether an SSN has likely been issued or not."
         | 
| 158 129 |  | 
| 159 130 | 
             
              if s.respond_to? :specification_version then
         | 
| 160 131 | 
             
                s.specification_version = 3
         | 
    
        metadata
    CHANGED
    
    | @@ -1,187 +1,174 @@ | |
| 1 | 
            -
            --- !ruby/object:Gem::Specification | 
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: ssn_validator
         | 
| 3 | 
            -
            version: !ruby/object:Gem::Version | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 1.0.11
         | 
| 4 5 | 
             
              prerelease: 
         | 
| 5 | 
            -
              version: 1.0.10
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 | 
            -
            authors: | 
| 8 | 
            -
             | 
| 7 | 
            +
            authors:
         | 
| 8 | 
            +
            - Kevin Tyll
         | 
| 9 9 | 
             
            autorequire: 
         | 
| 10 10 | 
             
            bindir: bin
         | 
| 11 11 | 
             
            cert_chain: []
         | 
| 12 | 
            -
             | 
| 13 | 
            -
            date: 2012-02-14 00:00:00 Z
         | 
| 12 | 
            +
            date: 2012-10-09 00:00:00.000000000 Z
         | 
| 14 13 | 
             
            dependencies: []
         | 
| 15 | 
            -
             | 
| 16 14 | 
             
            description: Validates whether an SSN has likely been issued or not.
         | 
| 17 15 | 
             
            email: kevintyll@gmail.com
         | 
| 18 16 | 
             
            executables: []
         | 
| 19 | 
            -
             | 
| 20 17 | 
             
            extensions: []
         | 
| 21 | 
            -
             | 
| 22 | 
            -
             | 
| 23 | 
            -
             | 
| 24 | 
            -
             | 
| 25 | 
            -
             | 
| 26 | 
            -
             | 
| 27 | 
            -
             | 
| 28 | 
            -
             | 
| 29 | 
            -
             | 
| 30 | 
            -
             | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 45 | 
            -
             | 
| 46 | 
            -
             | 
| 47 | 
            -
             | 
| 48 | 
            -
             | 
| 49 | 
            -
             | 
| 50 | 
            -
             | 
| 51 | 
            -
             | 
| 52 | 
            -
             | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
             | 
| 56 | 
            -
             | 
| 57 | 
            -
             | 
| 58 | 
            -
             | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
             | 
| 62 | 
            -
             | 
| 63 | 
            -
             | 
| 64 | 
            -
             | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
             | 
| 68 | 
            -
             | 
| 69 | 
            -
             | 
| 70 | 
            -
             | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
             | 
| 74 | 
            -
             | 
| 75 | 
            -
             | 
| 76 | 
            -
             | 
| 77 | 
            -
             | 
| 78 | 
            -
             | 
| 79 | 
            -
             | 
| 80 | 
            -
             | 
| 81 | 
            -
             | 
| 82 | 
            -
             | 
| 83 | 
            -
             | 
| 84 | 
            -
             | 
| 85 | 
            -
             | 
| 86 | 
            -
             | 
| 87 | 
            -
             | 
| 88 | 
            -
             | 
| 89 | 
            -
             | 
| 90 | 
            -
             | 
| 91 | 
            -
             | 
| 92 | 
            -
             | 
| 93 | 
            -
             | 
| 94 | 
            -
             | 
| 95 | 
            -
             | 
| 96 | 
            -
             | 
| 97 | 
            -
             | 
| 98 | 
            -
             | 
| 99 | 
            -
             | 
| 100 | 
            -
             | 
| 101 | 
            -
             | 
| 102 | 
            -
             | 
| 103 | 
            -
             | 
| 104 | 
            -
             | 
| 105 | 
            -
             | 
| 106 | 
            -
             | 
| 107 | 
            -
             | 
| 108 | 
            -
             | 
| 109 | 
            -
             | 
| 110 | 
            -
             | 
| 111 | 
            -
             | 
| 112 | 
            -
             | 
| 113 | 
            -
             | 
| 114 | 
            -
             | 
| 115 | 
            -
             | 
| 116 | 
            -
             | 
| 117 | 
            -
             | 
| 118 | 
            -
             | 
| 119 | 
            -
             | 
| 120 | 
            -
             | 
| 121 | 
            -
             | 
| 122 | 
            -
             | 
| 123 | 
            -
             | 
| 124 | 
            -
             | 
| 125 | 
            -
             | 
| 126 | 
            -
             | 
| 127 | 
            -
             | 
| 128 | 
            -
              - test/test_ssn_validator.rb
         | 
| 18 | 
            +
            extra_rdoc_files:
         | 
| 19 | 
            +
            - LICENSE
         | 
| 20 | 
            +
            - README.rdoc
         | 
| 21 | 
            +
            files:
         | 
| 22 | 
            +
            - History.txt
         | 
| 23 | 
            +
            - LICENSE
         | 
| 24 | 
            +
            - PostInstall.txt
         | 
| 25 | 
            +
            - README.rdoc
         | 
| 26 | 
            +
            - Rakefile
         | 
| 27 | 
            +
            - VERSION.yml
         | 
| 28 | 
            +
            - generators/death_master_file_migration/death_master_file_migration_generator.rb
         | 
| 29 | 
            +
            - generators/death_master_file_migration/templates/migration.rb
         | 
| 30 | 
            +
            - generators/ssn_validator_migration/.DS_Store
         | 
| 31 | 
            +
            - generators/ssn_validator_migration/ssn_validator_migration_generator.rb
         | 
| 32 | 
            +
            - generators/ssn_validator_migration/templates/.DS_Store
         | 
| 33 | 
            +
            - generators/ssn_validator_migration/templates/migration.rb
         | 
| 34 | 
            +
            - lib/ssn_validator.rb
         | 
| 35 | 
            +
            - lib/ssn_validator/models/death_master_file.rb
         | 
| 36 | 
            +
            - lib/ssn_validator/models/death_master_file_loader.rb
         | 
| 37 | 
            +
            - lib/ssn_validator/models/ssn_high_group_code.rb
         | 
| 38 | 
            +
            - lib/ssn_validator/models/ssn_high_group_code_loader.rb
         | 
| 39 | 
            +
            - lib/ssn_validator/models/ssn_validator.rb
         | 
| 40 | 
            +
            - lib/ssn_validator/ntis.rb
         | 
| 41 | 
            +
            - lib/tasks/ssn_validator.rake
         | 
| 42 | 
            +
            - rdoc/DeathMasterFile.html
         | 
| 43 | 
            +
            - rdoc/DeathMasterFileLoader.html
         | 
| 44 | 
            +
            - rdoc/LICENSE.html
         | 
| 45 | 
            +
            - rdoc/README_rdoc.html
         | 
| 46 | 
            +
            - rdoc/SsnHighGroupCode.html
         | 
| 47 | 
            +
            - rdoc/SsnHighGroupCodeLoader.html
         | 
| 48 | 
            +
            - rdoc/SsnValidator.html
         | 
| 49 | 
            +
            - rdoc/SsnValidator/Ntis.html
         | 
| 50 | 
            +
            - rdoc/SsnValidator/Ssn.html
         | 
| 51 | 
            +
            - rdoc/classes/DeathMasterFile.html
         | 
| 52 | 
            +
            - rdoc/classes/DeathMasterFileLoader.html
         | 
| 53 | 
            +
            - rdoc/classes/SsnHighGroupCode.html
         | 
| 54 | 
            +
            - rdoc/classes/SsnHighGroupCodeLoader.html
         | 
| 55 | 
            +
            - rdoc/classes/SsnValidator.html
         | 
| 56 | 
            +
            - rdoc/classes/SsnValidator/Ntis.html
         | 
| 57 | 
            +
            - rdoc/classes/SsnValidator/Ssn.html
         | 
| 58 | 
            +
            - rdoc/created.rid
         | 
| 59 | 
            +
            - rdoc/files/LICENSE.html
         | 
| 60 | 
            +
            - rdoc/files/README_rdoc.html
         | 
| 61 | 
            +
            - rdoc/files/lib/ssn_validator/models/death_master_file_loader_rb.html
         | 
| 62 | 
            +
            - rdoc/files/lib/ssn_validator/models/death_master_file_rb.html
         | 
| 63 | 
            +
            - rdoc/files/lib/ssn_validator/models/ssn_high_group_code_loader_rb.html
         | 
| 64 | 
            +
            - rdoc/files/lib/ssn_validator/models/ssn_high_group_code_rb.html
         | 
| 65 | 
            +
            - rdoc/files/lib/ssn_validator/models/ssn_validator_rb.html
         | 
| 66 | 
            +
            - rdoc/files/lib/ssn_validator/ntis_rb.html
         | 
| 67 | 
            +
            - rdoc/files/lib/ssn_validator_rb.html
         | 
| 68 | 
            +
            - rdoc/fr_class_index.html
         | 
| 69 | 
            +
            - rdoc/fr_file_index.html
         | 
| 70 | 
            +
            - rdoc/fr_method_index.html
         | 
| 71 | 
            +
            - rdoc/images/add.png
         | 
| 72 | 
            +
            - rdoc/images/brick.png
         | 
| 73 | 
            +
            - rdoc/images/brick_link.png
         | 
| 74 | 
            +
            - rdoc/images/bug.png
         | 
| 75 | 
            +
            - rdoc/images/bullet_black.png
         | 
| 76 | 
            +
            - rdoc/images/bullet_toggle_minus.png
         | 
| 77 | 
            +
            - rdoc/images/bullet_toggle_plus.png
         | 
| 78 | 
            +
            - rdoc/images/date.png
         | 
| 79 | 
            +
            - rdoc/images/delete.png
         | 
| 80 | 
            +
            - rdoc/images/find.png
         | 
| 81 | 
            +
            - rdoc/images/loadingAnimation.gif
         | 
| 82 | 
            +
            - rdoc/images/macFFBgHack.png
         | 
| 83 | 
            +
            - rdoc/images/package.png
         | 
| 84 | 
            +
            - rdoc/images/page_green.png
         | 
| 85 | 
            +
            - rdoc/images/page_white_text.png
         | 
| 86 | 
            +
            - rdoc/images/page_white_width.png
         | 
| 87 | 
            +
            - rdoc/images/plugin.png
         | 
| 88 | 
            +
            - rdoc/images/ruby.png
         | 
| 89 | 
            +
            - rdoc/images/tag_blue.png
         | 
| 90 | 
            +
            - rdoc/images/tag_green.png
         | 
| 91 | 
            +
            - rdoc/images/transparent.png
         | 
| 92 | 
            +
            - rdoc/images/wrench.png
         | 
| 93 | 
            +
            - rdoc/images/wrench_orange.png
         | 
| 94 | 
            +
            - rdoc/images/zoom.png
         | 
| 95 | 
            +
            - rdoc/index.html
         | 
| 96 | 
            +
            - rdoc/js/darkfish.js
         | 
| 97 | 
            +
            - rdoc/js/jquery.js
         | 
| 98 | 
            +
            - rdoc/js/navigation.js
         | 
| 99 | 
            +
            - rdoc/js/search.js
         | 
| 100 | 
            +
            - rdoc/js/search_index.js
         | 
| 101 | 
            +
            - rdoc/js/searcher.js
         | 
| 102 | 
            +
            - rdoc/lib/ssn_validator/models/death_master_file_loader_rb.html
         | 
| 103 | 
            +
            - rdoc/lib/ssn_validator/models/death_master_file_rb.html
         | 
| 104 | 
            +
            - rdoc/lib/ssn_validator/models/ssn_high_group_code_loader_rb.html
         | 
| 105 | 
            +
            - rdoc/lib/ssn_validator/models/ssn_high_group_code_rb.html
         | 
| 106 | 
            +
            - rdoc/lib/ssn_validator/models/ssn_validator_rb.html
         | 
| 107 | 
            +
            - rdoc/lib/ssn_validator/ntis_rb.html
         | 
| 108 | 
            +
            - rdoc/lib/ssn_validator_rb.html
         | 
| 109 | 
            +
            - rdoc/rdoc-style.css
         | 
| 110 | 
            +
            - rdoc/rdoc.css
         | 
| 111 | 
            +
            - rdoc/table_of_contents.html
         | 
| 112 | 
            +
            - script/console
         | 
| 113 | 
            +
            - script/destroy
         | 
| 114 | 
            +
            - script/generate
         | 
| 115 | 
            +
            - ssn_validator.gemspec
         | 
| 116 | 
            +
            - test/files/test_dmf_funky_data_load.txt
         | 
| 117 | 
            +
            - test/files/test_dmf_initial_load.txt
         | 
| 118 | 
            +
            - test/files/test_dmf_update_load.txt
         | 
| 119 | 
            +
            - test/files/valid_csv_from_funky_data_file.txt
         | 
| 120 | 
            +
            - test/mocks/test/death_master_file_loader.rb
         | 
| 121 | 
            +
            - test/test_death_master_file_loader.rb
         | 
| 122 | 
            +
            - test/test_helper.rb
         | 
| 123 | 
            +
            - test/test_ssn_high_group_code_loader.rb
         | 
| 124 | 
            +
            - test/test_ssn_validator.rb
         | 
| 129 125 | 
             
            homepage: http://kevintyll.git.com/ssn_validator
         | 
| 130 126 | 
             
            licenses: []
         | 
| 131 | 
            -
             | 
| 132 | 
            -
             | 
| 133 | 
            -
              
         | 
| 134 | 
            -
               | 
| 135 | 
            -
              
         | 
| 136 | 
            -
              *  | 
| 137 | 
            -
             | 
| 138 | 
            -
               | 
| 139 | 
            -
             | 
| 140 | 
            -
               | 
| 141 | 
            -
             | 
| 142 | 
            -
                   | 
| 143 | 
            -
              *  | 
| 144 | 
            -
                   | 
| 145 | 
            -
               | 
| 146 | 
            -
             | 
| 147 | 
            -
                   | 
| 148 | 
            -
             | 
| 149 | 
            -
             | 
| 150 | 
            -
                     | 
| 151 | 
            -
                     | 
| 152 | 
            -
             | 
| 153 | 
            -
              *  | 
| 154 | 
            -
             | 
| 155 | 
            -
             | 
| 156 | 
            -
             | 
| 157 | 
            -
                  * Run the rake task:
         | 
| 158 | 
            -
                      rake ssn_validator:death_master_file:update_data
         | 
| 159 | 
            -
                      * This rake task will determine the most recent file that has been loaded, and loads all subsequent files in order
         | 
| 160 | 
            -
                      from the dmf.ntis.gov website.
         | 
| 161 | 
            -
                      * The death master file data is updated monthly, so you'll want to run this rake task monthly to keep your validations accurate.
         | 
| 162 | 
            -
             | 
| 127 | 
            +
            post_install_message: ! "\nFor more information on ssn_validator, see http://kevintyll.github.com/ssn_validator/\n\n*
         | 
| 128 | 
            +
              To create the necessary db migration, from the command line, run:\n    script/generate
         | 
| 129 | 
            +
              ssn_validator_migration\n* Require the gem in your environment.rb file in the Rails::Initializer
         | 
| 130 | 
            +
              block:\n    config.gem 'kevintyll-ssn_validator', :lib => 'ssn_validator'\n* To
         | 
| 131 | 
            +
              load your table with the current SSN data, from the command line, run:\n    rake
         | 
| 132 | 
            +
              ssn_validator:update_data\n    * The SSN data is updated monthly, so you'll want
         | 
| 133 | 
            +
              to run this rake task monthly to keep your validations accurate.\n* If you've purchased
         | 
| 134 | 
            +
              the death master file data, create the death_master_files migration:\n    script/generate
         | 
| 135 | 
            +
              death_master_file_migration\n* To load the dmf files you receive from ntis:\n    rake
         | 
| 136 | 
            +
              ssn_validator:death_master_file:load_file PATH='path/to/file' AS_OF='2009-03-01'\n
         | 
| 137 | 
            +
              \   * You'll need to pass in the full path to where the file is on disk.  You'll
         | 
| 138 | 
            +
              also need\n      to pass in the date this file's data are as of in the format yyyy-mm-dd.\n
         | 
| 139 | 
            +
              \   * This task must be used to load the initial file you receive from ntis on CD.
         | 
| 140 | 
            +
              \ It can optionally be used\n      to load the monthly update files you download
         | 
| 141 | 
            +
              from the website.  If you manually download the update files,\n      you do not
         | 
| 142 | 
            +
              need to add your user name and password to the environment.rb file.  For a more
         | 
| 143 | 
            +
              automated approach\n      to loading the update files, add your user name and password
         | 
| 144 | 
            +
              to the environment.rb file and use the 2nd rake task.\n* To load the monthly updates
         | 
| 145 | 
            +
              from the ntis website:\n    * Add your user_name and password to the environment.rb
         | 
| 146 | 
            +
              file\n        SsnValidator::Ntis.user_name = 'REPLACE WITH YOUR dmf.ntis.gov USER
         | 
| 147 | 
            +
              NAME'\n        SsnValidator::Ntis.password = 'REPLACE WITH YOUR dmf.ntis.gov PASSWORD'\n
         | 
| 148 | 
            +
              \   * Run the rake task:\n        rake ssn_validator:death_master_file:update_data\n
         | 
| 149 | 
            +
              \       * This rake task will determine the most recent file that has been loaded,
         | 
| 150 | 
            +
              and loads all subsequent files in order\n        from the dmf.ntis.gov website.\n
         | 
| 151 | 
            +
              \       * The death master file data is updated monthly, so you'll want to run this
         | 
| 152 | 
            +
              rake task monthly to keep your validations accurate.\n"
         | 
| 163 153 | 
             
            rdoc_options: []
         | 
| 164 | 
            -
             | 
| 165 | 
            -
             | 
| 166 | 
            -
             | 
| 167 | 
            -
            required_ruby_version: !ruby/object:Gem::Requirement 
         | 
| 154 | 
            +
            require_paths:
         | 
| 155 | 
            +
            - lib
         | 
| 156 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 168 157 | 
             
              none: false
         | 
| 169 | 
            -
              requirements: | 
| 170 | 
            -
             | 
| 171 | 
            -
             | 
| 172 | 
            -
             | 
| 173 | 
            -
            required_rubygems_version: !ruby/object:Gem::Requirement | 
| 158 | 
            +
              requirements:
         | 
| 159 | 
            +
              - - ! '>='
         | 
| 160 | 
            +
                - !ruby/object:Gem::Version
         | 
| 161 | 
            +
                  version: '0'
         | 
| 162 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 174 163 | 
             
              none: false
         | 
| 175 | 
            -
              requirements: | 
| 176 | 
            -
             | 
| 177 | 
            -
             | 
| 178 | 
            -
             | 
| 164 | 
            +
              requirements:
         | 
| 165 | 
            +
              - - ! '>='
         | 
| 166 | 
            +
                - !ruby/object:Gem::Version
         | 
| 167 | 
            +
                  version: '0'
         | 
| 179 168 | 
             
            requirements: []
         | 
| 180 | 
            -
             | 
| 181 169 | 
             
            rubyforge_project: 
         | 
| 182 | 
            -
            rubygems_version: 1.8. | 
| 170 | 
            +
            rubygems_version: 1.8.24
         | 
| 183 171 | 
             
            signing_key: 
         | 
| 184 172 | 
             
            specification_version: 3
         | 
| 185 173 | 
             
            summary: Validates whether an SSN has likely been issued or not.
         | 
| 186 174 | 
             
            test_files: []
         | 
| 187 | 
            -
             |