structured_warnings 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
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
Binary file
@@ -0,0 +1,200 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Table of Contents - structured_warnings</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
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">
18
+
19
+
20
+
21
+ <body id="top" class="table-of-contents">
22
+ <main role="main">
23
+ <h1 class="class">Table of Contents - structured_warnings</h1>
24
+
25
+ <h2 id="pages">Pages</h2>
26
+ <ul>
27
+ <li class="file">
28
+ <a href="README_rdoc.html">README</a>
29
+
30
+ <ul>
31
+ <li><a href="README_rdoc.html#label-Structured+Warnings">Structured Warnings</a>
32
+ <li><a href="README_rdoc.html#label-Installation+-26+Compatibility">Installation &amp; Compatibility</a>
33
+ <li><a href="README_rdoc.html#label-Example+Usage">Example Usage</a>
34
+ <li><a href="README_rdoc.html#label-Detailed+Documentation">Detailed Documentation</a>
35
+ <li><a href="README_rdoc.html#label-Resources">Resources</a>
36
+ <li><a href="README_rdoc.html#label-How+to+submit+patches">How to submit patches</a>
37
+ <li><a href="README_rdoc.html#label-Known+Issues">Known Issues</a>
38
+ <li><a href="README_rdoc.html#label-License">License</a>
39
+ </ul>
40
+ </li>
41
+
42
+ </ul>
43
+
44
+ <h2 id="classes">Classes and Modules</h2>
45
+ <ul>
46
+ <li class="class">
47
+ <a href="DeprecatedMethodWarning.html">DeprecatedMethodWarning</a>
48
+ </li>
49
+ <li class="class">
50
+ <a href="DeprecatedSignatureWarning.html">DeprecatedSignatureWarning</a>
51
+ </li>
52
+ <li class="class">
53
+ <a href="DeprecationWarning.html">DeprecationWarning</a>
54
+ </li>
55
+ <li class="module">
56
+ <a href="Dynamic.html">Dynamic</a>
57
+ </li>
58
+ <li class="class">
59
+ <a href="Object.html">Object</a>
60
+ </li>
61
+ <li class="class">
62
+ <a href="StandardWarning.html">StandardWarning</a>
63
+ </li>
64
+ <li class="module">
65
+ <a href="StructuredWarnings.html">StructuredWarnings</a>
66
+ </li>
67
+ <li class="module">
68
+ <a href="StructuredWarnings/ClassMethods.html">StructuredWarnings::ClassMethods</a>
69
+ </li>
70
+ <li class="module">
71
+ <a href="StructuredWarnings/Kernel.html">StructuredWarnings::Kernel</a>
72
+ </li>
73
+ <li class="module">
74
+ <a href="StructuredWarnings/Test.html">StructuredWarnings::Test</a>
75
+ </li>
76
+ <li class="module">
77
+ <a href="StructuredWarnings/Test/Assertions.html">StructuredWarnings::Test::Assertions</a>
78
+ </li>
79
+ <li class="class">
80
+ <a href="StructuredWarnings/Test/Warner.html">StructuredWarnings::Test::Warner</a>
81
+ </li>
82
+ <li class="class">
83
+ <a href="StructuredWarnings/Warner.html">StructuredWarnings::Warner</a>
84
+ </li>
85
+ <li class="module">
86
+ <a href="Test.html">Test</a>
87
+ </li>
88
+ <li class="module">
89
+ <a href="Test/Unit.html">Test::Unit</a>
90
+ </li>
91
+ <li class="class">
92
+ <a href="Warning.html">Warning</a>
93
+ </li>
94
+ <li class="module">
95
+ <a href="Warning/ClassMethods.html">Warning::ClassMethods</a>
96
+ </li>
97
+ </ul>
98
+
99
+ <h2 id="methods">Methods</h2>
100
+ <ul>
101
+
102
+ <li class="method">
103
+ <a href="Warning.html#method-c-new">::new</a>
104
+ &mdash;
105
+ <span class="container">Warning</span>
106
+
107
+ <li class="method">
108
+ <a href="Warning/ClassMethods.html#method-i-active-3F">#active?</a>
109
+ &mdash;
110
+ <span class="container">Warning::ClassMethods</span>
111
+
112
+ <li class="method">
113
+ <a href="StructuredWarnings/Test/Assertions.html#method-i-assert_no_warn">#assert_no_warn</a>
114
+ &mdash;
115
+ <span class="container">StructuredWarnings::Test::Assertions</span>
116
+
117
+ <li class="method">
118
+ <a href="StructuredWarnings/Test/Assertions.html#method-i-assert_warn">#assert_warn</a>
119
+ &mdash;
120
+ <span class="container">StructuredWarnings::Test::Assertions</span>
121
+
122
+ <li class="method">
123
+ <a href="Warning.html#method-i-backtrace">#backtrace</a>
124
+ &mdash;
125
+ <span class="container">Warning</span>
126
+
127
+ <li class="method">
128
+ <a href="Warning/ClassMethods.html#method-i-disable">#disable</a>
129
+ &mdash;
130
+ <span class="container">Warning::ClassMethods</span>
131
+
132
+ <li class="method">
133
+ <a href="Warning/ClassMethods.html#method-i-enable">#enable</a>
134
+ &mdash;
135
+ <span class="container">Warning::ClassMethods</span>
136
+
137
+ <li class="method">
138
+ <a href="StructuredWarnings/Test/Warner.html#method-i-format">#format</a>
139
+ &mdash;
140
+ <span class="container">StructuredWarnings::Test::Warner</span>
141
+
142
+ <li class="method">
143
+ <a href="StructuredWarnings/Warner.html#method-i-format">#format</a>
144
+ &mdash;
145
+ <span class="container">StructuredWarnings::Warner</span>
146
+
147
+ <li class="method">
148
+ <a href="Warning.html#method-i-inspect">#inspect</a>
149
+ &mdash;
150
+ <span class="container">Warning</span>
151
+
152
+ <li class="method">
153
+ <a href="Warning.html#method-i-message">#message</a>
154
+ &mdash;
155
+ <span class="container">Warning</span>
156
+
157
+ <li class="method">
158
+ <a href="Warning.html#method-i-set_backtrace">#set_backtrace</a>
159
+ &mdash;
160
+ <span class="container">Warning</span>
161
+
162
+ <li class="method">
163
+ <a href="Warning.html#method-i-to_s">#to_s</a>
164
+ &mdash;
165
+ <span class="container">Warning</span>
166
+
167
+ <li class="method">
168
+ <a href="Warning.html#method-i-to_str">#to_str</a>
169
+ &mdash;
170
+ <span class="container">Warning</span>
171
+
172
+ <li class="method">
173
+ <a href="StructuredWarnings/Kernel.html#method-i-warn">#warn</a>
174
+ &mdash;
175
+ <span class="container">StructuredWarnings::Kernel</span>
176
+
177
+ <li class="method">
178
+ <a href="StructuredWarnings/Test/Warner.html#method-i-warned-3F">#warned?</a>
179
+ &mdash;
180
+ <span class="container">StructuredWarnings::Test::Warner</span>
181
+
182
+ <li class="method">
183
+ <a href="StructuredWarnings/ClassMethods.html#method-i-warner">#warner</a>
184
+ &mdash;
185
+ <span class="container">StructuredWarnings::ClassMethods</span>
186
+
187
+ <li class="method">
188
+ <a href="StructuredWarnings/ClassMethods.html#method-i-with_warner">#with_warner</a>
189
+ &mdash;
190
+ <span class="container">StructuredWarnings::ClassMethods</span>
191
+ </ul>
192
+ </main>
193
+
194
+
195
+ <footer id="validator-badges" role="contentinfo">
196
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
197
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
198
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
199
+ </footer>
200
+
@@ -6,23 +6,29 @@
6
6
  # classes.
