ssn_validator 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/History.txt +5 -0
  2. data/Rakefile +61 -60
  3. data/VERSION.yml +1 -1
  4. data/lib/ssn_validator/models/death_master_file_loader.rb +46 -43
  5. data/rdoc/DeathMasterFile.html +139 -0
  6. data/rdoc/DeathMasterFileLoader.html +384 -0
  7. data/rdoc/LICENSE.html +116 -0
  8. data/rdoc/README_rdoc.html +226 -0
  9. data/rdoc/SsnHighGroupCode.html +139 -0
  10. data/rdoc/SsnHighGroupCodeLoader.html +251 -0
  11. data/rdoc/SsnValidator/Ntis.html +139 -0
  12. data/rdoc/SsnValidator/Ssn.html +417 -0
  13. data/rdoc/SsnValidator.html +134 -0
  14. data/rdoc/created.rid +10 -1
  15. data/rdoc/images/add.png +0 -0
  16. data/rdoc/images/brick.png +0 -0
  17. data/rdoc/images/brick_link.png +0 -0
  18. data/rdoc/images/bug.png +0 -0
  19. data/rdoc/images/bullet_black.png +0 -0
  20. data/rdoc/images/bullet_toggle_minus.png +0 -0
  21. data/rdoc/images/bullet_toggle_plus.png +0 -0
  22. data/rdoc/images/date.png +0 -0
  23. data/rdoc/images/delete.png +0 -0
  24. data/rdoc/images/find.png +0 -0
  25. data/rdoc/images/loadingAnimation.gif +0 -0
  26. data/rdoc/images/macFFBgHack.png +0 -0
  27. data/rdoc/images/package.png +0 -0
  28. data/rdoc/images/page_green.png +0 -0
  29. data/rdoc/images/page_white_text.png +0 -0
  30. data/rdoc/images/page_white_width.png +0 -0
  31. data/rdoc/images/plugin.png +0 -0
  32. data/rdoc/images/ruby.png +0 -0
  33. data/rdoc/images/tag_blue.png +0 -0
  34. data/rdoc/images/tag_green.png +0 -0
  35. data/rdoc/images/transparent.png +0 -0
  36. data/rdoc/images/wrench.png +0 -0
  37. data/rdoc/images/wrench_orange.png +0 -0
  38. data/rdoc/images/zoom.png +0 -0
  39. data/rdoc/index.html +89 -21
  40. data/rdoc/js/darkfish.js +153 -0
  41. data/rdoc/js/jquery.js +18 -0
  42. data/rdoc/js/navigation.js +142 -0
  43. data/rdoc/js/search.js +94 -0
  44. data/rdoc/js/search_index.js +1 -0
  45. data/rdoc/js/searcher.js +228 -0
  46. data/rdoc/lib/ssn_validator/models/death_master_file_loader_rb.html +95 -0
  47. data/rdoc/lib/ssn_validator/models/death_master_file_rb.html +95 -0
  48. data/rdoc/lib/ssn_validator/models/ssn_high_group_code_loader_rb.html +95 -0
  49. data/rdoc/lib/ssn_validator/models/ssn_high_group_code_rb.html +95 -0
  50. data/rdoc/lib/ssn_validator/models/ssn_validator_rb.html +95 -0
  51. data/rdoc/lib/ssn_validator/ntis_rb.html +95 -0
  52. data/rdoc/lib/ssn_validator_rb.html +95 -0
  53. data/rdoc/rdoc.css +543 -0
  54. data/rdoc/table_of_contents.html +107 -0
  55. data/ssn_validator.gemspec +54 -14
  56. metadata +56 -20
