grandstand 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. data/.gitignore +2 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README +7 -0
  4. data/Rakefile +44 -0
  5. data/VERSION +1 -0
  6. data/app/controllers/admin/galleries_controller.rb +52 -0
  7. data/app/controllers/admin/images_controller.rb +68 -0
  8. data/app/controllers/admin/main_controller.rb +36 -0
  9. data/app/controllers/admin/pages_controller.rb +51 -0
  10. data/app/controllers/admin/posts_controller.rb +48 -0
  11. data/app/controllers/admin/sessions_controller.rb +41 -0
  12. data/app/controllers/admin/templates_controller.rb +6 -0
  13. data/app/controllers/admin/users_controller.rb +48 -0
  14. data/app/controllers/galleries_controller.rb +5 -0
  15. data/app/controllers/pages_controller.rb +5 -0
  16. data/app/controllers/posts_controller.rb +5 -0
  17. data/app/helpers/admin/main_helper.rb +31 -0
  18. data/app/helpers/admin/pages_helper.rb +2 -0
  19. data/app/helpers/admin/posts_helper.rb +2 -0
  20. data/app/helpers/admin/sessions_helper.rb +2 -0
  21. data/app/helpers/admin/templates_helper.rb +2 -0
  22. data/app/helpers/admin/users_helper.rb +2 -0
  23. data/app/helpers/pages_helper.rb +2 -0
  24. data/app/helpers/posts_helper.rb +2 -0
  25. data/app/helpers/site_helper.rb +2 -0
  26. data/app/models/gallery.rb +22 -0
  27. data/app/models/image.rb +61 -0
  28. data/app/models/page.rb +45 -0
  29. data/app/models/page_section.rb +6 -0
  30. data/app/models/post.rb +27 -0
  31. data/app/models/template.rb +33 -0
  32. data/app/models/user.rb +68 -0
  33. data/app/stylesheets/_buttons.less +76 -0
  34. data/app/stylesheets/_dialogs.less +85 -0
  35. data/app/stylesheets/application.less +238 -0
  36. data/app/stylesheets/global.less +435 -0
  37. data/app/stylesheets/login.less +30 -0
  38. data/app/stylesheets/wysiwyg.less +96 -0
  39. data/app/views/admin/galleries/_form.html.erb +11 -0
  40. data/app/views/admin/galleries/_gallery.html.erb +16 -0
  41. data/app/views/admin/galleries/_list.html.erb +17 -0
  42. data/app/views/admin/galleries/delete.html.erb +8 -0
  43. data/app/views/admin/galleries/edit.html.erb +8 -0
  44. data/app/views/admin/galleries/editor.html.erb +13 -0
  45. data/app/views/admin/galleries/editor_with_images.html.erb +19 -0
  46. data/app/views/admin/galleries/index.html.erb +13 -0
  47. data/app/views/admin/galleries/new.html.erb +8 -0
  48. data/app/views/admin/galleries/show.html.erb +15 -0
  49. data/app/views/admin/images/_form.html.erb +11 -0
  50. data/app/views/admin/images/delete.html.erb +8 -0
  51. data/app/views/admin/images/edit.html.erb +8 -0
  52. data/app/views/admin/images/new.html.erb +8 -0
  53. data/app/views/admin/images/upload.html.erb +11 -0
  54. data/app/views/admin/main/index.html.erb +10 -0
  55. data/app/views/admin/pages/_form.html.erb +33 -0
  56. data/app/views/admin/pages/_left.html.erb +3 -0
  57. data/app/views/admin/pages/_row.html.erb +9 -0
  58. data/app/views/admin/pages/delete.html.erb +8 -0
  59. data/app/views/admin/pages/edit.html.erb +8 -0
  60. data/app/views/admin/pages/index.html.erb +20 -0
  61. data/app/views/admin/pages/new.html.erb +8 -0
  62. data/app/views/admin/pages/show.html.erb +3 -0
  63. data/app/views/admin/posts/_form.html.erb +29 -0
  64. data/app/views/admin/posts/_left.html.erb +3 -0
  65. data/app/views/admin/posts/_list.html.erb +22 -0
  66. data/app/views/admin/posts/delete.html.erb +9 -0
  67. data/app/views/admin/posts/edit.html.erb +10 -0
  68. data/app/views/admin/posts/index.html.erb +10 -0
  69. data/app/views/admin/posts/new.html.erb +10 -0
  70. data/app/views/admin/posts/show.html.erb +4 -0
  71. data/app/views/admin/sessions/forgot.html.erb +8 -0
  72. data/app/views/admin/sessions/show.html.erb +12 -0
  73. data/app/views/admin/shared/_flash.html.erb +3 -0
  74. data/app/views/admin/users/_form.html.erb +16 -0
  75. data/app/views/admin/users/_left.html.erb +3 -0
  76. data/app/views/admin/users/delete.html.erb +10 -0
  77. data/app/views/admin/users/edit.html.erb +8 -0
  78. data/app/views/admin/users/index.html.erb +22 -0
  79. data/app/views/admin/users/new.html.erb +8 -0
  80. data/app/views/admin/users/show.html.erb +12 -0
  81. data/app/views/galleries/index.html.erb +0 -0
  82. data/app/views/galleries/show.html.erb +12 -0
  83. data/app/views/layouts/admin.html.erb +80 -0
  84. data/app/views/layouts/admin_login.html.erb +17 -0
  85. data/app/views/layouts/admin_xhr.html.erb +3 -0
  86. data/app/views/pages/show.html.erb +8 -0
  87. data/app/views/posts/show.html.erb +3 -0
  88. data/app/views/shared/404.html.erb +5 -0
  89. data/app/views/shared/gallery.html +14 -0
  90. data/app/views/shared/image.html +1 -0
  91. data/app/views/shared/page.html +0 -0
  92. data/app/views/shared/post.html +3 -0
  93. data/grandstand.gemspec +189 -0
  94. data/lib/grandstand/application.rb +50 -0
  95. data/lib/grandstand/controller/development.rb +15 -0
  96. data/lib/grandstand/controller.rb +104 -0
  97. data/lib/grandstand/helper.rb +117 -0
  98. data/lib/grandstand/routes.rb +59 -0
  99. data/lib/grandstand/session.rb +25 -0
  100. data/lib/grandstand.rb +27 -0
  101. data/public/.DS_Store +0 -0
  102. data/public/admin/.DS_Store +0 -0
  103. data/public/admin/images/.DS_Store +0 -0
  104. data/public/admin/images/background-input.gif +0 -0
  105. data/public/admin/images/background-progress-bar.png +0 -0
  106. data/public/admin/images/background-progress-complete.gif +0 -0
  107. data/public/admin/images/background-progress.gif +0 -0
  108. data/public/admin/images/icons/.DS_Store +0 -0
  109. data/public/admin/images/icons/add.png +0 -0
  110. data/public/admin/images/icons/collapse.png +0 -0
  111. data/public/admin/images/icons/delete.png +0 -0
  112. data/public/admin/images/icons/edit.png +0 -0
  113. data/public/admin/images/icons/editor/bold.png +0 -0
  114. data/public/admin/images/icons/editor/gallery.png +0 -0
  115. data/public/admin/images/icons/editor/image-center.png +0 -0
  116. data/public/admin/images/icons/editor/image-left.png +0 -0
  117. data/public/admin/images/icons/editor/image-right.png +0 -0
  118. data/public/admin/images/icons/editor/image.png +0 -0
  119. data/public/admin/images/icons/editor/italic.png +0 -0
  120. data/public/admin/images/icons/editor/ordered-list.png +0 -0
  121. data/public/admin/images/icons/editor/quote.png +0 -0
  122. data/public/admin/images/icons/editor/source.png +0 -0
  123. data/public/admin/images/icons/editor/strikethrough.png +0 -0
  124. data/public/admin/images/icons/editor/underline.png +0 -0
  125. data/public/admin/images/icons/editor/unordered-list.png +0 -0
  126. data/public/admin/images/icons/error.png +0 -0
  127. data/public/admin/images/icons/expand.png +0 -0
  128. data/public/admin/images/icons/galleries.png +0 -0
  129. data/public/admin/images/icons/gallery.png +0 -0
  130. data/public/admin/images/icons/image.png +0 -0
  131. data/public/admin/images/icons/okay.png +0 -0
  132. data/public/admin/images/icons/pages.png +0 -0
  133. data/public/admin/images/icons/posts.png +0 -0
  134. data/public/admin/images/icons/upload.png +0 -0
  135. data/public/admin/images/icons/users.png +0 -0
  136. data/public/admin/images/logo.png +0 -0
  137. data/public/admin/images/spinner-dark.gif +0 -0
  138. data/public/admin/images/uploader.swf +0 -0
  139. data/public/admin/javascripts/application.js +231 -0
  140. data/public/admin/javascripts/jquery.js +404 -0
  141. data/public/admin/javascripts/mustache.js +324 -0
  142. data/public/admin/javascripts/selection.js +280 -0
  143. data/public/admin/javascripts/string.js +264 -0
  144. data/public/admin/javascripts/wysiwyg.js +335 -0
  145. data/public/admin/stylesheets/application.css +1 -0
  146. data/public/admin/stylesheets/global.css +1 -0
  147. data/public/admin/stylesheets/login.css +1 -0
  148. data/public/admin/stylesheets/wysiwyg-content.css +20 -0
  149. data/public/admin/stylesheets/wysiwyg.css +1 -0
  150. data/vendor/cache/more-0.1.1.gem +0 -0
  151. metadata +216 -0
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: grandstand
3
+ version: !ruby/object:Gem::Version
4
+ hash: 21
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 1
10
+ version: 0.2.1
11
+ platform: ruby
12
+ authors:
13
+ - Flip Sasser
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-07-29 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: "\n Grandstand is a simple blog and photo gallery application. It takes a minimal amount of configuration and can\n be built installed as a gem and used like any other thingymagig. It's totally cool.\n "
23
+ email: flip@x451.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - README
30
+ files:
31
+ - .gitignore
32
+ - MIT-LICENSE
33
+ - README
34
+ - Rakefile
35
+ - VERSION
36
+ - app/controllers/admin/galleries_controller.rb
37
+ - app/controllers/admin/images_controller.rb
38
+ - app/controllers/admin/main_controller.rb
39
+ - app/controllers/admin/pages_controller.rb
40
+ - app/controllers/admin/posts_controller.rb
41
+ - app/controllers/admin/sessions_controller.rb
42
+ - app/controllers/admin/templates_controller.rb
43
+ - app/controllers/admin/users_controller.rb
44
+ - app/controllers/galleries_controller.rb
45
+ - app/controllers/pages_controller.rb
46
+ - app/controllers/posts_controller.rb
47
+ - app/helpers/admin/main_helper.rb
48
+ - app/helpers/admin/pages_helper.rb
49
+ - app/helpers/admin/posts_helper.rb
50
+ - app/helpers/admin/sessions_helper.rb
51
+ - app/helpers/admin/templates_helper.rb
52
+ - app/helpers/admin/users_helper.rb
53
+ - app/helpers/pages_helper.rb
54
+ - app/helpers/posts_helper.rb
55
+ - app/helpers/site_helper.rb
56
+ - app/models/gallery.rb
57
+ - app/models/image.rb
58
+ - app/models/page.rb
59
+ - app/models/page_section.rb
60
+ - app/models/post.rb
61
+ - app/models/template.rb
62
+ - app/models/user.rb
63
+ - app/stylesheets/_buttons.less
64
+ - app/stylesheets/_dialogs.less
65
+ - app/stylesheets/application.less
66
+ - app/stylesheets/global.less
67
+ - app/stylesheets/login.less
68
+ - app/stylesheets/wysiwyg.less
69
+ - app/views/admin/galleries/_form.html.erb
70
+ - app/views/admin/galleries/_gallery.html.erb
71
+ - app/views/admin/galleries/_list.html.erb
72
+ - app/views/admin/galleries/delete.html.erb
73
+ - app/views/admin/galleries/edit.html.erb
74
+ - app/views/admin/galleries/editor.html.erb
75
+ - app/views/admin/galleries/editor_with_images.html.erb
76
+ - app/views/admin/galleries/index.html.erb
77
+ - app/views/admin/galleries/new.html.erb
78
+ - app/views/admin/galleries/show.html.erb
79
+ - app/views/admin/images/_form.html.erb
80
+ - app/views/admin/images/delete.html.erb
81
+ - app/views/admin/images/edit.html.erb
82
+ - app/views/admin/images/new.html.erb
83
+ - app/views/admin/images/upload.html.erb
84
+ - app/views/admin/main/index.html.erb
85
+ - app/views/admin/pages/_form.html.erb
86
+ - app/views/admin/pages/_left.html.erb
87
+ - app/views/admin/pages/_row.html.erb
88
+ - app/views/admin/pages/delete.html.erb
89
+ - app/views/admin/pages/edit.html.erb
90
+ - app/views/admin/pages/index.html.erb
91
+ - app/views/admin/pages/new.html.erb
92
+ - app/views/admin/pages/show.html.erb
93
+ - app/views/admin/posts/_form.html.erb
94
+ - app/views/admin/posts/_left.html.erb
95
+ - app/views/admin/posts/_list.html.erb
96
+ - app/views/admin/posts/delete.html.erb
97
+ - app/views/admin/posts/edit.html.erb
98
+ - app/views/admin/posts/index.html.erb
99
+ - app/views/admin/posts/new.html.erb
100
+ - app/views/admin/posts/show.html.erb
101
+ - app/views/admin/sessions/forgot.html.erb
102
+ - app/views/admin/sessions/show.html.erb
103
+ - app/views/admin/shared/_flash.html.erb
104
+ - app/views/admin/users/_form.html.erb
105
+ - app/views/admin/users/_left.html.erb
106
+ - app/views/admin/users/delete.html.erb
107
+ - app/views/admin/users/edit.html.erb
108
+ - app/views/admin/users/index.html.erb
109
+ - app/views/admin/users/new.html.erb
110
+ - app/views/admin/users/show.html.erb
111
+ - app/views/galleries/index.html.erb
112
+ - app/views/galleries/show.html.erb
113
+ - app/views/layouts/admin.html.erb
114
+ - app/views/layouts/admin_login.html.erb
115
+ - app/views/layouts/admin_xhr.html.erb
116
+ - app/views/pages/show.html.erb
117
+ - app/views/posts/show.html.erb
118
+ - app/views/shared/404.html.erb
119
+ - app/views/shared/gallery.html
120
+ - app/views/shared/image.html
121
+ - app/views/shared/page.html
122
+ - app/views/shared/post.html
123
+ - grandstand.gemspec
124
+ - lib/grandstand.rb
125
+ - lib/grandstand/application.rb
126
+ - lib/grandstand/controller.rb
127
+ - lib/grandstand/controller/development.rb
128
+ - lib/grandstand/helper.rb
129
+ - lib/grandstand/routes.rb
130
+ - lib/grandstand/session.rb
131
+ - public/.DS_Store
132
+ - public/admin/.DS_Store
133
+ - public/admin/images/.DS_Store
134
+ - public/admin/images/background-input.gif
135
+ - public/admin/images/background-progress-bar.png
136
+ - public/admin/images/background-progress-complete.gif
137
+ - public/admin/images/background-progress.gif
138
+ - public/admin/images/icons/.DS_Store
139
+ - public/admin/images/icons/add.png
140
+ - public/admin/images/icons/collapse.png
141
+ - public/admin/images/icons/delete.png
142
+ - public/admin/images/icons/edit.png
143
+ - public/admin/images/icons/editor/bold.png
144
+ - public/admin/images/icons/editor/gallery.png
145
+ - public/admin/images/icons/editor/image-center.png
146
+ - public/admin/images/icons/editor/image-left.png
147
+ - public/admin/images/icons/editor/image-right.png
148
+ - public/admin/images/icons/editor/image.png
149
+ - public/admin/images/icons/editor/italic.png
150
+ - public/admin/images/icons/editor/ordered-list.png
151
+ - public/admin/images/icons/editor/quote.png
152
+ - public/admin/images/icons/editor/source.png
153
+ - public/admin/images/icons/editor/strikethrough.png
154
+ - public/admin/images/icons/editor/underline.png
155
+ - public/admin/images/icons/editor/unordered-list.png
156
+ - public/admin/images/icons/error.png
157
+ - public/admin/images/icons/expand.png
158
+ - public/admin/images/icons/galleries.png
159
+ - public/admin/images/icons/gallery.png
160
+ - public/admin/images/icons/image.png
161
+ - public/admin/images/icons/okay.png
162
+ - public/admin/images/icons/pages.png
163
+ - public/admin/images/icons/posts.png
164
+ - public/admin/images/icons/upload.png
165
+ - public/admin/images/icons/users.png
166
+ - public/admin/images/logo.png
167
+ - public/admin/images/spinner-dark.gif
168
+ - public/admin/images/uploader.swf
169
+ - public/admin/javascripts/application.js
170
+ - public/admin/javascripts/jquery.js
171
+ - public/admin/javascripts/mustache.js
172
+ - public/admin/javascripts/selection.js
173
+ - public/admin/javascripts/string.js
174
+ - public/admin/javascripts/wysiwyg.js
175
+ - public/admin/stylesheets/application.css
176
+ - public/admin/stylesheets/global.css
177
+ - public/admin/stylesheets/login.css
178
+ - public/admin/stylesheets/wysiwyg-content.css
179
+ - public/admin/stylesheets/wysiwyg.css
180
+ - vendor/cache/more-0.1.1.gem
181
+ has_rdoc: true
182
+ homepage: http://github.com/flipsasser/grandstand
183
+ licenses: []
184
+
185
+ post_install_message:
186
+ rdoc_options:
187
+ - --charset=UTF-8
188
+ require_paths:
189
+ - lib
190
+ required_ruby_version: !ruby/object:Gem::Requirement
191
+ none: false
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ hash: 3
196
+ segments:
197
+ - 0
198
+ version: "0"
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ none: false
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ hash: 3
205
+ segments:
206
+ - 0
207
+ version: "0"
208
+ requirements: []
209
+
210
+ rubyforge_project:
211
+ rubygems_version: 1.3.7
212
+ signing_key:
213
+ specification_version: 3
214
+ summary: A blog / gallery gem for Rails 3 that's dead-simple to configure, override, and rebuild
215
+ test_files: []
216
+