lazibi 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. data/.autotest +44 -2
  2. data/History.txt +10 -1
  3. data/Manifest.txt +114 -91
  4. data/README.txt +4 -125
  5. data/Rakefile +20 -10
  6. data/config/lazibi_config_template.rb +15 -0
  7. data/lib/core/beautify_engine.rb +10 -0
  8. data/lib/core/default_engine.rb +11 -0
  9. data/lib/core/engine_base.rb +74 -0
  10. data/lib/filter/beautify_filter.rb +148 -0
  11. data/lib/filter/filter_base.rb +19 -0
  12. data/lib/filter/optional_do_filter.rb +66 -0
  13. data/lib/filter/optional_end_filter.rb +124 -0
  14. data/lib/filter/syntax_guard_filter.rb +77 -0
  15. data/lib/helper/application_helper.rb +9 -0
  16. data/lib/helper/beautify_filter_helper.rb +52 -0
  17. data/lib/helper/filter_helper.rb +133 -0
  18. data/lib/helper/task_helper.rb +53 -45
  19. data/lib/lazibi.rb +1 -4
  20. data/lib/lazibi/version.rb +1 -1
  21. data/lib/task.rb +41 -32
  22. data/spec/core/beautify_engine_spec.rb +12 -0
  23. data/spec/core/default_engine_spec.rb +28 -0
  24. data/spec/core/engine_base_spec.rb +23 -0
  25. data/spec/filter/beautify_filter_spec.rb +64 -0
  26. data/spec/filter/filter_spec_helper.rb +9 -0
  27. data/spec/filter/optional_do_filter_spec.rb +56 -0
  28. data/spec/filter/optional_end_filter_spec.rb +84 -0
  29. data/spec/filter/syntax_guard_filter_spec.rb +35 -0
  30. data/spec/fixtures/beautify/metas/square_brackets.txt +6 -0
  31. data/{test/fixtures/functional/ruby → spec/fixtures/beautify/rbs}/square_brackets.txt +1 -1
  32. data/{test → spec}/fixtures/clean/comment_break.txt +0 -0
  33. data/{test → spec}/fixtures/clean/complex_string.txt +0 -0
  34. data/{test → spec}/fixtures/clean/end_concat.txt +0 -0
  35. data/{test → spec}/fixtures/clean/long_indent.txt +0 -0
  36. data/{test → spec}/fixtures/clean/mixed_re.txt +0 -0
  37. data/{test → spec}/fixtures/clean/only_if.txt +0 -0
  38. data/{test → spec}/fixtures/clean/re.txt +0 -0
  39. data/{test → spec}/fixtures/clean/semi_colon_after_end.txt +0 -0
  40. data/{test → spec}/fixtures/clean/sep_line.txt +0 -0
  41. data/{test → spec}/fixtures/clean/unless_problem.txt +0 -0
  42. data/{test → spec}/fixtures/meta/basic_class.txt +0 -0
  43. data/{test → spec}/fixtures/meta/case.txt +0 -0
  44. data/{test → spec}/fixtures/meta/class_with_def.txt +0 -0
  45. data/{test → spec}/fixtures/meta/comment.txt +0 -0
  46. data/{test → spec}/fixtures/meta/comment_after_end.txt +0 -0
  47. data/{test → spec}/fixtures/meta/eval_code.txt +0 -0
  48. data/{test → spec}/fixtures/meta/here_doc.txt +0 -0
  49. data/{test → spec}/fixtures/meta/inline_do_end.txt +0 -0
  50. data/{test → spec}/fixtures/meta/inline_end.txt +0 -0
  51. data/{test → spec}/fixtures/meta/loop.txt +0 -0
  52. data/{test → spec}/fixtures/meta/middle.txt +0 -0
  53. data/{test → spec}/fixtures/meta/multi_blocks.txt +0 -0
  54. data/{test → spec}/fixtures/meta/nested_comment.txt +0 -0
  55. data/{test → spec}/fixtures/meta/optional_do.txt +0 -0
  56. data/{test → spec}/fixtures/meta/optional_do_with_nasty_chars.txt +0 -0
  57. data/{test → spec}/fixtures/meta/partial_method.txt +0 -0
  58. data/{test → spec}/fixtures/meta/single_method.txt +0 -0
  59. data/{test → spec}/fixtures/meta/two_methods.txt +0 -0
  60. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/brackets_block.txt +0 -0
  61. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/classical.txt +0 -0
  62. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/describe.txt +0 -0
  63. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/do_block.txt +0 -0
  64. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/lambda.txt +0 -0
  65. data/{test/fixtures/functional/simply → spec/fixtures/optional_do/metas}/square_brackets.txt +2 -2
  66. data/{test/fixtures/functional/ruby → spec/fixtures/optional_do/rbs}/brackets_block.txt +0 -0
  67. data/{test/fixtures/functional/ruby → spec/fixtures/optional_do/rbs}/classical.txt +0 -0
  68. data/{test/fixtures/functional/ruby → spec/fixtures/optional_do/rbs}/describe.txt +0 -0
  69. data/{test/fixtures/functional/ruby → spec/fixtures/optional_do/rbs}/do_block.txt +0 -0
  70. data/{test/fixtures/functional/ruby → spec/fixtures/optional_do/rbs}/lambda.txt +0 -0
  71. data/spec/fixtures/optional_do/rbs/square_brackets.txt +6 -0
  72. data/{test → spec}/fixtures/real/basic_class.txt +0 -0
  73. data/{test → spec}/fixtures/real/case.txt +0 -0
  74. data/{test → spec}/fixtures/real/class_with_def.txt +0 -0
  75. data/{test → spec}/fixtures/real/comment.txt +0 -0
  76. data/{test → spec}/fixtures/real/comment_after_end.txt +0 -0
  77. data/{test → spec}/fixtures/real/comment_after_end_expected.txt +0 -0
  78. data/{test → spec}/fixtures/real/comment_break.txt +0 -0
  79. data/{test → spec}/fixtures/real/complex_string.txt +0 -0
  80. data/{test → spec}/fixtures/real/end_concat.txt +0 -0
  81. data/{test → spec}/fixtures/real/eval_code.txt +0 -0
  82. data/{test → spec}/fixtures/real/general_eval.txt +0 -0
  83. data/{test → spec}/fixtures/real/here_doc.txt +0 -0
  84. data/{test → spec}/fixtures/real/inline_do_end.txt +0 -0
  85. data/{test → spec}/fixtures/real/inline_end.txt +0 -0
  86. data/{test → spec}/fixtures/real/javascript.txt +0 -0
  87. data/{test → spec}/fixtures/real/long_indent.txt +0 -0
  88. data/{test → spec}/fixtures/real/loop.txt +0 -0
  89. data/{test → spec}/fixtures/real/middle.txt +0 -0
  90. data/{test → spec}/fixtures/real/mixed_re.txt +0 -0
  91. data/{test → spec}/fixtures/real/multi_blocks.txt +0 -0
  92. data/{test → spec}/fixtures/real/nested_comment.txt +0 -0
  93. data/{test → spec}/fixtures/real/only_if.txt +0 -0
  94. data/{test → spec}/fixtures/real/optional_do.txt +0 -0
  95. data/{test → spec}/fixtures/real/optional_do_with_nasty_chars.txt +0 -0
  96. data/{test → spec}/fixtures/real/partial_method.txt +0 -0
  97. data/{test → spec}/fixtures/real/re.txt +0 -0
  98. data/{test → spec}/fixtures/real/semi_colon_after_end.txt +0 -0
  99. data/{test → spec}/fixtures/real/sep_line.txt +0 -0
  100. data/{test → spec}/fixtures/real/single_method.txt +0 -0
  101. data/{test → spec}/fixtures/real/strange_syntax_1.txt +0 -0
  102. data/{test → spec}/fixtures/real/two_methods.txt +0 -0
  103. data/{test → spec}/fixtures/real/unless_problem.txt +0 -0
  104. data/spec/helper/filter_helper_spec.rb +35 -0
  105. data/spec/helper/task_helper_spec.rb +21 -0
  106. data/spec/lazibi_spec.rb +22 -0
  107. data/spec/spec_helper.rb +16 -0
  108. data/webgen/src/code/examples/migration.py.rb +10 -0
  109. data/webgen/src/code/examples/rspec.py.rb +7 -0
  110. data/webgen/src/css/blossom_base.css +172 -0
  111. data/webgen/src/css/blossom_v05.css +48 -0
  112. data/webgen/src/css/code.css +32 -0
  113. data/webgen/src/css/hack.css +13 -0
  114. data/webgen/src/css/print.css +178 -0
  115. data/webgen/src/default.template +90 -0
  116. data/webgen/src/development.page +19 -0
  117. data/webgen/src/documentation.page +44 -0
  118. data/webgen/src/faq.page +42 -0
  119. data/webgen/src/images/cover_landscape.jpg +0 -0
  120. data/webgen/src/images/example_picture03.jpg +0 -0
  121. data/webgen/src/images/example_picture04.jpg +0 -0
  122. data/webgen/src/index.page +45 -0
  123. data/webgen/src/installation.page +17 -0
  124. metadata +214 -175
  125. data/coverage/index.html +0 -476
  126. data/coverage/lib-helper-parser_helper_rb.html +0 -718
  127. data/coverage/lib-helper-task_helper_rb.html +0 -684
  128. data/coverage/lib-lazibi-version_rb.html +0 -640
  129. data/coverage/lib-lazibi_rb.html +0 -664
  130. data/coverage/lib-parser_rb.html +0 -787
  131. data/coverage/lib-task_rb.html +0 -751
  132. data/lib/helper/app_helper.rb +0 -0
  133. data/lib/helper/parser_helper.rb +0 -92
  134. data/lib/parser.rb +0 -194
  135. data/lib/vendor/beautifier.rb +0 -278
  136. data/test/test_functional.rb +0 -75
  137. data/test/test_helper.rb +0 -7
  138. data/test/test_unit.rb +0 -151
  139. data/website/index.html +0 -234
  140. data/website/index.txt +0 -135
  141. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  142. data/website/stylesheets/screen.css +0 -140
  143. data/website/template.rhtml +0 -48
