sooner 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/lib/generators/sooner/install/install_generator.rb +16 -16
  2. data/lib/sooner/version.rb +1 -1
  3. data/test/dummy/config/application.rb +6 -1
  4. data/test/dummy/config/environments/production.rb +1 -1
  5. data/test/dummy/config/mongoid.yml +2 -11
  6. metadata +8 -90
  7. data/app/models/sooner/admin/subscriber.rb +0 -3
  8. data/lib/sooner/version.rb~ +0 -3
  9. data/test/dummy/config/database.yml +0 -25
  10. data/test/dummy/db/development.sqlite3 +0 -0
  11. data/test/dummy/log/development.log +0 -13370
  12. data/test/dummy/tmp/cache/assets/C30/8B0/sprockets%2F6853748309a0fdd864824f56536d8023 +0 -9062
  13. data/test/dummy/tmp/cache/assets/C3F/0E0/sprockets%2F0e1cbc926773103d03774752e9108a00 +0 -335
  14. data/test/dummy/tmp/cache/assets/C66/FB0/sprockets%2F98a6552e0c72949d717178b5902e6f36 +0 -71
  15. data/test/dummy/tmp/cache/assets/C6D/F80/sprockets%2F44533615dbef3e810253094110825dac +0 -62
  16. data/test/dummy/tmp/cache/assets/C7A/910/sprockets%2F856f6b120c31d4622c49b3630219de68 +0 -9069
  17. data/test/dummy/tmp/cache/assets/C92/6A0/sprockets%2Fc5438348d868c777420d2e63fce56245 +0 -98
  18. data/test/dummy/tmp/cache/assets/C9C/A60/sprockets%2Fc6c3395667d18857f7f12369e53fa727 +0 -350
  19. data/test/dummy/tmp/cache/assets/CA7/430/sprockets%2F202cbe6f48604eb00549854f3053b58a +0 -25
  20. data/test/dummy/tmp/cache/assets/CB4/610/sprockets%2Ffeb1a7838d426857f0530993e420b60e +0 -115
  21. data/test/dummy/tmp/cache/assets/CE4/0D0/sprockets%2F439a9e8509403ac14ca356e5f2e9348b +0 -7
  22. data/test/dummy/tmp/cache/assets/CEB/DC0/sprockets%2F38536533e8e59a3fe0be483209c6d5c6 +0 -352
  23. data/test/dummy/tmp/cache/assets/CF6/900/sprockets%2F94575569edeb05737ebeaa60898940b6 +0 -26
  24. data/test/dummy/tmp/cache/assets/D07/4F0/sprockets%2Fe6091698b531dd271d5ac325b8b84ba0 +0 -10
  25. data/test/dummy/tmp/cache/assets/D19/BD0/sprockets%2F88636a6d051daca6365de6bd82096f48 +0 -2445
  26. data/test/dummy/tmp/cache/assets/D2B/3B0/sprockets%2F7de3b697dd206aa6eb292e301b140b60 +0 -88
  27. data/test/dummy/tmp/cache/assets/D39/410/sprockets%2Fa93af35d175ac7db006e63e91a0889b0 +0 -42
  28. data/test/dummy/tmp/cache/assets/D53/160/sprockets%2F8970dd07264d6eae78dd182d79df13c8 +0 -303
  29. data/test/dummy/tmp/cache/assets/D60/CE0/sprockets%2F06310f19d92bb4f40da80a37750ebdee +0 -9
  30. data/test/dummy/tmp/cache/assets/D65/620/sprockets%2F631e2801093d7a12aa6766bccaadfe88 +0 -422
  31. data/test/dummy/tmp/cache/assets/D7E/D20/sprockets%2Ff491cba4ec5176a691d9e5d7fc70892c +0 -9052
  32. data/test/dummy/tmp/cache/assets/D88/580/sprockets%2Ffef9b1c3b3b1b0316917a509cb1afb42 +0 -439
  33. data/test/dummy/tmp/cache/assets/D8E/B60/sprockets%2F1bc4810ecfe6a7b05c934eb3b0c2963a +0 -9064
  34. data/test/dummy/tmp/cache/assets/D99/D60/sprockets%2F29025313ddeaa1ff18cade1ed728949a +0 -41
  35. data/test/dummy/tmp/cache/assets/D9E/FD0/sprockets%2Ff8c955f36a2caa4039a66afc4c376e3a +0 -0
  36. data/test/dummy/tmp/cache/assets/DA5/1C0/sprockets%2Fec8cd61eddd7205e7c9c647f59413ac0 +0 -371
  37. data/test/dummy/tmp/cache/assets/DAF/6E0/sprockets%2F1b832fdf9fb97a8a7bcd2c907e652f47 +0 -2386
  38. data/test/dummy/tmp/cache/assets/DBC/650/sprockets%2Fd6da39f6f3f4a37c0db10cbc34ab0681 +0 -67
  39. data/test/dummy/tmp/cache/assets/DC2/150/sprockets%2F5cd685a35e3b593acade42a3b01def72 +0 -8
  40. data/test/dummy/tmp/cache/assets/DC7/530/sprockets%2Fea29d9af8aad9da0803062d3d7c06ac8 +0 -373
  41. data/test/dummy/tmp/cache/assets/DC9/2C0/sprockets%2Fbe1b3f07eb2f550c47c493a6f9a0de7b +0 -333
  42. data/test/dummy/tmp/cache/assets/DD6/820/sprockets%2Fb453f0fef899e0c6fe08aba14b94d09e +0 -45
  43. data/test/dummy/tmp/cache/assets/DD7/130/sprockets%2F6af271c6eec0698bc95224abf1ebf9f6 +0 -390
  44. data/test/dummy/tmp/cache/assets/E03/200/sprockets%2F8bd487cf65caa9fe453abd16be83e0a7 +0 -70
  45. data/test/dummy/tmp/cache/assets/E1D/680/sprockets%2Fc5c6b0ea20de8ef4d2f1eed00a35c93c +0 -25
  46. data/test/dummy/tmp/cache/assets/E49/440/sprockets%2Fbb92f156efb75bdda7bbacc04acb1425 +0 -27
  47. data/test/dummy/tmp/cache/assets/E59/430/sprockets%2Fb3073d96f7bcefcbdd3cdabe09a45a74 +0 -286
  48. data/test/dummy/tmp/cache/assets/E84/430/sprockets%2F61ffc0ed6338cebfdac2f1d3eaf0ae47 +0 -9420
