ruby-json 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/README +3 -1
  2. data/{lib/json → json}/lexer.rb +4 -1
  3. data/{lib/json → json}/objects.rb +4 -4
  4. data/rakefile +61 -0
  5. data/test/objtest.rb +162 -1
  6. metadata +31 -102
  7. data/doc/classes/Array.html +0 -162
  8. data/doc/classes/Array.src/M000011.html +0 -27
  9. data/doc/classes/Array.src/M000012.html +0 -32
  10. data/doc/classes/ArrayTest.html +0 -129
  11. data/doc/classes/ArrayTest.src/M000014.html +0 -28
  12. data/doc/classes/FalseClass.html +0 -131
  13. data/doc/classes/FalseClass.src/M000013.html +0 -18
  14. data/doc/classes/Hash.html +0 -156
  15. data/doc/classes/Hash.src/M000009.html +0 -29
  16. data/doc/classes/Hash.src/M000010.html +0 -45
  17. data/doc/classes/JSON.html +0 -103
  18. data/doc/classes/JSON/Lexer.html +0 -411
  19. data/doc/classes/JSON/Lexer.src/M000022.html +0 -19
  20. data/doc/classes/JSON/Lexer.src/M000023.html +0 -18
  21. data/doc/classes/JSON/Lexer.src/M000024.html +0 -18
  22. data/doc/classes/JSON/Lexer.src/M000025.html +0 -20
  23. data/doc/classes/JSON/Lexer.src/M000026.html +0 -20
  24. data/doc/classes/JSON/Lexer.src/M000027.html +0 -21
  25. data/doc/classes/JSON/Lexer.src/M000028.html +0 -43
  26. data/doc/classes/JSON/Lexer.src/M000029.html +0 -67
  27. data/doc/classes/JSON/Lexer.src/M000030.html +0 -46
  28. data/doc/classes/JSON/Lexer.src/M000031.html +0 -26
  29. data/doc/classes/JSON/Lexer.src/M000032.html +0 -61
  30. data/doc/classes/JSON/Lexer.src/M000033.html +0 -29
  31. data/doc/classes/JSON/Lexer.src/M000034.html +0 -18
  32. data/doc/classes/JSON/Lexer.src/M000035.html +0 -19
  33. data/doc/classes/JSON/Lexer.src/M000036.html +0 -20
  34. data/doc/classes/LexerTest.html +0 -219
  35. data/doc/classes/LexerTest.src/M000002.html +0 -24
  36. data/doc/classes/LexerTest.src/M000003.html +0 -22
  37. data/doc/classes/LexerTest.src/M000004.html +0 -26
  38. data/doc/classes/LexerTest.src/M000005.html +0 -23
  39. data/doc/classes/LexerTest.src/M000006.html +0 -31
  40. data/doc/classes/LexerTest.src/M000007.html +0 -27
  41. data/doc/classes/LexerTest.src/M000008.html +0 -58
  42. data/doc/classes/NilClass.html +0 -131
  43. data/doc/classes/NilClass.src/M000017.html +0 -18
  44. data/doc/classes/Numeric.html +0 -131
  45. data/doc/classes/Numeric.src/M000016.html +0 -18
  46. data/doc/classes/Object.html +0 -176
  47. data/doc/classes/Object.src/M000018.html +0 -18
  48. data/doc/classes/ObjectTest.html +0 -129
  49. data/doc/classes/ObjectTest.src/M000015.html +0 -28
  50. data/doc/classes/String.html +0 -151
  51. data/doc/classes/String.src/M000019.html +0 -18
  52. data/doc/classes/String.src/M000020.html +0 -46
  53. data/doc/classes/TrueClass.html +0 -131
  54. data/doc/classes/TrueClass.src/M000021.html +0 -18
  55. data/doc/created.rid +0 -1
  56. data/doc/files/install_rb.html +0 -194
  57. data/doc/files/install_rb.src/M000001.html +0 -43
  58. data/doc/files/json/lexer_rb.html +0 -156
  59. data/doc/files/json/objects_rb.html +0 -154
  60. data/doc/files/test/arraytest_rb.html +0 -150
  61. data/doc/files/test/lexertest_rb.html +0 -150
  62. data/doc/files/test/objtest_rb.html +0 -150
  63. data/doc/fr_class_index.html +0 -39
  64. data/doc/fr_file_index.html +0 -32
  65. data/doc/fr_method_index.html +0 -62
  66. data/doc/index.html +0 -24
  67. data/doc/rdoc-style.css +0 -175
  68. data/ruby-json.gemspec +0 -25
