structured_warnings 0.1.4 → 0.2.0

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 (64) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +21 -0
  4. data/History.txt +7 -0
  5. data/README.rdoc +5 -5
  6. data/doc/DeprecatedMethodWarning.html +76 -141
  7. data/doc/DeprecatedSignatureWarning.html +76 -141
  8. data/doc/DeprecationWarning.html +76 -141
  9. data/doc/Dynamic.html +89 -136
  10. data/doc/Object.html +92 -161
  11. data/doc/README_rdoc.html +144 -157
  12. data/doc/StandardWarning.html +76 -141
  13. data/doc/StructuredWarnings.html +95 -157
  14. data/doc/StructuredWarnings/ClassMethods.html +131 -193
  15. data/doc/StructuredWarnings/Kernel.html +146 -198
  16. data/doc/StructuredWarnings/Test.html +71 -150
  17. data/doc/StructuredWarnings/Test/Assertions.html +194 -244
  18. data/doc/StructuredWarnings/Test/Warner.html +138 -201
  19. data/doc/StructuredWarnings/Warner.html +113 -177
  20. data/doc/Test.html +95 -0
  21. data/doc/Test/Unit.html +95 -0
  22. data/doc/Warning.html +276 -338
  23. data/doc/Warning/ClassMethods.html +182 -238
  24. data/doc/created.rid +10 -10
  25. data/doc/css/fonts.css +167 -0
  26. data/doc/css/rdoc.css +590 -0
  27. data/doc/fonts/Lato-Light.ttf +0 -0
  28. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  29. data/doc/fonts/Lato-Regular.ttf +0 -0
  30. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  31. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  32. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  33. data/doc/images/add.png +0 -0
  34. data/doc/images/arrow_up.png +0 -0
  35. data/doc/images/delete.png +0 -0
  36. data/doc/images/tag_blue.png +0 -0
  37. data/doc/images/transparent.png +0 -0
  38. data/doc/index.html +104 -103
  39. data/doc/js/darkfish.js +112 -67
  40. data/doc/js/jquery.js +4 -32
  41. data/doc/js/navigation.js +142 -0
  42. data/doc/js/navigation.js.gz +0 -0
  43. data/doc/js/search.js +109 -0
  44. data/doc/js/search_index.js +1 -0
  45. data/doc/js/search_index.js.gz +0 -0
  46. data/doc/js/searcher.js +228 -0
  47. data/doc/js/searcher.js.gz +0 -0
  48. data/doc/table_of_contents.html +200 -0
  49. data/lib/structured_warnings/dynamic.rb +12 -6
  50. data/lib/structured_warnings/kernel.rb +4 -4
  51. data/structured_warnings.gemspec +5 -1
  52. data/test/structured_warnings_test.rb +63 -9
  53. metadata +84 -43
  54. data/doc/js/quicksearch.js +0 -114
  55. data/doc/js/thickbox-compressed.js +0 -10
  56. data/doc/lib/structured_warnings/dynamic_rb.html +0 -65
  57. data/doc/lib/structured_warnings/kernel_rb.html +0 -52
  58. data/doc/lib/structured_warnings/test/assertions_rb.html +0 -52
  59. data/doc/lib/structured_warnings/test/warner_rb.html +0 -52
  60. data/doc/lib/structured_warnings/test_rb.html +0 -56
  61. data/doc/lib/structured_warnings/warner_rb.html +0 -52
  62. data/doc/lib/structured_warnings/warning_rb.html +0 -64
  63. data/doc/lib/structured_warnings_rb.html +0 -62
  64. data/doc/rdoc.css +0 -763
@@ -1,171 +1,106 @@
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">
1
+ <!DOCTYPE html>
2
+
3
+ <html>
5
4
  <head>
6
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
5
+ <meta charset="UTF-8">
7
6
 
8
- <title>Class: DeprecationWarning</title>
7
+ <title>class DeprecationWarning - structured_warnings</title>
9
8
 
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
11
12
 
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>
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
16
15
 
17
- </head>
18
- <body id="top" class="class">
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
19
18
 
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
19
 
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
-
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
45
43
  </div>
46
44
 
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
-
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
57
50
 
58
-
51
+ </div>
59
52
 
60
-
53
+
61
54
 
62
-
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
63
59
 
64
-
65
- </div>
60
+
61
+ <p class="link"><a href="Warning.html">Warning</a>
62
+
63
+ </div>
66
64
 
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>
65
+
66
+
67
+
131
68
  </div>
69
+ </nav>
132
70
 
133
- <div id="documentation">
134
- <h1 class="class">DeprecationWarning</h1>
71
+ <main role="main" aria-labelledby="class-DeprecationWarning">
72
+ <h1 id="class-DeprecationWarning" class="class">
73
+ class DeprecationWarning
74
+ </h1>
135
75
 
136
- <div id="description" class="description">
137
-
76
+ <section class="description">
77
+
138
78
  <p>This is a general warning used to mark certain actions as deprecated. We
