transit 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. data/Gemfile +19 -11
  2. data/app/assets/images/transit/icon24x24.png +0 -0
  3. data/app/assets/images/transit/icon24x24_files.png +0 -0
  4. data/app/assets/images/transit/jplayer.swf +0 -0
  5. data/app/assets/images/transit/uploadify.swf +0 -0
  6. data/app/assets/images/transit/video_player.swf +0 -0
  7. data/app/assets/javascripts/jqtools/expose.js +224 -0
  8. data/app/assets/javascripts/jqtools/flashembed.js +300 -0
  9. data/app/assets/javascripts/jqtools/overlay.js +294 -0
  10. data/app/assets/javascripts/jqtools/scrollable.js +3 -0
  11. data/app/assets/javascripts/jqtools/scrollable/autoscroll.js +81 -0
  12. data/app/assets/javascripts/jqtools/scrollable/base.js +335 -0
  13. data/app/assets/javascripts/jqtools/scrollable/navigator.js +139 -0
  14. data/app/assets/javascripts/jqtools/validator.js +590 -0
  15. data/app/assets/javascripts/jqueryui/accordion.js +611 -0
  16. data/app/assets/javascripts/jqueryui/autocomplete.js +612 -0
  17. data/app/assets/javascripts/jqueryui/button.js +388 -0
  18. data/app/assets/javascripts/jqueryui/core.js +312 -0
  19. data/app/assets/javascripts/jqueryui/datepicker.js +1791 -0
  20. data/app/assets/javascripts/jqueryui/dialog.js +878 -0
  21. data/app/assets/javascripts/jqueryui/draggable.js +815 -0
  22. data/app/assets/javascripts/jqueryui/droppable.js +285 -0
  23. data/app/assets/javascripts/jqueryui/effects/blind.js +49 -0
  24. data/app/assets/javascripts/jqueryui/effects/bounce.js +78 -0
  25. data/app/assets/javascripts/jqueryui/effects/clip.js +54 -0
  26. data/app/assets/javascripts/jqueryui/effects/core.js +746 -0
  27. data/app/assets/javascripts/jqueryui/effects/drop.js +50 -0
  28. data/app/assets/javascripts/jqueryui/effects/explode.js +79 -0
  29. data/app/assets/javascripts/jqueryui/effects/fade.js +32 -0
  30. data/app/assets/javascripts/jqueryui/effects/fold.js +56 -0
  31. data/app/assets/javascripts/jqueryui/effects/highlight.js +50 -0
  32. data/app/assets/javascripts/jqueryui/effects/pulsate.js +51 -0
  33. data/app/assets/javascripts/jqueryui/effects/scale.js +178 -0
  34. data/app/assets/javascripts/jqueryui/effects/shake.js +57 -0
  35. data/app/assets/javascripts/jqueryui/effects/slide.js +50 -0
  36. data/app/assets/javascripts/jqueryui/effects/transfer.js +45 -0
  37. data/app/assets/javascripts/jqueryui/mouse.js +160 -0
  38. data/app/assets/javascripts/jqueryui/position.js +252 -0
  39. data/app/assets/javascripts/jqueryui/progressbar.js +109 -0
  40. data/app/assets/javascripts/jqueryui/resizable.js +814 -0
  41. data/app/assets/javascripts/jqueryui/selectable.js +266 -0
  42. data/app/assets/javascripts/jqueryui/slider.js +666 -0
  43. data/app/assets/javascripts/jqueryui/sortable.js +1077 -0
  44. data/app/assets/javascripts/jqueryui/tabs.js +758 -0
  45. data/app/assets/javascripts/jqueryui/widget.js +262 -0
  46. data/app/assets/javascripts/libs/backbone.js +1152 -0
  47. data/app/assets/javascripts/libs/cookie.js +89 -0
  48. data/app/assets/javascripts/libs/fileinput.js +130 -0
  49. data/app/assets/javascripts/libs/jplayer.js +1768 -0
  50. data/app/assets/javascripts/libs/proper.js +541 -0
  51. data/app/assets/javascripts/libs/sanitize.js +282 -0
  52. data/app/assets/javascripts/libs/selecttolist.js +75 -0
  53. data/app/assets/javascripts/libs/underscore.js +807 -0
  54. data/app/assets/javascripts/libs/uploadify.js +677 -0
  55. data/app/assets/javascripts/libs/wymeditor.js +9538 -0
  56. data/app/assets/javascripts/transit.js +4 -0
  57. data/app/assets/javascripts/transit/admin.js +22 -0
  58. data/app/assets/javascripts/transit/admin/contexts.js +52 -0
  59. data/app/assets/javascripts/transit/admin/fields.js +36 -0
  60. data/app/assets/javascripts/transit/admin/upload.js +109 -0
  61. data/app/assets/javascripts/transit/config.js.erb +101 -0
  62. data/app/assets/javascripts/transit/contexts/audio.js +39 -0
  63. data/app/assets/javascripts/transit/contexts/video.js +79 -0
  64. data/app/assets/javascripts/transit/core.js +171 -0
  65. data/app/assets/javascripts/transit/frontend.js +3 -0
  66. data/app/assets/javascripts/transit/lib/base64.js +120 -0
  67. data/app/assets/javascripts/transit/lib/editor.js +177 -0
  68. data/app/assets/javascripts/transit/views/audio_player.jst +22 -0
  69. data/app/assets/javascripts/transit/views/editor_toolbar.jst +12 -0
  70. data/app/assets/javascripts/transit/views/file_upload.jst +5 -0
  71. data/app/assets/javascripts/transit/views/video_player.jst +20 -0
  72. data/app/assets/javascripts/transit/views/wym_box.jst +4 -0
  73. data/app/assets/javascripts/transit/views/wym_iframe.jst +3 -0
  74. data/app/assets/stylesheets/transit.css.scss.erb +42 -0
  75. data/app/assets/stylesheets/transit/forms.css.scss +66 -0
  76. data/app/assets/stylesheets/transit/media/audio.css.scss +65 -0
  77. data/app/assets/stylesheets/transit/media/video.css.scss +30 -0
  78. data/app/assets/stylesheets/transit/panel.css.scss +100 -0
  79. data/app/assets/stylesheets/transit/ui.css.scss +507 -0
  80. data/app/controllers/pages_controller.rb +3 -0
  81. data/app/controllers/posts_controller.rb +3 -0
  82. data/app/controllers/transit/assets_controller.rb +38 -0
  83. data/app/controllers/transit/contexts_controller.rb +12 -9
  84. data/app/controllers/transit/pages_controller.rb +26 -0
  85. data/app/controllers/transit/posts_controller.rb +31 -0
  86. data/app/controllers/transit/topics_controller.rb +5 -0
  87. data/app/controllers/transit_controller.rb +16 -0
  88. data/app/helpers/transit/admin_helper.rb +43 -0
  89. data/app/helpers/transit/form_helper.rb +17 -0
  90. data/app/helpers/transit/package_helper.rb +41 -0
  91. data/app/helpers/transit/pagination_helper.rb +58 -0
  92. data/app/helpers/transit_helper.rb +42 -0
  93. data/app/models/comment.rb +37 -0
  94. data/app/models/contexts/audio.rb +12 -0
  95. data/app/models/{text.rb → contexts/text.rb} +0 -0
  96. data/app/models/contexts/video.rb +24 -0
  97. data/app/models/topic.rb +19 -0
  98. data/app/models/transit/asset.rb +68 -0
  99. data/{lib → app/models}/transit/context.rb +29 -0
  100. data/app/views/contexts/_text.html.erb +1 -1
  101. data/app/views/posts/index.rss.builder +18 -0
  102. data/app/views/transit/assets/_file.html.erb +4 -0
  103. data/app/views/transit/assets/_image.html.erb +13 -0
  104. data/app/views/transit/assets/create.js.erb +8 -0
  105. data/app/views/transit/assets/destroy.js.erb +3 -0
  106. data/app/views/transit/assets/manage.html.erb +20 -0
  107. data/app/views/transit/contexts/_audio.html.erb +18 -0
  108. data/app/views/transit/contexts/_text.html.erb +6 -0
  109. data/app/views/transit/contexts/_video.html.erb +13 -0
  110. data/app/views/transit/contexts/destroy.js.erb +1 -0
  111. data/app/views/transit/contexts/index.html.erb +5 -0
  112. data/app/views/transit/contexts/new.js.erb +7 -0
  113. data/app/views/transit/contexts/show.html.erb +8 -0
  114. data/app/views/transit/index.html.erb +26 -0
  115. data/app/views/transit/index.js.erb +1 -0
  116. data/app/views/transit/interface/post_panel.html.erb +96 -0
  117. data/app/views/transit/pages/_table.html.erb +7 -0
  118. data/app/views/transit/pages/edit.html.erb +17 -0
  119. data/app/views/transit/pages/index.html.erb +17 -0
  120. data/app/views/transit/pages/update.js.erb +1 -0
  121. data/app/views/transit/posts/_form.html.erb +49 -0
  122. data/app/views/transit/posts/edit.html.erb +14 -0
  123. data/app/views/transit/posts/new.html.erb +21 -0
  124. data/app/views/transit/table.html.erb +13 -0
  125. data/app/views/transit/table.js.erb +8 -0
  126. data/app/views/transit/topics/manage.html.erb +28 -0
  127. data/config/locales/en.yml +22 -0
  128. data/config/routes.rb +3 -3
  129. data/lib/transit.rb +51 -17
  130. data/lib/transit/admin.rb +85 -0
  131. data/lib/transit/builders/form_builder.rb +319 -0
  132. data/lib/transit/builders/jst_builder.rb +38 -0
  133. data/lib/transit/builders/package_builder.rb +45 -0
  134. data/lib/transit/config.rb +20 -0
  135. data/lib/transit/controller/generator.rb +42 -0
  136. data/lib/transit/controller/responder.rb +34 -0
  137. data/lib/transit/core_ext.rb +18 -0
  138. data/lib/transit/errors/resource_not_found.rb +6 -0
  139. data/lib/transit/model/assets.rb +14 -0
  140. data/lib/transit/model/attachments.rb +55 -0
  141. data/lib/transit/model/auto_increment.rb +22 -0
  142. data/lib/transit/model/base.rb +56 -0
  143. data/lib/transit/model/comments.rb +19 -0
  144. data/lib/transit/model/hooks.rb +38 -0
  145. data/lib/transit/model/owners.rb +14 -0
  146. data/lib/transit/model/paginator.rb +92 -0
  147. data/lib/transit/model/topics.rb +14 -0
  148. data/lib/transit/package/page.rb +20 -12
  149. data/lib/transit/package/post.rb +87 -33
  150. data/lib/transit/package/post/validations.rb +14 -0
  151. data/lib/transit/rails/engine.rb +29 -13
  152. data/lib/transit/rails/railtie.rb +31 -0
  153. data/lib/transit/rails/routing.rb +11 -6
  154. data/lib/transit/services.rb +13 -0
  155. data/lib/transit/services/base.rb +14 -0
  156. data/lib/transit/services/facebook.rb +13 -0
  157. data/lib/transit/services/ted.rb +10 -0
  158. data/lib/transit/services/twitter.rb +13 -0
  159. data/lib/transit/services/vimeo.rb +10 -0
  160. data/lib/transit/services/you_tube.rb +12 -0
  161. data/lib/transit/version.rb +1 -1
  162. metadata +178 -31
  163. data/app/assets/stylesheets/includes/_compat.scss +0 -24
  164. data/app/assets/stylesheets/includes/_defaults.scss +0 -99
  165. data/app/assets/stylesheets/includes/_global.scss +0 -16
  166. data/app/assets/stylesheets/includes/_imports.scss +0 -27
  167. data/app/assets/stylesheets/includes/_mixins.scss +0 -38
  168. data/app/assets/stylesheets/includes/_setup.scss +0 -85
  169. data/app/assets/stylesheets/layout.css.scss +0 -29
  170. data/app/assets/stylesheets/transit.css +0 -3
  171. data/app/controllers/application_controller.rb +0 -5
  172. data/app/controllers/transit/index_controller.rb +0 -7
  173. data/app/controllers/transit/packages_controller.rb +0 -64
  174. data/app/controllers/transit/transit_controller.rb +0 -4
  175. data/app/helpers/routing_helpers.rb +0 -7
  176. data/app/models/audio.rb +0 -4
  177. data/app/models/package_asset.rb +0 -11
  178. data/app/models/video.rb +0 -8
  179. data/app/views/contexts/_audio.html.erb +0 -1
  180. data/app/views/contexts/_video.html.erb +0 -1
  181. data/app/views/layouts/transit.html.erb +0 -31
  182. data/app/views/transit/index/index.html.erb +0 -0
  183. data/lib/transit/helpers/controller_helpers.rb +0 -40
  184. data/lib/transit/helpers/model_helpers.rb +0 -26
  185. data/lib/transit/package.rb +0 -25
  186. data/lib/transit/package/base.rb +0 -49