@@ -1,67 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320241418.7118437: @value{I"
2
- class:EFI"BundledAsset;
3
- FI"id;
4
- F"%2aa34c1bcef9e4538de6025379d76c0cI"logical_path;
5
- FI"!sooner/admin/application.css;
6
- TI"
7
- F"W/home/sbertel/workspace/sooner/app/assets/stylesheets/sooner/admin/application.cssI"content_type;
8
- FI"
9
- FI"
10
- mtime;
11
- FI"2011-11-02T15:43:33+02:00;
12
- FI" body;
13
- FI"�/*
14
- */
15
- /* Override some defaults */
16
-
17
- html, body {
18
- background-color:#eee;
19
- }
20
- body {
21
- padding-top:40px; /* 40px to make the container go all the way to the bottom of the topbar */
22
- }
23
- .container> footer p {
24
- text-align:center; /* center align it with the container */
25
- }
26
- .container {
27
- width:820px; /* downsize our container to make the content feel a bit tighter and more cohesive. NOTE: this removes two full columns from the grid, meaning you only go to 14 columns and not 16. */
28
- }
29
- .content {
30
- background-color:white;
31
- padding:20px;
32
- margin:0 -20px;
33
- -webkit-border-radius:6px 6px 6px 6px;
34
- -moz-border-radius:6px 6px 6px 6px;
35
- border-radius:6px 6px 6px 6px;
36
- -webkit-box-shadow:0 1px 2px rgba(0,0,0,.15);
37
- -moz-box-shadow:0 1px 2px rgba(0,0,0,.15);
38
- box-shadow:0 1px 2px rgba(0,0,0,.15);
39
- }
40
- /* Page header tweaks */
41
- .page-header {
42
- -webkit-border-radius:6px 6px 0 0;
43
- -moz-border-radius:6px 6px 0 0;
44
- border-radius:6px 6px 0 0;
45
- background-color:#f5f5f5;
46
- padding:20px 20px 10px;
47
- margin:-20px -20px 20px;
48
- }
49
- ;
50
- FI"asset_paths;
51
- F["O/home/sbertel/workspace/sooner/app/assets/stylesheets/sooner/bootstrap.css"W/home/sbertel/workspace/sooner/app/assets/stylesheets/sooner/admin/application.cssI"dependency_paths;
52
- F[{I" path;
53
- F"W/home/sbertel/workspace/sooner/app/assets/stylesheets/sooner/admin/application.cssI"
54
- mtime;
55
- FIu: Time
56
-
57
- ��
58
- : @_zoneI"EET;
59
- T:
60
- F"%7ae14dd0f86ddeb5b08e23a11affe428{I" path;
61
- F"O/home/sbertel/workspace/sooner/app/assets/stylesheets/sooner/bootstrap.cssI"
62
- mtime;
63
- FIu;
64
- ; I"EET;
65
- T;
66
- F"%b0df9b5e1c4a1f7f85488e915ee2c246I"
67
- F"%46dde6621c301f4928e3b34efee9e3b5
@@ -1,8 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320069165.6662126: @value{ I" length:EFi�I" digest;
2
- F"%c14ee96118d9157b9d075663cd003f63I" source;
3
- FI"�// Place all the behaviors and hooks related to the matching controller here.
4
- // All this logic will automatically be available in application.js.
5
- ;
6
- ;
7
- FI"
8
- F"%7d2d57cf67fd68c5ae7e4c7ec76ea4e1
@@ -1,373 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320069165.6637285: @value{ I" length:EFi;I" digest;
2
- F"%73ab0c1f1ca15b2fb76fb52efbe07d7aI" source;
3
- FI";/**
4
- * Unobtrusive scripting adapter for jQuery
5
- *
6
- * Requires jQuery 1.6.0 or later.
7
- * https://github.com/rails/jquery-ujs
8
-
9
- * Uploading file using rails.js
10
- * =============================
11
- *
12
- * By default, browsers do not allow files to be uploaded via AJAX. As a result, if there are any non-blank file fields
13
- * in the remote form, this adapter aborts the AJAX submission and allows the form to submit through standard means.
14
- *
15
- * The `ajax:aborted:file` event allows you to bind your own handler to process the form submission however you wish.
16
- *
17
- * Ex:
18
- * $('form').live('ajax:aborted:file', function(event, elements){
19
- * // Implement own remote file-transfer handler here for non-blank file inputs passed in `elements`.
20
- * // Returning false in this handler tells rails.js to disallow standard form submission
21
- * return false;
22
- * });
23
- *
24
- * The `ajax:aborted:file` event is fired when a file-type input is detected with a non-blank value.
25
- *
26
- * Third-party tools can use this hook to detect when an AJAX file upload is attempted, and then use
27
- * techniques like the iframe method to upload the file instead.
28
- *
29
- * Required fields in rails.js
30
- * ===========================
31
- *
32
- * If any blank required inputs (required="required") are detected in the remote form, the whole form submission
33
- * is canceled. Note that this is unlike file inputs, which still allow standard (non-AJAX) form submission.
34
- *
35
- * The `ajax:aborted:required` event allows you to bind your own handler to inform the user of blank required inputs.
36
- *
37
- * !! Note that Opera does not fire the form's submit event if there are blank required inputs, so this event may never
38
- * get fired in Opera. This event is what causes other browsers to exhibit the same submit-aborting behavior.
39
- *
40
- * Ex:
41
- * $('form').live('ajax:aborted:required', function(event, elements){
42
- * // Returning false in this handler tells rails.js to submit the form anyway.
43
- * // The blank required inputs are passed to this function in `elements`.
44
- * return ! confirm("Would you like to submit the form with missing info?");
45
- * });
46
- */
47
-
48
-
49
- (function($, undefined) {
50
- // Shorthand to make it a little easier to call public rails functions from within rails.js
51
- var rails;
52
-
53
- $.rails = rails = {
54
- // Link elements bound by jquery-ujs
55
- linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]',
56
-
57
- // Select elements bound by jquery-ujs
58
- inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
59
-
60
- // Form elements bound by jquery-ujs
61
- formSubmitSelector: 'form',
62
-
63
- // Form input elements bound by jquery-ujs
64
- formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not(button[type])',
65
-
66
- // Form input elements disabled during form submission
67
- disableSelector: 'input[data-disable-with], button[data-disable-with], textarea[data-disable-with]',
68
-
69
- // Form input elements re-enabled after form submission
70
- enableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled',
71
-
72
- // Form required input elements
73
- requiredInputSelector: 'input[name][required]:not([disabled]),textarea[name][required]:not([disabled])',
74
-
75
- // Form file input elements
76
- fileInputSelector: 'input:file',
77
-
78
- // Link onClick disable selector with possible reenable after remote submission
79
- linkDisableSelector: 'a[data-disable-with]',
80
-
81
- // Make sure that every Ajax request sends the CSRF token
82
- CSRFProtection: function(xhr) {
83
- var token = $('meta[name="csrf-token"]').attr('content');
84
- if (token) xhr.setRequestHeader('X-CSRF-Token', token);
85
- },
86
-
87
- // Triggers an event on an element and returns false if the event result is false
88
- fire: function(obj, name, data) {
89
- var event = $.Event(name);
90
- obj.trigger(event, data);
91
- return event.result !== false;
92
- },
93
-
94
- // Default confirm dialog, may be overridden with custom confirm dialog in $.rails.confirm
95
- confirm: function(message) {
96
- return confirm(message);
97
- },
98
-
99
- // Default ajax function, may be overridden with custom function in $.rails.ajax
100
- ajax: function(options) {
101
- return $.ajax(options);
102
- },
103
-
104
- // Submits "remote" forms and links with ajax
105
- handleRemote: function(element) {
106
- var method, url, data,
107
- crossDomain = element.data('cross-domain') || null,
108
- dataType = element.data('type') || ($.ajaxSettings && $.ajaxSettings.dataType),
109
- options;
110
-
111
- if (rails.fire(element, 'ajax:before')) {
112
-
113
- if (element.is('form')) {
114
- method = element.attr('method');
115
- url = element.attr('action');
116
- data = element.serializeArray();
117
- // memoized value from clicked submit button
118
- var button = element.data('ujs:submit-button');
119
- if (button) {
120
- data.push(button);
121
- element.data('ujs:submit-button', null);
122
- }
123
- } else if (element.is(rails.inputChangeSelector)) {
124
- method = element.data('method');
125
- url = element.data('url');
126
- data = element.serialize();
127
- if (element.data('params')) data = data + "&" + element.data('params');
128
- } else {
129
- method = element.data('method');
130
- url = element.attr('href');
131
- data = element.data('params') || null;
132
- }
133
-
134
- options = {
135
- type: method || 'GET', data: data, dataType: dataType, crossDomain: crossDomain,
136
- // stopping the "ajax:beforeSend" event will cancel the ajax request
137
- beforeSend: function(xhr, settings) {
138
- if (settings.dataType === undefined) {
139
- xhr.setRequestHeader('accept', '*/*;q=0.5, ' + settings.accepts.script);
140
- }
141
- return rails.fire(element, 'ajax:beforeSend', [xhr, settings]);
142
- },
143
- success: function(data, status, xhr) {
144
- element.trigger('ajax:success', [data, status, xhr]);
145
- },
146
- complete: function(xhr, status) {
147
- element.trigger('ajax:complete', [xhr, status]);
148
- },
149
- error: function(xhr, status, error) {
150
- element.trigger('ajax:error', [xhr, status, error]);
151
- }
152
- };
153
- // Only pass url to `ajax` options if not blank
154
- if (url) { options.url = url; }
155
-
156
- rails.ajax(options);
157
- }
158
- },
159
-
160
- // Handles "data-method" on links such as:
161
- // <a href="/users/5" data-method="delete" rel="nofollow" data-confirm="Are you sure?">Delete</a>
162
- handleMethod: function(link) {
163
- var href = link.attr('href'),
164
- method = link.data('method'),
165
- target = link.attr('target'),
166
- csrf_token = $('meta[name=csrf-token]').attr('content'),
167
- csrf_param = $('meta[name=csrf-param]').attr('content'),
168
- form = $('<form method="post" action="' + href + '"></form>'),
169
- metadata_input = '<input name="_method" value="' + method + '" type="hidden" />';
170
-
171
- if (csrf_param !== undefined && csrf_token !== undefined) {
172
- metadata_input += '<input name="' + csrf_param + '" value="' + csrf_token + '" type="hidden" />';
173
- }
174
-
175
- if (target) { form.attr('target', target); }
176
-
177
- form.hide().append(metadata_input).appendTo('body');
178
- form.submit();
179
- },
180
-
181
- /* Disables form elements:
182
- - Caches element value in 'ujs:enable-with' data store
183
- - Replaces element text with value of 'data-disable-with' attribute
184
- - Sets disabled property to true
185
- */
186
- disableFormElements: function(form) {
187
- form.find(rails.disableSelector).each(function() {
188
- var element = $(this), method = element.is('button') ? 'html' : 'val';
189
- element.data('ujs:enable-with', element[method]());
190
- element[method](element.data('disable-with'));
191
- element.prop('disabled', true);
192
- });
193
- },
194
-
195
- /* Re-enables disabled form elements:
196
- - Replaces element text with cached value from 'ujs:enable-with' data store (created in `disableFormElements`)
197
- - Sets disabled property to false
198
- */
199
- enableFormElements: function(form) {
200
- form.find(rails.enableSelector).each(function() {
201
- var element = $(this), method = element.is('button') ? 'html' : 'val';
202
- if (element.data('ujs:enable-with')) element[method](element.data('ujs:enable-with'));
203
- element.prop('disabled', false);
204
- });
205
- },
206
-
207
- /* For 'data-confirm' attribute:
208
- - Fires `confirm` event
209
- - Shows the confirmation dialog
210
- - Fires the `confirm:complete` event
211
-
212
- Returns `true` if no function stops the chain and user chose yes; `false` otherwise.
213
- Attaching a handler to the element's `confirm` event that returns a `falsy` value cancels the confirmation dialog.
214
- Attaching a handler to the element's `confirm:complete` event that returns a `falsy` value makes this function
215
- return false. The `confirm:complete` event is fired whether or not the user answered true or false to the dialog.
216
- */
217
- allowAction: function(element) {
218
- var message = element.data('confirm'),
219
- answer = false, callback;
220
- if (!message) { return true; }
221
-
222
- if (rails.fire(element, 'confirm')) {
223
- answer = rails.confirm(message);
224
- callback = rails.fire(element, 'confirm:complete', [answer]);
225
- }
226
- return answer && callback;
227
- },
228
-
229
- // Helper function which checks for blank inputs in a form that match the specified CSS selector
230
- blankInputs: function(form, specifiedSelector, nonBlank) {
231
- var inputs = $(), input,
232
- selector = specifiedSelector || 'input,textarea';
233
- form.find(selector).each(function() {
234
- input = $(this);
235
- // Collect non-blank inputs if nonBlank option is true, otherwise, collect blank inputs
236
- if (nonBlank ? input.val() : !input.val()) {
237
- inputs = inputs.add(input);
238
- }
239
- });
240
- return inputs.length ? inputs : false;
241
- },
242
-
243
- // Helper function which checks for non-blank inputs in a form that match the specified CSS selector
244
- nonBlankInputs: function(form, specifiedSelector) {
245
- return rails.blankInputs(form, specifiedSelector, true); // true specifies nonBlank
246
- },
247
-
248
- // Helper function, needed to provide consistent behavior in IE
249
- stopEverything: function(e) {
250
- $(e.target).trigger('ujs:everythingStopped');
251
- e.stopImmediatePropagation();
252
- return false;
253
- },
254
-
255
- // find all the submit events directly bound to the form and
256
- // manually invoke them. If anyone returns false then stop the loop
257
- callFormSubmitBindings: function(form) {
258
- var events = form.data('events'), continuePropagation = true;
259
- if (events !== undefined && events['submit'] !== undefined) {
260
- $.each(events['submit'], function(i, obj){
261
- if (typeof obj.handler === 'function') return continuePropagation = obj.handler(obj.data);
262
- });
263
- }
264
- return continuePropagation;
265
- },
266
-
267
- // replace element's html with the 'data-disable-with' after storing original html
268
- // and prevent clicking on it
269
- disableElement: function(element) {
270
- element.data('ujs:enable-with', element.html()); // store enabled state
271
- element.html(element.data('disable-with')); // set to disabled state
272
- element.bind('click.railsDisable', function(e) { // prevent further clicking
273
- return rails.stopEverything(e)
274
- });
275
- },
276
-
277
- // restore element to its original state which was disabled by 'disableElement' above
278
- enableElement: function(element) {
279
- if (element.data('ujs:enable-with') !== undefined) {
280
- element.html(element.data('ujs:enable-with')); // set to old enabled state
281
- // this should be element.removeData('ujs:enable-with')
282
- // but, there is currently a bug in jquery which makes hyphenated data attributes not get removed
283
- element.data('ujs:enable-with', false); // clean up cache
284
- }
285
- element.unbind('click.railsDisable'); // enable element
286
- }
287
-
288
- };
289
-
290
- $.ajaxPrefilter(function(options, originalOptions, xhr){ if ( !options.crossDomain ) { rails.CSRFProtection(xhr); }});
291
-
292
- $(rails.linkDisableSelector).live('ajax:complete', function() {
293
- rails.enableElement($(this));
294
- });
295
-
296
- $(rails.linkClickSelector).live('click.rails', function(e) {
297
- var link = $(this), method = link.data('method'), data = link.data('params');
298
- if (!rails.allowAction(link)) return rails.stopEverything(e);
299
-
300
- if (link.is(rails.linkDisableSelector)) rails.disableElement(link);
301
-
302
- if (link.data('remote') !== undefined) {
303
- if ( (e.metaKey || e.ctrlKey) && (!method || method === 'GET') && !data ) { return true; }
304
- rails.handleRemote(link);
305
- return false;
306
- } else if (link.data('method')) {
307
- rails.handleMethod(link);
308
- return false;
309
- }
310
- });
311
-
312
- $(rails.inputChangeSelector).live('change.rails', function(e) {
313
- var link = $(this);
314
- if (!rails.allowAction(link)) return rails.stopEverything(e);
315
-
316
- rails.handleRemote(link);
317
- return false;
318
- });
319
-
320
- $(rails.formSubmitSelector).live('submit.rails', function(e) {
321
- var form = $(this),
322
- remote = form.data('remote') !== undefined,
323
- blankRequiredInputs = rails.blankInputs(form, rails.requiredInputSelector),
324
- nonBlankFileInputs = rails.nonBlankInputs(form, rails.fileInputSelector);
325
-
326
- if (!rails.allowAction(form)) return rails.stopEverything(e);
327
-
328
- // skip other logic when required values are missing or file upload is present
329
- if (blankRequiredInputs && form.attr("novalidate") == undefined && rails.fire(form, 'ajax:aborted:required', [blankRequiredInputs])) {
330
- return rails.stopEverything(e);
331
- }
332
-
333
- if (remote) {
334
- if (nonBlankFileInputs) {
335
- return rails.fire(form, 'ajax:aborted:file', [nonBlankFileInputs]);
336
- }
337
-
338
- // If browser does not support submit bubbling, then this live-binding will be called before direct
339
- // bindings. Therefore, we should directly call any direct bindings before remotely submitting form.
340
- if (!$.support.submitBubbles && rails.callFormSubmitBindings(form) === false) return rails.stopEverything(e);
341
-
342
- rails.handleRemote(form);
343
- return false;
344
- } else {
345
- // slight timeout so that the submit button gets properly serialized
346
- setTimeout(function(){ rails.disableFormElements(form); }, 13);
347
- }
348
- });
349
-
350
- $(rails.formInputClickSelector).live('click.rails', function(event) {
351
- var button = $(this);
352
-
353
- if (!rails.allowAction(button)) return rails.stopEverything(event);
354
-
355
- // register the pressed submit button
356
- var name = button.attr('name'),
357
- data = name ? {name:name, value:button.val()} : null;
358
-
359
- button.closest('form').data('ujs:submit-button', data);
360
- });
361
-
362
- $(rails.formSubmitSelector).live('ajax:beforeSend.rails', function(event) {
363
- if (this == event.target) rails.disableFormElements($(this));
364
- });
365
-
366
- $(rails.formSubmitSelector).live('ajax:complete.rails', function(event) {
367
- if (this == event.target) rails.enableFormElements($(this));
368
- });
369
-
370
- })( jQuery );
371
- ;
372
- FI"
373
- F"%a073618aade3908bd9d0bb1433d6024e
@@ -1,333 +0,0 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320232878.0169134: @value{ I" length:EFiI" digest;
2
- F"%ec1f51feceee879a7729367cbf54baa7I" source;
3
- FI"/*
4
- * Skeleton V1.1
5
- * Copyright 2011, Dave Gamache
6
- * www.getskeleton.com
7
- * Free to use under the MIT license.
8
- * http://www.opensource.org/licenses/mit-license.php
9
- * 8/17/2011
10
- */
11
- /* Table of Contents
12
- ==================================================
13
- #Base 960 Grid
14
- #Tablet (Portrait)
15
- #Mobile (Portrait)
16
- #Mobile (Landscape)
17
- #Clearing */
18
- /* #Base 960 Grid
19
- ================================================== */
20
-
21
- .container {
22
- position:relative;
23
- width:960px;
24
- margin:0 auto;
25
- padding:0;
26
- }
27
- .column, .columns {
28
- float:left;
29
- display:inline;
30
- margin-left:10px;
31
- margin-right:10px;
32
- }
33
- .row {
34
- margin-bottom:20px;
35
- }
36
- /* Nested Column Classes */
37
- .column.alpha, .columns.alpha {
38
- margin-left:0;
39
- }
40
- .column.omega, .columns.omega {
41
- margin-right:0;
42
- }
43
- /* Base Grid */
44
- .container .one.column {
45
- width:40px;
46
- }
47
- .container .two.columns {
48
- width:100px;
49
- }
50
- .container .three.columns {
51
- width:160px;
52
- }
53
- .container .four.columns {
54
- width:220px;
55
- }
56
- .container .five.columns {
57
- width:280px;
58
- }
59
- .container .six.columns {
60
- width:340px;
61
- }
62
- .container .seven.columns {
63
- width:400px;
64
- }
65
- .container .eight.columns {
66
- width:460px;
67
- }
68
- .container .nine.columns {
69
- width:520px;
70
- }
71
- .container .ten.columns {
72
- width:580px;
73
- }
74
- .container .eleven.columns {
75
- width:640px;
76
- }
77
- .container .twelve.columns {
78
- width:700px;
79
- }
80
- .container .thirteen.columns {
81
- width:760px;
82
- }
83
- .container .fourteen.columns {
84
- width:820px;
85
- }
86
- .container .fifteen.columns {
87
- width:880px;
88
- }
89
- .container .sixteen.columns {
90
- width:940px;
91
- }
92
- .container .one-third.column {
93
- width:300px;
94
- }
95
- .container .two-thirds.column {
96
- width:620px;
97
- }
98
- /* Offsets */
99
- .container .offset-by-one {
100
- padding-left:60px;
101
- }
102
- .container .offset-by-two {
103
- padding-left:120px;
104
- }
105
- .container .offset-by-three {
106
- padding-left:180px;
107
- }
108
- .container .offset-by-four {
109
- padding-left:240px;
110
- }
111
- .container .offset-by-five {
112
- padding-left:300px;
113
- }
114
- .container .offset-by-six {
115
- padding-left:360px;
116
- }
117
- .container .offset-by-seven {
118
- padding-left:420px;
119
- }
120
- .container .offset-by-eight {
121
- padding-left:480px;
122
- }
123
- .container .offset-by-nine {
124
- padding-left:540px;
125
- }
126
- .container .offset-by-ten {
127
- padding-left:600px;
128
- }
129
- .container .offset-by-eleven {
130
- padding-left:660px;
131
- }
132
- .container .offset-by-twelve {
133
- padding-left:720px;
134
- }
135
- .container .offset-by-thirteen {
136
- padding-left:780px;
137
- }
138
- .container .offset-by-fourteen {
139
- padding-left:840px;
140
- }
141
- .container .offset-by-fifteen {
142
- padding-left:900px;
143
- }
144
- /* #Tablet (Portrait)
145
- ================================================== */
146
- /* Note: Design for a width of 768px */
147
- @media only screen and(min-width:768px)and(max-width:959px) {
148
- .container {
149
- width:768px;
150
- }
151
- .container .column, .container .columns {
152
- margin-left:10px;
153
- margin-right:10px;
154
- }
155
- .column.alpha, .columns.alpha {
156
- margin-left:0;
157
- margin-right:10px;
158
- }
159
- .column.omega, .columns.omega {
160
- margin-right:0;
161
- margin-left:10px;
162
- }
163
- .container .one.column {
164
- width:28px;
165
- }
166
- .container .two.columns {
167
- width:76px;
168
- }
169
- .container .three.columns {
170
- width:124px;
171
- }
172
- .container .four.columns {
173
- width:172px;
174
- }
175
- .container .five.columns {
176
- width:220px;
177
- }
178
- .container .six.columns {
179
- width:268px;
180
- }
181
- .container .seven.columns {
182
- width:316px;
183
- }
184
- .container .eight.columns {
185
- width:364px;
186
- }
187
- .container .nine.columns {
188
- width:412px;
189
- }
190
- .container .ten.columns {
191
- width:460px;
192
- }
193
- .container .eleven.columns {
194
- width:508px;
195
- }
196
- .container .twelve.columns {
197
- width:556px;
198
- }
199
- .container .thirteen.columns {
200
- width:604px;
201
- }
202
- .container .fourteen.columns {
203
- width:652px;
204
- }
205
- .container .fifteen.columns {
206
- width:700px;
207
- }
208
- .container .sixteen.columns {
209
- width:748px;
210
- }
211
- .container .one-third.column {
212
- width:236px;
213
- }
214
- .container .two-thirds.column {
215
- width:492px;
216
- }
217
- /* Offsets */
218
- .container .offset-by-one {
219
- padding-left:48px;
220
- }
221
- .container .offset-by-two {
222
- padding-left:96px;
223
- }
224
- .container .offset-by-three {
225
- padding-left:144px;
226
- }
227
- .container .offset-by-four {
228
- padding-left:192px;
229
- }
230
- .container .offset-by-five {
231
- padding-left:240px;
232
- }
233
- .container .offset-by-six {
234
- padding-left:288px;
235
- }
236
- .container .offset-by-seven {
237
- padding-left:336px;
238
- }
239
- .container .offset-by-eight {
240
- padding-left:348px;
241
- }
242
- .container .offset-by-nine {
243
- padding-left:432px;
244
- }
245
- .container .offset-by-ten {
246
- padding-left:480px;
247
- }
248
- .container .offset-by-eleven {
249
- padding-left:528px;
250
- }
251
- .container .offset-by-twelve {
252
- padding-left:576px;
253
- }
254
- .container .offset-by-thirteen {
255
- padding-left:624px;
256
- }
257
- .container .offset-by-fourteen {
258
- padding-left:672px;
259
- }
260
- .container .offset-by-fifteen {
261
- padding-left:720px;
262
- }
263
- }
264
- /* #Mobile (Portrait)
265
- ================================================== */
266
- /* Note: Design for a width of 320px */
267
- @media only screen and(max-width:767px) {
268
- .container {
269
- width:300px;
270
- }
271
- .columns, .column {
272
- margin:0;
273
- }
274
- .container .one.column, .container .two.columns, .container .three.columns, .container .four.columns, .container .five.columns, .container .six.columns, .container .seven.columns, .container .eight.columns, .container .nine.columns, .container .ten.columns, .container .eleven.columns, .container .twelve.columns, .container .thirteen.columns, .container .fourteen.columns, .container .fifteen.columns, .container .sixteen.columns, .container .one-third.column, .container .two-thirds.column {
275
- width:300px;
276
- }
277
- /* Offsets */
278
- .container .offset-by-one, .container .offset-by-two, .container .offset-by-three, .container .offset-by-four, .container .offset-by-five, .container .offset-by-six, .container .offset-by-seven, .container .offset-by-eight, .container .offset-by-nine, .container .offset-by-ten, .container .offset-by-eleven, .container .offset-by-twelve, .container .offset-by-thirteen, .container .offset-by-fourteen, .container .offset-by-fifteen {
279
- padding-left:0;
280
- }
281
- }
282
- /* #Mobile (Landscape)
283
- ================================================== */
284
- /* Note: Design for a width of 480px */
285
- @media only screen and(min-width:480px)and(max-width:767px) {
286
- .container {
287
- width:420px;
288
- }
289
- .columns, .column {
290
- margin:0;
291
- }
292
- .container .one.column, .container .two.columns, .container .three.columns, .container .four.columns, .container .five.columns, .container .six.columns, .container .seven.columns, .container .eight.columns, .container .nine.columns, .container .ten.columns, .container .eleven.columns, .container .twelve.columns, .container .thirteen.columns, .container .fourteen.columns, .container .fifteen.columns, .container .sixteen.columns, .container .one-third.column, .container .two-thirds.column {
293
- width:420px;
294
- }
295
- }
296
- /* #Clearing
297
- ================================================== */
298
- /* Self Clearing Goodness */
299
- .container:after {
300
- content:"\0020";
301
- display:block;
302
- height:0;
303
- clear:both;
304
- visibility:hidden;
305
- }
306
- /* Use clearfix class on parent to clear nested columns,
307
- or wrap each row of columns in a <div class="row"> */
308
- .clearfix:before, .clearfix:after, .row:before, .row:after {
309
- content:'\0020';
310
- display:block;
311
- overflow:hidden;
312
- visibility:hidden;
313
- width:0;
314
- height:0;
315
- }
316
- .row:after, .clearfix:after {
317
- clear:both;
318
- }
319
- .row, .clearfix {
320
- zoom:1;
321
- }
322
- /* You can also use a <br class="clear" /> to clear columns */
323
- .clear {
324
- clear:both;
325
- display:block;
326
- overflow:hidden;
327
- visibility:hidden;
328
- width:0;
329
- height:0;
330
- }
331
- ;
332
- FI"
333
- F"%d3c9e243a3c6551f261e09aa23cbd6ca