@@ -0,0 +1,134 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
+
7
+ <title>Module: SsnValidator</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body id="top" class="module">
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="file-metadata">
47
+ <nav id="file-list-section" class="section">
48
+ <h3 class="section-header">Defined In</h3>
49
+ <ul>
50
+ <li>lib/ssn_validator/ntis.rb
51
+ <li>lib/ssn_validator/models/ssn_validator.rb
52
+ </ul>
53
+ </nav>
54
+
55
+
56
+ </div>
57
+
58
+ <div id="class-metadata">
59
+
60
+
61
+
62
+
63
+ </div>
64
+
65
+ <div id="project-metadata">
66
+ <nav id="fileindex-section" class="section project-section">
67
+ <h3 class="section-header">Pages</h3>
68
+
69
+ <ul>
70
+
71
+ <li class="file"><a href="./LICENSE.html">LICENSE</a>
72
+
73
+ <li class="file"><a href="./README_rdoc.html">README</a>
74
+
75
+ </ul>
76
+ </nav>
77
+
78
+ <nav id="classindex-section" class="section project-section">
79
+ <h3 class="section-header">Class and Module Index</h3>
80
+
81
+ <ul class="link-list">
82
+
83
+ <li><a href="./SsnValidator.html">SsnValidator</a>
84
+
85
+ <li><a href="./SsnValidator/Ntis.html">SsnValidator::Ntis</a>
86
+
87
+ <li><a href="./SsnValidator/Ssn.html">SsnValidator::Ssn</a>
88
+
89
+ <li><a href="./DeathMasterFile.html">DeathMasterFile</a>
90
+
91
+ <li><a href="./DeathMasterFileLoader.html">DeathMasterFileLoader</a>
92
+
93
+ <li><a href="./SsnHighGroupCode.html">SsnHighGroupCode</a>
94
+
95
+ <li><a href="./SsnHighGroupCodeLoader.html">SsnHighGroupCodeLoader</a>
96
+
97
+ </ul>
98
+ </nav>
99
+
100
+ </div>
101
+ </nav>
102
+
103
+ <div id="documentation">
104
+ <h1 class="module">module SsnValidator</h1>
105
+
106
+ <div id="description" class="description">
107
+
108
+ </div><!-- description -->
109
+
110
+
111
+
112
+
113
+ <section id="5Buntitled-5D" class="documentation-section">
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <!-- Methods -->
123
+
124
+ </section><!-- 5Buntitled-5D -->
125
+
126
+ </div><!-- documentation -->
127
+
128
+
129
+ <footer id="validator-badges">
130
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
131
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
132
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
133
+ </footer>
134
+
data/rdoc/created.rid CHANGED
@@ -1 +1,10 @@
1
- Mon, 07 Mar 2011 16:17:46 -0500
1
+ Tue, 14 Feb 2012 13:36:53 -0500
2
+ README.rdoc Fri, 24 Apr 2009 11:28:41 -0400
3
+ LICENSE Fri, 24 Apr 2009 11:27:55 -0400
4
+ lib/ssn_validator.rb Thu, 02 Sep 2010 14:39:54 -0400
5
+ lib/ssn_validator/ntis.rb Wed, 22 Apr 2009 16:43:19 -0400
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, 14 Feb 2012 13:12:59 -0500
8
+ lib/ssn_validator/models/ssn_high_group_code.rb Tue, 21 Dec 2010 12:06:44 -0500
9
+ lib/ssn_validator/models/ssn_high_group_code_loader.rb Mon, 07 Mar 2011 16:14:18 -0500
10
+ lib/ssn_validator/models/ssn_validator.rb Fri, 24 Apr 2009 14:53:40 -0400
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
data/rdoc/index.html CHANGED
@@ -1,24 +1,92 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
1
+ <!DOCTYPE html>
5
2
 
6
- <!--
3
+ <html>
4
+ <head>
5
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
7
6
 
