transit 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +19 -11
- data/app/assets/images/transit/icon24x24.png +0 -0
- data/app/assets/images/transit/icon24x24_files.png +0 -0
- data/app/assets/images/transit/jplayer.swf +0 -0
- data/app/assets/images/transit/uploadify.swf +0 -0
- data/app/assets/images/transit/video_player.swf +0 -0
- data/app/assets/javascripts/jqtools/expose.js +224 -0
- data/app/assets/javascripts/jqtools/flashembed.js +300 -0
- data/app/assets/javascripts/jqtools/overlay.js +294 -0
- data/app/assets/javascripts/jqtools/scrollable.js +3 -0
- data/app/assets/javascripts/jqtools/scrollable/autoscroll.js +81 -0
- data/app/assets/javascripts/jqtools/scrollable/base.js +335 -0
- data/app/assets/javascripts/jqtools/scrollable/navigator.js +139 -0
- data/app/assets/javascripts/jqtools/validator.js +590 -0
- data/app/assets/javascripts/jqueryui/accordion.js +611 -0
- data/app/assets/javascripts/jqueryui/autocomplete.js +612 -0
- data/app/assets/javascripts/jqueryui/button.js +388 -0
- data/app/assets/javascripts/jqueryui/core.js +312 -0
- data/app/assets/javascripts/jqueryui/datepicker.js +1791 -0
- data/app/assets/javascripts/jqueryui/dialog.js +878 -0
- data/app/assets/javascripts/jqueryui/draggable.js +815 -0
- data/app/assets/javascripts/jqueryui/droppable.js +285 -0
- data/app/assets/javascripts/jqueryui/effects/blind.js +49 -0
- data/app/assets/javascripts/jqueryui/effects/bounce.js +78 -0
- data/app/assets/javascripts/jqueryui/effects/clip.js +54 -0
- data/app/assets/javascripts/jqueryui/effects/core.js +746 -0
- data/app/assets/javascripts/jqueryui/effects/drop.js +50 -0
- data/app/assets/javascripts/jqueryui/effects/explode.js +79 -0
- data/app/assets/javascripts/jqueryui/effects/fade.js +32 -0
- data/app/assets/javascripts/jqueryui/effects/fold.js +56 -0
- data/app/assets/javascripts/jqueryui/effects/highlight.js +50 -0
- data/app/assets/javascripts/jqueryui/effects/pulsate.js +51 -0
- data/app/assets/javascripts/jqueryui/effects/scale.js +178 -0
- data/app/assets/javascripts/jqueryui/effects/shake.js +57 -0
- data/app/assets/javascripts/jqueryui/effects/slide.js +50 -0
- data/app/assets/javascripts/jqueryui/effects/transfer.js +45 -0
- data/app/assets/javascripts/jqueryui/mouse.js +160 -0
- data/app/assets/javascripts/jqueryui/position.js +252 -0
- data/app/assets/javascripts/jqueryui/progressbar.js +109 -0
- data/app/assets/javascripts/jqueryui/resizable.js +814 -0
- data/app/assets/javascripts/jqueryui/selectable.js +266 -0
- data/app/assets/javascripts/jqueryui/slider.js +666 -0
- data/app/assets/javascripts/jqueryui/sortable.js +1077 -0
- data/app/assets/javascripts/jqueryui/tabs.js +758 -0
- data/app/assets/javascripts/jqueryui/widget.js +262 -0
- data/app/assets/javascripts/libs/backbone.js +1152 -0
- data/app/assets/javascripts/libs/cookie.js +89 -0
- data/app/assets/javascripts/libs/fileinput.js +130 -0
- data/app/assets/javascripts/libs/jplayer.js +1768 -0
- data/app/assets/javascripts/libs/proper.js +541 -0
- data/app/assets/javascripts/libs/sanitize.js +282 -0
- data/app/assets/javascripts/libs/selecttolist.js +75 -0
- data/app/assets/javascripts/libs/underscore.js +807 -0
- data/app/assets/javascripts/libs/uploadify.js +677 -0
- data/app/assets/javascripts/libs/wymeditor.js +9538 -0
- data/app/assets/javascripts/transit.js +4 -0
- data/app/assets/javascripts/transit/admin.js +22 -0
- data/app/assets/javascripts/transit/admin/contexts.js +52 -0
- data/app/assets/javascripts/transit/admin/fields.js +36 -0
- data/app/assets/javascripts/transit/admin/upload.js +109 -0
- data/app/assets/javascripts/transit/config.js.erb +101 -0
- data/app/assets/javascripts/transit/contexts/audio.js +39 -0
- data/app/assets/javascripts/transit/contexts/video.js +79 -0
- data/app/assets/javascripts/transit/core.js +171 -0
- data/app/assets/javascripts/transit/frontend.js +3 -0
- data/app/assets/javascripts/transit/lib/base64.js +120 -0
- data/app/assets/javascripts/transit/lib/editor.js +177 -0
- data/app/assets/javascripts/transit/views/audio_player.jst +22 -0
- data/app/assets/javascripts/transit/views/editor_toolbar.jst +12 -0
- data/app/assets/javascripts/transit/views/file_upload.jst +5 -0
- data/app/assets/javascripts/transit/views/video_player.jst +20 -0
- data/app/assets/javascripts/transit/views/wym_box.jst +4 -0
- data/app/assets/javascripts/transit/views/wym_iframe.jst +3 -0
- data/app/assets/stylesheets/transit.css.scss.erb +42 -0
- data/app/assets/stylesheets/transit/forms.css.scss +66 -0
- data/app/assets/stylesheets/transit/media/audio.css.scss +65 -0
- data/app/assets/stylesheets/transit/media/video.css.scss +30 -0
- data/app/assets/stylesheets/transit/panel.css.scss +100 -0
- data/app/assets/stylesheets/transit/ui.css.scss +507 -0
- data/app/controllers/pages_controller.rb +3 -0
- data/app/controllers/posts_controller.rb +3 -0
- data/app/controllers/transit/assets_controller.rb +38 -0
- data/app/controllers/transit/contexts_controller.rb +12 -9
- data/app/controllers/transit/pages_controller.rb +26 -0
- data/app/controllers/transit/posts_controller.rb +31 -0
- data/app/controllers/transit/topics_controller.rb +5 -0
- data/app/controllers/transit_controller.rb +16 -0
- data/app/helpers/transit/admin_helper.rb +43 -0
- data/app/helpers/transit/form_helper.rb +17 -0
- data/app/helpers/transit/package_helper.rb +41 -0
- data/app/helpers/transit/pagination_helper.rb +58 -0
- data/app/helpers/transit_helper.rb +42 -0
- data/app/models/comment.rb +37 -0
- data/app/models/contexts/audio.rb +12 -0
- data/app/models/{text.rb → contexts/text.rb} +0 -0
- data/app/models/contexts/video.rb +24 -0
- data/app/models/topic.rb +19 -0
- data/app/models/transit/asset.rb +68 -0
- data/{lib → app/models}/transit/context.rb +29 -0
- data/app/views/contexts/_text.html.erb +1 -1
- data/app/views/posts/index.rss.builder +18 -0
- data/app/views/transit/assets/_file.html.erb +4 -0
- data/app/views/transit/assets/_image.html.erb +13 -0
- data/app/views/transit/assets/create.js.erb +8 -0
- data/app/views/transit/assets/destroy.js.erb +3 -0
- data/app/views/transit/assets/manage.html.erb +20 -0
- data/app/views/transit/contexts/_audio.html.erb +18 -0
- data/app/views/transit/contexts/_text.html.erb +6 -0
- data/app/views/transit/contexts/_video.html.erb +13 -0
- data/app/views/transit/contexts/destroy.js.erb +1 -0
- data/app/views/transit/contexts/index.html.erb +5 -0
- data/app/views/transit/contexts/new.js.erb +7 -0
- data/app/views/transit/contexts/show.html.erb +8 -0
- data/app/views/transit/index.html.erb +26 -0
- data/app/views/transit/index.js.erb +1 -0
- data/app/views/transit/interface/post_panel.html.erb +96 -0
- data/app/views/transit/pages/_table.html.erb +7 -0
- data/app/views/transit/pages/edit.html.erb +17 -0
- data/app/views/transit/pages/index.html.erb +17 -0
- data/app/views/transit/pages/update.js.erb +1 -0
- data/app/views/transit/posts/_form.html.erb +49 -0
- data/app/views/transit/posts/edit.html.erb +14 -0
- data/app/views/transit/posts/new.html.erb +21 -0
- data/app/views/transit/table.html.erb +13 -0
- data/app/views/transit/table.js.erb +8 -0
- data/app/views/transit/topics/manage.html.erb +28 -0
- data/config/locales/en.yml +22 -0
- data/config/routes.rb +3 -3
- data/lib/transit.rb +51 -17
- data/lib/transit/admin.rb +85 -0
- data/lib/transit/builders/form_builder.rb +319 -0
- data/lib/transit/builders/jst_builder.rb +38 -0
- data/lib/transit/builders/package_builder.rb +45 -0
- data/lib/transit/config.rb +20 -0
- data/lib/transit/controller/generator.rb +42 -0
- data/lib/transit/controller/responder.rb +34 -0
- data/lib/transit/core_ext.rb +18 -0
- data/lib/transit/errors/resource_not_found.rb +6 -0
- data/lib/transit/model/assets.rb +14 -0
- data/lib/transit/model/attachments.rb +55 -0
- data/lib/transit/model/auto_increment.rb +22 -0
- data/lib/transit/model/base.rb +56 -0
- data/lib/transit/model/comments.rb +19 -0
- data/lib/transit/model/hooks.rb +38 -0
- data/lib/transit/model/owners.rb +14 -0
- data/lib/transit/model/paginator.rb +92 -0
- data/lib/transit/model/topics.rb +14 -0
- data/lib/transit/package/page.rb +20 -12
- data/lib/transit/package/post.rb +87 -33
- data/lib/transit/package/post/validations.rb +14 -0
- data/lib/transit/rails/engine.rb +29 -13
- data/lib/transit/rails/railtie.rb +31 -0
- data/lib/transit/rails/routing.rb +11 -6
- data/lib/transit/services.rb +13 -0
- data/lib/transit/services/base.rb +14 -0
- data/lib/transit/services/facebook.rb +13 -0
- data/lib/transit/services/ted.rb +10 -0
- data/lib/transit/services/twitter.rb +13 -0
- data/lib/transit/services/vimeo.rb +10 -0
- data/lib/transit/services/you_tube.rb +12 -0
- data/lib/transit/version.rb +1 -1
- metadata +178 -31
- data/app/assets/stylesheets/includes/_compat.scss +0 -24
- data/app/assets/stylesheets/includes/_defaults.scss +0 -99
- data/app/assets/stylesheets/includes/_global.scss +0 -16
- data/app/assets/stylesheets/includes/_imports.scss +0 -27
- data/app/assets/stylesheets/includes/_mixins.scss +0 -38
- data/app/assets/stylesheets/includes/_setup.scss +0 -85
- data/app/assets/stylesheets/layout.css.scss +0 -29
- data/app/assets/stylesheets/transit.css +0 -3
- data/app/controllers/application_controller.rb +0 -5
- data/app/controllers/transit/index_controller.rb +0 -7
- data/app/controllers/transit/packages_controller.rb +0 -64
- data/app/controllers/transit/transit_controller.rb +0 -4
- data/app/helpers/routing_helpers.rb +0 -7
- data/app/models/audio.rb +0 -4
- data/app/models/package_asset.rb +0 -11
- data/app/models/video.rb +0 -8
- data/app/views/contexts/_audio.html.erb +0 -1
- data/app/views/contexts/_video.html.erb +0 -1
- data/app/views/layouts/transit.html.erb +0 -31
- data/app/views/transit/index/index.html.erb +0 -0
- data/lib/transit/helpers/controller_helpers.rb +0 -40
- data/lib/transit/helpers/model_helpers.rb +0 -26
- data/lib/transit/package.rb +0 -25
- data/lib/transit/package/base.rb +0 -49
data/lib/transit/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: transit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
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-
|
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:
|
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:
|
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/
|
126
|
-
- app/assets/
|
127
|
-
- app/assets/
|
128
|
-
- app/assets/
|
129
|
-
- app/assets/
|
130
|
-
- app/assets/
|
131
|
-
- app/assets/
|
132
|
-
- app/assets/
|
133
|
-
- app/
|
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/
|
136
|
-
- app/controllers/transit/
|
137
|
-
- app/controllers/transit/
|
138
|
-
- app/
|
139
|
-
- app/
|
140
|
-
- app/
|
141
|
-
- app/
|
142
|
-
- app/
|
143
|
-
- app/
|
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/
|
146
|
-
- app/views/
|
147
|
-
- app/views/transit/
|
148
|
-
-
|
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/
|
151
|
-
- lib/transit/
|
152
|
-
- lib/transit/
|
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
|
-
////////////////////////////////////////////////
|