@@ -0,0 +1,17 @@
1
+ ---
2
+ title: Installation
3
+ ---
4
+
5
+ h1. With RubyGems
6
+
7
+ <pre>
8
+ gem install lazibi
9
+ </pre>
10
+
11
+ h1. From source
12
+
13
+ <pre>
14
+ svn checkout svn://rubyforge.org/var/svn/lazibi/trunk lazibi
15
+ cd lazibi
16
+ rake local_deploy
17
+ </pre>
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.3
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: lazibi
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.13
7
- date: 2007-06-22 00:00:00 +08:00
8
- summary: Python like syntax for Ruby
6
+ version: 0.1.14
7
+ date: 2007-06-29 00:00:00 +08:00
8
+ summary: Python like indenting for Ruby
9
9
  require_paths:
10
10
  - lib
11
11
  email: nfjinjing@gmail.com
12
12
  homepage: http://lazibi.rubyforge.org
13
13
  rubyforge_project: lazibi
14
- description: Python like syntax for Ruby
14
+ description: Python like indenting for Ruby
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
@@ -36,107 +36,128 @@ files:
36
36
  - README.txt
37
37
  - Rakefile
38
38
  - bin/lazibi
39
- - coverage/index.html
40
- - coverage/lib-helper-parser_helper_rb.html
41
- - coverage/lib-helper-task_helper_rb.html
42
- - coverage/lib-lazibi-version_rb.html
43
- - coverage/lib-lazibi_rb.html
44
- - coverage/lib-parser_rb.html
45
- - coverage/lib-task_rb.html
46
- - lib/helper/app_helper.rb
47
- - lib/helper/parser_helper.rb
39
+ - config/lazibi_config_template.rb
40
+ - lib/core/beautify_engine.rb
41
+ - lib/core/default_engine.rb
42
+ - lib/core/engine_base.rb
43
+ - lib/filter/beautify_filter.rb
44
+ - lib/filter/filter_base.rb
45
+ - lib/filter/optional_do_filter.rb
46
+ - lib/filter/optional_end_filter.rb
47
+ - lib/filter/syntax_guard_filter.rb
48
+ - lib/helper/application_helper.rb
49
+ - lib/helper/beautify_filter_helper.rb
50
+ - lib/helper/filter_helper.rb
48
51
  - lib/helper/task_helper.rb