@@ -0,0 +1,10 @@
1
+ module Transit
2
+ module Services
3
+ ##
4
+ # Provides basic access to content on TED.com
5
+ #
6
+ class Ted < Base
7
+ end
8
+
9
+ end
10
+ end
@@ -0,0 +1,13 @@
1
+ module Transit
2
+ module Services
3
+ ##
4
+ # Provides access for reading twitter streams/feeds.
5
+ # For posting and publishing, auth tokens are required.
6
+ #
7
+ class Twitter < Base
8
+ attr_accessor :auth_token
9
+
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,10 @@
1
+ module Transit
2
+ module Services
3
+ ##
4
+ # Provides basic access to content on vimeo.com
5
+ #
6
+ class Vimeo < Base
7
+ end
8
+
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ module Transit
2
+ module Services
3
+ ##
4
+ # Provides basic access to the youtube public api.
5
+ # For actions that require login, the gdata gem is necessary.
6
+ #
7
+ class YouTube < Base
8
+
9
+ end
10
+
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module Transit
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: transit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brent Kirby / kurb media llc
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-26 00:00:00 -04:00
13
+ date: 2011-06-27 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -102,16 +102,38 @@ dependencies:
102
102
  type: :runtime
103
103
  version_requirements: *id008
104
104
  - !ruby/object:Gem::Dependency
