grandstand 0.2.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. data/Gemfile +6 -0
  2. data/README.md +72 -0
  3. data/app/controllers/galleries_controller.rb +4 -0
  4. data/app/controllers/grandstand/galleries_controller.rb +10 -1
  5. data/app/controllers/grandstand/images_controller.rb +9 -3
  6. data/app/controllers/grandstand/main_controller.rb +2 -4
  7. data/app/controllers/grandstand/pages_controller.rb +8 -1
  8. data/app/controllers/grandstand/sessions_controller.rb +1 -1
  9. data/app/helpers/grandstand/main_helper.rb +17 -0
  10. data/app/models/grandstand/gallery.rb +2 -1
  11. data/app/models/grandstand/image.rb +1 -0
  12. data/app/models/grandstand/page.rb +4 -0
  13. data/app/models/grandstand/page_section.rb +2 -0
  14. data/app/models/grandstand/post.rb +2 -0
  15. data/app/models/grandstand/user.rb +6 -4
  16. data/app/views/grandstand/galleries/delete.html.erb +2 -2
  17. data/app/views/grandstand/galleries/edit.html.erb +1 -1
  18. data/app/views/grandstand/galleries/editor.html.erb +3 -3
  19. data/app/views/grandstand/galleries/index.html.erb +5 -5
  20. data/app/views/grandstand/galleries/new.html.erb +1 -1
  21. data/app/views/grandstand/galleries/show.html.erb +11 -10
  22. data/app/views/grandstand/images/_form.html.erb +1 -1
  23. data/app/views/grandstand/images/delete.html.erb +2 -2
  24. data/app/views/grandstand/images/edit.html.erb +2 -2
  25. data/app/views/grandstand/images/new.html.erb +2 -2
  26. data/app/views/grandstand/images/show.html.erb +2 -2
  27. data/app/views/grandstand/main/index.html.erb +8 -10
  28. data/app/views/grandstand/pages/_form.html.erb +4 -5
  29. data/app/views/grandstand/pages/_row.html.erb +4 -3
  30. data/app/views/grandstand/pages/delete.html.erb +2 -2
  31. data/app/views/grandstand/pages/edit.html.erb +6 -3
  32. data/app/views/grandstand/pages/index.html.erb +10 -7
  33. data/app/views/grandstand/pages/new.html.erb +6 -3
  34. data/app/views/grandstand/pages/show.html.erb +25 -3
  35. data/app/views/grandstand/posts/_form.html.erb +1 -3
  36. data/app/views/grandstand/posts/_list.html.erb +1 -1
  37. data/app/views/grandstand/posts/delete.html.erb +1 -2
  38. data/app/views/grandstand/posts/edit.html.erb +5 -2
  39. data/app/views/grandstand/posts/index.html.erb +10 -5
  40. data/app/views/grandstand/posts/new.html.erb +5 -2
  41. data/app/views/grandstand/posts/show.html.erb +3 -5
  42. data/app/views/grandstand/sessions/forgot.html.erb +2 -2
  43. data/app/views/grandstand/sessions/show.html.erb +2 -2
  44. data/app/views/grandstand/shared/_footer.html.erb +1 -0
  45. data/app/views/grandstand/users/_form.html.erb +7 -3
  46. data/app/views/grandstand/users/delete.html.erb +1 -1
  47. data/app/views/grandstand/users/edit.html.erb +1 -1
  48. data/app/views/grandstand/users/index.html.erb +4 -2
  49. data/app/views/grandstand/users/new.html.erb +1 -1
  50. data/app/views/grandstand/users/show.html.erb +7 -4
  51. data/app/views/layouts/grandstand.html.erb +17 -55
  52. data/app/views/layouts/{grandstand_login.html.erb → grandstand_minimal.html.erb} +5 -2
  53. data/app/views/pages/show.html.erb +0 -8
  54. data/app/views/posts/show.html.erb +1 -1
  55. data/app/views/shared/404.html.erb +1 -1
  56. data/config/routes.rb +5 -0
  57. data/lib/generators/grandstand/install/install_generator.rb +40 -0
  58. data/lib/generators/grandstand/install/templates/initializer.rb +27 -0
  59. data/lib/generators/grandstand/install/templates/migration.rb +95 -0
  60. data/lib/generators/grandstand/install/templates/public/fonts/museosans.eot +0 -0
  61. data/lib/generators/grandstand/install/templates/public/fonts/museosans.svg +247 -0
  62. data/lib/generators/grandstand/install/templates/public/fonts/museosans.ttf +0 -0
  63. data/lib/generators/grandstand/install/templates/public/fonts/museosans.woff +0 -0
  64. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/background-input.gif +0 -0
  65. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/background-progress-bar.png +0 -0
  66. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/background-progress-complete.gif +0 -0
  67. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/background-progress.gif +0 -0
  68. data/lib/generators/grandstand/install/templates/public/images/icons/add.png +0 -0
  69. data/lib/generators/grandstand/install/templates/public/images/icons/delete.png +0 -0
  70. data/lib/generators/grandstand/install/templates/public/images/icons/edit.png +0 -0
  71. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/bold.png +0 -0
  72. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/gallery.png +0 -0
  73. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/image-center.png +0 -0
  74. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/image-left.png +0 -0
  75. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/image-right.png +0 -0
  76. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/image.png +0 -0
  77. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/italic.png +0 -0
  78. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/ordered-list.png +0 -0
  79. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/quote.png +0 -0
  80. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/source.png +0 -0
  81. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/strikethrough.png +0 -0
  82. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/underline.png +0 -0
  83. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/editor/unordered-list.png +0 -0
  84. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/error.png +0 -0
  85. data/lib/generators/grandstand/install/templates/public/images/icons/external.png +0 -0
  86. data/{public/grandstand/images → lib/generators/grandstand/install/templates/public/images/icons}/galleries-empty.png +0 -0
  87. data/lib/generators/grandstand/install/templates/public/images/icons/galleries.png +0 -0
  88. data/lib/generators/grandstand/install/templates/public/images/icons/gallery.png +0 -0
  89. data/lib/generators/grandstand/install/templates/public/images/icons/handle.gif +0 -0
  90. data/lib/generators/grandstand/install/templates/public/images/icons/image-library.png +0 -0
  91. data/lib/generators/grandstand/install/templates/public/images/icons/image.png +0 -0
  92. data/lib/generators/grandstand/install/templates/public/images/icons/okay.png +0 -0
  93. data/lib/generators/grandstand/install/templates/public/images/icons/pages.png +0 -0
  94. data/lib/generators/grandstand/install/templates/public/images/icons/posts.png +0 -0
  95. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/icons/processing.gif +0 -0
  96. data/lib/generators/grandstand/install/templates/public/images/icons/users.png +0 -0
  97. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/spinner-dark.gif +0 -0
  98. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/images/uploader.swf +0 -0
  99. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/application.js +27 -21
  100. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/jquery.js +1 -1
  101. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/mustache.js +0 -0
  102. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/preview.js +0 -0
  103. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/selection.js +1 -1
  104. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/string.js +0 -1
  105. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/javascripts/wysiwyg.js +8 -9
  106. data/lib/generators/grandstand/install/templates/public/stylesheets/application.css +368 -0
  107. data/lib/generators/grandstand/install/templates/public/stylesheets/buttons.css +81 -0
  108. data/lib/generators/grandstand/install/templates/public/stylesheets/dialog.css +142 -0
  109. data/lib/generators/grandstand/install/templates/public/stylesheets/forms.css +94 -0
  110. data/lib/generators/grandstand/install/templates/public/stylesheets/global.css +94 -0
  111. data/lib/generators/grandstand/install/templates/public/stylesheets/login.css +37 -0
  112. data/{public/grandstand → lib/generators/grandstand/install/templates/public}/stylesheets/wysiwyg-content.css +1 -0
  113. data/lib/generators/grandstand/install/templates/public/stylesheets/wysiwyg.css +94 -0
  114. data/lib/generators/grandstand/install/templates/s3.yml +8 -0
  115. data/lib/grandstand.rb +78 -16
  116. data/lib/grandstand/application.rb +1 -10
  117. data/lib/grandstand/controller.rb +7 -1
  118. data/lib/grandstand/form_builder.rb +2 -2
  119. data/lib/grandstand/helper.rb +3 -0
  120. data/lib/grandstand/session.rb +1 -1
  121. metadata +143 -101
  122. data/.gitignore +0 -2
  123. data/MIT-LICENSE +0 -20
  124. data/README.markdown +0 -43
  125. data/README.txt +0 -0
  126. data/Rakefile +0 -50
  127. data/VERSION +0 -1
  128. data/app/helpers/site_helper.rb +0 -2
  129. data/app/stylesheets/_buttons.less +0 -76
  130. data/app/stylesheets/application.less +0 -331
  131. data/app/stylesheets/global.less +0 -452
  132. data/app/stylesheets/login.less +0 -30
  133. data/app/stylesheets/wysiwyg.less +0 -108
  134. data/app/views/grandstand/pages/_left.html.erb +0 -3
  135. data/app/views/grandstand/posts/_left.html.erb +0 -3
  136. data/app/views/grandstand/users/_left.html.erb +0 -3
  137. data/grandstand.gemspec +0 -207
  138. data/lib/grandstand/stylesheets_controller.rb +0 -14
  139. data/public/grandstand/images/icons/add.png +0 -0
  140. data/public/grandstand/images/icons/collapse.png +0 -0
  141. data/public/grandstand/images/icons/delete.png +0 -0
  142. data/public/grandstand/images/icons/edit.png +0 -0
  143. data/public/grandstand/images/icons/expand.png +0 -0
  144. data/public/grandstand/images/icons/galleries.png +0 -0
  145. data/public/grandstand/images/icons/gallery.png +0 -0
  146. data/public/grandstand/images/icons/image.png +0 -0
  147. data/public/grandstand/images/icons/okay.png +0 -0
  148. data/public/grandstand/images/icons/pages.png +0 -0
  149. data/public/grandstand/images/icons/posts.png +0 -0
  150. data/public/grandstand/images/icons/upload.png +0 -0
  151. data/public/grandstand/images/icons/users.png +0 -0
  152. data/public/grandstand/images/logo.png +0 -0
  153. data/vendor/cache/more-0.1.1.gem +0 -0