7
7
  #
8
8
  # For more information see the corresponding slides at
9
- # http://chneukirchen.org/talks/euruko-2005/chneukirchen-euruko2005-contextr.pdf
9
+ # http://chneukirchen.org/talks/euruko-2005/chneukirchen-euruko2005-contextr.pdf
10
+ # and the blog post at
11
+ # http://chneukirchen.org/blog/archive/2005/04/dynamic-variables-in-ruby.html
10
12
  #
11
13
  # (c) 2005 - Christian Neukirchen - http://chneukirchen.org
12
14
  module Dynamic
13
15
  module ClassMethods #:nodoc:
14
- Thread.main[:DYNAMIC] = Hash.new { |hash, key|
15
- raise NameError, "no such dynamic variable: #{key}"
16
- }
16
+ class << self
17
+ def main_dynamics
18
+ @main_dynamics ||= Hash.new { |hash, key|
19
+ raise NameError, "no such dynamic variable: #{key}"
20
+ }
21
+ end
22
+ end
17
23
 
18
24
  def here!
19
25
  Thread.current[:DYNAMIC] = Hash.new { |hash, key|
20
26
  raise NameError, "no such dynamic variable: #{key}"
21
- }.update Thread.main[:DYNAMIC]
27
+ }.update ClassMethods.main_dynamics
22
28
  end