105
- name: motr
105
+ name: paperclip
106
106
  prerelease: false
107
107
  requirement: &id009 !ruby/object:Gem::Requirement
108
108
  none: false
109
109
  requirements:
110
- - - ">="
110
+ - - ~>
111
111
  - !ruby/object:Gem::Version
112
- version: 0.0.9
112
+ version: "2.3"
113
113
  type: :runtime
114
114
  version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: inherited_resources
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - "="
122
+ - !ruby/object:Gem::Version
123
+ version: 1.2.2
124
+ type: :runtime
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
127
+ name: responders
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - "="
133
+ - !ruby/object:Gem::Version
134
+ version: 0.6.4
135
+ type: :runtime
136
+ version_requirements: *id011
115
137
  description: Transit is a content management and delivery engine designed for use with Rails 3.1+ MongoDB and Mongoid
116
138
  email:
117
139
  - dev@kurbmedia.com
@@ -122,41 +144,166 @@ extensions: []
122
144
  extra_rdoc_files: []
123
145
 
124
146
  files:
125
- - app/assets/stylesheets/includes/_compat.scss
126
- - app/assets/stylesheets/includes/_defaults.scss
127
- - app/assets/stylesheets/includes/_global.scss
128
- - app/assets/stylesheets/includes/_imports.scss
129
- - app/assets/stylesheets/includes/_mixins.scss
130
- - app/assets/stylesheets/includes/_setup.scss
131
- - app/assets/stylesheets/layout.css.scss
132
- - app/assets/stylesheets/transit.css
133
- - app/controllers/application_controller.rb
147
+ - app/assets/images/transit/icon24x24.png
148
+ - app/assets/images/transit/icon24x24_files.png
149
+ - app/assets/images/transit/jplayer.swf
150
+ - app/assets/images/transit/uploadify.swf
151
+ - app/assets/images/transit/video_player.swf
152
+ - app/assets/javascripts/jqtools/expose.js
153
+ - app/assets/javascripts/jqtools/flashembed.js
154
+ - app/assets/javascripts/jqtools/overlay.js
155
+ - app/assets/javascripts/jqtools/scrollable/autoscroll.js
156
+ - app/assets/javascripts/jqtools/scrollable/base.js
157
+ - app/assets/javascripts/jqtools/scrollable/navigator.js
158
+ - app/assets/javascripts/jqtools/scrollable.js
159
+ - app/assets/javascripts/jqtools/validator.js
160
+ - app/assets/javascripts/jqueryui/accordion.js
161
+ - app/assets/javascripts/jqueryui/autocomplete.js
162
+ - app/assets/javascripts/jqueryui/button.js
163
+ - app/assets/javascripts/jqueryui/core.js
164
+ - app/assets/javascripts/jqueryui/datepicker.js
165
+ - app/assets/javascripts/jqueryui/dialog.js
166
+ - app/assets/javascripts/jqueryui/draggable.js
167
+ - app/assets/javascripts/jqueryui/droppable.js
168
+ - app/assets/javascripts/jqueryui/effects/blind.js
169
+ - app/assets/javascripts/jqueryui/effects/bounce.js
170
+ - app/assets/javascripts/jqueryui/effects/clip.js
171
+ - app/assets/javascripts/jqueryui/effects/core.js
172
+ - app/assets/javascripts/jqueryui/effects/drop.js
173
+ - app/assets/javascripts/jqueryui/effects/explode.js
174
+ - app/assets/javascripts/jqueryui/effects/fade.js
175
+ - app/assets/javascripts/jqueryui/effects/fold.js
176
+ - app/assets/javascripts/jqueryui/effects/highlight.js
177
+ - app/assets/javascripts/jqueryui/effects/pulsate.js
178
+ - app/assets/javascripts/jqueryui/effects/scale.js
179
+ - app/assets/javascripts/jqueryui/effects/shake.js
180
+ - app/assets/javascripts/jqueryui/effects/slide.js
181
+ - app/assets/javascripts/jqueryui/effects/transfer.js
182
+ - app/assets/javascripts/jqueryui/mouse.js
183
+ - app/assets/javascripts/jqueryui/position.js
184
+ - app/assets/javascripts/jqueryui/progressbar.js
185
+ - app/assets/javascripts/jqueryui/resizable.js
186
+ - app/assets/javascripts/jqueryui/selectable.js
187
+ - app/assets/javascripts/jqueryui/slider.js
188
+ - app/assets/javascripts/jqueryui/sortable.js
189
+ - app/assets/javascripts/jqueryui/tabs.js
190
+ - app/assets/javascripts/jqueryui/widget.js
191
+ - app/assets/javascripts/libs/backbone.js
192
+ - app/assets/javascripts/libs/cookie.js
193
+ - app/assets/javascripts/libs/fileinput.js
194
+ - app/assets/javascripts/libs/jplayer.js
195
+ - app/assets/javascripts/libs/proper.js
196
+ - app/assets/javascripts/libs/sanitize.js
197
+ - app/assets/javascripts/libs/selecttolist.js
198
+ - app/assets/javascripts/libs/underscore.js
199
+ - app/assets/javascripts/libs/uploadify.js
200
+ - app/assets/javascripts/libs/wymeditor.js
201
+ - app/assets/javascripts/transit/admin/contexts.js
202
+ - app/assets/javascripts/transit/admin/fields.js
203
+ - app/assets/javascripts/transit/admin/upload.js
204
+ - app/assets/javascripts/transit/admin.js
205
+ - app/assets/javascripts/transit/config.js.erb
206
+ - app/assets/javascripts/transit/contexts/audio.js
207
+ - app/assets/javascripts/transit/contexts/video.js
208
+ - app/assets/javascripts/transit/core.js
209
+ - app/assets/javascripts/transit/frontend.js
210
+ - app/assets/javascripts/transit/lib/base64.js
211
+ - app/assets/javascripts/transit/lib/editor.js
212
+ - app/assets/javascripts/transit/views/audio_player.jst
213
+ - app/assets/javascripts/transit/views/editor_toolbar.jst
214
+ - app/assets/javascripts/transit/views/file_upload.jst
215
+ - app/assets/javascripts/transit/views/video_player.jst
216
+ - app/assets/javascripts/transit/views/wym_box.jst
217
+ - app/assets/javascripts/transit/views/wym_iframe.jst
218
+ - app/assets/javascripts/transit.js
219
+ - app/assets/stylesheets/transit/forms.css.scss
220
+ - app/assets/stylesheets/transit/media/audio.css.scss
221
+ - app/assets/stylesheets/transit/media/video.css.scss
222
+ - app/assets/stylesheets/transit/panel.css.scss
223
+ - app/assets/stylesheets/transit/ui.css.scss
224
+ - app/assets/stylesheets/transit.css.scss.erb
225
+ - app/controllers/pages_controller.rb
226
+ - app/controllers/posts_controller.rb
227
+ - app/controllers/transit/assets_controller.rb
134
228
  - app/controllers/transit/contexts_controller.rb
