wheels 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/app/controllers/blogs_controller.rb +7 -6
- data/app/controllers/galleries_controller.rb +3 -3
- data/app/controllers/pages_controller.rb +11 -0
- data/app/controllers/profiles_controller.rb +1 -1
- data/app/helpers/blogs_helper.rb +10 -0
- data/app/helpers/pages_helper.rb +11 -0
- data/app/models/ability.rb +20 -3
- data/app/models/blog.rb +2 -1
- data/app/models/image.rb +3 -1
- data/app/models/page.rb +5 -0
- data/app/models/page_revision.rb +2 -0
- data/app/models/profile.rb +1 -0
- data/app/models/tagging.rb +4 -0
- data/app/models/user.rb +17 -12
- data/app/views/blogs/_form.html.haml +4 -10
- data/app/views/blogs/index.html.haml +4 -0
- data/app/views/blogs/show.html.haml +3 -4
- data/app/views/galleries/_form.html.haml +3 -2
- data/app/views/galleries/_show.html.haml +2 -2
- data/app/views/galleries/show.html.haml +2 -2
- data/app/views/layouts/application.html.haml +48 -0
- data/app/views/pages/_form.html.haml +19 -0
- data/app/views/pages/edit.html.haml +7 -0
- data/app/views/pages/index.html.haml +21 -0
- data/app/views/pages/new.html.haml +5 -0
- data/app/views/pages/show.html.haml +6 -0
- data/db/migrate/create_blogs.rb +1 -1
- data/db/migrate/create_roles.rb +0 -3
- data/db/migrate/insert_admin_user_and_roles.rb +4 -4
- data/lib/generators/app_layout/LICENCE +20 -0
- data/lib/generators/app_layout/USAGE +8 -0
- data/lib/generators/app_layout/app_layout_generator.rb +18 -0
- data/lib/generators/app_layout/core_extensions.rb +51 -0
- data/lib/generators/update_wheels/LICENCE +20 -0
- data/lib/generators/update_wheels/USAGE +8 -0
- data/lib/generators/update_wheels/core_extensions.rb +51 -0
- data/lib/generators/update_wheels/recipes/wheels.rb +11 -0
- data/lib/generators/update_wheels/templates/cancan/ability.rb +13 -0
- data/lib/generators/update_wheels/templates/database/postgresql.yml +19 -0
- data/lib/generators/update_wheels/templates/git/gitignore +8 -0
- data/lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml +9 -0
- data/lib/generators/update_wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb +4 -0
- data/lib/generators/update_wheels/templates/mongoid/features/support/hooks.rb +3 -0
- data/lib/generators/update_wheels/update_wheels_generator.rb +43 -0
- data/lib/generators/wheels/recipes/cancan.rb +3 -3
- data/lib/generators/wheels/recipes/haml.rb +2 -2
- data/lib/generators/wheels/recipes/recipes.rb +164 -0
- data/lib/generators/wheels/recipes/wheels.rb +41 -35
- data/lib/generators/wheels/templates/haml/app/views/layouts/application.html.haml +0 -9
- data/lib/generators/wheels/views_generator.rb +15 -0
- data/lib/generators/wheels/wheels_generator.rb +1 -1
- data/lib/generators/wheels_views/LICENCE +20 -0
- data/lib/generators/wheels_views/USAGE +8 -0
- data/lib/generators/wheels_views/wheels_views_generator.rb +15 -0
- data/lib/wheels/action_view_helper_extensions.rb +9 -0
- data/lib/wheels/active_record_extensions.rb +44 -0
- data/lib/wheels/active_record_user_extensions.rb +34 -0
- data/lib/wheels/user.rb +32 -0
- data/lib/wheels/wheels_engine.rb +7 -0
- data/lib/wheels.rb +2 -0
- data/public/javascripts/galleries/configure_ckeditor.js +8 -0
- data/public/javascripts/jqUrl.js +28 -0
- data/public/stylesheets/dreamy.css +3 -1
- data/public/stylesheets/sass/dreamy.sass +3 -0
- data/public/stylesheets/sass/wheels.sass +25 -0
- data/wheels.gemspec +42 -2
- metadata +44 -4
@@ -37,7 +37,8 @@ a {
|
|
37
37
|
|
38
38
|
#header {
|
39
39
|
height: 140px;
|
40
|
-
background: url(/images/dreamy/bg-header.jpg) no-repeat;
|
40
|
+
background: url(/images/dreamy/bg-header.jpg) no-repeat;
|
41
|
+
}
|
41
42
|
|
42
43
|
#menu {
|
43
44
|
height: 35px;
|
@@ -179,3 +180,4 @@ table.no_border {
|
|
179
180
|
border-style: none;
|
180
181
|
border-width: 0;
|
181
182
|
cell-padding: 0; }
|
183
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
body
|
2
|
+
background: url(/images/dreamy/bg-body.png) repeat-x top center #e8f7f9
|
3
|
+
font-family: "Trebuchet MS" Arial, Helvetica, sans-serif
|
4
|
+
font-size: 62.5%
|
5
|
+
/* Sets default font size to 10px
|
6
|
+
color: #222222
|
7
|
+
|
8
|
+
*
|
9
|
+
margin: 0
|
10
|
+
padding: 0
|
11
|
+
|
12
|
+
img
|
13
|
+
border: 0
|
14
|
+
|
15
|
+
p
|
16
|
+
margin-bottom: 1.75em
|
17
|
+
|
18
|
+
ul.tag_list li
|
19
|
+
list-style: none
|
20
|
+
width: 100%
|
21
|
+
min-height: 300px
|
22
|
+
float: left
|
23
|
+
margin: 0 10px 10px 0
|
24
|
+
text-align: center
|
25
|
+
|
data/wheels.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wheels}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.18"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tyler Gannon"]
|
12
|
-
s.date = %q{2010-08-
|
12
|
+
s.date = %q{2010-08-16}
|
13
13
|
s.description = %q{Call rails generate wheels.}
|
14
14
|
s.email = %q{tgannon@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -23,14 +23,20 @@ Gem::Specification.new do |s|
|
|
23
23
|
"app/controllers/blogs_controller.rb",
|
24
24
|
"app/controllers/galleries_controller.rb",
|
25
25
|
"app/controllers/images_controller.rb",
|
26
|
+
"app/controllers/pages_controller.rb",
|
26
27
|
"app/controllers/profiles_controller.rb",
|
27
28
|
"app/controllers/users_controller.rb",
|
29
|
+
"app/helpers/blogs_helper.rb",
|
30
|
+
"app/helpers/pages_helper.rb",
|
28
31
|
"app/models/ability.rb",
|
29
32
|
"app/models/blog.rb",
|
30
33
|
"app/models/gallery.rb",
|
31
34
|
"app/models/image.rb",
|
35
|
+
"app/models/page.rb",
|
36
|
+
"app/models/page_revision.rb",
|
32
37
|
"app/models/profile.rb",
|
33
38
|
"app/models/role.rb",
|
39
|
+
"app/models/tagging.rb",
|
34
40
|
"app/models/user.rb",
|
35
41
|
"app/views/blogs/_form.html.haml",
|
36
42
|
"app/views/blogs/edit.html.haml",
|
@@ -56,7 +62,13 @@ Gem::Specification.new do |s|
|
|
56
62
|
"app/views/images/show.html.haml",
|
57
63
|
"app/views/images/show.js.haml",
|
58
64
|
"app/views/images/update.js.haml",
|
65
|
+
"app/views/layouts/application.html.haml",
|
59
66
|
"app/views/layouts/image_dialog.html.haml",
|
67
|
+
"app/views/pages/_form.html.haml",
|
68
|
+
"app/views/pages/edit.html.haml",
|
69
|
+
"app/views/pages/index.html.haml",
|
70
|
+
"app/views/pages/new.html.haml",
|
71
|
+
"app/views/pages/show.html.haml",
|
60
72
|
"app/views/profiles/_form.html.haml",
|
61
73
|
"app/views/profiles/edit.html.haml",
|
62
74
|
"app/views/profiles/index.html.haml",
|
@@ -72,6 +84,21 @@ Gem::Specification.new do |s|
|
|
72
84
|
"db/migrate/create_roles.rb",
|
73
85
|
"db/migrate/insert_admin_user_and_roles.rb",
|
74
86
|
"init.rb",
|
87
|
+
"lib/generators/app_layout/LICENCE",
|
88
|
+
"lib/generators/app_layout/USAGE",
|
89
|
+
"lib/generators/app_layout/app_layout_generator.rb",
|
90
|
+
"lib/generators/app_layout/core_extensions.rb",
|
91
|
+
"lib/generators/update_wheels/LICENCE",
|
92
|
+
"lib/generators/update_wheels/USAGE",
|
93
|
+
"lib/generators/update_wheels/core_extensions.rb",
|
94
|
+
"lib/generators/update_wheels/recipes/wheels.rb",
|
95
|
+
"lib/generators/update_wheels/templates/cancan/ability.rb",
|
96
|
+
"lib/generators/update_wheels/templates/database/postgresql.yml",
|
97
|
+
"lib/generators/update_wheels/templates/git/gitignore",
|
98
|
+
"lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml",
|
99
|
+
"lib/generators/update_wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb",
|
100
|
+
"lib/generators/update_wheels/templates/mongoid/features/support/hooks.rb",
|
101
|
+
"lib/generators/update_wheels/update_wheels_generator.rb",
|
75
102
|
"lib/generators/wheels/LICENCE",
|
76
103
|
"lib/generators/wheels/USAGE",
|
77
104
|
"lib/generators/wheels/core_extensions.rb",
|
@@ -86,6 +113,7 @@ Gem::Specification.new do |s|
|
|
86
113
|
"lib/generators/wheels/recipes/jquery.rb",
|
87
114
|
"lib/generators/wheels/recipes/mongoid.rb",
|
88
115
|
"lib/generators/wheels/recipes/postgresql.rb",
|
116
|
+
"lib/generators/wheels/recipes/recipes.rb",
|
89
117
|
"lib/generators/wheels/recipes/remarkable.rb",
|
90
118
|
"lib/generators/wheels/recipes/rspec.rb",
|
91
119
|
"lib/generators/wheels/recipes/wheels.rb",
|
@@ -97,10 +125,19 @@ Gem::Specification.new do |s|
|
|
97
125
|
"lib/generators/wheels/templates/haml/app/views/layouts/application.html.haml",
|
98
126
|
"lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb",
|
99
127
|
"lib/generators/wheels/templates/mongoid/features/support/hooks.rb",
|
128
|
+
"lib/generators/wheels/views_generator.rb",
|
100
129
|
"lib/generators/wheels/wheels_generator.rb",
|
130
|
+
"lib/generators/wheels_views/LICENCE",
|
131
|
+
"lib/generators/wheels_views/USAGE",
|
132
|
+
"lib/generators/wheels_views/wheels_views_generator.rb",
|
101
133
|
"lib/wheels.rb",
|
102
134
|
"lib/wheels/action_controller_extensions.rb",
|
135
|
+
"lib/wheels/action_view_helper_extensions.rb",
|
136
|
+
"lib/wheels/active_record_extensions.rb",
|
137
|
+
"lib/wheels/active_record_user_extensions.rb",
|
103
138
|
"lib/wheels/routes.rb",
|
139
|
+
"lib/wheels/user.rb",
|
140
|
+
"lib/wheels/wheels_engine.rb",
|
104
141
|
"public/404.html",
|
105
142
|
"public/422.html",
|
106
143
|
"public/500.html",
|
@@ -127,6 +164,8 @@ Gem::Specification.new do |s|
|
|
127
164
|
"public/images/menu/lava.png",
|
128
165
|
"public/images/menu/main-bg.png",
|
129
166
|
"public/images/menu/main-delimiter.png",
|
167
|
+
"public/javascripts/galleries/configure_ckeditor.js",
|
168
|
+
"public/javascripts/jqUrl.js",
|
130
169
|
"public/javascripts/jquery.growl.js",
|
131
170
|
"public/javascripts/loadbehind.js",
|
132
171
|
"public/javascripts/menu.js",
|
@@ -134,6 +173,7 @@ Gem::Specification.new do |s|
|
|
134
173
|
"public/stylesheets/menu.css",
|
135
174
|
"public/stylesheets/sass/dreamy.sass",
|
136
175
|
"public/stylesheets/sass/menu.sass",
|
176
|
+
"public/stylesheets/sass/wheels.sass",
|
137
177
|
"public/stylesheets/scaffold.css",
|
138
178
|
"public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif",
|
139
179
|
"public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wheels
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 18
|
10
|
+
version: 0.0.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tyler Gannon
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-08-
|
18
|
+
date: 2010-08-16 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -48,14 +48,20 @@ files:
|
|
48
48
|
- app/controllers/blogs_controller.rb
|
49
49
|
- app/controllers/galleries_controller.rb
|
50
50
|
- app/controllers/images_controller.rb
|
51
|
+
- app/controllers/pages_controller.rb
|
51
52
|
- app/controllers/profiles_controller.rb
|
52
53
|
- app/controllers/users_controller.rb
|
54
|
+
- app/helpers/blogs_helper.rb
|
55
|
+
- app/helpers/pages_helper.rb
|
53
56
|
- app/models/ability.rb
|
54
57
|
- app/models/blog.rb
|
55
58
|
- app/models/gallery.rb
|
56
59
|
- app/models/image.rb
|
60
|
+
- app/models/page.rb
|
61
|
+
- app/models/page_revision.rb
|
57
62
|
- app/models/profile.rb
|
58
63
|
- app/models/role.rb
|
64
|
+
- app/models/tagging.rb
|
59
65
|
- app/models/user.rb
|
60
66
|
- app/views/blogs/_form.html.haml
|
61
67
|
- app/views/blogs/edit.html.haml
|
@@ -81,7 +87,13 @@ files:
|
|
81
87
|
- app/views/images/show.html.haml
|
82
88
|
- app/views/images/show.js.haml
|
83
89
|
- app/views/images/update.js.haml
|
90
|
+
- app/views/layouts/application.html.haml
|
84
91
|
- app/views/layouts/image_dialog.html.haml
|
92
|
+
- app/views/pages/_form.html.haml
|
93
|
+
- app/views/pages/edit.html.haml
|
94
|
+
- app/views/pages/index.html.haml
|
95
|
+
- app/views/pages/new.html.haml
|
96
|
+
- app/views/pages/show.html.haml
|
85
97
|
- app/views/profiles/_form.html.haml
|
86
98
|
- app/views/profiles/edit.html.haml
|
87
99
|
- app/views/profiles/index.html.haml
|
@@ -97,6 +109,21 @@ files:
|
|
97
109
|
- db/migrate/create_roles.rb
|
98
110
|
- db/migrate/insert_admin_user_and_roles.rb
|
99
111
|
- init.rb
|
112
|
+
- lib/generators/app_layout/LICENCE
|
113
|
+
- lib/generators/app_layout/USAGE
|
114
|
+
- lib/generators/app_layout/app_layout_generator.rb
|
115
|
+
- lib/generators/app_layout/core_extensions.rb
|
116
|
+
- lib/generators/update_wheels/LICENCE
|
117
|
+
- lib/generators/update_wheels/USAGE
|
118
|
+
- lib/generators/update_wheels/core_extensions.rb
|
119
|
+
- lib/generators/update_wheels/recipes/wheels.rb
|
120
|
+
- lib/generators/update_wheels/templates/cancan/ability.rb
|
121
|
+
- lib/generators/update_wheels/templates/database/postgresql.yml
|
122
|
+
- lib/generators/update_wheels/templates/git/gitignore
|
123
|
+
- lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml
|
124
|
+
- lib/generators/update_wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb
|
125
|
+
- lib/generators/update_wheels/templates/mongoid/features/support/hooks.rb
|
126
|
+
- lib/generators/update_wheels/update_wheels_generator.rb
|
100
127
|
- lib/generators/wheels/LICENCE
|
101
128
|
- lib/generators/wheels/USAGE
|
102
129
|
- lib/generators/wheels/core_extensions.rb
|
@@ -111,6 +138,7 @@ files:
|
|
111
138
|
- lib/generators/wheels/recipes/jquery.rb
|
112
139
|
- lib/generators/wheels/recipes/mongoid.rb
|
113
140
|
- lib/generators/wheels/recipes/postgresql.rb
|
141
|
+
- lib/generators/wheels/recipes/recipes.rb
|
114
142
|
- lib/generators/wheels/recipes/remarkable.rb
|
115
143
|
- lib/generators/wheels/recipes/rspec.rb
|
116
144
|
- lib/generators/wheels/recipes/wheels.rb
|
@@ -122,10 +150,19 @@ files:
|
|
122
150
|
- lib/generators/wheels/templates/haml/app/views/layouts/application.html.haml
|
123
151
|
- lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb
|
124
152
|
- lib/generators/wheels/templates/mongoid/features/support/hooks.rb
|
153
|
+
- lib/generators/wheels/views_generator.rb
|
125
154
|
- lib/generators/wheels/wheels_generator.rb
|
155
|
+
- lib/generators/wheels_views/LICENCE
|
156
|
+
- lib/generators/wheels_views/USAGE
|
157
|
+
- lib/generators/wheels_views/wheels_views_generator.rb
|
126
158
|
- lib/wheels.rb
|
127
159
|
- lib/wheels/action_controller_extensions.rb
|
160
|
+
- lib/wheels/action_view_helper_extensions.rb
|
161
|
+
- lib/wheels/active_record_extensions.rb
|
162
|
+
- lib/wheels/active_record_user_extensions.rb
|
128
163
|
- lib/wheels/routes.rb
|
164
|
+
- lib/wheels/user.rb
|
165
|
+
- lib/wheels/wheels_engine.rb
|
129
166
|
- public/404.html
|
130
167
|
- public/422.html
|
131
168
|
- public/500.html
|
@@ -152,6 +189,8 @@ files:
|
|
152
189
|
- public/images/menu/lava.png
|
153
190
|
- public/images/menu/main-bg.png
|
154
191
|
- public/images/menu/main-delimiter.png
|
192
|
+
- public/javascripts/galleries/configure_ckeditor.js
|
193
|
+
- public/javascripts/jqUrl.js
|
155
194
|
- public/javascripts/jquery.growl.js
|
156
195
|
- public/javascripts/loadbehind.js
|
157
196
|
- public/javascripts/menu.js
|
@@ -159,6 +198,7 @@ files:
|
|
159
198
|
- public/stylesheets/menu.css
|
160
199
|
- public/stylesheets/sass/dreamy.sass
|
161
200
|
- public/stylesheets/sass/menu.sass
|
201
|
+
- public/stylesheets/sass/wheels.sass
|
162
202
|
- public/stylesheets/scaffold.css
|
163
203
|
- public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif
|
164
204
|
- public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
|