ofac 2.0.1 → 2.0.2

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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +24 -49
  3. data/lib/ofac/version.rb +1 -0
  4. data/test/test_helper.rb +5 -1
  5. metadata +118 -94
  6. data/.document +0 -5
  7. data/.ruby-gemset +0 -1
  8. data/.ruby-version +0 -1
  9. data/History.txt +0 -134
  10. data/PostInstall.txt +0 -11
  11. data/VERSION.yml +0 -5
  12. data/generators/ofac_migration/.DS_Store +0 -0
  13. data/generators/ofac_migration/ofac_migration_generator.rb +0 -12
  14. data/generators/ofac_migration/templates/.DS_Store +0 -0
  15. data/generators/ofac_migration/templates/migration.rb +0 -31
  16. data/nbproject/project.properties +0 -7
  17. data/nbproject/project.xml +0 -15
  18. data/ofac.gemspec +0 -129
  19. data/rdoc/CreateOfacSdns.html +0 -249
  20. data/rdoc/Ofac.html +0 -434
  21. data/rdoc/OfacMatch.html +0 -299
  22. data/rdoc/OfacMigration.html +0 -138
  23. data/rdoc/OfacMigration/Generators.html +0 -138
  24. data/rdoc/OfacMigration/Generators/BuildGenerator.html +0 -251
  25. data/rdoc/OfacSdn.html +0 -209
  26. data/rdoc/OfacSdnLoader.html +0 -238
  27. data/rdoc/README_rdoc.html +0 -323
  28. data/rdoc/String.html +0 -262
  29. data/rdoc/classes/Ofac.html +0 -411
  30. data/rdoc/classes/OfacMatch.html +0 -239
  31. data/rdoc/classes/OfacSdn.html +0 -111
  32. data/rdoc/classes/OfacSdnLoader.html +0 -190
  33. data/rdoc/classes/String.html +0 -207
  34. data/rdoc/created.rid +0 -10
  35. data/rdoc/files/README_rdoc.html +0 -317
  36. data/rdoc/files/lib/ofac/models/ofac_rb.html +0 -101
  37. data/rdoc/files/lib/ofac/models/ofac_sdn_loader_rb.html +0 -110
  38. data/rdoc/files/lib/ofac/models/ofac_sdn_rb.html +0 -108
  39. data/rdoc/files/lib/ofac/ofac_match_rb.html +0 -101
  40. data/rdoc/files/lib/ofac/ruby_string_extensions_rb.html +0 -101
  41. data/rdoc/files/lib/ofac_rb.html +0 -113
  42. data/rdoc/fr_class_index.html +0 -31
  43. data/rdoc/fr_file_index.html +0 -33
  44. data/rdoc/fr_method_index.html +0 -35
  45. data/rdoc/images/add.png +0 -0
  46. data/rdoc/images/arrow_up.png +0 -0
  47. data/rdoc/images/brick.png +0 -0
  48. data/rdoc/images/brick_link.png +0 -0
  49. data/rdoc/images/bug.png +0 -0
  50. data/rdoc/images/bullet_black.png +0 -0
  51. data/rdoc/images/bullet_toggle_minus.png +0 -0
  52. data/rdoc/images/bullet_toggle_plus.png +0 -0
  53. data/rdoc/images/date.png +0 -0
  54. data/rdoc/images/delete.png +0 -0
  55. data/rdoc/images/find.png +0 -0
  56. data/rdoc/images/loadingAnimation.gif +0 -0
  57. data/rdoc/images/macFFBgHack.png +0 -0
  58. data/rdoc/images/package.png +0 -0
  59. data/rdoc/images/page_green.png +0 -0
  60. data/rdoc/images/page_white_text.png +0 -0
  61. data/rdoc/images/page_white_width.png +0 -0
  62. data/rdoc/images/plugin.png +0 -0
  63. data/rdoc/images/ruby.png +0 -0
  64. data/rdoc/images/tag_blue.png +0 -0
  65. data/rdoc/images/tag_green.png +0 -0
  66. data/rdoc/images/transparent.png +0 -0
  67. data/rdoc/images/wrench.png +0 -0
  68. data/rdoc/images/wrench_orange.png +0 -0
  69. data/rdoc/images/zoom.png +0 -0
  70. data/rdoc/index.html +0 -96
  71. data/rdoc/js/darkfish.js +0 -155
  72. data/rdoc/js/jquery.js +0 -18
  73. data/rdoc/js/navigation.js +0 -142
  74. data/rdoc/js/search.js +0 -94
  75. data/rdoc/js/search_index.js +0 -1
  76. data/rdoc/js/searcher.js +0 -228
  77. data/rdoc/lib/generators/ofac_migration/build/build_generator_rb.html +0 -97
  78. data/rdoc/lib/generators/ofac_migration/build/templates/create_ofac_sdns_rb.html +0 -97
  79. data/rdoc/lib/ofac/models/ofac_rb.html +0 -97
  80. data/rdoc/lib/ofac/models/ofac_sdn_loader_rb.html +0 -97
  81. data/rdoc/lib/ofac/models/ofac_sdn_rb.html +0 -97
  82. data/rdoc/lib/ofac/ofac_match_rb.html +0 -97
  83. data/rdoc/lib/ofac/ruby_string_extensions_rb.html +0 -97
  84. data/rdoc/lib/ofac_rb.html +0 -97
  85. data/rdoc/rdoc-style.css +0 -208
  86. data/rdoc/rdoc.css +0 -595
  87. data/rdoc/table_of_contents.html +0 -120
