bhm-admin 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/Gemfile +4 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +64 -0
- data/app/controllers/admin/base_controller.rb +10 -0
- data/app/controllers/admin_controller.rb +21 -0
- data/app/views/admin/shared/_edit_base.html.haml +8 -0
- data/app/views/admin/shared/_footer.html.haml +1 -0
- data/app/views/admin/shared/_header.html.haml +7 -0
- data/app/views/admin/shared/_new_base.html.haml +8 -0
- data/app/views/admin/shared/_sections.html.haml +1 -0
- data/app/views/admin/shared/_sidebar.html.haml +2 -0
- data/app/views/layouts/admin.html.haml +29 -0
- data/bhm-admin.gemspec +119 -0
- data/compass/stylesheets/bhm/admin/_base.sass +25 -0
- data/compass/stylesheets/bhm/admin/_content.sass +11 -0
- data/compass/stylesheets/bhm/admin/_flash.sass +19 -0
- data/compass/stylesheets/bhm/admin/_footer.sass +5 -0
- data/compass/stylesheets/bhm/admin/_forms.sass +43 -0
- data/compass/stylesheets/bhm/admin/_formtastic.sass +136 -0
- data/compass/stylesheets/bhm/admin/_general.sass +32 -0
- data/compass/stylesheets/bhm/admin/_grid.sass +21 -0
- data/compass/stylesheets/bhm/admin/_header.sass +34 -0
- data/compass/stylesheets/bhm/admin/_listing.sass +80 -0
- data/compass/stylesheets/bhm/admin/_sidebar.sass +22 -0
- data/compass/stylesheets/bhm/admin/_util.sass +5 -0
- data/compass/templates/project/admin.sass +3 -0
- data/compass/templates/project/manifest.rb +1 -0
- data/config/locales/en.yml +12 -0
- data/lib/bhm/admin/attr_accessible_scoping.rb +53 -0
- data/lib/bhm/admin/compass_framework.rb +14 -0
- data/lib/bhm/admin/engine.rb +18 -0
- data/lib/bhm/admin/nested_form_helper.rb +6 -0
- data/lib/bhm/admin/presentation_helper.rb +60 -0
- data/lib/bhm/admin/sidebar_helper.rb +75 -0
- data/lib/bhm/admin.rb +38 -0
- data/lib/bhm-admin.rb +1 -0
- data/lib/generators/bhm_admin/resource/resource_generator.rb +26 -0
- data/lib/generators/bhm_admin/resource/templates/_form.html.haml +0 -0
- data/lib/generators/bhm_admin/resource/templates/controller.rb +2 -0
- data/lib/generators/bhm_admin/resource/templates/edit.html.haml +1 -0
- data/lib/generators/bhm_admin/resource/templates/index.html.haml +21 -0
- data/lib/generators/bhm_admin/resource/templates/new.html.haml +1 -0
- data/lib/generators/bhm_admin/resource/templates/show.html.haml +5 -0
- data/test/helper.rb +10 -0
- data/test/test_bhm_admin.rb +7 -0
- metadata +233 -0
metadata
ADDED
@@ -0,0 +1,233 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bhm-admin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Darcy Laycock
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-05-02 00:00:00 +08:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: will_paginate
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: inherited_resources
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
41
|
+
version: "0"
|
42
|
+
type: :runtime
|
43
|
+
version_requirements: *id002
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: show_for
|
46
|
+
prerelease: false
|
47
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
segments:
|
52
|
+
- 0
|
53
|
+
version: "0"
|
54
|
+
type: :runtime
|
55
|
+
version_requirements: *id003
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: compass
|
58
|
+
prerelease: false
|
59
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
- 10
|
66
|
+
- 0
|
67
|
+
- rc4
|
68
|
+
version: 0.10.0.rc4
|
69
|
+
type: :runtime
|
70
|
+
version_requirements: *id004
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: fancy-buttons
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
type: :runtime
|
82
|
+
version_requirements: *id005
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: compass-960-plugin
|
85
|
+
prerelease: false
|
86
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
segments:
|
91
|
+
- 0
|
92
|
+
version: "0"
|
93
|
+
type: :runtime
|
94
|
+
version_requirements: *id006
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: compass-colors
|
97
|
+
prerelease: false
|
98
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
type: :runtime
|
106
|
+
version_requirements: *id007
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: jammit
|
109
|
+
prerelease: false
|
110
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
117
|
+
type: :runtime
|
118
|
+
version_requirements: *id008
|
119
|
+
- !ruby/object:Gem::Dependency
|
120
|
+
name: will_paginate
|
121
|
+
prerelease: false
|
122
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
segments:
|
127
|
+
- 0
|
128
|
+
version: "0"
|
129
|
+
type: :runtime
|
130
|
+
version_requirements: *id009
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: shoulda
|
133
|
+
prerelease: false
|
134
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
version: "0"
|
141
|
+
type: :development
|
142
|
+
version_requirements: *id010
|
143
|
+
description: Provides a reasonably dynamic and simple to use admin area for Rails 3 application. Built on a bunch of open source libraries.
|
144
|
+
email: sutto@sutto.net
|
145
|
+
executables: []
|
146
|
+
|
147
|
+
extensions: []
|
148
|
+
|
149
|
+
extra_rdoc_files:
|
150
|
+
- LICENSE
|
151
|
+
- README.rdoc
|
152
|
+
files:
|
153
|
+
- .document
|
154
|
+
- .gitignore
|
155
|
+
- Gemfile
|
156
|
+
- LICENSE
|
157
|
+
- README.rdoc
|
158
|
+
- Rakefile
|
159
|
+
- app/controllers/admin/base_controller.rb
|
160
|
+
- app/controllers/admin_controller.rb
|
161
|
+
- app/views/admin/shared/_edit_base.html.haml
|
162
|
+
- app/views/admin/shared/_footer.html.haml
|
163
|
+
- app/views/admin/shared/_header.html.haml
|
164
|
+
- app/views/admin/shared/_new_base.html.haml
|
165
|
+
- app/views/admin/shared/_sections.html.haml
|
166
|
+
- app/views/admin/shared/_sidebar.html.haml
|
167
|
+
- app/views/layouts/admin.html.haml
|
168
|
+
- bhm-admin.gemspec
|
169
|
+
- compass/stylesheets/bhm/admin/_base.sass
|
170
|
+
- compass/stylesheets/bhm/admin/_content.sass
|
171
|
+
- compass/stylesheets/bhm/admin/_flash.sass
|
172
|
+
- compass/stylesheets/bhm/admin/_footer.sass
|
173
|
+
- compass/stylesheets/bhm/admin/_forms.sass
|
174
|
+
- compass/stylesheets/bhm/admin/_formtastic.sass
|
175
|
+
- compass/stylesheets/bhm/admin/_general.sass
|
176
|
+
- compass/stylesheets/bhm/admin/_grid.sass
|
177
|
+
- compass/stylesheets/bhm/admin/_header.sass
|
178
|
+
- compass/stylesheets/bhm/admin/_listing.sass
|
179
|
+
- compass/stylesheets/bhm/admin/_sidebar.sass
|
180
|
+
- compass/stylesheets/bhm/admin/_util.sass
|
181
|
+
- compass/templates/project/admin.sass
|
182
|
+
- compass/templates/project/manifest.rb
|
183
|
+
- config/locales/en.yml
|
184
|
+
- lib/bhm-admin.rb
|
185
|
+
- lib/bhm/admin.rb
|
186
|
+
- lib/bhm/admin/attr_accessible_scoping.rb
|
187
|
+
- lib/bhm/admin/compass_framework.rb
|
188
|
+
- lib/bhm/admin/engine.rb
|
189
|
+
- lib/bhm/admin/nested_form_helper.rb
|
190
|
+
- lib/bhm/admin/presentation_helper.rb
|
191
|
+
- lib/bhm/admin/sidebar_helper.rb
|
192
|
+
- lib/generators/bhm_admin/resource/resource_generator.rb
|
193
|
+
- lib/generators/bhm_admin/resource/templates/_form.html.haml
|
194
|
+
- lib/generators/bhm_admin/resource/templates/controller.rb
|
195
|
+
- lib/generators/bhm_admin/resource/templates/edit.html.haml
|
196
|
+
- lib/generators/bhm_admin/resource/templates/index.html.haml
|
197
|
+
- lib/generators/bhm_admin/resource/templates/new.html.haml
|
198
|
+
- lib/generators/bhm_admin/resource/templates/show.html.haml
|
199
|
+
- test/helper.rb
|
200
|
+
- test/test_bhm_admin.rb
|
201
|
+
has_rdoc: true
|
202
|
+
homepage: http://github.com/Sutto/bhm_admin
|
203
|
+
licenses: []
|
204
|
+
|
205
|
+
post_install_message:
|
206
|
+
rdoc_options:
|
207
|
+
- --charset=UTF-8
|
208
|
+
require_paths:
|
209
|
+
- lib
|
210
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
segments:
|
215
|
+
- 0
|
216
|
+
version: "0"
|
217
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
segments:
|
222
|
+
- 0
|
223
|
+
version: "0"
|
224
|
+
requirements: []
|
225
|
+
|
226
|
+
rubyforge_project:
|
227
|
+
rubygems_version: 1.3.6
|
228
|
+
signing_key:
|
229
|
+
specification_version: 3
|
230
|
+
summary: Simple, Rails 3 + Compass admin area.
|
231
|
+
test_files:
|
232
|
+
- test/helper.rb
|
233
|
+
- test/test_bhm_admin.rb
|