h2ocube_rails_assets 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'h2ocube_rails_assets'
7
- gem.version = '0.0.2'
7
+ gem.version = '0.0.3'
8
8
  gem.authors = ['Ben']
9
9
  gem.email = ['ben@h2ocube.com']
10
10
  gem.description = %q{Just an assets collection}
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /* ===================================================
2
4
  * bootstrap-transition.js v2.2.1
3
5
  * http://twitter.github.com/bootstrap/javascript.html#transitions
@@ -2022,4 +2024,4 @@
2022
2024
  })
2023
2025
 
2024
2026
 
2025
- }(window.jQuery);
2027
+ }(window.jQuery);
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /*!
2
4
  * jQuery Cookie Plugin v1.3
3
5
  * https://github.com/carhartl/jquery-cookie
@@ -1,3 +1,5 @@
1
+ //=require jquery.ui.widget
2
+
1
3
  /*
2
4
  * jQuery File Upload Plugin 5.19.4
3
5
  * https://github.com/blueimp/jQuery-File-Upload
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /*
2
4
  * jQuery Mobile Framework Git Build: SHA1: b49cc06499abf8f987cf90f35349cfac0918c939 <> Date: Tue Oct 2 11:22:34 2012 -0700
3
5
  * http://jquerymobile.com
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /*
2
4
  * jQuery Pines Notify (pnotify) Plugin 1.2.0
3
5
  *
@@ -909,4 +911,4 @@
909
911
  // The stack on which the notices will be placed. Also controls the direction the notices stack.
910
912
  stack: {"dir1": "down", "dir2": "left", "push": "bottom", "spacing1": 25, "spacing2": 25}
911
913
  };
912
- })(jQuery);
914
+ })(jQuery);
@@ -1,3 +1,5 @@
1
+ #= require jquery
2
+
1
3
  # Smart Time Ago v0.1.1
2
4
 
3
5
  # Copyright 2012, Terry Tai, Pragmatic.ly
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /*! jQuery UI - v1.9.2 - 2012-11-23
2
4
  * http://jqueryui.com
3
5
  * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.position.js, jquery.ui.progressbar.js, jquery.ui.slider.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
@@ -0,0 +1,523 @@
1
+ //= require jquery
2
+
3
+ /*!
4
+ * jQuery UI Widget @VERSION
5
+ * http://jqueryui.com
6
+ *
7
+ * Copyright 2012 jQuery Foundation and other contributors
8
+ * Released under the MIT license.
9
+ * http://jquery.org/license
10
+ *
11
+ * http://api.jqueryui.com/jQuery.widget/
12
+ */
13
+ (function( $, undefined ) {
14
+
15
+ var uuid = 0,
16
+ slice = Array.prototype.slice,
17
+ _cleanData = $.cleanData;
18
+ $.cleanData = function( elems ) {
19
+ for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
20
+ try {
21
+ $( elem ).triggerHandler( "remove" );
22
+ // http://bugs.jquery.com/ticket/8235
23
+ } catch( e ) {}
24
+ }
25
+ _cleanData( elems );
26
+ };
27
+
28
+ $.widget = function( name, base, prototype ) {
29
+ var fullName, existingConstructor, constructor, basePrototype,
30
+ // proxiedPrototype allows the provided prototype to remain unmodified
31
+ // so that it can be used as a mixin for multiple widgets (#8876)
32
+ proxiedPrototype = {},
33
+ namespace = name.split( "." )[ 0 ];
34
+
35
+ name = name.split( "." )[ 1 ];
36
+ fullName = namespace + "-" + name;
37
+
38
+ if ( !prototype ) {
39
+ prototype = base;
40
+ base = $.Widget;
41
+ }
42
+
43
+ // create selector for plugin
44
+ $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
45
+ return !!$.data( elem, fullName );
46
+ };
47
+
48
+ $[ namespace ] = $[ namespace ] || {};
49
+ existingConstructor = $[ namespace ][ name ];
50
+ constructor = $[ namespace ][ name ] = function( options, element ) {
51
+ // allow instantiation without "new" keyword
52
+ if ( !this._createWidget ) {
53
+ return new constructor( options, element );
54
+ }
55
+
56
+ // allow instantiation without initializing for simple inheritance
57
+ // must use "new" keyword (the code above always passes args)
58
+ if ( arguments.length ) {
59
+ this._createWidget( options, element );
60
+ }
61
+ };
62
+ // extend with the existing constructor to carry over any static properties
63
+ $.extend( constructor, existingConstructor, {
64
+ version: prototype.version,
65
+ // copy the object used to create the prototype in case we need to
66
+ // redefine the widget later
67
+ _proto: $.extend( {}, prototype ),
68
+ // track widgets that inherit from this widget in case this widget is
69
+ // redefined after a widget inherits from it
70
+ _childConstructors: []
71
+ });
72
+
73
+ basePrototype = new base();
74
+ // we need to make the options hash a property directly on the new instance
75
+ // otherwise we'll modify the options hash on the prototype that we're
76
+ // inheriting from
77
+ basePrototype.options = $.widget.extend( {}, basePrototype.options );
78
+ $.each( prototype, function( prop, value ) {
79
+ if ( !$.isFunction( value ) ) {
80
+ proxiedPrototype[ prop ] = value;
81
+ return;
82
+ }
83
+ proxiedPrototype[ prop ] = (function() {
84
+ var _super = function() {
85
+ return base.prototype[ prop ].apply( this, arguments );
86
+ },
87
+ _superApply = function( args ) {
88
+ return base.prototype[ prop ].apply( this, args );
89
+ };
90
+ return function() {
91
+ var __super = this._super,
92
+ __superApply = this._superApply,
93
+ returnValue;
94
+
95
+ this._super = _super;
96
+ this._superApply = _superApply;
97
+
98
+ returnValue = value.apply( this, arguments );
99
+
100
+ this._super = __super;
101
+ this._superApply = __superApply;
102
+
103
+ return returnValue;
104
+ };
105
+ })();
106
+ });
107
+ constructor.prototype = $.widget.extend( basePrototype, {
108
+ // TODO: remove support for widgetEventPrefix
109
+ // always use the name + a colon as the prefix, e.g., draggable:start
110
+ // don't prefix for widgets that aren't DOM-based
111
+ widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
112
+ }, proxiedPrototype, {
113
+ constructor: constructor,
114
+ namespace: namespace,
115
+ widgetName: name,
116
+ widgetFullName: fullName
117
+ });
118
+
119
+ // If this widget is being redefined then we need to find all widgets that
120
+ // are inheriting from it and redefine all of them so that they inherit from
121
+ // the new version of this widget. We're essentially trying to replace one
122
+ // level in the prototype chain.
123
+ if ( existingConstructor ) {
124
+ $.each( existingConstructor._childConstructors, function( i, child ) {
125
+ var childPrototype = child.prototype;
126
+
127
+ // redefine the child widget using the same prototype that was
128
+ // originally used, but inherit from the new version of the base
129
+ $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );
130
+ });
131
+ // remove the list of existing child constructors from the old constructor
132
+ // so the old child constructors can be garbage collected
133
+ delete existingConstructor._childConstructors;
134
+ } else {
135
+ base._childConstructors.push( constructor );
136
+ }
137
+
138
+ $.widget.bridge( name, constructor );
139
+ };
140
+
141
+ $.widget.extend = function( target ) {
142
+ var input = slice.call( arguments, 1 ),
143
+ inputIndex = 0,
144
+ inputLength = input.length,
145
+ key,
146
+ value;
147
+ for ( ; inputIndex < inputLength; inputIndex++ ) {
148
+ for ( key in input[ inputIndex ] ) {
149
+ value = input[ inputIndex ][ key ];
150
+ if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
151
+ // Clone objects
152
+ if ( $.isPlainObject( value ) ) {
153
+ target[ key ] = $.isPlainObject( target[ key ] ) ?
154
+ $.widget.extend( {}, target[ key ], value ) :
155
+ // Don't extend strings, arrays, etc. with objects
156
+ $.widget.extend( {}, value );
157
+ // Copy everything else by reference
158
+ } else {
159
+ target[ key ] = value;
160
+ }
161
+ }
162
+ }
163
+ }
164
+ return target;
165
+ };
166
+
167
+ $.widget.bridge = function( name, object ) {
168
+ var fullName = object.prototype.widgetFullName || name;
169
+ $.fn[ name ] = function( options ) {
170
+ var isMethodCall = typeof options === "string",
171
+ args = slice.call( arguments, 1 ),
172
+ returnValue = this;
173
+
174
+ // allow multiple hashes to be passed on init
175
+ options = !isMethodCall && args.length ?
176
+ $.widget.extend.apply( null, [ options ].concat(args) ) :
177
+ options;
178
+
179
+ if ( isMethodCall ) {
180
+ this.each(function() {
181
+ var methodValue,
182
+ instance = $.data( this, fullName );
183
+ if ( !instance ) {
184
+ return $.error( "cannot call methods on " + name + " prior to initialization; " +
185
+ "attempted to call method '" + options + "'" );
186
+ }
187
+ if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
188
+ return $.error( "no such method '" + options + "' for " + name + " widget instance" );
189
+ }
190
+ methodValue = instance[ options ].apply( instance, args );
191
+ if ( methodValue !== instance && methodValue !== undefined ) {
192
+ returnValue = methodValue && methodValue.jquery ?
193
+ returnValue.pushStack( methodValue.get() ) :
194
+ methodValue;
195
+ return false;
196
+ }
197
+ });
198
+ } else {
199
+ this.each(function() {
200
+ var instance = $.data( this, fullName );
201
+ if ( instance ) {
202
+ instance.option( options || {} )._init();
203
+ } else {
204
+ $.data( this, fullName, new object( options, this ) );
205
+ }
206
+ });
207
+ }
208
+
209
+ return returnValue;
210
+ };
211
+ };
212
+
213
+ $.Widget = function( /* options, element */ ) {};
214
+ $.Widget._childConstructors = [];
215
+
216
+ $.Widget.prototype = {
217
+ widgetName: "widget",
218
+ widgetEventPrefix: "",
219
+ defaultElement: "<div>",
220
+ options: {
221
+ disabled: false,
222
+
223
+ // callbacks
224
+ create: null
225
+ },
226
+ _createWidget: function( options, element ) {
227
+ element = $( element || this.defaultElement || this )[ 0 ];
228
+ this.element = $( element );
229
+ this.uuid = uuid++;
230
+ this.eventNamespace = "." + this.widgetName + this.uuid;
231
+ this.options = $.widget.extend( {},
232
+ this.options,
233
+ this._getCreateOptions(),
234
+ options );
235
+
236
+ this.bindings = $();
237
+ this.hoverable = $();
238
+ this.focusable = $();
239
+
240
+ if ( element !== this ) {
241
+ $.data( element, this.widgetFullName, this );
242
+ this._on( true, this.element, {
243
+ remove: function( event ) {
244
+ if ( event.target === element ) {
245
+ this.destroy();
246
+ }
247
+ }
248
+ });
249
+ this.document = $( element.style ?
250
+ // element within the document
251
+ element.ownerDocument :
252
+ // element is window or document
253
+ element.document || element );
254
+ this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
255
+ }
256
+
257
+ this._create();
258
+ this._trigger( "create", null, this._getCreateEventData() );
259
+ this._init();
260
+ },
261
+ _getCreateOptions: $.noop,
262
+ _getCreateEventData: $.noop,
263
+ _create: $.noop,
264
+ _init: $.noop,
265
+
266
+ destroy: function() {
267
+ this._destroy();
268
+ // we can probably remove the unbind calls in 2.0
269
+ // all event bindings should go through this._on()
270
+ this.element
271
+ .unbind( this.eventNamespace )
272
+ // 1.9 BC for #7810
273
+ // TODO remove dual storage
274
+ .removeData( this.widgetName )
275
+ .removeData( this.widgetFullName )
276
+ // support: jquery <1.6.3
277
+ // http://bugs.jquery.com/ticket/9413
278
+ .removeData( $.camelCase( this.widgetFullName ) );
279
+ this.widget()
280
+ .unbind( this.eventNamespace )
281
+ .removeAttr( "aria-disabled" )
282
+ .removeClass(
283
+ this.widgetFullName + "-disabled " +
284
+ "ui-state-disabled" );
285
+
286
+ // clean up events and states
287
+ this.bindings.unbind( this.eventNamespace );
288
+ this.hoverable.removeClass( "ui-state-hover" );
289
+ this.focusable.removeClass( "ui-state-focus" );
290
+ },
291
+ _destroy: $.noop,
292
+
293
+ widget: function() {
294
+ return this.element;
295
+ },
296
+
297
+ option: function( key, value ) {
298
+ var options = key,
299
+ parts,
300
+ curOption,
301
+ i;
302
+
303
+ if ( arguments.length === 0 ) {
304
+ // don't return a reference to the internal hash
305
+ return $.widget.extend( {}, this.options );
306
+ }
307
+
308
+ if ( typeof key === "string" ) {
309
+ // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
310
+ options = {};
311
+ parts = key.split( "." );
312
+ key = parts.shift();
313
+ if ( parts.length ) {
314
+ curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
315
+ for ( i = 0; i < parts.length - 1; i++ ) {
316
+ curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
317
+ curOption = curOption[ parts[ i ] ];
318
+ }
319
+ key = parts.pop();
320
+ if ( value === undefined ) {
321
+ return curOption[ key ] === undefined ? null : curOption[ key ];
322
+ }
323
+ curOption[ key ] = value;
324
+ } else {
325
+ if ( value === undefined ) {
326
+ return this.options[ key ] === undefined ? null : this.options[ key ];
327
+ }
328
+ options[ key ] = value;
329
+ }
330
+ }
331
+
332
+ this._setOptions( options );
333
+
334
+ return this;
335
+ },
336
+ _setOptions: function( options ) {
337
+ var key;
338
+
339
+ for ( key in options ) {
340
+ this._setOption( key, options[ key ] );
341
+ }
342
+
343
+ return this;
344
+ },
345
+ _setOption: function( key, value ) {
346
+ this.options[ key ] = value;
347
+
348
+ if ( key === "disabled" ) {
349
+ this.widget()
350
+ .toggleClass( this.widgetFullName + "-disabled ui-state-disabled", !!value )
351
+ .attr( "aria-disabled", value );
352
+ this.hoverable.removeClass( "ui-state-hover" );
353
+ this.focusable.removeClass( "ui-state-focus" );
354
+ }
355
+
356
+ return this;
357
+ },
358
+
359
+ enable: function() {
360
+ return this._setOption( "disabled", false );
361
+ },
362
+ disable: function() {
363
+ return this._setOption( "disabled", true );
364
+ },
365
+
366
+ _on: function( suppressDisabledCheck, element, handlers ) {
367
+ var delegateElement,
368
+ instance = this;
369
+
370
+ // no suppressDisabledCheck flag, shuffle arguments
371
+ if ( typeof suppressDisabledCheck !== "boolean" ) {
372
+ handlers = element;
373
+ element = suppressDisabledCheck;
374
+ suppressDisabledCheck = false;
375
+ }
376
+
377
+ // no element argument, shuffle and use this.element
378
+ if ( !handlers ) {
379
+ handlers = element;
380
+ element = this.element;
381
+ delegateElement = this.widget();
382
+ } else {
383
+ // accept selectors, DOM elements
384
+ element = delegateElement = $( element );
385
+ this.bindings = this.bindings.add( element );
386
+ }
387
+
388
+ $.each( handlers, function( event, handler ) {
389
+ function handlerProxy() {
390
+ // allow widgets to customize the disabled handling
391
+ // - disabled as an array instead of boolean
392
+ // - disabled class as method for disabling individual parts
393
+ if ( !suppressDisabledCheck &&
394
+ ( instance.options.disabled === true ||
395
+ $( this ).hasClass( "ui-state-disabled" ) ) ) {
396
+ return;
397
+ }
398
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
399
+ .apply( instance, arguments );
400
+ }
401
+
402
+ // copy the guid so direct unbinding works
403
+ if ( typeof handler !== "string" ) {
404
+ handlerProxy.guid = handler.guid =
405
+ handler.guid || handlerProxy.guid || $.guid++;
406
+ }
407
+
408
+ var match = event.match( /^(\w+)\s*(.*)$/ ),
409
+ eventName = match[1] + instance.eventNamespace,
410
+ selector = match[2];
411
+ if ( selector ) {
412
+ delegateElement.delegate( selector, eventName, handlerProxy );
413
+ } else {
414
+ element.bind( eventName, handlerProxy );
415
+ }
416
+ });
417
+ },
418
+
419
+ _off: function( element, eventName ) {
420
+ eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace;
421
+ element.unbind( eventName ).undelegate( eventName );
422
+ },
423
+
424
+ _delay: function( handler, delay ) {
425
+ function handlerProxy() {
426
+ return ( typeof handler === "string" ? instance[ handler ] : handler )
427
+ .apply( instance, arguments );
428
+ }
429
+ var instance = this;
430
+ return setTimeout( handlerProxy, delay || 0 );
431
+ },
432
+
433
+ _hoverable: function( element ) {
434
+ this.hoverable = this.hoverable.add( element );
435
+ this._on( element, {
436
+ mouseenter: function( event ) {
437
+ $( event.currentTarget ).addClass( "ui-state-hover" );
438
+ },
439
+ mouseleave: function( event ) {
440
+ $( event.currentTarget ).removeClass( "ui-state-hover" );
441
+ }
442
+ });
443
+ },
444
+
445
+ _focusable: function( element ) {
446
+ this.focusable = this.focusable.add( element );
447
+ this._on( element, {
448
+ focusin: function( event ) {
449
+ $( event.currentTarget ).addClass( "ui-state-focus" );
450
+ },
451
+ focusout: function( event ) {
452
+ $( event.currentTarget ).removeClass( "ui-state-focus" );
453
+ }
454
+ });
455
+ },
456
+
457
+ _trigger: function( type, event, data ) {
458
+ var prop, orig,
459
+ callback = this.options[ type ];
460
+
461
+ data = data || {};
462
+ event = $.Event( event );
463
+ event.type = ( type === this.widgetEventPrefix ?
464
+ type :
465
+ this.widgetEventPrefix + type ).toLowerCase();
466
+ // the original event may come from any element
467
+ // so we need to reset the target on the new event
468
+ event.target = this.element[ 0 ];
469
+
470
+ // copy original event properties over to the new event
471
+ orig = event.originalEvent;
472
+ if ( orig ) {
473
+ for ( prop in orig ) {
474
+ if ( !( prop in event ) ) {
475
+ event[ prop ] = orig[ prop ];
476
+ }
477
+ }
478
+ }
479
+
480
+ this.element.trigger( event, data );
481
+ return !( $.isFunction( callback ) &&
482
+ callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
483
+ event.isDefaultPrevented() );
484
+ }
485
+ };
486
+
487
+ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
488
+ $.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
489
+ if ( typeof options === "string" ) {
490
+ options = { effect: options };
491
+ }
492
+ var hasOptions,
493
+ effectName = !options ?
494
+ method :
495
+ options === true || typeof options === "number" ?
496
+ defaultEffect :
497
+ options.effect || defaultEffect;
498
+ options = options || {};
499
+ if ( typeof options === "number" ) {
500
+ options = { duration: options };
501
+ }
502
+ hasOptions = !$.isEmptyObject( options );
503
+ options.complete = callback;
504
+ if ( options.delay ) {
505
+ element.delay( options.delay );
506
+ }
507
+ if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
508
+ element[ method ]( options );
509
+ } else if ( effectName !== method && element[ effectName ] ) {
510
+ element[ effectName ]( options.duration, options.easing, callback );
511
+ } else {
512
+ element.queue(function( next ) {
513
+ $( this )[ method ]();
514
+ if ( callback ) {
515
+ callback.call( element[ 0 ] );
516
+ }
517
+ next();
518
+ });
519
+ }
520
+ };
521
+ });
522
+
523
+ })( jQuery );
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  /**
2
4
  * jQuery Validation Plugin 1.10.0
3
5
  *
@@ -1,3 +1,5 @@
1
+ //= require jquery
2
+
1
3
  // name: sammy
2
4
  // version: 0.7.2
3
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h2ocube_rails_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -186,6 +186,7 @@ files:
186
186
  - vendor/assets/javascripts/jquery.pnotify.js
187
187
  - vendor/assets/javascripts/jquery.timeago.coffee
188
188
  - vendor/assets/javascripts/jquery.ui.js
189
+ - vendor/assets/javascripts/jquery.ui.widget.js
189
190
  - vendor/assets/javascripts/jquery.validate.js
190
191
  - vendor/assets/javascripts/sammy.js
191
192
  - vendor/assets/javascripts/underscore.js
@@ -209,7 +210,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
210
  version: '0'
210
211
  segments:
211
212
  - 0
212
- hash: -1935455520417259663
213
+ hash: -124445027794398271
213
214
  required_rubygems_version: !ruby/object:Gem::Requirement
214
215
  none: false
215
216
  requirements:
@@ -218,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
219
  version: '0'
219
220
  segments:
220
221
  - 0
221
- hash: -1935455520417259663
222
+ hash: -124445027794398271
222
223
  requirements: []
223
224
  rubyforge_project:
224
225
  rubygems_version: 1.8.24