8
- ssn_validator 1.0.9
7
+ <title>ssn_validator 1.0.10</title>
8
+
9
+ <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
10
+
11
+ <script type="text/javascript">
12
+ var rdoc_rel_prefix = "./";
13
+ </script>
14
+
15
+ <script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
16
+ <script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
17
+ <script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
18
+ <script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
19
+ <script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
20
+ <script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
21
+
22
+
23
+ <body>
24
+ <nav id="metadata">
25
+ <nav id="home-section" class="section">
26
+ <h3 class="section-header">
27
+ <a href="./index.html">Home</a>
28
+ <a href="./table_of_contents.html#classes">Classes</a>
29
+ <a href="./table_of_contents.html#methods">Methods</a>
30
+ </h3>
31
+ </nav>
32
+
33
+
34
+ <nav id="search-section" class="section project-section" class="initially-hidden">
35
+ <form action="#" method="get" accept-charset="utf-8">
36
+ <h3 class="section-header">
37
+ <input type="text" name="search" placeholder="Search" id="search-field"
38
+ title="Type to search, Up and Down to navigate, Enter to load">
39
+ </h3>
40
+ </form>
41
+
42
+ <ul id="search-results" class="initially-hidden"></ul>
43
+ </nav>
44
+
45
+
46
+ <div id="project-metadata">
47
+ <nav id="fileindex-section" class="section project-section">
48
+ <h3 class="section-header">Pages</h3>
49
+
50
+ <ul>
51
+
52
+ <li class="file"><a href="./LICENSE.html">LICENSE</a>
53
+
54
+ <li class="file"><a href="./README_rdoc.html">README</a>
55
+
56
+ </ul>
57
+ </nav>
58
+
59
+ <nav id="classindex-section" class="section project-section">
60
+ <h3 class="section-header">Class and Module Index</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./SsnValidator.html">SsnValidator</a>
65
+
66
+ <li><a href="./SsnValidator/Ntis.html">SsnValidator::Ntis</a>
67
+
68
+ <li><a href="./SsnValidator/Ssn.html">SsnValidator::Ssn</a>
69
+
70
+ <li><a href="./DeathMasterFile.html">DeathMasterFile</a>
71
+
72
+ <li><a href="./DeathMasterFileLoader.html">DeathMasterFileLoader</a>
73
+
74
+ <li><a href="./SsnHighGroupCode.html">SsnHighGroupCode</a>
75
+
76
+ <li><a href="./SsnHighGroupCodeLoader.html">SsnHighGroupCodeLoader</a>
77
+
78
+ </ul>
79
+ </nav>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <p>This is the API documentation for ssn_validator 1.0.10.
85
+
86
+
87
+ <footer id="validator-badges">
88
+ <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
89
+ <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.11.
90
+ <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
91
+ </footer>
9
92
 
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>ssn_validator 1.0.9</title>
14
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
15
- </head>
16
- <frameset rows="20%, 80%">
17
- <frameset cols="25%,35%,45%">
18
- <frame src="fr_file_index.html" title="Files" name="Files" />
19
- <frame src="fr_class_index.html" name="Classes" />
20
- <frame src="fr_method_index.html" name="Methods" />
21
- </frameset>
22
- <frame src="files/README_rdoc.html" name="docwin" />
23
- </frameset>
24
- </html>
@@ -0,0 +1,153 @@
1
+ /**
2
+ *
3
+ * Darkfish Page Functions
4
+ * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
5
+ *
6
+ * Author: Michael Granger <mgranger@laika.com>
7
+ *
8
+ */
9
+
10
+ /* Provide console simulation for firebug-less environments */
11
+ if (!("console" in window) || !("firebug" in console)) {
12
+ var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
13
+ "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
14
+
15
+ window.console = {};
16
+ for (var i = 0; i < names.length; ++i)
17
+ window.console[names[i]] = function() {};
18
+ };
19
+
20
+
21
+ /**
22
+ * Unwrap the first element that matches the given @expr@ from the targets and return them.
23
+ */
24
+ $.fn.unwrap = function( expr ) {
25
+ return this.each( function() {
26
+ $(this).parents( expr ).eq( 0 ).after( this ).remove();
27
+ });
28
+ };
29
+
30
+
31
+ function showSource( e ) {
32
+ var target = e.target;
33
+ var codeSections = $(target).
34
+ parents('.method-detail').
35
+ find('.method-source-code');
36
+
37
+ $(target).
38
+ parents('.method-detail').
39
+ find('.method-source-code').
40
+ slideToggle();
41
+ };
42
+
43
+ function hookSourceViews() {
44
+ $('.method-heading').click( showSource );
45
+ };
46
+
47
+ function toggleDebuggingSection() {
48
+ $('.debugging-section').slideToggle();
49
+ };
50
+
51
+ function hookDebuggingToggle() {
52
+ $('#debugging-toggle img').click( toggleDebuggingSection );
53
+ };
54
+
55
+ function hookTableOfContentsToggle() {
56
+ $('.indexpage li .toc-toggle').each( function() {
57
+ $(this).click( function() {
58
+ $(this).toggleClass('open');
59
+ });
60
+
61
+ var section = $(this).next();
62
+
63
+ $(this).click( function() {
64
+ section.slideToggle();
65
+ });
66
+ });
67
+ }
68
+
69
+ function hookSearch() {
70
+ var input = $('#search-field').eq(0);
71
+ var result = $('#search-results').eq(0);
72
+ $(result).show();
73
+
74
+ var search_section = $('#search-section').get(0);
75
+ $(search_section).show();
76
+
77
+ var search = new Search(search_data, input, result);
78
+
79
+ search.renderItem = function(result) {
80
+ var li = document.createElement('li');
81
+ var html = '';
82
+
83
+ // TODO add relative path to <script> per-page
84
+ html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
85
+ if (result.params)
86
+ html += '<span class="params">' + result.params + '</span>';
87
+ html += '</a>';
88
+
89
+
90
+ if (result.namespace)
91
+ html += '<p class="search-namespace">' + this.hlt(result.namespace);
92
+
93
+ if (result.snippet)
94
+ html += '<div class="search-snippet">' + result.snippet + '</div>';
95
+
96
+ li.innerHTML = html;
97
+
98
+ return li;
99
+ }
100
+
101
+ search.select = function(result) {
102
+ var result_element = result.get(0);
103
+ window.location.href = result_element.firstChild.firstChild.href;
104
+ }
105
+
106
+ search.scrollIntoView = search.scrollInWindow;
107
+ };
108
+
109
+ function highlightTarget( anchor ) {
110
+ console.debug( "Highlighting target '%s'.", anchor );
111
+
112
+ $("a[name=" + anchor + "]").each( function() {
113
+ if ( !$(this).parent().parent().hasClass('target-section') ) {
114
+ console.debug( "Wrapping the target-section" );
115
+ $('div.method-detail').unwrap( 'div.target-section' );
116
+ $(this).parent().wrap( '<div class="target-section"></div>' );
117
+ } else {
118
+ console.debug( "Already wrapped." );
119
+ }
120
+ });
121
+ };
122
+
123
+ function highlightLocationTarget() {
124
+ console.debug( "Location hash: %s", window.location.hash );
125
+ if ( ! window.location.hash || window.location.hash.length == 0 ) return;
126
+
127
+ var anchor = window.location.hash.substring(1);
128
+ console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
129
+
130
+ highlightTarget( anchor );
131
+ };
132
+
133
+ function highlightClickTarget( event ) {
134
+ console.debug( "Highlighting click target for event %o", event.target );
135
+ try {
136
+ var anchor = $(event.target).attr( 'href' ).substring(1);
137
+ console.debug( "Found target anchor: %s", anchor );
138
+ highlightTarget( anchor );
139
+ } catch ( err ) {
140
+ console.error( "Exception while highlighting: %o", err );
141
+ };
142
+ };
143
+
144
+
145
+ $(document).ready( function() {
146
+ hookSourceViews();
147
+ hookDebuggingToggle();
148
+ hookSearch();
149
+ highlightLocationTarget();
150
+ hookTableOfContentsToggle();
151
+
152
+ $('ul.link-list a').bind( "click", highlightClickTarget );
153
+ });