135
- - app/controllers/transit/index_controller.rb
136
- - app/controllers/transit/packages_controller.rb
137
- - app/controllers/transit/transit_controller.rb
138
- - app/helpers/routing_helpers.rb
139
- - app/models/audio.rb
140
- - app/models/package_asset.rb
141
- - app/models/text.rb
142
- - app/models/video.rb
143
- - app/views/contexts/_audio.html.erb
229
+ - app/controllers/transit/pages_controller.rb
230
+ - app/controllers/transit/posts_controller.rb
231
+ - app/controllers/transit/topics_controller.rb
232
+ - app/controllers/transit_controller.rb
233
+ - app/helpers/transit/admin_helper.rb
234
+ - app/helpers/transit/form_helper.rb
235
+ - app/helpers/transit/package_helper.rb
236
+ - app/helpers/transit/pagination_helper.rb
237
+ - app/helpers/transit_helper.rb
238
+ - app/models/comment.rb
239
+ - app/models/contexts/audio.rb
240
+ - app/models/contexts/text.rb
241
+ - app/models/contexts/video.rb
242
+ - app/models/topic.rb
243
+ - app/models/transit/asset.rb
244
+ - app/models/transit/context.rb
144
245
  - app/views/contexts/_text.html.erb
145
- - app/views/contexts/_video.html.erb
146
- - app/views/layouts/transit.html.erb
147
- - app/views/transit/index/index.html.erb
148
- - lib/transit/context.rb
246
+ - app/views/posts/index.rss.builder
247
+ - app/views/transit/assets/_file.html.erb
248
+ - app/views/transit/assets/_image.html.erb
249
+ - app/views/transit/assets/create.js.erb
250
+ - app/views/transit/assets/destroy.js.erb
251
+ - app/views/transit/assets/manage.html.erb
252
+ - app/views/transit/contexts/_audio.html.erb
253
+ - app/views/transit/contexts/_text.html.erb
254
+ - app/views/transit/contexts/_video.html.erb
255
+ - app/views/transit/contexts/destroy.js.erb
256
+ - app/views/transit/contexts/index.html.erb
257
+ - app/views/transit/contexts/new.js.erb
258
+ - app/views/transit/contexts/show.html.erb
259
+ - app/views/transit/index.html.erb
260
+ - app/views/transit/index.js.erb
261
+ - app/views/transit/interface/post_panel.html.erb
262
+ - app/views/transit/pages/_table.html.erb
263
+ - app/views/transit/pages/edit.html.erb
264
+ - app/views/transit/pages/index.html.erb
265
+ - app/views/transit/pages/update.js.erb
266
+ - app/views/transit/posts/_form.html.erb
267
+ - app/views/transit/posts/edit.html.erb
268
+ - app/views/transit/posts/new.html.erb
269
+ - app/views/transit/table.html.erb
270
+ - app/views/transit/table.js.erb
271
+ - app/views/transit/topics/manage.html.erb
272
+ - lib/transit/admin.rb
273
+ - lib/transit/builders/form_builder.rb
274
+ - lib/transit/builders/jst_builder.rb
275
+ - lib/transit/builders/package_builder.rb
276
+ - lib/transit/config.rb
277
+ - lib/transit/controller/generator.rb
278
+ - lib/transit/controller/responder.rb
279
+ - lib/transit/core_ext.rb
149
280
  - lib/transit/errors/invalid_context.rb