@@ -1,138 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>module OfacMigration - ofac 2.0.1</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
-
47
-
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/generators/ofac_migration/build/build_generator.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
-
62
-
63
-
64
-
65
- </div>
66
-
67
- <div id="project-metadata">
68
- <nav id="fileindex-section" class="section project-section">
69
- <h3 class="section-header">Pages</h3>
70
-
71
- <ul>
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="./CreateOfacSdns.html">CreateOfacSdns</a>
84
-
85
- <li><a href="./Ofac.html">Ofac</a>
86
-
87
- <li><a href="./OfacMatch.html">OfacMatch</a>
88
-
89
- <li><a href="./OfacMigration.html">OfacMigration</a>
90
-
91
- <li><a href="./OfacMigration/Generators.html">OfacMigration::Generators</a>
92
-
93
- <li><a href="./OfacMigration/Generators/BuildGenerator.html">OfacMigration::Generators::BuildGenerator</a>
94
-
95
- <li><a href="./OfacSdn.html">OfacSdn</a>
96
-
97
- <li><a href="./OfacSdnLoader.html">OfacSdnLoader</a>
98
-
99
- <li><a href="./String.html">String</a>
100
-
101
- </ul>
102
- </nav>
103
-
104
- </div>
105
- </nav>
106
-
107
- <div id="documentation">
108
- <h1 class="module">module OfacMigration</h1>
109
-
110
- <div id="description" class="description">
111
-
112
- </div><!-- description -->
113
-
114
-
115
-
116
-
117
- <section id="5Buntitled-5D" class="documentation-section">
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
- <!-- Methods -->
127
-
128
- </section><!-- 5Buntitled-5D -->
129
-
130
- </div><!-- documentation -->
131
-
132
-
133
- <footer id="validator-badges">
134
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
135
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
136
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
137
- </footer>
138
-
@@ -1,138 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>module OfacMigration::Generators - ofac 2.0.1</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
-
47
-
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/generators/ofac_migration/build/build_generator.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
-
62
-
63
-
64
-
65
- </div>
66
-
67
- <div id="project-metadata">
68
- <nav id="fileindex-section" class="section project-section">
69
- <h3 class="section-header">Pages</h3>
70
-
71
- <ul>
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="../CreateOfacSdns.html">CreateOfacSdns</a>
84
-
85
- <li><a href="../Ofac.html">Ofac</a>
86
-
87
- <li><a href="../OfacMatch.html">OfacMatch</a>
88
-
89
- <li><a href="../OfacMigration.html">OfacMigration</a>
90
-
91
- <li><a href="../OfacMigration/Generators.html">OfacMigration::Generators</a>
92
-
93
- <li><a href="../OfacMigration/Generators/BuildGenerator.html">OfacMigration::Generators::BuildGenerator</a>
94
-
95
- <li><a href="../OfacSdn.html">OfacSdn</a>
96
-
97
- <li><a href="../OfacSdnLoader.html">OfacSdnLoader</a>
98
-
99
- <li><a href="../String.html">String</a>
100
-
101
- </ul>
102
- </nav>
103
-
104
- </div>
105
- </nav>
106
-
107
- <div id="documentation">
108
- <h1 class="module">module OfacMigration::Generators</h1>
109
-
110
- <div id="description" class="description">
111
-
112
- </div><!-- description -->
113
-
114
-
115
-
116
-
117
- <section id="5Buntitled-5D" class="documentation-section">
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
- <!-- Methods -->
127
-
128
- </section><!-- 5Buntitled-5D -->
129
-
130
- </div><!-- documentation -->
131
-
132
-
133
- <footer id="validator-badges">
134
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
135
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
136
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
137
- </footer>
138
-
@@ -1,251 +0,0 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
6
-
7
- <title>class OfacMigration::Generators::BuildGenerator - ofac 2.0.1</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="class">
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
-
47
-
48
- <div id="file-metadata">
49
- <nav id="file-list-section" class="section">
50
- <h3 class="section-header">Defined In</h3>
51
- <ul>
52
- <li>lib/generators/ofac_migration/build/build_generator.rb
53
- </ul>
54
- </nav>
55
-
56
-
57
- </div>
58
-
59
- <div id="class-metadata">
60
-
61
- <nav id="parent-class-section" class="section">
62
- <h3 class="section-header">Parent</h3>
63
-
64
- <p class="link">Rails::Generators::Base
65
-
66
- </nav>
67
-
68
- <!-- Included Modules -->
69
- <nav id="includes-section" class="section">
70
- <h3 class="section-header">Included Modules</h3>
71
-
72
- <ul class="link-list">
73
-
74
-
75
- <li><span class="include">Rails::Generators::Migration</span>
76
-
77
-
78
- </ul>
79
- </nav>
80
-
81
-
82
- <!-- Method Quickref -->
83
- <nav id="method-list-section" class="section">
84
- <h3 class="section-header">Methods</h3>
85
-
86
- <ul class="link-list">
87
-
88
- <li ><a href="#method-c-next_migration_number">::next_migration_number</a>
89
-
90
- <li ><a href="#method-i-copy_migrations">#copy_migrations</a>
91
-
92
- </ul>
93
- </nav>
94
-
95
- </div>
96
-
97
- <div id="project-metadata">
98
- <nav id="fileindex-section" class="section project-section">
99
- <h3 class="section-header">Pages</h3>
100
-
101
- <ul>
102
-
103
- <li class="file"><a href="../../README_rdoc.html">README</a>
104
-
105
- </ul>
106
- </nav>
107
-
108
- <nav id="classindex-section" class="section project-section">
109
- <h3 class="section-header">Class and Module Index</h3>
110
-
111
- <ul class="link-list">
112
-
113
- <li><a href="../../CreateOfacSdns.html">CreateOfacSdns</a>
114
-
115
- <li><a href="../../Ofac.html">Ofac</a>
116
-
117
- <li><a href="../../OfacMatch.html">OfacMatch</a>
118
-
119
- <li><a href="../../OfacMigration.html">OfacMigration</a>
120
-
121
- <li><a href="../../OfacMigration/Generators.html">OfacMigration::Generators</a>
122
-
123
- <li><a href="../../OfacMigration/Generators/BuildGenerator.html">OfacMigration::Generators::BuildGenerator</a>
124
-
125
- <li><a href="../../OfacSdn.html">OfacSdn</a>
126
-
127
- <li><a href="../../OfacSdnLoader.html">OfacSdnLoader</a>
128
-
129
- <li><a href="../../String.html">String</a>
130
-
131
- </ul>
132
- </nav>
133
-
134
- </div>
135
- </nav>
136
-
137
- <div id="documentation">
138
- <h1 class="class">class OfacMigration::Generators::BuildGenerator</h1>
139
-
140
- <div id="description" class="description">
141
-
142
- </div><!-- description -->
143
-
144
-
145
-
146
-
147
- <section id="5Buntitled-5D" class="documentation-section">
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
- <!-- Methods -->
157
-
158
- <section id="public-class-5Buntitled-5D-method-details" class="method-section section">
159
- <h3 class="section-header">Public Class Methods</h3>
160
-
161
-
162
- <div id="method-c-next_migration_number" class="method-detail ">
163
-
164
- <div class="method-heading">
165
- <span class="method-name">next_migration_number</span><span
166
- class="method-args">(path)</span>
167
-
168
- <span class="method-click-advice">click to toggle source</span>
169
-
170
- </div>
171
-
172
-
173
- <div class="method-description">
174
-
175
- <p>Get the next migration number</p>
176
-
177
-
178
-
179
-
180
- <div class="method-source-code" id="next_migration_number-source">
181
- <pre><span class="ruby-comment"># File lib/generators/ofac_migration/build/build_generator.rb, line 12</span>
182
- <span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">next_migration_number</span>(<span class="ruby-identifier">path</span>)
183
- <span class="ruby-keyword">unless</span> <span class="ruby-ivar">@prev_migration_nr</span>
184
- <span class="ruby-ivar">@prev_migration_nr</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">utc</span>.<span class="ruby-identifier">strftime</span>(<span class="ruby-string">&quot;%Y%m%d%H%M%S&quot;</span>).<span class="ruby-identifier">to_i</span>
185
- <span class="ruby-keyword">else</span>
186
- <span class="ruby-ivar">@prev_migration_nr</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span>
187
- <span class="ruby-keyword">end</span>
188
- <span class="ruby-ivar">@prev_migration_nr</span>.<span class="ruby-identifier">to_s</span>
189
- <span class="ruby-keyword">end</span></pre>
190
- </div><!-- next_migration_number-source -->
191
-
192
- </div>
193
-
194
-
195
-
196
-
197
- </div><!-- next_migration_number-method -->
198
-
199
-
200
- </section><!-- public-class-method-details -->
201
-
202
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
203
- <h3 class="section-header">Public Instance Methods</h3>
204
-
205
-
206
- <div id="method-i-copy_migrations" class="method-detail ">
207
-
208
- <div class="method-heading">
209
- <span class="method-name">copy_migrations</span><span
210
- class="method-args">()</span>
211
-
212
- <span class="method-click-advice">click to toggle source</span>
213
-
214
- </div>
215
-
216
-
217
- <div class="method-description">
218
-
219
- <p>copy the migration file over</p>
220
-
221
-
222
-
223
-
224
- <div class="method-source-code" id="copy_migrations-source">
225
- <pre><span class="ruby-comment"># File lib/generators/ofac_migration/build/build_generator.rb, line 23</span>
226
- <span class="ruby-keyword">def</span> <span class="ruby-identifier">copy_migrations</span>
227
- <span class="ruby-identifier">migration_template</span> <span class="ruby-string">&quot;create_ofac_sdns.rb&quot;</span>, <span class="ruby-string">&quot;db/migrate/create_ofac_sdns.rb&quot;</span>
228
- <span class="ruby-keyword">end</span></pre>
229
- </div><!-- copy_migrations-source -->
230
-
231
- </div>
232
-
233
-
234
-
235
-
236
- </div><!-- copy_migrations-method -->
237
-
238
-
239
- </section><!-- public-instance-method-details -->
240
-
241
- </section><!-- 5Buntitled-5D -->
242
-
243
- </div><!-- documentation -->
244
-
245
-
246
- <footer id="validator-badges">
247
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
248
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 4.0.0.
249
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
250
- </footer>
251
-