bootswatch_rails 3.3.7.7 → 3.3.7.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f27d6bd824b435d35d4bc80cba983e715f72272
4
- data.tar.gz: 98c663d875c589538b1477a0e5dedc19b77feec3
3
+ metadata.gz: 3d05ef8af070d320869cface8a392f581fd29ed2
4
+ data.tar.gz: 8954831f7ce22f7d863507163344ec84367bc204
5
5
  SHA512:
6
- metadata.gz: 73d9c6fb0226b273ca89e6424bde987ccea46fc992975d87fe0f14a4708df1d9f56951cd742cc8e087d224e20e3fa563026208ed11e95d9b02f367d673ccbc89
7
- data.tar.gz: ba4ad0dc1cdf72211733c9e8ac0240157653bcec2fd706ab4dc86f8454103d64903a437eb4f87defa304eeb4bd4b6fc44459ca1f645af390819974d223107bb3
6
+ metadata.gz: 9c57630017c1e004b5601edd9e664676f778b5c9b788ef1a1a0a5cead3c4e310a0ddf89e9b2085c781de92b55edce2ecbff0c89d4e7545cd34b7cdf48659515b
7
+ data.tar.gz: 5e699f92231d2c782c34bc2e35ebc644876d5a5f1282872813dd0fb37ee95e6bc8289dbbb9cfaba9dc3e452a227eea0252f5c39b2927675d8ec77fac82f73246
@@ -22,7 +22,7 @@ FA_VER="4.7.0"
22
22
 
23
23
  # DataTables version
24
24
  # https://datatables.net/download/index
25
- DT_VER="1.10.13"
25
+ DT_VER="1.10.15"
26
26
  DT_RESP="2.1.1"
27
27
 
28
28
 
@@ -2,9 +2,9 @@ module BootswatchRails
2
2
  BOOTSTRAP = "3.3.7"
3
3
  BOOTSWATCH = "3.3.7"
4
4
  FONT_AWESOME = "4.7.0"
5
- DATATABLES = "1.10.13"
5
+ DATATABLES = "1.10.15"
6
6
  RESPONSIVE = "2.1.1"
7
- VERSION = "3.3.7.7"
7
+ VERSION = "3.3.7.8"
8
8
 
9
9
  THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :solar, :spacelab, :superhero, :united, :yeti]
10
10
  DEFAULT = 0
@@ -1,15 +1,15 @@
1
- /*! DataTables 1.10.13
2
- * ©2008-2016 SpryMedia Ltd - datatables.net/license
1
+ /*! DataTables 1.10.15
2
+ * ©2008-2017 SpryMedia Ltd - datatables.net/license
3
3
  */
4
4
 
5
5
  /**
6
6
  * @summary DataTables
7
7
  * @description Paginate, search and order HTML tables
8
- * @version 1.10.13
8
+ * @version 1.10.15
9
9
  * @file jquery.dataTables.js
10
10
  * @author SpryMedia Ltd
11
11
  * @contact www.datatables.net
12
- * @copyright Copyright 2008-2016 SpryMedia Ltd.
12
+ * @copyright Copyright 2008-2017 SpryMedia Ltd.
13
13
  *
14
14
  * This source file is free software, available under the following license:
15
15
  * MIT license - http://datatables.net/license
@@ -1540,6 +1540,35 @@
1540
1540
  };
1541
1541
 
1542
1542
 
1543
+ /**
1544
+ * Determine if all values in the array are unique. This means we can short
1545
+ * cut the _unique method at the cost of a single loop. A sorted array is used
1546
+ * to easily check the values.
1547
+ *
1548
+ * @param {array} src Source array
1549
+ * @return {boolean} true if all unique, false otherwise
1550
+ * @ignore
1551
+ */
1552
+ var _areAllUnique = function ( src ) {
1553
+ if ( src.length < 2 ) {
1554
+ return true;
1555
+ }
1556
+
1557
+ var sorted = src.slice().sort();
1558
+ var last = sorted[0];
1559
+
1560
+ for ( var i=1, ien=sorted.length ; i<ien ; i++ ) {
1561
+ if ( sorted[i] === last ) {
1562
+ return false;
1563
+ }
1564
+
1565
+ last = sorted[i];
1566
+ }
1567
+
1568
+ return true;
1569
+ };
1570
+
1571
+
1543
1572
  /**
1544
1573
  * Find the unique elements in a source array.
1545
1574
  *
@@ -1549,6 +1578,10 @@
1549
1578
  */
1550
1579
  var _unique = function ( src )