23
29
 
24
30
  def variables
25
- Thread.current[:DYNAMIC] or here!
31
+ Thread.current == Thread.main ? ClassMethods.main_dynamics : Thread.current[:DYNAMIC] or here!
26
32
  end
27
33
 
28
34
  def variable(definition)
@@ -53,10 +53,10 @@ module StructuredWarnings
53
53
  message = first.to_s
54
54
  end
55
55
 
56
- unless args.empty?
57
- raise ArgumentError,
58
- "wrong number of arguments (#{args.size + 2} for 2)"
59
- end
56
+ # If args is not empty, user passed an incompatible set of arguments.
57
+ # Maybe somebody else is overriding warn as well and knows, what to do.
58
+ # Better do nothing in this case. See #5
59
+ return super unless args.empty?
60
60
 
61
61
  if warning.active?
62
62
  output = StructuredWarnings.warner.format(warning, message, caller(1))
@@ -2,17 +2,21 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'structured_warnings'
5
- s.version = '0.1.4'
5
+ s.version = '0.2.0'
6
6
  s.author = 'Gregor Schmidt'
7
7
  s.email = 'ruby@schmidtwisser.de'
8
8
  s.homepage = 'http://github.com/schmidt/structured_warnings'
9
9
  s.summary = 'Provides structured warnings for Ruby, using an exception-like interface and hierarchy'
10
+ s.license = 'MIT'
10
11
  s.files = Dir['**/*'].reject{ |f| f.include?('git') }
11
12
  s.test_files = Dir['test/*.rb']
12
13
 
13
14
  s.rdoc_options = ['--charset=UTF-8']
14
15
  s.extra_rdoc_files = ['README.rdoc']
15
16
 