150
- - lib/transit/helpers/controller_helpers.rb
151
- - lib/transit/helpers/model_helpers.rb
152
- - lib/transit/package/base.rb
281
+ - lib/transit/errors/resource_not_found.rb
282
+ - lib/transit/model/assets.rb
283
+ - lib/transit/model/attachments.rb
284
+ - lib/transit/model/auto_increment.rb
285
+ - lib/transit/model/base.rb
286
+ - lib/transit/model/comments.rb
287
+ - lib/transit/model/hooks.rb
288
+ - lib/transit/model/owners.rb
289
+ - lib/transit/model/paginator.rb
290
+ - lib/transit/model/topics.rb
153
291
  - lib/transit/package/page.rb
292
+ - lib/transit/package/post/validations.rb
154
293
  - lib/transit/package/post.rb
155
- - lib/transit/package.rb
156
294
  - lib/transit/rails/engine.rb
295
+ - lib/transit/rails/railtie.rb
157
296
  - lib/transit/rails/routing.rb
297
+ - lib/transit/services/base.rb
298
+ - lib/transit/services/facebook.rb
299
+ - lib/transit/services/ted.rb
300
+ - lib/transit/services/twitter.rb
301
+ - lib/transit/services/vimeo.rb
302
+ - lib/transit/services/you_tube.rb
303
+ - lib/transit/services.rb
158
304
  - lib/transit/version.rb
