hashbrowns 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rvmrc +1 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +79 -0
- data/LICENSE.txt +20 -0
- data/README.md +9 -0
- data/Rakefile +53 -0
- data/TODO +17 -0
- data/VERSION +1 -0
- data/example/.gitignore +15 -0
- data/example/.rvmrc +1 -0
- data/example/Gemfile +45 -0
- data/example/Gemfile.lock +143 -0
- data/example/README.rdoc +261 -0
- data/example/Rakefile +7 -0
- data/example/app/assets/images/rails.png +0 -0
- data/example/app/assets/javascripts/application.js +16 -0
- data/example/app/assets/javascripts/customers.js.coffee +3 -0
- data/example/app/assets/javascripts/destinations.js.coffee +3 -0
- data/example/app/assets/javascripts/orders.js.coffee +3 -0
- data/example/app/assets/stylesheets/application.css.scss +25 -0
- data/example/app/assets/stylesheets/bootstrap_and_overrides.css.scss +3 -0
- data/example/app/assets/stylesheets/customers.css.scss +3 -0
- data/example/app/assets/stylesheets/destinations.css.scss +3 -0
- data/example/app/assets/stylesheets/orders.css.scss +3 -0
- data/example/app/assets/stylesheets/scaffolds.css.scss +69 -0
- data/example/app/controllers/application_controller.rb +3 -0
- data/example/app/controllers/customers_controller.rb +90 -0
- data/example/app/controllers/destinations_controller.rb +89 -0
- data/example/app/controllers/orders_controller.rb +88 -0
- data/example/app/helpers/application_helper.rb +2 -0
- data/example/app/helpers/customers_helper.rb +2 -0
- data/example/app/helpers/destinations_helper.rb +2 -0
- data/example/app/helpers/orders_helper.rb +2 -0
- data/example/app/mailers/.gitkeep +0 -0
- data/example/app/models/.gitkeep +0 -0
- data/example/app/models/customer.rb +5 -0
- data/example/app/models/destination.rb +4 -0
- data/example/app/models/order.rb +5 -0
- data/example/app/views/customers/_form.html.erb +33 -0
- data/example/app/views/customers/edit.html.erb +6 -0
- data/example/app/views/customers/full.rabl +2 -0
- data/example/app/views/customers/index.html.erb +10 -0
- data/example/app/views/customers/index.rabl +5 -0
- data/example/app/views/customers/new.html.erb +5 -0
- data/example/app/views/customers/show.html.erb +25 -0
- data/example/app/views/customers/show.rabl +5 -0
- data/example/app/views/destinations/_form.html.erb +41 -0
- data/example/app/views/destinations/edit.html.erb +6 -0
- data/example/app/views/destinations/full.rabl +2 -0
- data/example/app/views/destinations/index.html.erb +10 -0
- data/example/app/views/destinations/index.rabl +5 -0
- data/example/app/views/destinations/new.html.erb +5 -0
- data/example/app/views/destinations/show.html.erb +35 -0
- data/example/app/views/destinations/show.rabl +5 -0
- data/example/app/views/layouts/application.html.erb +14 -0
- data/example/app/views/orders/_form.html.erb +29 -0
- data/example/app/views/orders/edit.html.erb +6 -0
- data/example/app/views/orders/full.rabl +2 -0
- data/example/app/views/orders/index.html.erb +10 -0
- data/example/app/views/orders/index.rabl +5 -0
- data/example/app/views/orders/new.html.erb +5 -0
- data/example/app/views/orders/show.html.erb +20 -0
- data/example/app/views/orders/show.rabl +8 -0
- data/example/config/application.rb +62 -0
- data/example/config/boot.rb +6 -0
- data/example/config/database.yml +20 -0
- data/example/config/environment.rb +5 -0
- data/example/config/environments/development.rb +37 -0
- data/example/config/environments/production.rb +67 -0
- data/example/config/environments/test.rb +37 -0
- data/example/config/initializers/backtrace_silencers.rb +7 -0
- data/example/config/initializers/hashbrowns.rb +34 -0
- data/example/config/initializers/inflections.rb +15 -0
- data/example/config/initializers/mime_types.rb +5 -0
- data/example/config/initializers/secret_token.rb +7 -0
- data/example/config/initializers/session_store.rb +8 -0
- data/example/config/initializers/wrap_parameters.rb +14 -0
- data/example/config/locales/en.yml +5 -0
- data/example/config/routes.rb +64 -0
- data/example/config.ru +4 -0
- data/example/db/migrate/20121102164922_create_customers.rb +12 -0
- data/example/db/migrate/20121102165116_create_orders.rb +12 -0
- data/example/db/migrate/20121102165208_create_destinations.rb +15 -0
- data/example/db/schema.rb +45 -0
- data/example/db/seeds.rb +51 -0
- data/example/lib/assets/.gitkeep +0 -0
- data/example/lib/tasks/.gitkeep +0 -0
- data/example/log/.gitkeep +0 -0
- data/example/public/404.html +26 -0
- data/example/public/422.html +26 -0
- data/example/public/500.html +25 -0
- data/example/public/favicon.ico +0 -0
- data/example/public/index.html +241 -0
- data/example/public/robots.txt +5 -0
- data/example/script/rails +6 -0
- data/example/test/fixtures/.gitkeep +0 -0
- data/example/test/fixtures/customers.yml +13 -0
- data/example/test/fixtures/destinations.yml +17 -0
- data/example/test/fixtures/orders.yml +11 -0
- data/example/test/functional/.gitkeep +0 -0
- data/example/test/functional/customers_controller_test.rb +49 -0
- data/example/test/functional/destinations_controller_test.rb +49 -0
- data/example/test/functional/orders_controller_test.rb +49 -0
- data/example/test/integration/.gitkeep +0 -0
- data/example/test/performance/browsing_test.rb +12 -0
- data/example/test/test_helper.rb +13 -0
- data/example/test/unit/.gitkeep +0 -0
- data/example/test/unit/customer_test.rb +7 -0
- data/example/test/unit/destination_test.rb +7 -0
- data/example/test/unit/helpers/customers_helper_test.rb +4 -0
- data/example/test/unit/helpers/destinations_helper_test.rb +4 -0
- data/example/test/unit/helpers/orders_helper_test.rb +4 -0
- data/example/test/unit/order_test.rb +7 -0
- data/example/vendor/assets/javascripts/.gitkeep +0 -0
- data/example/vendor/assets/stylesheets/.gitkeep +0 -0
- data/example/vendor/plugins/.gitkeep +0 -0
- data/hashbrowns.gemspec +185 -0
- data/lib/hashbrowns/configuration.rb +129 -0
- data/lib/hashbrowns/helpers/display_helpers.rb +27 -0
- data/lib/hashbrowns/helpers/links_helpers.rb +24 -0
- data/lib/hashbrowns/helpers/overview_helpers.rb +20 -0
- data/lib/hashbrowns/helpers/relations_helpers.rb +9 -0
- data/lib/hashbrowns/helpers/renderer_helpers.rb +12 -0
- data/lib/hashbrowns/railtie.rb +17 -0
- data/lib/hashbrowns/views/hashbrowns/_overview.html.haml +20 -0
- data/lib/hashbrowns/views/hashbrowns/_recursive_hash_tabler.html.haml +27 -0
- data/lib/hashbrowns.rb +16 -0
- data/test/helper.rb +18 -0
- data/test/test_hash_tabler.rb +7 -0
- 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: []
|