@@ -1,150 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: lexertest.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>lexertest.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>test/lexertest.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Fri Jan 28 11:03:51 PHT 2005</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
- <div id="contextContent">
69
-
70
- <div id="description">
71
- <p>
72
- Unit tests for <a href="../../classes/JSON.html">JSON</a> Lexer
73
- </p>
74
- <pre>
75
- Copyright (C) 2003 Rafael R. Sevilla &lt;dido@imperium.ph&gt;
76
- This file is part of JSON for Ruby
77
-
78
- JSON for Ruby is free software; you can redistribute it and/or
79
- modify it under the terms of the GNU Lesser General Public License
80
- as published by the Free Software Foundation; either version 2.1 of
81
- the License, or (at your option) any later version.
82
-
83
- JSON for Ruby is distributed in the hope that it will be useful,
84
- but WITHOUT ANY WARRANTY; without even the implied warranty of
85
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
86
- Lesser General Public License for more details.
87
-
88
- You should have received a copy of the GNU Lesser General Public
89
- License along with JSON for Ruby; if not, write to the Free
90
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
91
- 02111-1307 USA.
92
- </pre>
93
- <table>
94
- <tr><td valign="top">Author:</td><td>Rafael R. Sevilla (<a href="mailto:dido@imperium.ph">dido@imperium.ph</a>)
95
-
96
- </td></tr>
97
- <tr><td valign="top">Copyright:</td><td>Copyright &#169; 2003 Rafael R. Sevilla
98
-
99
- </td></tr>
100
- <tr><td valign="top">License:</td><td>GNU Lesser General Public License
101
-
102
- </td></tr>
103
- </table>
104
- <p>
105
- $Id: lexertest.rb,v 1.3 2005/01/28 03:03:51 didosevilla Exp $
106
- </p>
107
-
108
- </div>
109
-
110
- <div id="requires-list">
111
- <h2 class="section-bar">Required files</h2>
112
-
113
- <div class="name-list">
114
- test/unit&nbsp;&nbsp;
115
- <a href="../json/lexer_rb.html">json/lexer</a>&nbsp;&nbsp;
116
- <a href="../json/objects_rb.html">json/objects</a>&nbsp;&nbsp;
117
- </div>
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
- <div id="class-list">
126
- <h2 class="section-bar">Classes and Modules</h2>
127
-
128
- Class <a href="../../classes/LexerTest.html" class="link">LexerTest</a><br />
129
-
130
- </div>
131
-
132
- </div>
133
-
134
-
135
-
136
- <!-- if includes -->
137
-
138
-
139
- <!-- if method_list -->
140
-
141
-
142
- </div>
143
-
144
-
145
- <div id="validator-badges">
146
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
147
- </div>
148
-
149
- </body>
150
- </html>
@@ -1,150 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>File: objtest.rb</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="fileHeader">
50
- <h1>objtest.rb</h1>
51
- <table class="header-table">
52
- <tr class="top-aligned-row">
53
- <td><strong>Path:</strong></td>
54
- <td>test/objtest.rb
55
- </td>
56
- </tr>
57
- <tr class="top-aligned-row">
58
- <td><strong>Last Update:</strong></td>
59
- <td>Fri Jan 28 10:59:30 PHT 2005</td>
60
- </tr>
61
- </table>
62
- </div>
63
- <!-- banner header -->
64
-
65
- <div id="bodyContent">
66
-
67
-
68
- <div id="contextContent">
69
-
70
- <div id="description">
71
- <p>
72
- Unit Tests for <a href="../../classes/JSON.html">JSON</a> Objects
73
- </p>
74
- <pre>
75
- Copyright (C) 2002 Rafael R. Sevilla &lt;dido@imperium.ph&gt;
76
- This file is part of JSON for Ruby
77
-
78
- JSON for Ruby is free software; you can redistribute it and/or
79
- modify it under the terms of the GNU Lesser General Public License
80
- as published by the Free Software Foundation; either version 2.1 of
81
- the License, or (at your option) any later version.
82
-
83
- JSON for Ruby is distributed in the hope that it will be useful,
84
- but WITHOUT ANY WARRANTY; without even the implied warranty of
85
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
86
- Lesser General Public License for more details.
87
-
88
- You should have received a copy of the GNU Lesser General Public
89
- License along with JSON for Ruby; if not, write to the Free
90
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
91
- 02111-1307 USA.
92
- </pre>
93
- <table>
94
- <tr><td valign="top">Author:</td><td>Rafael R. Sevilla (<a href="mailto:dido@imperium.ph">dido@imperium.ph</a>)
95
-
96
- </td></tr>
97
- <tr><td valign="top">Copyright:</td><td>Copyright &#169; 2003 Rafael R. Sevilla
98
-
99
- </td></tr>
100
- <tr><td valign="top">License:</td><td>GNU Lesser General Public License
101
-
102
- </td></tr>
103
- </table>
104
- <p>
105
- $Id: objtest.rb,v 1.2 2005/01/28 02:59:30 didosevilla Exp $
106
- </p>
107
-
108
- </div>
109
-
110
- <div id="requires-list">
111
- <h2 class="section-bar">Required files</h2>
112
-
113
- <div class="name-list">
114
- test/unit&nbsp;&nbsp;
115
- <a href="../json/lexer_rb.html">json/lexer</a>&nbsp;&nbsp;
116
- <a href="../json/objects_rb.html">json/objects</a>&nbsp;&nbsp;
117
- </div>
118
- </div>
119
-
120
-
121
-
122
-
123
-
124
-
125
- <div id="class-list">
126
- <h2 class="section-bar">Classes and Modules</h2>
127
-
128
- Class <a href="../../classes/ObjectTest.html" class="link">ObjectTest</a><br />
129
-
130
- </div>
131
-
132
- </div>
133
-
134
-
135
-
136
- <!-- if includes -->
137
-
138
-
139
- <!-- if method_list -->
140
-
141
-
142
- </div>
143
-
144
-
145
- <div id="validator-badges">
146
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
147
- </div>
148
-
149
- </body>
150
- </html>
@@ -1,39 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Classes
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Classes</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Classes</h1>
22
- <div id="index-entries">
23
- <a href="classes/Array.html">Array</a><br />
24
- <a href="classes/ArrayTest.html">ArrayTest</a><br />
25
- <a href="classes/FalseClass.html">FalseClass</a><br />
26
- <a href="classes/Hash.html">Hash</a><br />
27
- <a href="classes/JSON.html">JSON</a><br />
28
- <a href="classes/JSON/Lexer.html">JSON::Lexer</a><br />
29
- <a href="classes/LexerTest.html">LexerTest</a><br />
30
- <a href="classes/NilClass.html">NilClass</a><br />
31
- <a href="classes/Numeric.html">Numeric</a><br />
32
- <a href="classes/Object.html">Object</a><br />
33
- <a href="classes/ObjectTest.html">ObjectTest</a><br />
34
- <a href="classes/String.html">String</a><br />
35
- <a href="classes/TrueClass.html">TrueClass</a><br />
36
- </div>
37
- </div>
38
- </body>
39
- </html>
@@ -1,32 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Files
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Files</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Files</h1>
22
- <div id="index-entries">
23
- <a href="files/install_rb.html">install.rb</a><br />
24
- <a href="files/json/lexer_rb.html">json/lexer.rb</a><br />
25
- <a href="files/json/objects_rb.html">json/objects.rb</a><br />
26
- <a href="files/test/arraytest_rb.html">test/arraytest.rb</a><br />
27
- <a href="files/test/lexertest_rb.html">test/lexertest.rb</a><br />
28
- <a href="files/test/objtest_rb.html">test/objtest.rb</a><br />
29
- </div>
30
- </div>
31
- </body>
32
- </html>
@@ -1,62 +0,0 @@
1
-
2
- <?xml version="1.0" encoding="iso-8859-1"?>
3
- <!DOCTYPE html
4
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
5
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
-
7
- <!--
8
-
9
- Methods
10
-
11
- -->
12
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13
- <head>
14
- <title>Methods</title>
15
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16
- <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
17
- <base target="docwin" />
18
- </head>
19
- <body>
20
- <div id="index">
21
- <h1 class="section-bar">Methods</h1>
22
- <div id="index-entries">
23
- <a href="classes/JSON/Lexer.html#M000023">back (JSON::Lexer)</a><br />
24
- <a href="classes/JSON/Lexer.html#M000036">each (JSON::Lexer)</a><br />
25
- <a href="classes/Hash.html#M000010">from_json (Hash)</a><br />
26
- <a href="classes/Array.html#M000012">from_json (Array)</a><br />
27
- <a href="files/install_rb.html#M000001">instdir (install.rb)</a><br />
28
- <a href="classes/JSON/Lexer.html#M000024">more? (JSON::Lexer)</a><br />
29
- <a href="classes/JSON/Lexer.html#M000022">new (JSON::Lexer)</a><br />
30
- <a href="classes/JSON/Lexer.html#M000025">nextchar (JSON::Lexer)</a><br />
31
- <a href="classes/JSON/Lexer.html#M000027">nextchars (JSON::Lexer)</a><br />
32
- <a href="classes/JSON/Lexer.html#M000028">nextclean (JSON::Lexer)</a><br />
33
- <a href="classes/JSON/Lexer.html#M000026">nextmatch (JSON::Lexer)</a><br />
34
- <a href="classes/JSON/Lexer.html#M000030">nextstring (JSON::Lexer)</a><br />
35
- <a href="classes/JSON/Lexer.html#M000031">nextto (JSON::Lexer)</a><br />
36
- <a href="classes/JSON/Lexer.html#M000032">nextvalue (JSON::Lexer)</a><br />
37
- <a href="classes/JSON/Lexer.html#M000035">skippast (JSON::Lexer)</a><br />
38
- <a href="classes/JSON/Lexer.html#M000033">skipto (JSON::Lexer)</a><br />
39
- <a href="classes/ArrayTest.html#M000014">test_array_to_json (ArrayTest)</a><br />
40
- <a href="classes/LexerTest.html#M000003">test_ending (LexerTest)</a><br />
41
- <a href="classes/LexerTest.html#M000002">test_nextchar_back (LexerTest)</a><br />
42
- <a href="classes/LexerTest.html#M000005">test_nextchars (LexerTest)</a><br />
43
- <a href="classes/LexerTest.html#M000006">test_nextclean (LexerTest)</a><br />
44
- <a href="classes/LexerTest.html#M000004">test_nextmatch (LexerTest)</a><br />
45
- <a href="classes/LexerTest.html#M000007">test_nextstring (LexerTest)</a><br />
46
- <a href="classes/LexerTest.html#M000008">test_nextvalue (LexerTest)</a><br />
47
- <a href="classes/ObjectTest.html#M000015">test_to_json (ObjectTest)</a><br />
48
- <a href="classes/TrueClass.html#M000021">to_json (TrueClass)</a><br />
49
- <a href="classes/String.html#M000020">to_json (String)</a><br />
50
- <a href="classes/Object.html#M000018">to_json (Object)</a><br />
51
- <a href="classes/String.html#M000019">to_json (String)</a><br />
52
- <a href="classes/NilClass.html#M000017">to_json (NilClass)</a><br />
53
- <a href="classes/Numeric.html#M000016">to_json (Numeric)</a><br />
54
- <a href="classes/Hash.html#M000009">to_json (Hash)</a><br />
55
- <a href="classes/Array.html#M000011">to_json (Array)</a><br />
56
- <a href="classes/FalseClass.html#M000013">to_json (FalseClass)</a><br />
57
- <a href="classes/JSON/Lexer.html#M000034">unescape (JSON::Lexer)</a><br />
58
- <a href="classes/JSON/Lexer.html#M000029">utf8str (JSON::Lexer)</a><br />
59
- </div>
60
- </div>
61
- </body>
62
- </html>
@@ -1,24 +0,0 @@
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">
5
-
6
- <!--
7
-
8
- RDoc Documentation
9
-
10
- -->
11
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12
- <head>
13
- <title>RDoc Documentation</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/json/objects_rb.html" name="docwin" />
23
- </frameset>
24
- </html>