smithycms 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/config/initializers/refile.rb +6 -1
  3. data/lib/smithy/dependencies.rb +0 -3
  4. data/lib/smithy/version.rb +1 -1
  5. data/vendor/assets/images/datatables/favicon.ico +0 -0
  6. data/vendor/assets/images/datatables/sort_asc.png +0 -0
  7. data/vendor/assets/images/datatables/sort_asc_disabled.png +0 -0
  8. data/vendor/assets/images/datatables/sort_both.png +0 -0
  9. data/vendor/assets/images/datatables/sort_desc.png +0 -0
  10. data/vendor/assets/images/datatables/sort_desc_disabled.png +0 -0
  11. data/vendor/assets/javascripts/datatables/dataTables.bootstrap.js +220 -0
  12. data/vendor/assets/javascripts/datatables/dataTables.foundation.js +156 -0
  13. data/vendor/assets/javascripts/datatables/dataTables.jqueryui.js +164 -0
  14. data/vendor/assets/javascripts/datatables/jquery.dataTables.js +15212 -0
  15. data/vendor/assets/javascripts/datatables/jquery.js +5 -0
  16. data/vendor/assets/javascripts/datatables-responsive/dataTables.responsive.js +1190 -0
  17. data/vendor/assets/javascripts/datatables-responsive/responsive.bootstrap.js +78 -0
  18. data/vendor/assets/javascripts/datatables-responsive/responsive.foundation.js +62 -0
  19. data/vendor/assets/javascripts/datatables-responsive/responsive.jqueryui.js +63 -0
  20. data/vendor/assets/javascripts/datatables-responsive.js +1 -0
  21. data/vendor/assets/javascripts/datatables-select/dataTables.select.js +1038 -0
  22. data/vendor/assets/javascripts/datatables-select.js +1 -0
  23. data/vendor/assets/javascripts/datatables.js +1 -0
  24. data/vendor/assets/stylesheets/datatables/dataTables.bootstrap.scss +187 -0
  25. data/vendor/assets/stylesheets/datatables/dataTables.foundation.scss +117 -0
  26. data/vendor/assets/stylesheets/datatables/dataTables.jqueryui.scss +482 -0
  27. data/vendor/assets/stylesheets/datatables/jquery.dataTables.scss +453 -0
  28. data/vendor/assets/stylesheets/datatables/jquery.dataTables_themeroller.scss +416 -0
  29. data/vendor/assets/stylesheets/datatables-responsive/responsive.bootstrap.scss +4 -0
  30. data/vendor/assets/stylesheets/datatables-responsive/responsive.dataTables.scss +241 -0
  31. data/vendor/assets/stylesheets/datatables-responsive/responsive.foundation.scss +10 -0
  32. data/vendor/assets/stylesheets/datatables-responsive/responsive.jqueryui.scss +2 -0
  33. data/vendor/assets/stylesheets/datatables-responsive.scss +1 -0
  34. data/vendor/assets/stylesheets/datatables-select/select.bootstrap.scss +17 -0
  35. data/vendor/assets/stylesheets/datatables-select/select.dataTables.scss +139 -0
  36. data/vendor/assets/stylesheets/datatables-select/select.foundation.scss +18 -0
  37. data/vendor/assets/stylesheets/datatables-select/select.jqueryui.scss +4 -0
  38. data/vendor/assets/stylesheets/datatables-select.scss +1 -0
  39. data/vendor/assets/stylesheets/datatables.scss +1 -0
  40. metadata +37 -44