159
305
  - lib/transit.rb
306
+ - config/locales/en.yml
160
307
  - config/routes.rb
161
308
  - MIT-LICENSE
162
309
  - Rakefile
@@ -1,24 +0,0 @@
1
- /*
2
- Include browser-specific css here. This file should be included in the main css file as well as ie.css.
3
- This way PIE can apply itself to any css3 items that have been used.
4
- add @import pie_option; to allow SASS to toggle it on for IE and off for everyone else.
5
- */
6
-
7
-
8
- ///////////////////////////////////////////////
9
- // Setup buttons
10
- ///////////////////////////////////////////////
11
-
12
-
13
- @import "blueprint/buttons";
14
- $blueprint-button-font-family: $blueprint-font-family;
15
-
16
- a.button{ @include anchor-button; }
17
- button.button{ @include button-button; }
18
-
19
- .button{ @include border-radius(5px); @include pie_option; padding:0px 1.5em; margin:0px; text-decoration:none;
20
- @include button-colors; @include button-active-colors; @include button-hover-colors;
21
- &:hover{ }
22
- &:active{ }
23
- }
24
- a.button, button.button{ @extend .button; }
@@ -1,99 +0,0 @@
1
- /*
2
- A few layout defaults. Sets up buttons, forms, flash/notification messages and reset. This file should only be
3
- imported into the main css file.
4
- */
5
-
6
- // Reset
7
- @import "blueprint/reset";
8
-
9
- ///////////////////////////////////////////////
10
- // Setup typography
11
- ///////////////////////////////////////////////
12
-
13
- @include blueprint-typography;
14
-
15
- ///////////////////////////////////////////////
16
- // Setup forms
17
- ///////////////////////////////////////////////
18
-
19
- form{ @include blueprint-form-borders;
20
- @include blueprint-form-layout;
21
-
22
- ol.split{ display:block; clear:both; margin:-.5em 0px; @include pie-clearfix;
23
- li{
24
- float:left;
25
- margin:0px 1em 0px 0px;
26
- vertical-align:middle;
27
-
28
- label,
29
- input[type=text],
30
- input[type=password],
31
- input[type=email]{ display:block; }
32
- select{ margin:.75em 0px; }
33
- }
34
- }
35
-
36
- ol{ list-style-type:none !important; margin:0px; padding:0px; padding-right:10px;
37
- li{ padding:.5em 0px;
38
- &.clear{ clear:both; }
39
- &.buttons{ clear:both; padding:.25em 0px 0px 0px; }
40
- &.inline label{ display:inline !important; }
41
- &.multifield{
42
- input, select{ display:inline !important; }
43
- }
44
-
45
- ol{ @extend ol.split; }
46
- }
47
-
48
- label{ display:block; }
49
- }
50
-
51
- ol.inline li.label{ display:inline !important; }
52
- label abbr{ outline:none; border:none; color:red; }
53
- input[type=text],
54
- input[type=password],
55
- input[type=email],
56
- textarea{
57
- @include border-radius(2px); padding:.65em;
58
- &:focus{ outline:none; border-color:#333; }
59
- }
60
- select{ border-style:solid !important;
61
- &:focus{ outline:none; }
62
- }
63
- select[multiple=multiple]{
64
- @include border-radius(2px); border-color:#ccc;
65
- }
66
- input[type=checkbox],
67
- input[type=radio]{
68
- display:inline; margin-right:1em; vertical-align:baseline; width:auto; }
69
-
70
- span.field_with_errors{ padding:0px; line-height:1; margin:0px; position:relative;
71
- input[type=text],
72
- input[type=password],
73
- input[type=email],
74
- textarea{
75
- border:1px solid $error-border-color; background:$error-bg-color; margin-bottom:0px;
76
- }
77
- span.error_for_field{
78
- line-height:.75em; font-size:.9em; font-style:italic; color:$error-color; display:block;
79
- }
80
- }
81
- }
82
-
83
-
84
- ////////////////////////////////////
85
- // Notifications
86
- ////////////////////////////////////
87
- div.error, div.notice, div.success, div.alert{ padding: .8em; margin-bottom: 1em; border-width:.17em; border-style:solid; position:relative; }
88
- .error, .alert { background-color:$error-bg-color; border-color:$error-border-color; color:$error-color; }
89
- .notice { background-color:$info-bg-color; border-color:$info-border-color; color:$info-color; }
90
- .success { background-color:$success-bg-color; border-color:$success-border-color; color:$success-color; }
91
-
92
- /*div.flash_message{ @include border-radius(5px); background-repeat:no-repeat; background-position:10px 45%; padding-left:35px;
93
- text-align:left;
94
- span{ position:absolute; top:30%; right:1em; cursor:pointer; cursor:hand; }
95
- }*/
96
- div.flash_message{ position:fixed; top:0; left:0; height:40px; line-height:45px; font-size:1.3em; border-left:none; border-right:none; border-top:none;
97
- width:100%; z-index:2000; padding:0 !important; text-align:center; border-bottom-width:2px; cursor:pointer; cursor:hand;
98
- span{ font-size:.8em; font-style:italic; padding-left:1em; }
99
- }
@@ -1,16 +0,0 @@
1
- /*
2
- Include this file within each SCSS file to have access to libraries and variables. By itself this import adds
3
- no additional css so it can be included cleanly.
4
- */
5
-
6
- // Debug enables grids
7
- $debug: false !default;
8
- $cdn: "https://s3.amazonaws.com/cdn.kurbmedia.com/transit";
9
-
10
- ////////////////////////////////////////////////
11
- // Import libraries
12
- ////////////////////////////////////////////////
13
- @import "imports";
14
- @import "setup";
15
- @import "mixins";
16
- ////////////////////////////////////////////////