honkster-erector 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/README.txt +116 -0
  2. data/VERSION.yml +4 -0
  3. data/bin/erector +14 -0
  4. data/lib/erector.rb +34 -0
  5. data/lib/erector/abstract_widget.rb +172 -0
  6. data/lib/erector/after_initialize.rb +34 -0
  7. data/lib/erector/caching.rb +93 -0
  8. data/lib/erector/convenience.rb +58 -0
  9. data/lib/erector/dependencies.rb +24 -0
  10. data/lib/erector/dependency.rb +30 -0
  11. data/lib/erector/erect/erect.rb +160 -0
  12. data/lib/erector/erect/erected.rb +75 -0
  13. data/lib/erector/erect/indenting.rb +36 -0
  14. data/lib/erector/erect/rhtml.treetop +233 -0
  15. data/lib/erector/errors.rb +12 -0
  16. data/lib/erector/extensions/hash.rb +21 -0
  17. data/lib/erector/extensions/object.rb +18 -0
  18. data/lib/erector/externals.rb +97 -0
  19. data/lib/erector/html.rb +352 -0
  20. data/lib/erector/inline.rb +37 -0
  21. data/lib/erector/jquery.rb +36 -0
  22. data/lib/erector/mixin.rb +12 -0
  23. data/lib/erector/needs.rb +94 -0
  24. data/lib/erector/output.rb +117 -0
  25. data/lib/erector/rails.rb +27 -0
  26. data/lib/erector/rails/extensions/action_controller.rb +16 -0
  27. data/lib/erector/rails/extensions/rails_helpers.rb +159 -0
  28. data/lib/erector/rails/extensions/rails_widget.rb +126 -0
  29. data/lib/erector/rails/rails_form_builder.rb +24 -0
  30. data/lib/erector/rails/rails_version.rb +6 -0
  31. data/lib/erector/rails/template_handlers/ert_handler.rb +32 -0
  32. data/lib/erector/rails/template_handlers/rb_handler.rb +52 -0
  33. data/lib/erector/raw_string.rb +8 -0
  34. data/lib/erector/sass.rb +22 -0
  35. data/lib/erector/unicode.rb +18185 -0
  36. data/lib/erector/unicode_builder.rb +67 -0
  37. data/lib/erector/version.rb +12 -0
  38. data/lib/erector/widget.rb +54 -0
  39. data/lib/erector/widgets.rb +6 -0
  40. data/lib/erector/widgets/environment_badge.rb +29 -0
  41. data/lib/erector/widgets/external_renderer.rb +51 -0
  42. data/lib/erector/widgets/field_table.rb +110 -0
  43. data/lib/erector/widgets/form.rb +30 -0
  44. data/lib/erector/widgets/page.rb +165 -0
  45. data/lib/erector/widgets/table.rb +104 -0
  46. data/rails/init.rb +4 -0
  47. data/spec/erect/erect_rails_spec.rb +114 -0
  48. data/spec/erect/erect_spec.rb +175 -0
  49. data/spec/erect/erected_spec.rb +164 -0
  50. data/spec/erect/rhtml_parser_spec.rb +361 -0
  51. data/spec/erector/caching_spec.rb +269 -0
  52. data/spec/erector/convenience_spec.rb +259 -0
  53. data/spec/erector/dependency_spec.rb +67 -0
  54. data/spec/erector/externals_spec.rb +236 -0
  55. data/spec/erector/html_spec.rb +509 -0
  56. data/spec/erector/indentation_spec.rb +211 -0
  57. data/spec/erector/inline_spec.rb +94 -0
  58. data/spec/erector/jquery_spec.rb +35 -0
  59. data/spec/erector/mixin_spec.rb +65 -0
  60. data/spec/erector/needs_spec.rb +120 -0
  61. data/spec/erector/output_spec.rb +199 -0
  62. data/spec/erector/sample-file.txt +1 -0
  63. data/spec/erector/sass_spec.rb +33 -0
  64. data/spec/erector/unicode_builder_spec.rb +75 -0
  65. data/spec/erector/widget_spec.rb +250 -0
  66. data/spec/erector/widgets/field_table_spec.rb +133 -0
  67. data/spec/erector/widgets/form_spec.rb +31 -0
  68. data/spec/erector/widgets/page_spec.rb +85 -0
  69. data/spec/erector/widgets/table_spec.rb +99 -0
  70. data/spec/spec_helper.rb +95 -0
  71. metadata +191 -0
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: honkster-erector
3
+ version: !ruby/object:Gem::Version
4
+ hash: 61
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 8
9
+ - 1
10
+ version: 0.8.1
11
+ platform: ruby
12
+ authors:
13
+ - Alex Chaffee
14
+ - Brian Takita
15
+ - Jeff Dean
16
+ - Jim Kingdon
17
+ autorequire:
18
+ bindir: bin
19
+ cert_chain: []
20
+
21
+ date: 2010-10-19 00:00:00 -07:00
22
+ default_executable: erector
23
+ dependencies:
24
+ - !ruby/object:Gem::Dependency
25
+ name: treetop
26
+ prerelease: false
27
+ requirement: &id001 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ hash: 25
33
+ segments:
34
+ - 1
35
+ - 2
36
+ - 3
37
+ version: 1.2.3
38
+ type: :runtime
39
+ version_requirements: *id001
40
+ - !ruby/object:Gem::Dependency
41
+ name: rake
42
+ prerelease: false
43
+ requirement: &id002 !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ hash: 3
49
+ segments:
50
+ - 0
51
+ version: "0"
52
+ type: :runtime
53
+ version_requirements: *id002
54
+ description: Erector is a Builder-like view framework, inspired by Markaby but overcoming some of its flaws. In Erector all views are objects, not template files, which allows the full power of object-oriented programming (inheritance, modular decomposition, encapsulation) in views.
55
+ email: erector@googlegroups.com
56
+ executables:
57
+ - erector
58
+ extensions: []
59
+
60
+ extra_rdoc_files:
61
+ - README.txt
62
+ files:
63
+ - README.txt
64
+ - VERSION.yml
65
+ - bin/erector
66
+ - lib/erector.rb
67
+ - lib/erector/abstract_widget.rb
68
+ - lib/erector/after_initialize.rb
69
+ - lib/erector/caching.rb
70
+ - lib/erector/convenience.rb
71
+ - lib/erector/dependencies.rb
72
+ - lib/erector/dependency.rb
73
+ - lib/erector/erect/erect.rb
74
+ - lib/erector/erect/erected.rb
75
+ - lib/erector/erect/indenting.rb
76
+ - lib/erector/erect/rhtml.treetop
77
+ - lib/erector/errors.rb
78
+ - lib/erector/extensions/hash.rb
79
+ - lib/erector/extensions/object.rb
80
+ - lib/erector/externals.rb
81
+ - lib/erector/html.rb
82
+ - lib/erector/inline.rb
83
+ - lib/erector/jquery.rb
84
+ - lib/erector/mixin.rb
85
+ - lib/erector/needs.rb
86
+ - lib/erector/output.rb
87
+ - lib/erector/rails.rb
88
+ - lib/erector/rails/extensions/action_controller.rb
89
+ - lib/erector/rails/extensions/rails_helpers.rb
90
+ - lib/erector/rails/extensions/rails_widget.rb
91
+ - lib/erector/rails/rails_form_builder.rb
92
+ - lib/erector/rails/rails_version.rb
93
+ - lib/erector/rails/template_handlers/ert_handler.rb
94
+ - lib/erector/rails/template_handlers/rb_handler.rb
95
+ - lib/erector/raw_string.rb
96
+ - lib/erector/sass.rb
97
+ - lib/erector/unicode.rb
98
+ - lib/erector/unicode_builder.rb
99
+ - lib/erector/version.rb
100
+ - lib/erector/widget.rb
101
+ - lib/erector/widgets.rb
102
+ - lib/erector/widgets/environment_badge.rb
103
+ - lib/erector/widgets/external_renderer.rb
104
+ - lib/erector/widgets/field_table.rb
105
+ - lib/erector/widgets/form.rb
106
+ - lib/erector/widgets/page.rb
107
+ - lib/erector/widgets/table.rb
108
+ - rails/init.rb
109
+ - spec/erect/erected_spec.rb
110
+ - spec/erect/erect_spec.rb
111
+ - spec/erect/rhtml_parser_spec.rb
112
+ - spec/erect/erect_rails_spec.rb
113
+ - spec/spec_helper.rb
114
+ - spec/erector/sass_spec.rb
115
+ - spec/erector/sample-file.txt
116
+ - spec/erector/indentation_spec.rb
117
+ - spec/erector/dependency_spec.rb
118
+ - spec/erector/widget_spec.rb
119
+ - spec/erector/caching_spec.rb
120
+ - spec/erector/inline_spec.rb
121
+ - spec/erector/output_spec.rb
122
+ - spec/erector/jquery_spec.rb
123
+ - spec/erector/mixin_spec.rb
124
+ - spec/erector/unicode_builder_spec.rb
125
+ - spec/erector/convenience_spec.rb
126
+ - spec/erector/html_spec.rb
127
+ - spec/erector/needs_spec.rb
128
+ - spec/erector/externals_spec.rb
129
+ - spec/erector/widgets/form_spec.rb
130
+ - spec/erector/widgets/page_spec.rb
131
+ - spec/erector/widgets/table_spec.rb
132
+ - spec/erector/widgets/field_table_spec.rb
133
+ has_rdoc: true
134
+ homepage: http://erector.rubyforge.org/
135
+ licenses: []
136
+
137
+ post_install_message:
138
+ rdoc_options:
139
+ - --charset=UTF-8
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
160
+ requirements: []
161
+
162
+ rubyforge_project: erector
163
+ rubygems_version: 1.3.7
164
+ signing_key:
165
+ specification_version: 3
166
+ summary: Html Builder library.
167
+ test_files:
168
+ - spec/erect/erected_spec.rb
169
+ - spec/erect/erect_spec.rb
170
+ - spec/erect/rhtml_parser_spec.rb
171
+ - spec/erect/erect_rails_spec.rb
172
+ - spec/spec_helper.rb
173
+ - spec/erector/sass_spec.rb
174
+ - spec/erector/sample-file.txt
175
+ - spec/erector/indentation_spec.rb
176
+ - spec/erector/dependency_spec.rb
177
+ - spec/erector/widget_spec.rb
178
+ - spec/erector/caching_spec.rb
179
+ - spec/erector/inline_spec.rb
180
+ - spec/erector/output_spec.rb
181
+ - spec/erector/jquery_spec.rb
182
+ - spec/erector/mixin_spec.rb
183
+ - spec/erector/unicode_builder_spec.rb
184
+ - spec/erector/convenience_spec.rb
185
+ - spec/erector/html_spec.rb
186
+ - spec/erector/needs_spec.rb
187
+ - spec/erector/externals_spec.rb
188
+ - spec/erector/widgets/form_spec.rb
189
+ - spec/erector/widgets/page_spec.rb
190
+ - spec/erector/widgets/table_spec.rb
191
+ - spec/erector/widgets/field_table_spec.rb