@@ -0,0 +1,78 @@
1
+ /*! Bootstrap integration for DataTables' Responsive
2
+ * ©2015 SpryMedia Ltd - datatables.net/license
3
+ */
4
+
5
+ (function( factory ){
6
+ if ( typeof define === 'function' && define.amd ) {
7
+ // AMD
8
+ define( ['jquery', 'datatables.net-bs', 'datatables.net-responsive'], function ( $ ) {
9
+ return factory( $, window, document );
10
+ } );
11
+ }
12
+ else if ( typeof exports === 'object' ) {
13
+ // CommonJS
14
+ module.exports = function (root, $) {
15
+ if ( ! root ) {
16
+ root = window;
17
+ }
18
+
19
+ if ( ! $ || ! $.fn.dataTable ) {
20
+ $ = require('datatables.net-bs')(root, $).$;
21
+ }
22
+
23
+ if ( ! $.fn.dataTable.Responsive ) {
24
+ require('datatables.net-responsive')(root, $);
25
+ }
26
+
27
+ return factory( $, root, root.document );
28
+ };
29
+ }
30
+ else {
31
+ // Browser
32
+ factory( jQuery, window, document );
33
+ }
34
+ }(function( $, window, document, undefined ) {
35
+ 'use strict';
36
+ var DataTable = $.fn.dataTable;
37
+
38
+
39
+ var _display = DataTable.Responsive.display;
40
+ var _original = _display.modal;
41
+
42
+ _display.modal = function ( options ) {
43
+ return function ( row, update, render ) {
44
+ if ( ! $.fn.modal ) {
45
+ _original( row, update, render );
46
+ }
47
+ else {
48
+ if ( ! update ) {
49
+ var modal = $(
50
+ '<div class="modal fade" role="dialog">'+
51
+ '<div class="modal-dialog" role="document">'+
52
+ '<div class="modal-content">'+
53
+ '<div class="modal-header">'+
54
+ '<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>'+
55
+ '</div>'+
56
+ '<div class="modal-body"/>'+
57
+ '</div>'+
58
+ '</div>'+
59
+ '</div>'
60
+ );
61
+
62
+ if ( options && options.header ) {
63
+ modal.find('div.modal-header')
64
+ .append( '<h4 class="modal-title">'+options.header( row )+'</h4>' );
65
+ }
66
+
67
+ modal.find( 'div.modal-body' ).append( render() );
68
+ modal
69
+ .appendTo( 'body' )
70
+ .modal();
71
+ }
72
+ }
73
+ };
74
+ };
75
+
76
+
77
+ return DataTable.Responsive;
78
+ }));
@@ -0,0 +1,62 @@
1
+ /*! Foundation integration for DataTables' Responsive
2
+ * ©2015 SpryMedia Ltd - datatables.net/license
3
+ */
4
+
5
+ (function( factory ){
6
+ if ( typeof define === 'function' && define.amd ) {
7
+ // AMD
8
+ define( ['jquery', 'datatables.net-zf', 'datatables.net-responsive'], function ( $ ) {
9
+ return factory( $, window, document );
10
+ } );
11
+ }
12
+ else if ( typeof exports === 'object' ) {
13
+ // CommonJS
14
+ module.exports = function (root, $) {
15
+ if ( ! root ) {
16
+ root = window;
17
+ }
18
+
19
+ if ( ! $ || ! $.fn.dataTable ) {
20
+ $ = require('datatables.net-zf')(root, $).$;
21
+ }
22
+
23
+ if ( ! $.fn.dataTable.Responsive ) {
24
+ require('datatables.net-responsive')(root, $);
25
+ }
26
+
27
+ return factory( $, root, root.document );
28
+ };
29
+ }
30
+ else {
31
+ // Browser
32
+ factory( jQuery, window, document );
33
+ }
34
+ }(function( $, window, document, undefined ) {
35
+ 'use strict';
36
+ var DataTable = $.fn.dataTable;
37
+
38
+
39
+ var _display = DataTable.Responsive.display;
40
+ var _original = _display.modal;
41
+
42
+ _display.modal = function ( options ) {
43
+ return function ( row, update, render ) {
44
+ if ( ! $.fn.foundation ) {
45
+ _original( row, update, render );
46
+ }
47
+ else {
48
+ if ( ! update ) {
49
+ $( '<div class="reveal-modal" data-reveal/>' )
50
+ .append( '<a class="close-reveal-modal" aria-label="Close">&#215;</a>' )
51
+ .append( options && options.header ? '<h4>'+options.header( row )+'</h4>' : null )
52
+ .append( render() )
53
+ .appendTo( 'body' )
54
+ .foundation( 'reveal', 'open' );
55
+ }
56
+ }
57
+ };
58
+ };
59
+
60
+
61
+ return DataTable.Responsive;
62
+ }));
@@ -0,0 +1,63 @@
1
+ /*! jQuery UI integration for DataTables' Responsive
2
+ * ©2015 SpryMedia Ltd - datatables.net/license
3
+ */
4
+
5
+ (function( factory ){
6
+ if ( typeof define === 'function' && define.amd ) {
7
+ // AMD
8
+ define( ['jquery', 'datatables.net-jqui', 'datatables.net-responsive'], function ( $ ) {
9
+ return factory( $, window, document );
10
+ } );
11
+ }
12
+ else if ( typeof exports === 'object' ) {
13
+ // CommonJS
14
+ module.exports = function (root, $) {
15
+ if ( ! root ) {
16
+ root = window;
17
+ }
18
+
19
+ if ( ! $ || ! $.fn.dataTable ) {
20
+ $ = require('datatables.net-jqui')(root, $).$;
21
+ }
22
+
23
+ if ( ! $.fn.dataTable.Responsive ) {
24
+ require('datatables.net-responsive')(root, $);
25
+ }
26
+
27
+ return factory( $, root, root.document );
28
+ };
29
+ }
30
+ else {
31
+ // Browser
32
+ factory( jQuery, window, document );
33
+ }
34
+ }(function( $, window, document, undefined ) {
35
+ 'use strict';
36
+ var DataTable = $.fn.dataTable;
37
+
38
+
39
+ var _display = DataTable.Responsive.display;
40
+ var _original = _display.modal;
41
+
42
+ _display.modal = function ( options ) {
43
+ return function ( row, update, render ) {
44
+ if ( ! $.fn.dialog ) {
45
+ _original( row, update, render );
46
+ }
47
+ else {
48
+ if ( ! update ) {
49
+ $( '<div/>' )
50
+ .append( render() )
51
+ .appendTo( 'body' )
52
+ .dialog( $.extend( true, {
53
+ title: options && options.header ? options.header( row ) : '',
54
+ width: 500
55
+ }, options.dialog ) );
56
+ }
57
+ }
58
+ };
59
+ };
60
+
61
+
62
+ return DataTable.Responsive;
63
+ }));
@@ -0,0 +1 @@
1
+ //= require datatables-responsive/dataTables.responsive.js