49
52
  - lib/lazibi.rb
50
53
  - lib/lazibi/version.rb
51
- - lib/parser.rb
52
54
  - lib/task.rb
53
- - lib/vendor/beautifier.rb
54
55
  - scripts/rdoc2html
55
56
  - scripts/txt2html
56
- - test/fixtures/clean/comment_break.txt
57
- - test/fixtures/clean/complex_string.txt
58
- - test/fixtures/clean/end_concat.txt
59
- - test/fixtures/clean/long_indent.txt
60
- - test/fixtures/clean/mixed_re.txt
61
- - test/fixtures/clean/only_if.txt
62
- - test/fixtures/clean/re.txt
63
- - test/fixtures/clean/semi_colon_after_end.txt
64
- - test/fixtures/clean/sep_line.txt
65
- - test/fixtures/clean/unless_problem.txt
66
- - test/fixtures/functional/ruby/brackets_block.txt
67
- - test/fixtures/functional/ruby/classical.txt
68
- - test/fixtures/functional/ruby/describe.txt
69
- - test/fixtures/functional/ruby/do_block.txt
70
- - test/fixtures/functional/ruby/lambda.txt
71
- - test/fixtures/functional/ruby/square_brackets.txt
72
- - test/fixtures/functional/simply/brackets_block.txt
73
- - test/fixtures/functional/simply/classical.txt
74
- - test/fixtures/functional/simply/describe.txt
75
- - test/fixtures/functional/simply/do_block.txt
76
- - test/fixtures/functional/simply/lambda.txt
77
- - test/fixtures/functional/simply/square_brackets.txt
78
- - test/fixtures/meta/basic_class.txt
79
- - test/fixtures/meta/case.txt
80
- - test/fixtures/meta/class_with_def.txt
81
- - test/fixtures/meta/comment.txt
82
- - test/fixtures/meta/comment_after_end.txt
83
- - test/fixtures/meta/eval_code.txt
84
- - test/fixtures/meta/here_doc.txt
85
- - test/fixtures/meta/inline_do_end.txt
86
- - test/fixtures/meta/inline_end.txt
87
- - test/fixtures/meta/loop.txt
88
- - test/fixtures/meta/middle.txt
89
- - test/fixtures/meta/multi_blocks.txt
90
- - test/fixtures/meta/nested_comment.txt
91
- - test/fixtures/meta/optional_do.txt
92
- - test/fixtures/meta/optional_do_with_nasty_chars.txt
93
- - test/fixtures/meta/partial_method.txt
94
- - test/fixtures/meta/single_method.txt
95
- - test/fixtures/meta/two_methods.txt
96
- - test/fixtures/real/basic_class.txt
97
- - test/fixtures/real/case.txt
98
- - test/fixtures/real/class_with_def.txt
99
- - test/fixtures/real/comment.txt
100
- - test/fixtures/real/comment_after_end.txt
101
- - test/fixtures/real/comment_after_end_expected.txt
102
- - test/fixtures/real/comment_break.txt
103
- - test/fixtures/real/complex_string.txt
104
- - test/fixtures/real/end_concat.txt
105
- - test/fixtures/real/eval_code.txt
106
- - test/fixtures/real/general_eval.txt
107
- - test/fixtures/real/here_doc.txt
108
- - test/fixtures/real/inline_do_end.txt
109
- - test/fixtures/real/inline_end.txt
110
- - test/fixtures/real/javascript.txt
111
- - test/fixtures/real/long_indent.txt
112
- - test/fixtures/real/loop.txt
113
- - test/fixtures/real/middle.txt
114
- - test/fixtures/real/mixed_re.txt
115
- - test/fixtures/real/multi_blocks.txt
116
- - test/fixtures/real/nested_comment.txt
117
- - test/fixtures/real/only_if.txt
118
- - test/fixtures/real/optional_do.txt
119
- - test/fixtures/real/optional_do_with_nasty_chars.txt
120
- - test/fixtures/real/partial_method.txt
121
- - test/fixtures/real/re.txt
122
- - test/fixtures/real/semi_colon_after_end.txt
123
- - test/fixtures/real/sep_line.txt
124
- - test/fixtures/real/single_method.txt
125
- - test/fixtures/real/strange_syntax_1.txt
126
- - test/fixtures/real/two_methods.txt
127
- - test/fixtures/real/unless_problem.txt
128
- - test/test_functional.rb
129
- - test/test_helper.rb
130
- - test/test_unit.rb
131
- - website/index.html
132
- - website/index.txt
133
- - website/javascripts/rounded_corners_lite.inc.js
134
- - website/stylesheets/screen.css
135
- - website/template.rhtml
136
- test_files:
137
- - test/test_functional.rb
138
- - test/test_helper.rb
139
- - test/test_unit.rb
57
+ - spec/core/beautify_engine_spec.rb
58
+ - spec/core/default_engine_spec.rb
59
+ - spec/core/engine_base_spec.rb
60
+ - spec/filter/beautify_filter_spec.rb
61
+ - spec/filter/filter_spec_helper.rb
62
+ - spec/filter/optional_do_filter_spec.rb
63
+ - spec/filter/optional_end_filter_spec.rb
64
+ - spec/filter/syntax_guard_filter_spec.rb
65
+ - spec/fixtures/beautify/metas/square_brackets.txt
66
+ - spec/fixtures/beautify/rbs/square_brackets.txt
67
+ - spec/fixtures/clean/comment_break.txt
68
+ - spec/fixtures/clean/complex_string.txt
69
+ - spec/fixtures/clean/end_concat.txt
70
+ - spec/fixtures/clean/long_indent.txt
71
+ - spec/fixtures/clean/mixed_re.txt
72
+ - spec/fixtures/clean/only_if.txt
73
+ - spec/fixtures/clean/re.txt
74
+ - spec/fixtures/clean/semi_colon_after_end.txt
75
+ - spec/fixtures/clean/sep_line.txt
76
+ - spec/fixtures/clean/unless_problem.txt
77
+ - spec/fixtures/meta/basic_class.txt
78
+ - spec/fixtures/meta/case.txt
79
+ - spec/fixtures/meta/class_with_def.txt
80
+ - spec/fixtures/meta/comment.txt
81
+ - spec/fixtures/meta/comment_after_end.txt
82
+ - spec/fixtures/meta/eval_code.txt
83
+ - spec/fixtures/meta/here_doc.txt
84
+ - spec/fixtures/meta/inline_do_end.txt
85
+ - spec/fixtures/meta/inline_end.txt
86
+ - spec/fixtures/meta/loop.txt
87
+ - spec/fixtures/meta/middle.txt
88
+ - spec/fixtures/meta/multi_blocks.txt
89
+ - spec/fixtures/meta/nested_comment.txt
90
+ - spec/fixtures/meta/optional_do.txt
91
+ - spec/fixtures/meta/optional_do_with_nasty_chars.txt
92
+ - spec/fixtures/meta/partial_method.txt
93
+ - spec/fixtures/meta/single_method.txt
94
+ - spec/fixtures/meta/two_methods.txt
95
+ - spec/fixtures/optional_do/metas/brackets_block.txt
96
+ - spec/fixtures/optional_do/metas/classical.txt
97
+ - spec/fixtures/optional_do/metas/describe.txt
98
+ - spec/fixtures/optional_do/metas/do_block.txt
99
+ - spec/fixtures/optional_do/metas/lambda.txt
100
+ - spec/fixtures/optional_do/metas/square_brackets.txt
101
+ - spec/fixtures/optional_do/rbs/brackets_block.txt
102
+ - spec/fixtures/optional_do/rbs/classical.txt
103
+ - spec/fixtures/optional_do/rbs/describe.txt
104
+ - spec/fixtures/optional_do/rbs/do_block.txt
105
+ - spec/fixtures/optional_do/rbs/lambda.txt
106
+ - spec/fixtures/optional_do/rbs/square_brackets.txt
107
+ - spec/fixtures/real/basic_class.txt
108
+ - spec/fixtures/real/case.txt
109
+ - spec/fixtures/real/class_with_def.txt
110
+ - spec/fixtures/real/comment.txt
111
+ - spec/fixtures/real/comment_after_end.txt
112
+ - spec/fixtures/real/comment_after_end_expected.txt
113
+ - spec/fixtures/real/comment_break.txt
114
+ - spec/fixtures/real/complex_string.txt
115
+ - spec/fixtures/real/end_concat.txt
116
+ - spec/fixtures/real/eval_code.txt
117
+ - spec/fixtures/real/general_eval.txt
118
+ - spec/fixtures/real/here_doc.txt
119
+ - spec/fixtures/real/inline_do_end.txt
120
+ - spec/fixtures/real/inline_end.txt
121
+ - spec/fixtures/real/javascript.txt
122
+ - spec/fixtures/real/long_indent.txt
123
+ - spec/fixtures/real/loop.txt
124
+ - spec/fixtures/real/middle.txt
125
+ - spec/fixtures/real/mixed_re.txt
126
+ - spec/fixtures/real/multi_blocks.txt
127
+ - spec/fixtures/real/nested_comment.txt
128
+ - spec/fixtures/real/only_if.txt
129
+ - spec/fixtures/real/optional_do.txt
130
+ - spec/fixtures/real/optional_do_with_nasty_chars.txt
131
+ - spec/fixtures/real/partial_method.txt
132
+ - spec/fixtures/real/re.txt
133
+ - spec/fixtures/real/semi_colon_after_end.txt
134
+ - spec/fixtures/real/sep_line.txt
135
+ - spec/fixtures/real/single_method.txt
136
+ - spec/fixtures/real/strange_syntax_1.txt
137
+ - spec/fixtures/real/two_methods.txt
138
+ - spec/fixtures/real/unless_problem.txt
139
+ - spec/helper/filter_helper_spec.rb
140
+ - spec/helper/task_helper_spec.rb
141
+ - spec/lazibi_spec.rb
142
+ - spec/spec_helper.rb
143
+ - webgen/src/code/examples/migration.py.rb
144
+ - webgen/src/code/examples/rspec.py.rb
145
+ - webgen/src/css/blossom_base.css
146
+ - webgen/src/css/blossom_v05.css
147
+ - webgen/src/css/code.css
148
+ - webgen/src/css/hack.css
149
+ - webgen/src/css/print.css
150
+ - webgen/src/default.template
151
+ - webgen/src/development.page
152
+ - webgen/src/documentation.page
153
+ - webgen/src/faq.page
154
+ - webgen/src/images/cover_landscape.jpg
155
+ - webgen/src/images/example_picture03.jpg
156
+ - webgen/src/images/example_picture04.jpg
157
+ - webgen/src/index.page
158
+ - webgen/src/installation.page
159
+ test_files: []
160
+
140
161
  rdoc_options:
141
162
  - --main
142
163
  - README.txt
@@ -145,84 +166,102 @@ extra_rdoc_files:
145
166
  - License.txt
146
167
  - Manifest.txt
147
168
  - README.txt
148
- - test/fixtures/clean/comment_break.txt
149
- - test/fixtures/clean/complex_string.txt
150
- - test/fixtures/clean/end_concat.txt
151
- - test/fixtures/clean/long_indent.txt
152
- - test/fixtures/clean/mixed_re.txt
153
- - test/fixtures/clean/only_if.txt
154
- - test/fixtures/clean/re.txt
155
- - test/fixtures/clean/semi_colon_after_end.txt
156
- - test/fixtures/clean/sep_line.txt
157
- - test/fixtures/clean/unless_problem.txt
158
- - test/fixtures/functional/ruby/brackets_block.txt
159
- - test/fixtures/functional/ruby/classical.txt
160
- - test/fixtures/functional/ruby/describe.txt
161
- - test/fixtures/functional/ruby/do_block.txt
162
- - test/fixtures/functional/ruby/lambda.txt
163
- - test/fixtures/functional/ruby/square_brackets.txt
164
- - test/fixtures/functional/simply/brackets_block.txt
165
- - test/fixtures/functional/simply/classical.txt
166
- - test/fixtures/functional/simply/describe.txt
167
- - test/fixtures/functional/simply/do_block.txt
168
- - test/fixtures/functional/simply/lambda.txt
169
- - test/fixtures/functional/simply/square_brackets.txt
170
- - test/fixtures/meta/basic_class.txt
171
- - test/fixtures/meta/case.txt
172
- - test/fixtures/meta/class_with_def.txt
173
- - test/fixtures/meta/comment.txt
174
- - test/fixtures/meta/comment_after_end.txt
175
- - test/fixtures/meta/eval_code.txt
176
- - test/fixtures/meta/here_doc.txt
177
- - test/fixtures/meta/inline_do_end.txt
178
- - test/fixtures/meta/inline_end.txt
179
- - test/fixtures/meta/loop.txt
180
- - test/fixtures/meta/middle.txt
181
- - test/fixtures/meta/multi_blocks.txt
182
- - test/fixtures/meta/nested_comment.txt
183
- - test/fixtures/meta/optional_do.txt
184
- - test/fixtures/meta/optional_do_with_nasty_chars.txt
185
- - test/fixtures/meta/partial_method.txt
186
- - test/fixtures/meta/single_method.txt
187
- - test/fixtures/meta/two_methods.txt
188
- - test/fixtures/real/basic_class.txt
189
- - test/fixtures/real/case.txt
190
- - test/fixtures/real/class_with_def.txt
191
- - test/fixtures/real/comment.txt
192
- - test/fixtures/real/comment_after_end.txt
193
- - test/fixtures/real/comment_after_end_expected.txt
194
- - test/fixtures/real/comment_break.txt
195
- - test/fixtures/real/complex_string.txt
196
- - test/fixtures/real/end_concat.txt
197
- - test/fixtures/real/eval_code.txt
198
- - test/fixtures/real/general_eval.txt
199
- - test/fixtures/real/here_doc.txt
200
- - test/fixtures/real/inline_do_end.txt
201
- - test/fixtures/real/inline_end.txt
202
- - test/fixtures/real/javascript.txt
203
- - test/fixtures/real/long_indent.txt
204
- - test/fixtures/real/loop.txt
205
- - test/fixtures/real/middle.txt
206
- - test/fixtures/real/mixed_re.txt
207
- - test/fixtures/real/multi_blocks.txt
208
- - test/fixtures/real/nested_comment.txt
209
- - test/fixtures/real/only_if.txt
210
- - test/fixtures/real/optional_do.txt
211
- - test/fixtures/real/optional_do_with_nasty_chars.txt
212
- - test/fixtures/real/partial_method.txt
213
- - test/fixtures/real/re.txt
214
- - test/fixtures/real/semi_colon_after_end.txt
215
- - test/fixtures/real/sep_line.txt
216
- - test/fixtures/real/single_method.txt
217
- - test/fixtures/real/strange_syntax_1.txt
218
- - test/fixtures/real/two_methods.txt
219
- - test/fixtures/real/unless_problem.txt
220
- - website/index.txt
169
+ - spec/fixtures/beautify/metas/square_brackets.txt
170
+ - spec/fixtures/beautify/rbs/square_brackets.txt
171
+ - spec/fixtures/clean/comment_break.txt
172
+ - spec/fixtures/clean/complex_string.txt
173
+ - spec/fixtures/clean/end_concat.txt
174
+ - spec/fixtures/clean/long_indent.txt
175
+ - spec/fixtures/clean/mixed_re.txt
176
+ - spec/fixtures/clean/only_if.txt
177
+ - spec/fixtures/clean/re.txt
178
+ - spec/fixtures/clean/semi_colon_after_end.txt
179
+ - spec/fixtures/clean/sep_line.txt
180
+ - spec/fixtures/clean/unless_problem.txt
181
+ - spec/fixtures/meta/basic_class.txt
182
+ - spec/fixtures/meta/case.txt
183
+ - spec/fixtures/meta/class_with_def.txt
184
+ - spec/fixtures/meta/comment.txt
185
+ - spec/fixtures/meta/comment_after_end.txt
186
+ - spec/fixtures/meta/eval_code.txt
187
+ - spec/fixtures/meta/here_doc.txt
188
+ - spec/fixtures/meta/inline_do_end.txt
189
+ - spec/fixtures/meta/inline_end.txt
190
+ - spec/fixtures/meta/loop.txt
191
+ - spec/fixtures/meta/middle.txt
192
+ - spec/fixtures/meta/multi_blocks.txt
193
+ - spec/fixtures/meta/nested_comment.txt
194
+ - spec/fixtures/meta/optional_do.txt
195
+ - spec/fixtures/meta/optional_do_with_nasty_chars.txt
196
+ - spec/fixtures/meta/partial_method.txt
197
+ - spec/fixtures/meta/single_method.txt
198
+ - spec/fixtures/meta/two_methods.txt
199
+ - spec/fixtures/optional_do/metas/brackets_block.txt
200
+ - spec/fixtures/optional_do/metas/classical.txt
201
+ - spec/fixtures/optional_do/metas/describe.txt
202
+ - spec/fixtures/optional_do/metas/do_block.txt
203
+ - spec/fixtures/optional_do/metas/lambda.txt
204
+ - spec/fixtures/optional_do/metas/square_brackets.txt
205
+ - spec/fixtures/optional_do/rbs/brackets_block.txt
206
+ - spec/fixtures/optional_do/rbs/classical.txt
207
+ - spec/fixtures/optional_do/rbs/describe.txt
208
+ - spec/fixtures/optional_do/rbs/do_block.txt
209
+ - spec/fixtures/optional_do/rbs/lambda.txt
210
+ - spec/fixtures/optional_do/rbs/square_brackets.txt
211
+ - spec/fixtures/real/basic_class.txt
212
+ - spec/fixtures/real/case.txt
213
+ - spec/fixtures/real/class_with_def.txt
214
+ - spec/fixtures/real/comment.txt
215
+ - spec/fixtures/real/comment_after_end.txt
216
+ - spec/fixtures/real/comment_after_end_expected.txt
217
+ - spec/fixtures/real/comment_break.txt
218
+ - spec/fixtures/real/complex_string.txt
219
+ - spec/fixtures/real/end_concat.txt
220
+ - spec/fixtures/real/eval_code.txt
221
+ - spec/fixtures/real/general_eval.txt
222
+ - spec/fixtures/real/here_doc.txt
223
+ - spec/fixtures/real/inline_do_end.txt
224
+ - spec/fixtures/real/inline_end.txt
225
+ - spec/fixtures/real/javascript.txt
226
+ - spec/fixtures/real/long_indent.txt
227
+ - spec/fixtures/real/loop.txt
228
+ - spec/fixtures/real/middle.txt
229
+ - spec/fixtures/real/mixed_re.txt
230
+ - spec/fixtures/real/multi_blocks.txt
231
+ - spec/fixtures/real/nested_comment.txt
232
+ - spec/fixtures/real/only_if.txt
233
+ - spec/fixtures/real/optional_do.txt
234
+ - spec/fixtures/real/optional_do_with_nasty_chars.txt
235
+ - spec/fixtures/real/partial_method.txt
236
+ - spec/fixtures/real/re.txt
237
+ - spec/fixtures/real/semi_colon_after_end.txt
238
+ - spec/fixtures/real/sep_line.txt
239
+ - spec/fixtures/real/single_method.txt
240
+ - spec/fixtures/real/strange_syntax_1.txt
241
+ - spec/fixtures/real/two_methods.txt
242
+ - spec/fixtures/real/unless_problem.txt
221
243
  executables:
222
244
  - lazibi
223
245
  extensions: []
224
246
 
225
247
  requirements: []
226
248
 
227
- dependencies: []
228
-
249
+ dependencies:
250
+ - !ruby/object:Gem::Dependency
251
+ name: webgen
252
+ version_requirement:
253
+ version_requirements: !ruby/object:Gem::Version::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: 0.4.4
258
+ version:
259
+ - !ruby/object:Gem::Dependency
260
+ name: activesupport
261
+ version_requirement:
262
+ version_requirements: !ruby/object:Gem::Version::Requirement
263
+ requirements:
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ version: 1.4.2
267
+ version:
data/coverage/index.html DELETED
@@ -1,476 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
3
- <head>
4
- <title>C0 code coverage information</title>
5
- <style type='text/css'>body { background-color: rgb(240, 240, 245); }</style>
6
- <style type='text/css'>span.cross-ref-title {
7
- font-size: 140%;
8
- }
9
- span.cross-ref a {
10
- text-decoration: none;
11
- }
12
- span.cross-ref {
13
- background-color:#f3f7fa;
14
- border: 1px dashed #333;
15
- margin: 1em;
16
- padding: 0.5em;
17
- overflow: hidden;
18
- }
19
- a.crossref-toggle {
20
- text-decoration: none;
21
- }
22
- span.marked0 {
23
- background-color: rgb(185, 210, 200);
24
- display: block;
25
- }
26
- span.marked1 {
27
- background-color: rgb(190, 215, 205);
28
- display: block;
29
- }
30
- span.inferred0 {
31
- background-color: rgb(175, 200, 200);
32
- display: block;
33
- }
34
- span.inferred1 {
35
- background-color: rgb(180, 205, 205);
36
- display: block;
37
- }
38
- span.uncovered0 {
39
- background-color: rgb(225, 110, 110);
40
- display: block;
41
- }
42
- span.uncovered1 {
43
- background-color: rgb(235, 120, 120);
44
- display: block;
45
- }
46
- span.overview {
47
- border-bottom: 8px solid black;
48
- }
49
- div.overview {
50
- border-bottom: 8px solid black;
51
- }
52
- body {
53
- font-family: verdana, arial, helvetica;
54
- }
55
- div.footer {
56
- font-size: 68%;
57
- margin-top: 1.5em;
58
- }
59
- h1, h2, h3, h4, h5, h6 {
60
- margin-bottom: 0.5em;
61
- }
62
- h5 {
63
- margin-top: 0.5em;
64
- }
65
- .hidden {
66
- display: none;
67
- }
68
- div.separator {
69
- height: 10px;
70
- }
71
- /* Commented out for better readability, esp. on IE */
72
- /*
73
- table tr td, table tr th {
74
- font-size: 68%;
75
- }
76
- td.value table tr td {
77
- font-size: 11px;
78
- }
79
- */
80
- table.percent_graph {
81
- height: 12px;
82
- border: #808080 1px solid;
83
- empty-cells: show;
84
- }
85
- table.percent_graph td.covered {
86
- height: 10px;
87
- background: #00f000;
88
- }
89
- table.percent_graph td.uncovered {
90
- height: 10px;
91
- background: #e00000;
92
- }
93
- table.percent_graph td.NA {
94
- height: 10px;
95
- background: #eaeaea;
96
- }
97
- table.report {
98
- border-collapse: collapse;
99
- width: 100%;
100
- }
101
- table.report td.heading {
102
- background: #dcecff;
103
- border: #d0d0d0 1px solid;
104
- font-weight: bold;
105
- text-align: center;
106
- }
107
- table.report td.heading:hover {
108
- background: #c0ffc0;
109
- }
110
- table.report td.text {
111
- border: #d0d0d0 1px solid;
112
- }
113
- table.report td.value,
114
- table.report td.lines_total,
115
- table.report td.lines_code {
116
- text-align: right;
117
- border: #d0d0d0 1px solid;
118
- }
119
- table.report tr.light {
120
- background-color: rgb(240, 240, 245);
121
- }
122
- table.report tr.dark {
123
- background-color: rgb(230, 230, 235);
124
- }
125
- </style>
126
- <script type='text/javascript'>
127
- // <![CDATA[
128
- function toggleCode( id ) {
129
- if ( document.getElementById )
130
- elem = document.getElementById( id );
131
- else if ( document.all )
132
- elem = eval( "document.all." + id );
133
- else
134
- return false;
135
-
136
- elemStyle = elem.style;
137
-
138
- if ( elemStyle.display != "block" ) {
139
- elemStyle.display = "block"
140
- } else {
141
- elemStyle.display = "none"
142
- }
143
-
144
- return true;
145
- }
146
-
147
- // Make cross-references hidden by default
148
- document.writeln( "<style type=\"text/css\">span.cross-ref { display: none }</style>" )
149
- // ]]>
150
- </script>
151
- </head>
152
- <body>
153
- <h3>C0 code coverage information</h3>
154
- <p>Generated on Wed Jun 20 18:49:36 +0800 2007 with <a href='http://eigenclass.org/hiki.rb?rcov'>rcov 0.8.0</a>
155
- </p>
156
- <hr /> <table class='report'>
157
- <thead>
158
- <tr>
159
- <td class='heading'>Name</td>
160
- <td class='heading'>Total lines</td>
161
- <td class='heading'>Lines of code</td>
162
- <td class='heading'>Total coverage</td>
163
- <td class='heading'>Code coverage</td>
164
- </tr>
165
- </thead>
166
- <tbody>
167
- <tr class='light'>
168
- <td>TOTAL</td>
169
- <td class='lines_total'>
170
- <tt>458</tt>
171
- </td>
172
- <td class='lines_code'>
173
- <tt>387</tt>
174
- </td>
175
- <td>
176
- <table cellspacing='0' cellpadding='0' align='right'>
177
- <tr>
178
- <td>
179
- <tt class='coverage_total'>71.6%</tt>&nbsp;</td>
180
- <td>
181
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
182
- <tr>
183
- <td class='covered' width='72' />
184
- <td class='uncovered' width='28' />
185
- </tr>
186
- </table>
187
- </td>
188
- </tr>
189
- </table>
190
- </td>
191
- <td>
192
- <table cellspacing='0' cellpadding='0' align='right'>
193
- <tr>
194
- <td>
195
- <tt class='coverage_code'>69.3%</tt>&nbsp;</td>
196
- <td>
197
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
198
- <tr>
199
- <td class='covered' width='69' />
200
- <td class='uncovered' width='31' />
201
- </tr>
202
- </table>
203
- </td>
204
- </tr>
205
- </table>
206
- </td>
207
- </tr>
208
- <tr class='dark'>
209
- <td>
210
- <a href='lib-helper-parser_helper_rb.html'>lib/helper/parser_helper.rb</a>
211
- </td>
212
- <td class='lines_total'>
213
- <tt>87</tt>
214
- </td>
215
- <td class='lines_code'>
216
- <tt>71</tt>
217
- </td>
218
- <td>
219
- <table cellspacing='0' cellpadding='0' align='right'>
220
- <tr>
221
- <td>
222
- <tt class='coverage_total'>93.1%</tt>&nbsp;</td>
223
- <td>
224
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
225
- <tr>
226
- <td class='covered' width='93' />
227
- <td class='uncovered' width='7' />
228
- </tr>
229
- </table>
230
- </td>
231
- </tr>
232
- </table>
233
- </td>
234
- <td>
235
- <table cellspacing='0' cellpadding='0' align='right'>
236
- <tr>
237
- <td>
238
- <tt class='coverage_code'>91.5%</tt>&nbsp;</td>
239
- <td>
240
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
241
- <tr>
242
- <td class='covered' width='92' />
243
- <td class='uncovered' width='8' />
244
- </tr>
245
- </table>
246
- </td>
247
- </tr>
248
- </table>
249
- </td>
250
- </tr>
251
- <tr class='light'>
252
- <td>
253
- <a href='lib-helper-task_helper_rb.html'>lib/helper/task_helper.rb</a>
254
- </td>
255
- <td class='lines_total'>
256
- <tt>53</tt>
257
- </td>
258
- <td class='lines_code'>
259
- <tt>48</tt>
260
- </td>
261
- <td>
262
- <table cellspacing='0' cellpadding='0' align='right'>
263
- <tr>
264
- <td>
265
- <tt class='coverage_total'>96.2%</tt>&nbsp;</td>
266
- <td>
267
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
268
- <tr>
269
- <td class='covered' width='96' />
270
- <td class='uncovered' width='4' />
271
- </tr>
272
- </table>
273
- </td>
274
- </tr>
275
- </table>
276
- </td>
277
- <td>
278
- <table cellspacing='0' cellpadding='0' align='right'>
279
- <tr>
280
- <td>
281
- <tt class='coverage_code'>95.8%</tt>&nbsp;</td>
282
- <td>
283
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
284
- <tr>
285
- <td class='covered' width='96' />
286
- <td class='uncovered' width='4' />
287
- </tr>
288
- </table>
289
- </td>
290
- </tr>
291
- </table>
292
- </td>
293
- </tr>
294
- <tr class='dark'>
295
- <td>
296
- <a href='lib-lazibi_rb.html'>lib/lazibi.rb</a>
297
- </td>
298
- <td class='lines_total'>
299
- <tt>33</tt>
300
- </td>
301
- <td class='lines_code'>
302
- <tt>30</tt>
303
- </td>
304
- <td>
305
- <table cellspacing='0' cellpadding='0' align='right'>
306
- <tr>
307
- <td>
308
- <tt class='coverage_total'>42.4%</tt>&nbsp;</td>
309
- <td>
310
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
311
- <tr>
312
- <td class='covered' width='42' />
313
- <td class='uncovered' width='58' />
314
- </tr>
315
- </table>
316
- </td>
317
- </tr>
318
- </table>
319
- </td>
320
- <td>
321
- <table cellspacing='0' cellpadding='0' align='right'>
322
- <tr>
323
- <td>
324
- <tt class='coverage_code'>40.0%</tt>&nbsp;</td>
325
- <td>
326
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
327
- <tr>
328
- <td class='covered' width='40' />
329
- <td class='uncovered' width='60' />
330
- </tr>
331
- </table>
332
- </td>
333
- </tr>
334
- </table>
335
- </td>
336
- </tr>
337
- <tr class='light'>
338
- <td>
339
- <a href='lib-lazibi-version_rb.html'>lib/lazibi/version.rb</a>
340
- </td>
341
- <td class='lines_total'>
342
- <tt>9</tt>
343
- </td>
344
- <td class='lines_code'>
345
- <tt>8</tt>
346
- </td>
347
- <td>
348
- <table cellspacing='0' cellpadding='0' align='right'>
349
- <tr>
350
- <td>
351
- <tt class='coverage_total'>100.0%</tt>&nbsp;</td>
352
- <td>
353
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
354
- <tr>
355
- <td class='covered' width='100' />
356
- <td class='uncovered' width='0' />
357
- </tr>
358
- </table>
359
- </td>
360
- </tr>
361
- </table>
362
- </td>
363
- <td>
364
- <table cellspacing='0' cellpadding='0' align='right'>
365
- <tr>
366
- <td>
367
- <tt class='coverage_code'>100.0%</tt>&nbsp;</td>
368
- <td>
369
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
370
- <tr>
371
- <td class='covered' width='100' />
372
- <td class='uncovered' width='0' />
373
- </tr>
374
- </table>
375
- </td>
376
- </tr>
377
- </table>
378
- </td>
379
- </tr>
380
- <tr class='dark'>
381
- <td>
382
- <a href='lib-parser_rb.html'>lib/parser.rb</a>
383
- </td>
384
- <td class='lines_total'>
385
- <tt>156</tt>
386
- </td>
387
- <td class='lines_code'>
388
- <tt>129</tt>
389
- </td>
390
- <td>
391
- <table cellspacing='0' cellpadding='0' align='right'>
392
- <tr>
393
- <td>
394
- <tt class='coverage_total'>92.3%</tt>&nbsp;</td>
395
- <td>
396
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
397
- <tr>
398
- <td class='covered' width='92' />
399
- <td class='uncovered' width='8' />
400
- </tr>
401
- </table>
402
- </td>
403
- </tr>
404
- </table>
405
- </td>
406
- <td>
407
- <table cellspacing='0' cellpadding='0' align='right'>
408
- <tr>
409
- <td>
410
- <tt class='coverage_code'>90.7%</tt>&nbsp;</td>
411
- <td>
412
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
413
- <tr>
414
- <td class='covered' width='91' />
415
- <td class='uncovered' width='9' />
416
- </tr>
417
- </table>
418
- </td>
419
- </tr>
420
- </table>
421
- </td>
422
- </tr>
423
- <tr class='light'>
424
- <td>
425
- <a href='lib-task_rb.html'>lib/task.rb</a>
426
- </td>
427
- <td class='lines_total'>
428
- <tt>120</tt>
429
- </td>
430
- <td class='lines_code'>
431
- <tt>101</tt>
432
- </td>
433
- <td>
434
- <table cellspacing='0' cellpadding='0' align='right'>
435
- <tr>
436
- <td>
437
- <tt class='coverage_total'>24.2%</tt>&nbsp;</td>
438
- <td>
439
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
440
- <tr>
441
- <td class='covered' width='24' />
442
- <td class='uncovered' width='76' />
443
- </tr>
444
- </table>
445
- </td>
446
- </tr>
447
- </table>
448
- </td>
449
- <td>
450
- <table cellspacing='0' cellpadding='0' align='right'>
451
- <tr>
452
- <td>
453
- <tt class='coverage_code'>19.8%</tt>&nbsp;</td>
454
- <td>
455
- <table cellspacing='0' class='percent_graph' cellpadding='0' width='100'>
456
- <tr>
457
- <td class='covered' width='20' />
458
- <td class='uncovered' width='80' />
459
- </tr>
460
- </table>
461
- </td>
462
- </tr>
463
- </table>
464
- </td>
465
- </tr>
466
- </tbody>
467
- </table><hr /> <p>Generated using the <a href='http://eigenclass.org/hiki.rb?rcov'>rcov code coverage analysis tool for Ruby</a> version 0.8.0.</p><p>
468
- <a href='http://validator.w3.org/check/referer'>
469
- <img src='http://www.w3.org/Icons/valid-xhtml11' height='31' alt='Valid XHTML 1.1!' width='88' />
470
- </a>
471
- <a href='http://jigsaw.w3.org/css-validator/check/referer'>
472
- <img src='http://jigsaw.w3.org/css-validator/images/vcss' alt='Valid CSS!' style='border:0;width:88px;height:31px' />
473
- </a>
474
- </p>
475
- </body>
476
- </html>