@@ -1,108 +0,0 @@
1
- /*
2
- wysiwyg.less contains the CSS for any WYSIWYG editors that are rendered
3
- in the grandstand interface or during site preview. It mostly makes sure things
4
- look okay no matter where they happen. Important to note is that when
5
- in preview mode, we keep the Grandstand UI theming from global.less,
6
- even though it's nested inside someone else's UI. This may not be very
7
- pretty, so you should consider extending external.css to include any
8
- overrides you may have.
9
- */
10
- @import url('_buttons');
11
-
12
- .grandstand {
13
- .wysiwyg {
14
- border:1px solid #888;
15
- overflow:hidden;
16
- position:relative;
17
- -webkit-border-radius:3px;
18
-
19
- .toolbar {
20
- #grandstand > .styled-toolbar;
21
- border-bottom:1px solid #444;
22
- position:relative;
23
-
24
- .button {
25
- line-height:0;
26
- padding:3px;
27
-
28
- .icon {
29
- background-position:center top;
30
- }
31
-
32
- .icon.bold {
33
- background-image:url(../images/icons/editor/bold.png);
34
- }
35
-
36
- .icon.italic {
37
- background-image:url(../images/icons/editor/italic.png);
38
- }
39
-
40
- .icon.ordered-list {
41
- background-image:url(../images/icons/editor/ordered-list.png);
42
- }
43
-
44
- .icon.unordered-list {
45
- background-image:url(../images/icons/editor/unordered-list.png);
46
- }
47
- }
48
-
49
- .button:hover .icon {
50
- background-position:center bottom;
51
- }
52
- }
53
-
54
- iframe {
55
- background:#fff url(../images/background-input.gif) repeat-x;
56
- /* border-bottom:1px solid #ddd;
57
- border-left:1px solid #c3c3c3;
58
- border-right:1px solid #c3c3c3;
59
- border-top:1px solid #7d7d7d;*/
60
- display:block;
61
- height:400px;
62
- width:100%;
63
- -webkit-border-bottom-left-radius:3px;
64
- -webkit-border-bottom-right-radius:3px;
65
- }
66
-
67
- textarea {
68
- border-width:0;
69
- /* padding:0;*/
70
- }
71
-
72
- .cover {
73
- background-color:#fff;
74
- height:100%;
75
- left:0;
76
- position:absolute;
77
- top:0;
78
- width:100%;
79
- z-index:1;
80
- -webkit-border-radius:3px;
81
- }
82
-
83
- .loading {
84
- background:rgba(0, 0, 0, 0.7) url(../images/spinner-dark.gif) center center no-repeat;
85
- height:50px;
86
- left:50%;
87
- margin:-25px 0 0 -25px;
88
- position:absolute;
89
- top:50%;
90
- width:50px;
91
- z-index:2;
92
- -moz-border-radius:5px;
93
- -webkit-border-radius:5px;
94
- }
95
- }
96
-
97
- .icon.image-center {
98
- background-image:url(../images/icons/editor/image-center.png);
99
- }
100
-
101
- .icon.image-left {
102
- background-image:url(../images/icons/editor/image-left.png);
103
- }
104
-
105
- .icon.image-right {
106
- background-image:url(../images/icons/editor/image-right.png);
107
- }
108
- }
@@ -1,3 +0,0 @@
1
- <% content_for :left do %>
2
- <%= button_link_to('Add a Page', new_grandstand_page_path, :icon => 'add') %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <% content_for :left do %>
2
- <%= button_link_to('Add a Post', new_grandstand_post_path, :icon => 'add') %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <% content_for :left do %>
2
- <%= button_link_to('Add a User', new_grandstand_user_path, :class => 'remote', :icon => 'add') %>
3
- <% end %>
@@ -1,207 +0,0 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
5
-
6
- Gem::Specification.new do |s|
7
- s.name = %q{grandstand}
8
- s.version = "0.2.7"
9
-
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Flip Sasser"]
12
- s.date = %q{2010-11-10}
13
- s.description = %q{
14
- Grandstand is a simple blog and photo gallery application. It takes a minimal amount of configuration and can
15
- be built installed as a gem and used within minutes. It's totally cool. Seriously.
16
- }
17
- s.email = %q{flip@x451.com}
18
- s.extra_rdoc_files = [
19
- "README.markdown",
20
- "README.txt"
21
- ]
22
- s.files = [
23
- ".gitignore",
24
- "MIT-LICENSE",
25
- "README.markdown",
26
- "README.txt",
27
- "Rakefile",
28
- "VERSION",
29
- "app/controllers/galleries_controller.rb",
30
- "app/controllers/grandstand/galleries_controller.rb",
31
- "app/controllers/grandstand/images_controller.rb",
32
- "app/controllers/grandstand/main_controller.rb",
33
- "app/controllers/grandstand/pages_controller.rb",
34
- "app/controllers/grandstand/posts_controller.rb",
35
- "app/controllers/grandstand/sessions_controller.rb",
36
- "app/controllers/grandstand/templates_controller.rb",
37
- "app/controllers/grandstand/users_controller.rb",
38
- "app/controllers/pages_controller.rb",
39
- "app/controllers/posts_controller.rb",
40
- "app/helpers/galleries_helper.rb",
41
- "app/helpers/grandstand/galleries_helper.rb",
42
- "app/helpers/grandstand/images_helpers.rb",
43
- "app/helpers/grandstand/main_helper.rb",
44
- "app/helpers/grandstand/pages_helper.rb",
45
- "app/helpers/grandstand/posts_helper.rb",
46
- "app/helpers/grandstand/sessions_helper.rb",
47
- "app/helpers/grandstand/templates_helper.rb",
48
- "app/helpers/grandstand/users_helper.rb",
49
- "app/helpers/pages_helper.rb",
50
- "app/helpers/posts_helper.rb",
51
- "app/helpers/site_helper.rb",
52
- "app/models/grandstand/gallery.rb",
53
- "app/models/grandstand/image.rb",
54
- "app/models/grandstand/page.rb",
55
- "app/models/grandstand/page_section.rb",
56
- "app/models/grandstand/post.rb",
57
- "app/models/grandstand/template.rb",
58
- "app/models/grandstand/user.rb",
59
- "app/stylesheets/_buttons.less",
60
- "app/stylesheets/application.less",
61
- "app/stylesheets/global.less",
62
- "app/stylesheets/login.less",
63
- "app/stylesheets/wysiwyg.less",
64
- "app/views/galleries/index.html.erb",
65
- "app/views/galleries/show.html.erb",
66
- "app/views/grandstand/galleries/_form.html.erb",
67
- "app/views/grandstand/galleries/_gallery.html.erb",
68
- "app/views/grandstand/galleries/_list.html.erb",
69
- "app/views/grandstand/galleries/delete.html.erb",
70
- "app/views/grandstand/galleries/edit.html.erb",
71
- "app/views/grandstand/galleries/editor.html.erb",
72
- "app/views/grandstand/galleries/index.html.erb",
73
- "app/views/grandstand/galleries/new.html.erb",
74
- "app/views/grandstand/galleries/show.html.erb",
75
- "app/views/grandstand/images/_form.html.erb",
76
- "app/views/grandstand/images/delete.html.erb",
77
- "app/views/grandstand/images/edit.html.erb",
78
- "app/views/grandstand/images/new.html.erb",
79
- "app/views/grandstand/images/show.html.erb",
80
- "app/views/grandstand/images/upload.html.erb",
81
- "app/views/grandstand/main/index.html.erb",
82
- "app/views/grandstand/pages/_form.html.erb",
83
- "app/views/grandstand/pages/_left.html.erb",
84
- "app/views/grandstand/pages/_row.html.erb",
85
- "app/views/grandstand/pages/delete.html.erb",
86
- "app/views/grandstand/pages/edit.html.erb",
87
- "app/views/grandstand/pages/index.html.erb",
88
- "app/views/grandstand/pages/new.html.erb",
89
- "app/views/grandstand/pages/show.html.erb",
90
- "app/views/grandstand/posts/_form.html.erb",
91
- "app/views/grandstand/posts/_left.html.erb",
92
- "app/views/grandstand/posts/_list.html.erb",
93
- "app/views/grandstand/posts/delete.html.erb",
94
- "app/views/grandstand/posts/edit.html.erb",
95
- "app/views/grandstand/posts/index.html.erb",
96
- "app/views/grandstand/posts/new.html.erb",
97
- "app/views/grandstand/posts/preview.html.erb",
98
- "app/views/grandstand/posts/show.html.erb",
99
- "app/views/grandstand/sessions/forgot.html.erb",
100
- "app/views/grandstand/sessions/show.html.erb",
101
- "app/views/grandstand/shared/_flash.html.erb",
102
- "app/views/grandstand/users/_form.html.erb",
103
- "app/views/grandstand/users/_left.html.erb",
104
- "app/views/grandstand/users/delete.html.erb",
105
- "app/views/grandstand/users/edit.html.erb",
106
- "app/views/grandstand/users/index.html.erb",
107
- "app/views/grandstand/users/new.html.erb",
108
- "app/views/grandstand/users/show.html.erb",
109
- "app/views/layouts/grandstand.html.erb",
110
- "app/views/layouts/grandstand_login.html.erb",
111
- "app/views/layouts/grandstand_xhr.html.erb",
112
- "app/views/pages/show.html.erb",
113
- "app/views/posts/show.html.erb",
114
- "app/views/shared/404.html.erb",
115
- "app/views/shared/gallery.html",
116
- "app/views/shared/image.html",
117
- "app/views/shared/page.html",
118
- "app/views/shared/post.html",
119
- "config/routes.rb",
120
- "grandstand.gemspec",
121
- "lib/grandstand.rb",
122
- "lib/grandstand/application.rb",
123
- "lib/grandstand/controller.rb",
124
- "lib/grandstand/form_builder.rb",
125
- "lib/grandstand/helper.rb",
126
- "lib/grandstand/session.rb",
127
- "lib/grandstand/stylesheets_controller.rb",
128
- "pkg/grandstand-0.2.1.gem",
129
- "public/.DS_Store",
130
- "public/grandstand/images/background-input.gif",
131
- "public/grandstand/images/background-progress-bar.png",
132
- "public/grandstand/images/background-progress-complete.gif",
133
- "public/grandstand/images/background-progress.gif",
134
- "public/grandstand/images/galleries-empty.png",
135
- "public/grandstand/images/icons/add.png",
136
- "public/grandstand/images/icons/collapse.png",
137
- "public/grandstand/images/icons/delete.png",
138
- "public/grandstand/images/icons/edit.png",
139
- "public/grandstand/images/icons/editor/bold.png",
140
- "public/grandstand/images/icons/editor/gallery.png",
141
- "public/grandstand/images/icons/editor/image-center.png",
142
- "public/grandstand/images/icons/editor/image-left.png",
143
- "public/grandstand/images/icons/editor/image-right.png",
144
- "public/grandstand/images/icons/editor/image.png",
145
- "public/grandstand/images/icons/editor/italic.png",
146
- "public/grandstand/images/icons/editor/ordered-list.png",
147
- "public/grandstand/images/icons/editor/quote.png",
148
- "public/grandstand/images/icons/editor/source.png",
149
- "public/grandstand/images/icons/editor/strikethrough.png",
150
- "public/grandstand/images/icons/editor/underline.png",
151
- "public/grandstand/images/icons/editor/unordered-list.png",
152
- "public/grandstand/images/icons/error.png",
153
- "public/grandstand/images/icons/expand.png",
154
- "public/grandstand/images/icons/galleries.png",
155
- "public/grandstand/images/icons/gallery.png",
156
- "public/grandstand/images/icons/image.png",
157
- "public/grandstand/images/icons/okay.png",
158
- "public/grandstand/images/icons/pages.png",
159
- "public/grandstand/images/icons/posts.png",
160
- "public/grandstand/images/icons/processing.gif",
161
- "public/grandstand/images/icons/upload.png",
162
- "public/grandstand/images/icons/users.png",
163
- "public/grandstand/images/logo.png",
164
- "public/grandstand/images/spinner-dark.gif",
165
- "public/grandstand/images/uploader.swf",
166
- "public/grandstand/javascripts/application.js",
167
- "public/grandstand/javascripts/jquery.js",
168
- "public/grandstand/javascripts/mustache.js",
169
- "public/grandstand/javascripts/preview.js",
170
- "public/grandstand/javascripts/selection.js",
171
- "public/grandstand/javascripts/string.js",
172
- "public/grandstand/javascripts/wysiwyg.js",
173
- "public/grandstand/stylesheets/wysiwyg-content.css",
174
- "vendor/cache/more-0.1.1.gem"
175
- ]
176
- s.homepage = %q{http://github.com/flipsasser/grandstand}
177
- s.rdoc_options = ["--charset=UTF-8"]
178
- s.require_paths = ["lib"]
179
- s.rubygems_version = %q{1.3.7}
180
- s.summary = %q{A blog / gallery gem for Rails 3 that's dead-simple to configure, override, and rebuild}
181
-
182
- if s.respond_to? :specification_version then
183
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
184
- s.specification_version = 3
185
-
186
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
187
- s.add_development_dependency(%q<less>, [">= 1.2.21"])
188
- s.add_development_dependency(%q<more>, [">= 0.1.1"])
189
- s.add_runtime_dependency(%q<aws-s3>, [">= 0.6.2"])
190
- s.add_runtime_dependency(%q<mustache>, [">= 0.11.2"])
191
- s.add_runtime_dependency(%q<paperclip>, [">= 2.3.3"])
192
- else
193
- s.add_dependency(%q<less>, [">= 1.2.21"])
194
- s.add_dependency(%q<more>, [">= 0.1.1"])
195
- s.add_dependency(%q<aws-s3>, [">= 0.6.2"])
196
- s.add_dependency(%q<mustache>, [">= 0.11.2"])
197
- s.add_dependency(%q<paperclip>, [">= 2.3.3"])
198
- end
199
- else
200
- s.add_dependency(%q<less>, [">= 1.2.21"])
201
- s.add_dependency(%q<more>, [">= 0.1.1"])
202
- s.add_dependency(%q<aws-s3>, [">= 0.6.2"])
203
- s.add_dependency(%q<mustache>, [">= 0.11.2"])
204
- s.add_dependency(%q<paperclip>, [">= 2.3.3"])
205
- end
206
- end
207
-
@@ -1,14 +0,0 @@
1
- require 'less'
2
- module Grandstand
3
- class StylesheetsController < ApplicationController
4
- def show
5
- stylesheet = File.join(Grandstand::Application.root, 'app', 'stylesheets', "#{params[:name]}.less")
6
- if File.file?(stylesheet)
7
- engine = File.open(stylesheet) {|file| Less::Engine.new(file) }
8
- render :content_type => 'text/css', :text => engine.to_css
9
- else
10
- grandstand_not_found
11
- end
12
- end
13
- end
14
- end
Binary file