1551
1580
  {
1581
+ if ( _areAllUnique( src ) ) {
1582
+ return src.slice();
1583
+ }
1584
+
1552
1585
  // A faster unique method is to use object keys to identify used values,
1553
1586
  // but this doesn't work with arrays or objects, which we must also
1554
1587
  // consider. See jsperf.com/compare-array-unique-versions/4 for more
@@ -1822,7 +1855,7 @@
1822
1855
 
1823
1856
  // orderData can be given as an integer
1824
1857
  var dataSort = init.aDataSort;
1825
- if ( dataSort && ! $.isArray( dataSort ) ) {
1858
+ if ( typeof dataSort === 'number' && ! $.isArray( dataSort ) ) {
1826
1859
  init.aDataSort = [ dataSort ];
1827
1860
  }
1828
1861
  }
@@ -6311,7 +6344,7 @@
6311
6344
 
6312
6345
  // Allow custom and plug-in manipulation functions to alter the saved data set and
6313
6346
  // cancelling of loading by returning false
6314
- var abStateLoad = _fnCallbackFire( settings, 'aoStateLoadParams', 'stateLoadParams', [settings, state] );
6347
+ var abStateLoad = _fnCallbackFire( settings, 'aoStateLoadParams', 'stateLoadParams', [settings, s] );
6315
6348
  if ( $.inArray( false, abStateLoad ) !== -1 ) {
6316
6349
  callback();
6317
6350
  return;
@@ -6331,7 +6364,7 @@
6331
6364
  }
6332
6365
 
6333
6366
  // Store the saved state so it might be accessed at any time
6334
- settings.oLoadedState = $.extend( true, {}, state );
6367
+ settings.oLoadedState = $.extend( true, {}, s );
6335
6368
 
6336
6369
  // Restore key features - todo - for 1.11 this needs to be done by
6337
6370
  // subscribed events
@@ -6360,7 +6393,7 @@
6360
6393
  }
6361
6394
 
6362
6395
  // Columns
6363
- //
6396
+ //
6364
6397
  if ( s.columns ) {
6365
6398
  for ( i=0, ien=s.columns.length ; i<ien ; i++ ) {
6366
6399
  var col = s.columns[i];
@@ -6377,7 +6410,7 @@
6377
6410
  }
6378
6411
  }
6379
6412
 
6380
- _fnCallbackFire( settings, 'aoStateLoaded', 'stateLoaded', [settings, state] );
6413
+ _fnCallbackFire( settings, 'aoStateLoaded', 'stateLoaded', [settings, s] );
6381
6414
  callback();
6382
6415
  }
6383
6416
 
@@ -7109,6 +7142,11 @@
7109
7142
  shift: __arrayProto.shift,
7110
7143
 
7111
7144
 
7145
+ slice: function () {
7146
+ return new _Api( this.context, this );
7147
+ },
7148
+
7149
+
7112
7150
  sort: __arrayProto.sort, // ? name - order?
7113
7151
 
7114
7152
 
@@ -9396,7 +9434,7 @@
9396
9434
  * @type string
9397
9435
  * @default Version number
9398
9436
  */
9399
- DataTable.version = "1.10.13";
9437
+ DataTable.version = "1.10.15";
9400
9438
 
9401
9439
  /**
9402
9440
  * Private data store, containing all of the settings objects that are
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * bootswatch v3.3.7
3
3
  * Homepage: http://bootswatch.com
4
- * Copyright 2012-2016 Thomas Park
4
+ * Copyright 2012-2017 Thomas Park
5
5
  * Licensed under MIT
6
6
  * Based on Bootstrap
7
7
  */