139
79
  recommend to add a useful warning message, which alternative to use
140
80
  instead.</p>
141
81
 
142
- </div><!-- description -->
82
+ </section>
143
83
 
84
+
85
+
86
+
87
+ <section id="5Buntitled-5D" class="documentation-section">
144
88
 
145
-
146
-
147
- <div id="5Buntitled-5D" class="documentation-section">
148
-
149
89
 
150
-
151
-
152
-
90
+
153
91
 
154
-
92
+
155
93
 
156
- <!-- Methods -->
157
-
158
- </div><!-- 5Buntitled-5D -->
159
-
94
+
160
95
 
161
- </div><!-- documentation -->
96
+
97
+ </section>
98
+ </main>
162
99
 
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
100
 
169
- </body>
170
- </html>
101
+ <footer id="validator-badges" role="contentinfo">
102
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
103
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
104
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
105
+ </footer>
171
106
 
data/doc/Dynamic.html CHANGED
@@ -1,172 +1,125 @@
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">
1
+ <!DOCTYPE html>
2
+
3
+ <html>
5
4
  <head>
6
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
5
+ <meta charset="UTF-8">
7
6
 
8
- <title>Module: Dynamic</title>
7
+ <title>module Dynamic - structured_warnings</title>
9
8
 
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
11
12
 
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>
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
16
18
 
17
- </head>
18
- <body id="top" class="module">
19
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
20
 
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
-
21
+ <body id="top" role="document" class="module">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
45
43
  </div>
46
44
 
47
- <div id="class-metadata">
48
-
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
49
50
 
50
-
51
+ </div>
51
52
 
52
-
53
+
53
54
 
54
-
55
+ <div id="class-metadata">
56
+
57
+
58
+
59
+ <div id="extends-section" class="nav-section">
60
+ <h3>Extended With Modules</h3>
55
61
 
56
-
57
- </div>
62
+ <ul class="link-list">
63
+
64
+
65
+ <li><span class="extend">ClassMethods</span>
66
+
67
+
68
+ </ul>
69
+ </div>
58
70
 
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>
71
+
123
72
  </div>
73
+ </nav>
124
74
 
125
- <div id="documentation">
126
- <h1 class="module">Dynamic</h1>
75
+ <main role="main" aria-labelledby="module-Dynamic">
76
+ <h1 id="module-Dynamic" class="module">
77
+ module Dynamic
78
+ </h1>
127
79
 
128
- <div id="description" class="description">
129
-
80
+ <section class="description">
81
+
130
82
  <p>This library was created by Christian Neukirchen in the context of EuRuKo
131
83
  2005 and is licensed under the same terms as Ruby.</p>
132
84
 
133
85
  <p>It provides dynamically scoped variables. It is used within
134
- <tt>structured_warnings</tt> to store the current, thread-wide disabled
86
+ <code>structured_warnings</code> to store the current, thread-wide disabled
135
87
  warning classes.</p>
136
88
 
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>
89
+ <p>For more information see the corresponding slides at</p>
90
+
91
+ <pre class="ruby"><span class="ruby-identifier">http</span>:<span class="ruby-operator">/</span><span class="ruby-regexp">/chneukirchen.org/</span><span class="ruby-identifier">talks</span><span class="ruby-operator">/</span><span class="ruby-identifier">euruko</span><span class="ruby-operator">-</span><span class="ruby-value">2005</span><span class="ruby-operator">/</span><span class="ruby-identifier">chneukirchen</span><span class="ruby-operator">-</span><span class="ruby-identifier">euruko2005</span><span class="ruby-operator">-</span><span class="ruby-identifier">contextr</span>.<span class="ruby-identifier">pdf</span>
92
+ </pre>
93
+
94
+ <p>and the blog post at</p>
95
+
96
+ <pre>http://chneukirchen.org/blog/archive/2005/04/dynamic-variables-in-ruby.html</pre>
139
97
 
140
98
  <p>© 2005 - Christian Neukirchen - <a
141
99
  href="http://chneukirchen.org">chneukirchen.org</a></p>
142
100
 
143
- </div><!-- description -->
101
+ </section>
144
102
 
103
+
104
+
105
+
106
+ <section id="5Buntitled-5D" class="documentation-section">
145
107
 
146
-
147
-
148
- <div id="5Buntitled-5D" class="documentation-section">
149
-
150
-
151
-
152
108
 
153
-
109
+
154
110
 
155
-
111
+
156
112
 
157
- <!-- Methods -->
158
-
159
- </div><!-- 5Buntitled-5D -->
160
-
113
+
161
114
 
162
- </div><!-- documentation -->
115
+
116
+ </section>
117
+ </main>
163
118
 
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
119
 
170
- </body>
171
- </html>
120
+ <footer id="validator-badges" role="contentinfo">
121
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
122
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
123
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
124
+ </footer>
172
125