structured_warnings 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. data/History.txt +5 -0
  2. data/License.txt +1 -1
  3. data/README.rdoc +20 -11
  4. data/Rakefile +46 -29
  5. data/doc/DeprecatedMethodWarning.html +170 -0
  6. data/doc/DeprecatedSignatureWarning.html +171 -0
  7. data/doc/DeprecationWarning.html +171 -0
  8. data/doc/Dynamic.html +172 -0
  9. data/doc/Object.html +186 -0
  10. data/doc/README_rdoc.html +296 -0
  11. data/doc/StandardWarning.html +169 -0
  12. data/doc/StructuredWarnings.html +187 -0
  13. data/doc/StructuredWarnings/ClassMethods.html +254 -0
  14. data/doc/StructuredWarnings/Kernel.html +274 -0
  15. data/doc/StructuredWarnings/Test.html +176 -0
  16. data/doc/StructuredWarnings/Test/Assertions.html +322 -0
  17. data/doc/StructuredWarnings/Test/Warner.html +271 -0
  18. data/doc/StructuredWarnings/Warner.html +226 -0
  19. data/doc/Warning.html +460 -0
  20. data/doc/Warning/ClassMethods.html +334 -0
  21. data/doc/created.rid +10 -0
  22. data/doc/images/brick.png +0 -0
  23. data/doc/images/brick_link.png +0 -0
  24. data/doc/images/bug.png +0 -0
  25. data/doc/images/bullet_black.png +0 -0
  26. data/doc/images/bullet_toggle_minus.png +0 -0
  27. data/doc/images/bullet_toggle_plus.png +0 -0
  28. data/doc/images/date.png +0 -0
  29. data/doc/images/find.png +0 -0
  30. data/doc/images/loadingAnimation.gif +0 -0
  31. data/doc/images/macFFBgHack.png +0 -0
  32. data/doc/images/package.png +0 -0
  33. data/doc/images/page_green.png +0 -0
  34. data/doc/images/page_white_text.png +0 -0
  35. data/doc/images/page_white_width.png +0 -0
  36. data/doc/images/plugin.png +0 -0
  37. data/doc/images/ruby.png +0 -0
  38. data/doc/images/tag_green.png +0 -0
  39. data/doc/images/wrench.png +0 -0
  40. data/doc/images/wrench_orange.png +0 -0
  41. data/doc/images/zoom.png +0 -0
  42. data/doc/index.html +120 -0
  43. data/doc/js/darkfish.js +116 -0
  44. data/doc/js/jquery.js +32 -0
  45. data/doc/js/quicksearch.js +114 -0
  46. data/doc/js/thickbox-compressed.js +10 -0
  47. data/doc/lib/structured_warnings/dynamic_rb.html +65 -0
  48. data/doc/lib/structured_warnings/kernel_rb.html +52 -0
  49. data/doc/lib/structured_warnings/test/assertions_rb.html +52 -0
  50. data/doc/lib/structured_warnings/test/warner_rb.html +52 -0
  51. data/doc/lib/structured_warnings/test_rb.html +56 -0
  52. data/doc/lib/structured_warnings/warner_rb.html +52 -0
  53. data/doc/lib/structured_warnings/warning_rb.html +64 -0
  54. data/doc/lib/structured_warnings_rb.html +62 -0
  55. data/doc/rdoc.css +763 -0
  56. data/lib/structured_warnings.rb +6 -9
  57. data/lib/structured_warnings/dynamic.rb +6 -6
  58. data/lib/structured_warnings/kernel.rb +9 -9
  59. data/lib/structured_warnings/test.rb +2 -3
  60. data/lib/structured_warnings/test/assertions.rb +21 -9
  61. data/lib/structured_warnings/test/warner.rb +2 -2
  62. data/lib/structured_warnings/warner.rb +1 -1
  63. data/lib/structured_warnings/warning.rb +11 -11
  64. data/structured_warnings.gemspec +15 -58
  65. data/test/structured_warnings_test.rb +7 -6
  66. metadata +85 -62
  67. data/.gitignore +0 -2
  68. data/test/test_helper.rb +0 -4
  69. data/version.yml +0 -4