17
+ s.add_development_dependency "rake"
18
+ s.add_development_dependency "test-unit"
19
+
16
20
  s.description = %Q{
17
21
  This is an implementation of Daniel Berger's proposal of structured
18
22
  warnings for Ruby.
@@ -2,23 +2,77 @@ require 'test/unit'
2
2
  require 'structured_warnings'
3
3
 
4
4
  class Foo
5
- def old_method
5
+ def method_using_structured_warning_style_api
6
6
  warn DeprecatedMethodWarning,
7
7
  'This method is deprecated. Use new_method instead'
8
8
  end
9
9
  end
10
10
 
11
+ class Bar
12
+ attr_reader :args
13
+
14
+ def warn(*args)
15
+ @args = args
16
+ end
17
+
18
+ def method_using_incompatible_warn_api
19
+ warn :deprecated, 'explanation'
20
+ end
21
+ end
22
+
11
23
  class StructuredWarningsTest < Test::Unit::TestCase
12
- def test_warn
24
+ def supports_fork
25
+ return false unless Process.respond_to? :fork
26
+ fork { Kernel.exit! }
27
+ Process.wait
28
+
29
+ true
30
+ rescue NotImplementedError
31
+ false
32
+ end
33
+
34
+ def test_fork_in_thread
35
+ return unless supports_fork
36
+
37
+ Thread.new do
38
+ fork do
39
+ begin
40
+ DeprecatedMethodWarning.disable do
41
+ Foo.new.method_using_structured_warning_style_api
42
+ end
43
+ rescue
44
+ puts "\n#{$!.class.name}: #{$!.message}"
45
+ puts $!.backtrace.join("\n")
46
+ exit 1
47
+ end
48
+ end
49
+ end.join
50
+ Process.wait
51
+
52
+ assert($?.success?, 'Forked subprocess failed')
53
+ end
54
+
55
+ def test_warn_using_structured_warning_style_api
13
56
  assert_warn(DeprecatedMethodWarning) do
14
- Foo.new.old_method
57
+ Foo.new.method_using_structured_warning_style_api
58
+ end
59
+ end
60
+
61
+ def test_warn_using_incompatible_warn_api
62
+ bar = Bar.new
63
+
64
+ assert_no_warn do
65
+ bar.method_using_incompatible_warn_api
15
66
  end
67
+
68
+ assert_equal :deprecated, bar.args.first
69
+ assert_equal "explanation", bar.args.last
16
70
  end
17
71
 
18
72
  def test_disable_warning_blockwise
19
73
  assert_no_warn(DeprecatedMethodWarning) do
20
74
  DeprecatedMethodWarning.disable do
21
- Foo.new.old_method
75
+ Foo.new.method_using_structured_warning_style_api
22
76
  end
23
77
  end
24
78
  end
@@ -26,7 +80,7 @@ class StructuredWarningsTest < Test::Unit::TestCase
26
80
  def test_disable_warning_globally
27
81
  assert_no_warn(DeprecatedMethodWarning) do
28
82
  DeprecatedMethodWarning.disable
29
- Foo.new.old_method
83
+ Foo.new.method_using_structured_warning_style_api
30
84
  DeprecatedMethodWarning.enable
31
85
  end
32
86
  end
@@ -35,7 +89,7 @@ class StructuredWarningsTest < Test::Unit::TestCase
35
89
  assert_warn(DeprecatedMethodWarning) do
36
90
  DeprecatedMethodWarning.disable do
37
91
  DeprecatedMethodWarning.enable do
38
- Foo.new.old_method
92
+ Foo.new.method_using_structured_warning_style_api
39
93
  end
40
94
  end
41
95
  end
@@ -44,11 +98,11 @@ class StructuredWarningsTest < Test::Unit::TestCase
44
98
  def test_warnings_have_an_inheritance_relation
45
99
  assert_no_warn(DeprecatedMethodWarning) do
46
100
  DeprecationWarning.disable do
47
- Foo.new.old_method
101
+ Foo.new.method_using_structured_warning_style_api
48
102
  end
49
103
  end
50
104
  assert_warn(DeprecationWarning) do
51
- Foo.new.old_method
105
+ Foo.new.method_using_structured_warning_style_api
52
106
  end
53
107
  end
54
108
 
@@ -56,7 +110,7 @@ class StructuredWarningsTest < Test::Unit::TestCase
56
110
  require "stringio"
57
111
  old_stderr = $stderr
58
112
  $stderr = io = ::StringIO.new
59
- Foo.new.old_method
113
+ Foo.new.method_using_structured_warning_style_api
60
114
  $stderr = old_stderr
61
115
  io.rewind
62
116
  assert io.length > 0
metadata CHANGED
@@ -1,17 +1,44 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: structured_warnings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Gregor Schmidt
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
13
- dependencies: []
14
- description: ! "\n This is an implementation of Daniel Berger's proposal of structured\n
11
+ date: 2015-01-15 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: test-unit
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: "\n This is an implementation of Daniel Berger's proposal of structured\n
15
42
  \ warnings for Ruby.\n "
16
43
  email: ruby@schmidtwisser.de
17
44
  executables: []
@@ -19,11 +46,41 @@ extensions: []
19
46
  extra_rdoc_files:
20
47
  - README.rdoc
21
48
  files:
22
- - doc/created.rid
49
+ - Gemfile
50
+ - Gemfile.lock
51
+ - History.txt
52
+ - License.txt
53
+ - README.rdoc
54
+ - Rakefile
23
55
  - doc/DeprecatedMethodWarning.html
24
56
  - doc/DeprecatedSignatureWarning.html
25
57
  - doc/DeprecationWarning.html
26
58
  - doc/Dynamic.html
59
+ - doc/Object.html
60
+ - doc/README_rdoc.html
61
+ - doc/StandardWarning.html
62
+ - doc/StructuredWarnings.html
63
+ - doc/StructuredWarnings/ClassMethods.html
64
+ - doc/StructuredWarnings/Kernel.html
65
+ - doc/StructuredWarnings/Test.html
66
+ - doc/StructuredWarnings/Test/Assertions.html
67
+ - doc/StructuredWarnings/Test/Warner.html
68
+ - doc/StructuredWarnings/Warner.html
69
+ - doc/Test.html
70
+ - doc/Test/Unit.html
71
+ - doc/Warning.html
72
+ - doc/Warning/ClassMethods.html
73
+ - doc/created.rid
74
+ - doc/css/fonts.css
75
+ - doc/css/rdoc.css
76
+ - doc/fonts/Lato-Light.ttf
77
+ - doc/fonts/Lato-LightItalic.ttf
78
+ - doc/fonts/Lato-Regular.ttf
79
+ - doc/fonts/Lato-RegularItalic.ttf
80
+ - doc/fonts/SourceCodePro-Bold.ttf
81
+ - doc/fonts/SourceCodePro-Regular.ttf
82
+ - doc/images/add.png
83
+ - doc/images/arrow_up.png
27
84
  - doc/images/brick.png
28
85
  - doc/images/brick_link.png
29
86
  - doc/images/bug.png
@@ -31,6 +88,7 @@ files:
31
88
  - doc/images/bullet_toggle_minus.png
32
89
  - doc/images/bullet_toggle_plus.png
33
90
  - doc/images/date.png
91
+ - doc/images/delete.png
34
92
  - doc/images/find.png
35
93
  - doc/images/loadingAnimation.gif
36
94
  - doc/images/macFFBgHack.png
@@ -40,74 +98,57 @@ files:
40
98
  - doc/images/page_white_width.png
41
99
  - doc/images/plugin.png
42
100
  - doc/images/ruby.png
101
+ - doc/images/tag_blue.png
43
102
  - doc/images/tag_green.png
103
+ - doc/images/transparent.png
44
104
  - doc/images/wrench.png
45
105
  - doc/images/wrench_orange.png
46
106
  - doc/images/zoom.png
47
107
  - doc/index.html
48
108
  - doc/js/darkfish.js
49
109
  - doc/js/jquery.js
50
- - doc/js/quicksearch.js
51
- - doc/js/thickbox-compressed.js
52
- - doc/lib/structured_warnings/dynamic_rb.html
53
- - doc/lib/structured_warnings/kernel_rb.html
54
- - doc/lib/structured_warnings/test/assertions_rb.html
55
- - doc/lib/structured_warnings/test/warner_rb.html
56
- - doc/lib/structured_warnings/test_rb.html
57
- - doc/lib/structured_warnings/warner_rb.html
58
- - doc/lib/structured_warnings/warning_rb.html
59
- - doc/lib/structured_warnings_rb.html
60
- - doc/Object.html
61
- - doc/rdoc.css
62
- - doc/README_rdoc.html
63
- - doc/StandardWarning.html
64
- - doc/StructuredWarnings/ClassMethods.html
65
- - doc/StructuredWarnings/Kernel.html
66
- - doc/StructuredWarnings/Test/Assertions.html
67
- - doc/StructuredWarnings/Test/Warner.html
68
- - doc/StructuredWarnings/Test.html
69
- - doc/StructuredWarnings/Warner.html
70
- - doc/StructuredWarnings.html
71
- - doc/Warning/ClassMethods.html
72
- - doc/Warning.html
73
- - History.txt
110
+ - doc/js/navigation.js
111
+ - doc/js/navigation.js.gz
112
+ - doc/js/search.js
113
+ - doc/js/search_index.js
114
+ - doc/js/search_index.js.gz
115
+ - doc/js/searcher.js
116
+ - doc/js/searcher.js.gz
117
+ - doc/table_of_contents.html
118
+ - lib/structured_warnings.rb
74
119
  - lib/structured_warnings/dynamic.rb
75
120
  - lib/structured_warnings/kernel.rb
121
+ - lib/structured_warnings/test.rb
76
122
  - lib/structured_warnings/test/assertions.rb
77
123
  - lib/structured_warnings/test/warner.rb
78
- - lib/structured_warnings/test.rb
79
124
  - lib/structured_warnings/warner.rb
80
125
  - lib/structured_warnings/warning.rb
81
- - lib/structured_warnings.rb
82
- - License.txt
83
- - Rakefile
84
- - README.rdoc
85
126
  - structured_warnings.gemspec
86
127
  - test/structured_warnings_test.rb
87
128
  homepage: http://github.com/schmidt/structured_warnings
88
- licenses: []
129
+ licenses:
130
+ - MIT
131
+ metadata: {}
89
132
  post_install_message:
90
133
  rdoc_options:
91
- - --charset=UTF-8
134
+ - "--charset=UTF-8"
92
135
  require_paths:
93
136
  - lib
94
137
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
138
  requirements:
97
- - - ! '>='
139
+ - - ">="
98
140
  - !ruby/object:Gem::Version
99
141
  version: '0'
100
142
  required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
143
  requirements:
103
- - - ! '>='
144
+ - - ">="
104
145
  - !ruby/object:Gem::Version
105
146
  version: '0'
106
147
  requirements: []
107
148
  rubyforge_project:
108
- rubygems_version: 1.8.25
149
+ rubygems_version: 2.4.1
109
150
  signing_key:
110
- specification_version: 3
151
+ specification_version: 4
111
152
  summary: Provides structured warnings for Ruby, using an exception-like interface
112
153
  and hierarchy
113
154
  test_files: