hashbrowns 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/.document +5 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +17 -0
  4. data/Gemfile.lock +79 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.md +9 -0
  7. data/Rakefile +53 -0
  8. data/TODO +17 -0
  9. data/VERSION +1 -0
  10. data/example/.gitignore +15 -0
  11. data/example/.rvmrc +1 -0
  12. data/example/Gemfile +45 -0
  13. data/example/Gemfile.lock +143 -0
  14. data/example/README.rdoc +261 -0
  15. data/example/Rakefile +7 -0
  16. data/example/app/assets/images/rails.png +0 -0
  17. data/example/app/assets/javascripts/application.js +16 -0
  18. data/example/app/assets/javascripts/customers.js.coffee +3 -0
  19. data/example/app/assets/javascripts/destinations.js.coffee +3 -0
  20. data/example/app/assets/javascripts/orders.js.coffee +3 -0
  21. data/example/app/assets/stylesheets/application.css.scss +25 -0
  22. data/example/app/assets/stylesheets/bootstrap_and_overrides.css.scss +3 -0
  23. data/example/app/assets/stylesheets/customers.css.scss +3 -0
  24. data/example/app/assets/stylesheets/destinations.css.scss +3 -0
  25. data/example/app/assets/stylesheets/orders.css.scss +3 -0
  26. data/example/app/assets/stylesheets/scaffolds.css.scss +69 -0
  27. data/example/app/controllers/application_controller.rb +3 -0
  28. data/example/app/controllers/customers_controller.rb +90 -0
  29. data/example/app/controllers/destinations_controller.rb +89 -0
  30. data/example/app/controllers/orders_controller.rb +88 -0
  31. data/example/app/helpers/application_helper.rb +2 -0
  32. data/example/app/helpers/customers_helper.rb +2 -0
  33. data/example/app/helpers/destinations_helper.rb +2 -0
  34. data/example/app/helpers/orders_helper.rb +2 -0
  35. data/example/app/mailers/.gitkeep +0 -0
  36. data/example/app/models/.gitkeep +0 -0
  37. data/example/app/models/customer.rb +5 -0
  38. data/example/app/models/destination.rb +4 -0
  39. data/example/app/models/order.rb +5 -0
  40. data/example/app/views/customers/_form.html.erb +33 -0
  41. data/example/app/views/customers/edit.html.erb +6 -0
  42. data/example/app/views/customers/full.rabl +2 -0
  43. data/example/app/views/customers/index.html.erb +10 -0
  44. data/example/app/views/customers/index.rabl +5 -0
  45. data/example/app/views/customers/new.html.erb +5 -0
  46. data/example/app/views/customers/show.html.erb +25 -0
  47. data/example/app/views/customers/show.rabl +5 -0
  48. data/example/app/views/destinations/_form.html.erb +41 -0
  49. data/example/app/views/destinations/edit.html.erb +6 -0
  50. data/example/app/views/destinations/full.rabl +2 -0
  51. data/example/app/views/destinations/index.html.erb +10 -0
  52. data/example/app/views/destinations/index.rabl +5 -0
  53. data/example/app/views/destinations/new.html.erb +5 -0
  54. data/example/app/views/destinations/show.html.erb +35 -0
  55. data/example/app/views/destinations/show.rabl +5 -0
  56. data/example/app/views/layouts/application.html.erb +14 -0
  57. data/example/app/views/orders/_form.html.erb +29 -0
  58. data/example/app/views/orders/edit.html.erb +6 -0
  59. data/example/app/views/orders/full.rabl +2 -0
  60. data/example/app/views/orders/index.html.erb +10 -0
  61. data/example/app/views/orders/index.rabl +5 -0
  62. data/example/app/views/orders/new.html.erb +5 -0
  63. data/example/app/views/orders/show.html.erb +20 -0
  64. data/example/app/views/orders/show.rabl +8 -0
  65. data/example/config/application.rb +62 -0
  66. data/example/config/boot.rb +6 -0
  67. data/example/config/database.yml +20 -0
  68. data/example/config/environment.rb +5 -0
  69. data/example/config/environments/development.rb +37 -0
  70. data/example/config/environments/production.rb +67 -0
  71. data/example/config/environments/test.rb +37 -0
  72. data/example/config/initializers/backtrace_silencers.rb +7 -0
  73. data/example/config/initializers/hashbrowns.rb +34 -0
  74. data/example/config/initializers/inflections.rb +15 -0
  75. data/example/config/initializers/mime_types.rb +5 -0
  76. data/example/config/initializers/secret_token.rb +7 -0
  77. data/example/config/initializers/session_store.rb +8 -0
  78. data/example/config/initializers/wrap_parameters.rb +14 -0
  79. data/example/config/locales/en.yml +5 -0
  80. data/example/config/routes.rb +64 -0
  81. data/example/config.ru +4 -0
  82. data/example/db/migrate/20121102164922_create_customers.rb +12 -0
  83. data/example/db/migrate/20121102165116_create_orders.rb +12 -0
  84. data/example/db/migrate/20121102165208_create_destinations.rb +15 -0
  85. data/example/db/schema.rb +45 -0
  86. data/example/db/seeds.rb +51 -0
  87. data/example/lib/assets/.gitkeep +0 -0
  88. data/example/lib/tasks/.gitkeep +0 -0
  89. data/example/log/.gitkeep +0 -0
  90. data/example/public/404.html +26 -0
  91. data/example/public/422.html +26 -0
  92. data/example/public/500.html +25 -0
  93. data/example/public/favicon.ico +0 -0
  94. data/example/public/index.html +241 -0
  95. data/example/public/robots.txt +5 -0
  96. data/example/script/rails +6 -0
  97. data/example/test/fixtures/.gitkeep +0 -0
  98. data/example/test/fixtures/customers.yml +13 -0
  99. data/example/test/fixtures/destinations.yml +17 -0
  100. data/example/test/fixtures/orders.yml +11 -0
  101. data/example/test/functional/.gitkeep +0 -0
  102. data/example/test/functional/customers_controller_test.rb +49 -0
  103. data/example/test/functional/destinations_controller_test.rb +49 -0
  104. data/example/test/functional/orders_controller_test.rb +49 -0
  105. data/example/test/integration/.gitkeep +0 -0
  106. data/example/test/performance/browsing_test.rb +12 -0
  107. data/example/test/test_helper.rb +13 -0
  108. data/example/test/unit/.gitkeep +0 -0
  109. data/example/test/unit/customer_test.rb +7 -0
  110. data/example/test/unit/destination_test.rb +7 -0
  111. data/example/test/unit/helpers/customers_helper_test.rb +4 -0
  112. data/example/test/unit/helpers/destinations_helper_test.rb +4 -0
  113. data/example/test/unit/helpers/orders_helper_test.rb +4 -0
  114. data/example/test/unit/order_test.rb +7 -0
  115. data/example/vendor/assets/javascripts/.gitkeep +0 -0
  116. data/example/vendor/assets/stylesheets/.gitkeep +0 -0
  117. data/example/vendor/plugins/.gitkeep +0 -0
  118. data/hashbrowns.gemspec +185 -0
  119. data/lib/hashbrowns/configuration.rb +129 -0
  120. data/lib/hashbrowns/helpers/display_helpers.rb +27 -0
  121. data/lib/hashbrowns/helpers/links_helpers.rb +24 -0
  122. data/lib/hashbrowns/helpers/overview_helpers.rb +20 -0
  123. data/lib/hashbrowns/helpers/relations_helpers.rb +9 -0
  124. data/lib/hashbrowns/helpers/renderer_helpers.rb +12 -0
  125. data/lib/hashbrowns/railtie.rb +17 -0
  126. data/lib/hashbrowns/views/hashbrowns/_overview.html.haml +20 -0
  127. data/lib/hashbrowns/views/hashbrowns/_recursive_hash_tabler.html.haml +27 -0
  128. data/lib/hashbrowns.rb +16 -0
  129. data/test/helper.rb +18 -0
  130. data/test/test_hash_tabler.rb +7 -0
  131. metadata +249 -0
metadata ADDED
@@ -0,0 +1,249 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hashbrowns
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - crimsonknave
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-13 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: haml-rails
16
+ requirement: &23582400 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *23582400
25
+ - !ruby/object:Gem::Dependency
26
+ name: rake
27
+ requirement: &23581440 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
32
+ version: 0.8.7
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *23581440
36
+ - !ruby/object:Gem::Dependency
37
+ name: shoulda
38
+ requirement: &23580780 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *23580780
47
+ - !ruby/object:Gem::Dependency
48
+ name: rdoc
49
+ requirement: &23580160 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *23580160
58
+ - !ruby/object:Gem::Dependency
59
+ name: bundler
60
+ requirement: &23579080 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *23579080
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: &23578100 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *23578100
80
+ description: Provides a DSL and helpers to convert hashes into html tables. Allows
81
+ you to create overviews with selected fields, define keys whose values link to a
82
+ url and so on.
83
+ email: crimsonknave@gmail.com
84
+ executables: []
85
+ extensions: []
86
+ extra_rdoc_files:
87
+ - LICENSE.txt
88
+ - README.md
89
+ - TODO
90
+ files:
91
+ - .document
92
+ - .rvmrc
93
+ - Gemfile
94
+ - Gemfile.lock
95
+ - LICENSE.txt
96
+ - README.md
97
+ - Rakefile
98
+ - TODO
99
+ - VERSION
100
+ - example/.gitignore
101
+ - example/.rvmrc
102
+ - example/Gemfile
103
+ - example/Gemfile.lock
104
+ - example/README.rdoc
105
+ - example/Rakefile
106
+ - example/app/assets/images/rails.png
107
+ - example/app/assets/javascripts/application.js
108
+ - example/app/assets/javascripts/customers.js.coffee
109
+ - example/app/assets/javascripts/destinations.js.coffee
110
+ - example/app/assets/javascripts/orders.js.coffee
111
+ - example/app/assets/stylesheets/application.css.scss
112
+ - example/app/assets/stylesheets/bootstrap_and_overrides.css.scss
113
+ - example/app/assets/stylesheets/customers.css.scss
114
+ - example/app/assets/stylesheets/destinations.css.scss
115
+ - example/app/assets/stylesheets/orders.css.scss
116
+ - example/app/assets/stylesheets/scaffolds.css.scss
117
+ - example/app/controllers/application_controller.rb
118
+ - example/app/controllers/customers_controller.rb
119
+ - example/app/controllers/destinations_controller.rb
120
+ - example/app/controllers/orders_controller.rb
121
+ - example/app/helpers/application_helper.rb
122
+ - example/app/helpers/customers_helper.rb
123
+ - example/app/helpers/destinations_helper.rb
124
+ - example/app/helpers/orders_helper.rb
125
+ - example/app/mailers/.gitkeep
126
+ - example/app/models/.gitkeep
127
+ - example/app/models/customer.rb
128
+ - example/app/models/destination.rb
129
+ - example/app/models/order.rb
130
+ - example/app/views/customers/_form.html.erb
131
+ - example/app/views/customers/edit.html.erb
132
+ - example/app/views/customers/full.rabl
133
+ - example/app/views/customers/index.html.erb
134
+ - example/app/views/customers/index.rabl
135
+ - example/app/views/customers/new.html.erb
136
+ - example/app/views/customers/show.html.erb
137
+ - example/app/views/customers/show.rabl
138
+ - example/app/views/destinations/_form.html.erb
139
+ - example/app/views/destinations/edit.html.erb
140
+ - example/app/views/destinations/full.rabl
141
+ - example/app/views/destinations/index.html.erb
142
+ - example/app/views/destinations/index.rabl
143
+ - example/app/views/destinations/new.html.erb
144
+ - example/app/views/destinations/show.html.erb
145
+ - example/app/views/destinations/show.rabl
146
+ - example/app/views/layouts/application.html.erb
147
+ - example/app/views/orders/_form.html.erb
148
+ - example/app/views/orders/edit.html.erb
149
+ - example/app/views/orders/full.rabl
150
+ - example/app/views/orders/index.html.erb
151
+ - example/app/views/orders/index.rabl
152
+ - example/app/views/orders/new.html.erb
153
+ - example/app/views/orders/show.html.erb
154
+ - example/app/views/orders/show.rabl
155
+ - example/config.ru
156
+ - example/config/application.rb
157
+ - example/config/boot.rb
158
+ - example/config/database.yml
159
+ - example/config/environment.rb
160
+ - example/config/environments/development.rb
161
+ - example/config/environments/production.rb
162
+ - example/config/environments/test.rb
163
+ - example/config/initializers/backtrace_silencers.rb
164
+ - example/config/initializers/hashbrowns.rb
165
+ - example/config/initializers/inflections.rb
166
+ - example/config/initializers/mime_types.rb
167
+ - example/config/initializers/secret_token.rb
168
+ - example/config/initializers/session_store.rb
169
+ - example/config/initializers/wrap_parameters.rb
170
+ - example/config/locales/en.yml
171
+ - example/config/routes.rb
172
+ - example/db/migrate/20121102164922_create_customers.rb
173
+ - example/db/migrate/20121102165116_create_orders.rb
174
+ - example/db/migrate/20121102165208_create_destinations.rb
175
+ - example/db/schema.rb
176
+ - example/db/seeds.rb
177
+ - example/lib/assets/.gitkeep
178
+ - example/lib/tasks/.gitkeep
179
+ - example/log/.gitkeep
180
+ - example/public/404.html
181
+ - example/public/422.html
182
+ - example/public/500.html
183
+ - example/public/favicon.ico
184
+ - example/public/index.html
185
+ - example/public/robots.txt
186
+ - example/script/rails
187
+ - example/test/fixtures/.gitkeep
188
+ - example/test/fixtures/customers.yml
189
+ - example/test/fixtures/destinations.yml
190
+ - example/test/fixtures/orders.yml
191
+ - example/test/functional/.gitkeep
192
+ - example/test/functional/customers_controller_test.rb
193
+ - example/test/functional/destinations_controller_test.rb
194
+ - example/test/functional/orders_controller_test.rb
195
+ - example/test/integration/.gitkeep
196
+ - example/test/performance/browsing_test.rb
197
+ - example/test/test_helper.rb
198
+ - example/test/unit/.gitkeep
199
+ - example/test/unit/customer_test.rb
200
+ - example/test/unit/destination_test.rb
201
+ - example/test/unit/helpers/customers_helper_test.rb
202
+ - example/test/unit/helpers/destinations_helper_test.rb
203
+ - example/test/unit/helpers/orders_helper_test.rb
204
+ - example/test/unit/order_test.rb
205
+ - example/vendor/assets/javascripts/.gitkeep
206
+ - example/vendor/assets/stylesheets/.gitkeep
207
+ - example/vendor/plugins/.gitkeep
208
+ - hashbrowns.gemspec
209
+ - lib/hashbrowns.rb
210
+ - lib/hashbrowns/configuration.rb
211
+ - lib/hashbrowns/helpers/display_helpers.rb
212
+ - lib/hashbrowns/helpers/links_helpers.rb
213
+ - lib/hashbrowns/helpers/overview_helpers.rb
214
+ - lib/hashbrowns/helpers/relations_helpers.rb
215
+ - lib/hashbrowns/helpers/renderer_helpers.rb
216
+ - lib/hashbrowns/railtie.rb
217
+ - lib/hashbrowns/views/hashbrowns/_overview.html.haml
218
+ - lib/hashbrowns/views/hashbrowns/_recursive_hash_tabler.html.haml
219
+ - test/helper.rb
220
+ - test/test_hash_tabler.rb
221
+ homepage: http://github.com/crimsonknave/hashbrowns
222
+ licenses:
223
+ - MIT
224
+ post_install_message:
225
+ rdoc_options: []
226
+ require_paths:
227
+ - lib
228
+ required_ruby_version: !ruby/object:Gem::Requirement
229
+ none: false
230
+ requirements:
231
+ - - ! '>='
232
+ - !ruby/object:Gem::Version
233
+ version: '0'
234
+ segments:
235
+ - 0
236
+ hash: -3107456364333181491
237
+ required_rubygems_version: !ruby/object:Gem::Requirement
238
+ none: false
239
+ requirements:
240
+ - - ! '>='
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ requirements: []
244
+ rubyforge_project:
245
+ rubygems_version: 1.8.11
246
+ signing_key:
247
+ specification_version: 3
248
+ summary: Cooks your hashes into html
249
+ test_files: []