@@ -0,0 +1,171 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: DeprecationWarning</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/structured_warnings/warning_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/structured_warnings/warning.rb">lib/structured_warnings/warning.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link"><a href="Warning.html">Warning</a></p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+ </div>
66
+
67
+ <div id="project-metadata">
68
+
69
+
70
+ <div id="fileindex-section" class="section project-section">
71
+ <h3 class="section-header">Files</h3>
72
+ <ul>
73
+
74
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
75
+
76
+ </ul>
77
+ </div>
78
+
79
+
80
+ <div id="classindex-section" class="section project-section">
81
+ <h3 class="section-header">Class/Module Index
82
+ <span class="search-toggle"><img src="./images/find.png"
83
+ height="16" width="16" alt="[+]"
84
+ title="show/hide quicksearch" /></span></h3>
85
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
86
+ <fieldset>
87
+ <legend>Quicksearch</legend>
88
+ <input type="text" name="quicksearch" value=""
89
+ class="quicksearch-field" />
90
+ </fieldset>
91
+ </form>
92
+
93
+ <ul class="link-list">
94
+
95
+ <li><a href="./StructuredWarnings.html">StructuredWarnings</a></li>
96
+
97
+ <li><a href="./StructuredWarnings/ClassMethods.html">StructuredWarnings::ClassMethods</a></li>
98
+
99
+ <li><a href="./StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a></li>
100
+
101
+ <li><a href="./StructuredWarnings/Test.html">StructuredWarnings::Test</a></li>
102
+
103
+ <li><a href="./StructuredWarnings/Test/Assertions.html">StructuredWarnings::Test::Assertions</a></li>
104
+
105
+ <li><a href="./StructuredWarnings/Test/Warner.html">StructuredWarnings::Test::Warner</a></li>
106
+
107
+ <li><a href="./StructuredWarnings/Warner.html">StructuredWarnings::Warner</a></li>
108
+
109
+ <li><a href="./Warning.html">Warning</a></li>
110
+
111
+ <li><a href="./Warning/ClassMethods.html">Warning::ClassMethods</a></li>
112
+
113
+ <li><a href="./DeprecatedMethodWarning.html">DeprecatedMethodWarning</a></li>
114
+
115
+ <li><a href="./DeprecatedSignatureWarning.html">DeprecatedSignatureWarning</a></li>
116
+
117
+ <li><a href="./DeprecationWarning.html">DeprecationWarning</a></li>
118
+
119
+ <li><a href="./Dynamic.html">Dynamic</a></li>
120
+
121
+ <li><a href="./Object.html">Object</a></li>
122
+
123
+ <li><a href="./StandardWarning.html">StandardWarning</a></li>
124
+
125
+ </ul>
126
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
127
+ </div>
128
+
129
+
130
+ </div>
131
+ </div>
132
+
133
+ <div id="documentation">
134
+ <h1 class="class">DeprecationWarning</h1>
135
+
136
+ <div id="description" class="description">
137
+
138
+ <p>This is a general warning used to mark certain actions as deprecated. We
139
+ recommend to add a useful warning message, which alternative to use
140
+ instead.</p>
141
+
142
+ </div><!-- description -->
143
+
144
+
145
+
146
+
147
+ <div id="5Buntitled-5D" class="documentation-section">
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <!-- Methods -->
157
+
158
+ </div><!-- 5Buntitled-5D -->
159
+
160
+
161
+ </div><!-- documentation -->
162
+
163
+ <div id="validator-badges">
164
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
165
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
166
+ Rdoc Generator</a> 2</small>.</p>
167
+ </div>
168
+
169
+ </body>
170
+ </html>
171
+
data/doc/Dynamic.html ADDED
@@ -0,0 +1,172 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Module: Dynamic</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="module">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/structured_warnings/dynamic_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/structured_warnings/dynamic.rb">lib/structured_warnings/dynamic.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+ </div>
58
+
59
+ <div id="project-metadata">
60
+
61
+
62
+ <div id="fileindex-section" class="section project-section">
63
+ <h3 class="section-header">Files</h3>
64
+ <ul>
65
+
66
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
67
+
68
+ </ul>
69
+ </div>
70
+
71
+
72
+ <div id="classindex-section" class="section project-section">
73
+ <h3 class="section-header">Class/Module Index
74
+ <span class="search-toggle"><img src="./images/find.png"
75
+ height="16" width="16" alt="[+]"
76
+ title="show/hide quicksearch" /></span></h3>
77
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
78
+ <fieldset>
79
+ <legend>Quicksearch</legend>
80
+ <input type="text" name="quicksearch" value=""
81
+ class="quicksearch-field" />
82
+ </fieldset>
83
+ </form>
84
+
85
+ <ul class="link-list">
86
+
87
+ <li><a href="./StructuredWarnings.html">StructuredWarnings</a></li>
88
+
89
+ <li><a href="./StructuredWarnings/ClassMethods.html">StructuredWarnings::ClassMethods</a></li>
90
+
91
+ <li><a href="./StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a></li>
92
+
93
+ <li><a href="./StructuredWarnings/Test.html">StructuredWarnings::Test</a></li>
94
+
95
+ <li><a href="./StructuredWarnings/Test/Assertions.html">StructuredWarnings::Test::Assertions</a></li>
96
+
97
+ <li><a href="./StructuredWarnings/Test/Warner.html">StructuredWarnings::Test::Warner</a></li>
98
+
99
+ <li><a href="./StructuredWarnings/Warner.html">StructuredWarnings::Warner</a></li>
100
+
101
+ <li><a href="./Warning.html">Warning</a></li>
102
+
103
+ <li><a href="./Warning/ClassMethods.html">Warning::ClassMethods</a></li>
104
+
105
+ <li><a href="./DeprecatedMethodWarning.html">DeprecatedMethodWarning</a></li>
106
+
107
+ <li><a href="./DeprecatedSignatureWarning.html">DeprecatedSignatureWarning</a></li>
108
+
109
+ <li><a href="./DeprecationWarning.html">DeprecationWarning</a></li>
110
+
111
+ <li><a href="./Dynamic.html">Dynamic</a></li>
112
+
113
+ <li><a href="./Object.html">Object</a></li>
114
+
115
+ <li><a href="./StandardWarning.html">StandardWarning</a></li>
116
+
117
+ </ul>
118
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
119
+ </div>
120
+
121
+
122
+ </div>
123
+ </div>
124
+
125
+ <div id="documentation">
126
+ <h1 class="module">Dynamic</h1>
127
+
128
+ <div id="description" class="description">
129
+
130
+ <p>This library was created by Christian Neukirchen in the context of EuRuKo
131
+ 2005 and is licensed under the same terms as Ruby.</p>
132
+
133
+ <p>It provides dynamically scoped variables. It is used within
134
+ <tt>structured_warnings</tt> to store the current, thread-wide disabled
135
+ warning classes.</p>
136
+
137
+ <p>For more information see the corresponding slides at <a
138
+ href="http://chneukirchen.org/talks/euruko-2005/chneukirchen-euruko2005-contextr.pdf">chneukirchen.org/talks/euruko-2005/chneukirchen-euruko2005-contextr.pdf</a></p>
139
+
140
+ <p>© 2005 - Christian Neukirchen - <a
141
+ href="http://chneukirchen.org">chneukirchen.org</a></p>
142
+
143
+ </div><!-- description -->
144
+
145
+
146
+
147
+
148
+ <div id="5Buntitled-5D" class="documentation-section">
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+ <!-- Methods -->
158
+
159
+ </div><!-- 5Buntitled-5D -->
160
+
161
+
162
+ </div><!-- documentation -->
163
+
164
+ <div id="validator-badges">
165
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
166
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
167
+ Rdoc Generator</a> 2</small>.</p>
168
+ </div>
169
+
170
+ </body>
171
+ </html>
172
+
data/doc/Object.html ADDED
@@ -0,0 +1,186 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: Object</title>
9
+
10
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="./index.html">Home</a>
25
+ <a href="./index.html#classes">Classes</a>
26
+ <a href="./index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="./lib/structured_warnings_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/structured_warnings.rb">lib/structured_warnings.rb</a></li>
39
+
40
+ <li><a href="./lib/structured_warnings/test_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
41
+ class="thickbox" title="lib/structured_warnings/test.rb">lib/structured_warnings/test.rb</a></li>
42
+
43
+ </ul>
44
+ </div>
45
+ </div>
46
+
47
+
48
+ </div>
49
+
50
+ <div id="class-metadata">
51
+
52
+ <!-- Parent Class -->
53
+ <div id="parent-class-section" class="section">
54
+ <h3 class="section-header">Parent</h3>
55
+
56
+ <p class="link">BasicObject</p>
57
+
58
+ </div>
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+ <!-- Included Modules -->
69
+ <div id="includes-section" class="section">
70
+ <h3 class="section-header">Included Modules</h3>
71
+ <ul class="link-list">
72
+
73
+
74
+ <li><a class="include" href="StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a></li>
75
+
76
+
77
+
78
+ <li><a class="include" href="StructuredWarnings/Test/Assertions.html">StructuredWarnings::Test::Assertions</a></li>
79
+
80
+
81
+ </ul>
82
+ </div>
83
+
84
+ </div>
85
+
86
+ <div id="project-metadata">
87
+
88
+
89
+ <div id="fileindex-section" class="section project-section">
90
+ <h3 class="section-header">Files</h3>
91
+ <ul>
92
+
93
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
94
+
95
+ </ul>
96
+ </div>
97
+
98
+
99
+ <div id="classindex-section" class="section project-section">
100
+ <h3 class="section-header">Class/Module Index
101
+ <span class="search-toggle"><img src="./images/find.png"
102
+ height="16" width="16" alt="[+]"
103
+ title="show/hide quicksearch" /></span></h3>
104
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
105
+ <fieldset>
106
+ <legend>Quicksearch</legend>
107
+ <input type="text" name="quicksearch" value=""
108
+ class="quicksearch-field" />
109
+ </fieldset>
110
+ </form>
111
+
112
+ <ul class="link-list">
113
+
114
+ <li><a href="./StructuredWarnings.html">StructuredWarnings</a></li>
115
+
116
+ <li><a href="./StructuredWarnings/ClassMethods.html">StructuredWarnings::ClassMethods</a></li>
117
+
118
+ <li><a href="./StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a></li>
119
+
120
+ <li><a href="./StructuredWarnings/Test.html">StructuredWarnings::Test</a></li>
121
+
122
+ <li><a href="./StructuredWarnings/Test/Assertions.html">StructuredWarnings::Test::Assertions</a></li>
123
+
124
+ <li><a href="./StructuredWarnings/Test/Warner.html">StructuredWarnings::Test::Warner</a></li>
125
+
126
+ <li><a href="./StructuredWarnings/Warner.html">StructuredWarnings::Warner</a></li>
127
+
128
+ <li><a href="./Warning.html">Warning</a></li>
129
+
130
+ <li><a href="./Warning/ClassMethods.html">Warning::ClassMethods</a></li>
131
+
132
+ <li><a href="./DeprecatedMethodWarning.html">DeprecatedMethodWarning</a></li>
133
+
134
+ <li><a href="./DeprecatedSignatureWarning.html">DeprecatedSignatureWarning</a></li>
135
+
136
+ <li><a href="./DeprecationWarning.html">DeprecationWarning</a></li>
137
+
138
+ <li><a href="./Dynamic.html">Dynamic</a></li>
139
+
140
+ <li><a href="./Object.html">Object</a></li>
141
+
142
+ <li><a href="./StandardWarning.html">StandardWarning</a></li>
143
+
144
+ </ul>
145
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
146
+ </div>
147
+
148
+
149
+ </div>
150
+ </div>
151
+
152
+ <div id="documentation">
153
+ <h1 class="class">Object</h1>
154
+
155
+ <div id="description" class="description">
156
+
157
+ </div><!-- description -->
158
+
159
+
160
+
161
+
162
+ <div id="5Buntitled-5D" class="documentation-section">
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <!-- Methods -->
172
+
173
+ </div><!-- 5Buntitled-5D -->
174
+
175
+
176
+ </div><!-- documentation -->
177
+
178
+ <div id="validator-badges">
179
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
180
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
181
+ Rdoc Generator</a> 2</small>.</p>
182
+ </div>
183
+
184
+ </body>
185
+ </html>
186
+