@@ -6899,3 +6899,10 @@ button.close {
6899
6899
  .panel-info .panel-title {
6900
6900
  color: #fff;
6901
6901
  }
6902
+ .panel-primary > .panel-heading .badge,
6903
+ .panel-success > .panel-heading .badge,
6904
+ .panel-warning > .panel-heading .badge,
6905
+ .panel-danger > .panel-heading .badge,
6906
+ .panel-info > .panel-heading .badge {
6907
+ background-color: #fff;
6908
+ }
@@ -1086,7 +1086,7 @@ html {
1086
1086
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
1087
1087
  }
1088
1088
  body {
1089
- font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
1089
+ font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
1090
1090
  font-size: 15px;
1091
1091
  line-height: 1.42857143;
1092
1092
  color: #333333;
@@ -1187,7 +1187,7 @@ h6,
1187
1187
  .h4,
1188
1188
  .h5,
1189
1189
  .h6 {
1190
- font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
1190
+ font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
1191
1191
  font-weight: 300;
1192
1192
  line-height: 1.1;
1193
1193
  color: inherit;
@@ -5994,7 +5994,7 @@ button.close {
5994
5994
  position: absolute;
5995
5995
  z-index: 1070;
5996
5996
  display: block;
5997
- font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
5997
+ font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
5998
5998
  font-style: normal;
5999
5999
  font-weight: normal;
6000
6000
  letter-spacing: normal;
@@ -6112,7 +6112,7 @@ button.close {
6112
6112
  display: none;
6113
6113
  max-width: 276px;
6114
6114
  padding: 1px;
6115
- font-family: "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
6115
+ font-family: "Segoe UI", "Source Sans Pro", Calibri, Candara, Arial, sans-serif;
6116
6116
  font-style: normal;
6117
6117
  font-weight: normal;
6118
6118
  letter-spacing: normal;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * bootswatch v3.3.7
3
3
  * Homepage: http://bootswatch.com
4
- * Copyright 2012-2016 Thomas Park
4
+ * Copyright 2012-2017 Thomas Park
5
5
  * Licensed under MIT
6
6
  * Based on Bootstrap
7
7
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -34,7 +34,9 @@ table.dataTable tfoot td {
34
34
  }
35
35
  table.dataTable thead .sorting,
36
36
  table.dataTable thead .sorting_asc,
37
- table.dataTable thead .sorting_desc {
37
+ table.dataTable thead .sorting_desc,
38
+ table.dataTable thead .sorting_asc_disabled,
39
+ table.dataTable thead .sorting_desc_disabled {
38
40
  cursor: pointer;
39
41
  *cursor: hand;
40
42
  }
@@ -405,11 +407,12 @@ table.dataTable td {
405
407
  *margin-top: -1px;
406
408
  -webkit-overflow-scrolling: touch;
407
409
  }
408
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td {
410
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td {
409
411
  vertical-align: middle;
410
412
  }
411
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody th > div.dataTables_sizing,
412
- .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody td > div.dataTables_sizing {
413
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > th > div.dataTables_sizing,
414
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > thead > tr > td > div.dataTables_sizing, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > th > div.dataTables_sizing,
415
+ .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody > table > tbody > tr > td > div.dataTables_sizing {
413
416
  height: 0;
414
417
  overflow: hidden;
415
418
  margin: 0 !important;
@@ -418,8 +421,8 @@ table.dataTable td {
418
421
  .dataTables_wrapper.no-footer .dataTables_scrollBody {
419
422
  border-bottom: 1px solid #111;
420
423
  }
421
- .dataTables_wrapper.no-footer div.dataTables_scrollHead table,
422
- .dataTables_wrapper.no-footer div.dataTables_scrollBody table {
424
+ .dataTables_wrapper.no-footer div.dataTables_scrollHead > table,
425
+ .dataTables_wrapper.no-footer div.dataTables_scrollBody > table {
423
426
  border-bottom: none;
424
427
  }
425
428
  .dataTables_wrapper:after {
@@ -7300,6 +7300,24 @@ select.form-control:focus {
7300
7300
  box-shadow: inset 0 -2px 0 #2196f3;
7301
7301
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEUhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISEhISF8S9ewAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=);
7302
7302
  }
7303
+ select[disabled],
7304
+ select.form-control[disabled],
7305
+ select[readonly],
7306
+ select.form-control[readonly] {
7307
+ -webkit-box-shadow: none;
7308
+ box-shadow: none;
7309
+ border-bottom: 1px dotted #ddd;
7310
+ }
7311
+ select[disabled],
7312
+ select.form-control[disabled],
7313
+ select[readonly],
7314
+ select.form-control[readonly],
7315
+ select[disabled] option,
7316
+ select.form-control[disabled] option,
7317
+ select[readonly] option,
7318
+ select.form-control[readonly] option {
7319
+ color: #bbbbbb;
7320
+ }
7303
7321
  select[multiple],
7304
7322
  select.form-control[multiple] {
7305
7323
  background: none;
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -6762,8 +6762,7 @@ button.close {
6762
6762
  .btn {
6763
6763
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
6764
6764
  }
6765
- .btn-default,
6766
- .btn-default:hover {
6765
+ .btn-default {
6767
6766
  background-image: -webkit-linear-gradient(#4f5151, #474949 6%, #3f4141);
6768
6767
  background-image: -o-linear-gradient(#4f5151, #474949 6%, #3f4141);
6769
6768
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4f5151), color-stop(6%, #474949), to(#3f4141));
@@ -6774,8 +6773,7 @@ button.close {
6774
6773
  filter: none;
6775
6774
  border: 1px solid #2e2f2f;
6776
6775
  }
6777
- .btn-primary,
6778
- .btn-primary:hover {
6776
+ .btn-primary {
6779
6777
  background-image: -webkit-linear-gradient(#e72510, #d9230f 6%, #cb210e);
6780
6778
  background-image: -o-linear-gradient(#e72510, #d9230f 6%, #cb210e);
6781
6779
  background-image: -webkit-gradient(linear, left top, left bottom, from(#e72510), color-stop(6%, #d9230f), to(#cb210e));
@@ -6786,8 +6784,7 @@ button.close {
6786
6784
  filter: none;
6787
6785
  border: 1px solid #a91b0c;
6788
6786
  }
6789
- .btn-success,
6790
- .btn-success:hover {
6787
+ .btn-success {
6791
6788
  background-image: -webkit-linear-gradient(#4da309, #469408 6%, #3f8507);
6792
6789
  background-image: -o-linear-gradient(#4da309, #469408 6%, #3f8507);
6793
6790
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4da309), color-stop(6%, #469408), to(#3f8507));
@@ -6798,8 +6795,7 @@ button.close {
6798
6795
  filter: none;
6799
6796
  border: 1px solid #2f6405;
6800
6797
  }
6801
- .btn-info,
6802
- .btn-info:hover {
6798
+ .btn-info {
6803
6799
  background-image: -webkit-linear-gradient(#02a5de, #029acf 6%, #028fc0);
6804
6800
  background-image: -o-linear-gradient(#02a5de, #029acf 6%, #028fc0);
6805
6801
  background-image: -webkit-gradient(linear, left top, left bottom, from(#02a5de), color-stop(6%, #029acf), to(#028fc0));
@@ -6810,8 +6806,7 @@ button.close {
6810
6806
  filter: none;
6811
6807
  border: 1px solid #02749c;
6812
6808
  }
6813
- .btn-warning,
6814
- .btn-warning:hover {
6809
+ .btn-warning {
6815
6810
  background-image: -webkit-linear-gradient(#a54caa, #9b479f 6%, #914294);
6816
6811
  background-image: -o-linear-gradient(#a54caa, #9b479f 6%, #914294);
6817
6812
  background-image: -webkit-gradient(linear, left top, left bottom, from(#a54caa), color-stop(6%, #9b479f), to(#914294));
@@ -6822,8 +6817,7 @@ button.close {
6822
6817
  filter: none;
6823
6818
  border: 1px solid #79377c;
6824
6819
  }
6825
- .btn-danger,
6826
- .btn-danger:hover {
6820
+ .btn-danger {
6827
6821
  background-image: -webkit-linear-gradient(#e08b27, #d9831f 6%, #cc7b1d);
6828
6822
  background-image: -o-linear-gradient(#e08b27, #d9831f 6%, #cc7b1d);
6829
6823
  background-image: -webkit-gradient(linear, left top, left bottom, from(#e08b27), color-stop(6%, #d9831f), to(#cc7b1d));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * bootswatch v3.3.7
3
3
  * Homepage: http://bootswatch.com
4
- * Copyright 2012-2016 Thomas Park
4
+ * Copyright 2012-2017 Thomas Park
5
5
  * Licensed under MIT
6
6
  * Based on Bootstrap
7
7
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -6988,6 +6988,9 @@ a.list-group-item-danger.active:focus {
6988
6988
  background-color: #485563;
6989
6989
  color: #ebebeb;
6990
6990
  }
6991
+ .panel .text-muted {
6992
+ color: rgba(255, 255, 255, 0.4);
6993
+ }
6991
6994
  .thumbnail {
6992
6995
  background-color: #546575;
6993
6996
  border: none;
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
@@ -2,7 +2,7 @@
2
2
  /*!
3
3
  * bootswatch v3.3.7
4
4
  * Homepage: http://bootswatch.com
5
- * Copyright 2012-2016 Thomas Park
5
+ * Copyright 2012-2017 Thomas Park
6
6
  * Licensed under MIT
7
7
  * Based on Bootstrap
8
8
  */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7.7
4
+ version: 3.3.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2017-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -99,11 +99,7 @@ files:
99
99
  - cleditor/jquery.cleditor.css
100
100
  - cleditor/jquery.cleditor.js
101
101
  - cleditor/jquery.cleditor.min.js
102
- - datatables/DataTables-1.10.10.zip
103
- - datatables/DataTables-1.10.11.zip
104
- - datatables/DataTables-1.10.12.zip
105
- - datatables/DataTables-1.10.13.zip
106
- - datatables/DataTables-1.10.9.zip
102
+ - datatables/DataTables-1.10.15.zip
107
103
  - generate.sh
108
104
  - lib/bootswatch_rails.rb
109
105
  - lib/bootswatch_rails/engine.rb
@@ -226,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
222
  version: '0'
227
223
  requirements: []
228
224
  rubyforge_project:
229
- rubygems_version: 2.6.10
225
+ rubygems_version: 2.6.12
230
226
  signing_key:
231
227
  specification_version: 4
232
228
  summary: Add bootswatch.com themes to the Rails asset pipeline