bootstrap-datepicker-rails 1.1.1.7 → 1.1.1.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: 403457b1cd7da6111d836a83c29ade363d6e2653
4
- data.tar.gz: 005945ad33cb906d183d35ebaee6c1bee61e8a1d
3
+ metadata.gz: f9d536c3bdbaa776f1c8f3a42145c06d970a9fbd
4
+ data.tar.gz: 83ee8ab252a0aa667e9261feb5c02fc5b6d532fd
5
5
  SHA512:
6
- metadata.gz: f88028aa1b1cb4959c6e46e1cc568414ac74fa6f8fdc8103b799e766466fef54f30a6a8d8bdf34c18b96f5d9ea473bced1ba21fff5ba5df7a5360cd0c025ba81
7
- data.tar.gz: 2294ae204a3d95aca06ed9761bd300159d4fd32d626421619a1e6301311ea00affe2925cbfcab613c461f8de359c74de664c1de53216e03331690d76211d774a
6
+ metadata.gz: 3beb62c5cb434b71adc8b73945c2ea4ba9b0e99137d3bf532b8c087bf286e331247b9376cdae4e37cdc6805efd831b9d68dc14ee99e6c791933a2887e2c82361
7
+ data.tar.gz: e3512ad92ef00e6b8be66eb710454d5d89c2bf7b6649352a60d595e20fb3005bbeedc68b5da624cac4ce4bcdc0b6ae349daa742490f5a147d6685bea5e713be1
data/README.md CHANGED
@@ -56,7 +56,9 @@ Just call datepicker() with any selector.
56
56
  <input type="text" data-behaviour='datepicker' >
57
57
 
58
58
  <script type="text/javascript">
59
- $('[data-behaviour~=datepicker]').datepicker();
59
+ $(document).ready(function(){
60
+ $('[data-behaviour~=datepicker]').datepicker();
61
+ })
60
62
  </script>
61
63
  ```
62
64
 
@@ -1,5 +1,5 @@
1
1
  module BootstrapDatepickerRails
2
2
  module Rails
3
- VERSION = "1.1.1.7"
3
+ VERSION = "1.1.1.8"
4
4
  end
5
5
  end
@@ -1,9 +1,11 @@
1
1
  /* =========================================================
2
2
  * bootstrap-datepicker.js
3
- * http://www.eyecon.ro/bootstrap-datepicker
3
+ * Repo: https://github.com/eternicode/bootstrap-datepicker/
4
+ * Demo: http://eternicode.github.io/bootstrap-datepicker/
5
+ * Docs: http://bootstrap-datepicker.readthedocs.org/
6
+ * Forked from http://www.eyecon.ro/bootstrap-datepicker
4
7
  * =========================================================
5
- * Copyright 2012 Stefan Petre
6
- * Improvements by Andrew Rowls
8
+ * Started by Stefan Petre; improvements by Andrew Rowls + contributors
7
9
  *
8
10
  * Licensed under the Apache License, Version 2.0 (the "License");
9
11
  * you may not use this file except in compliance with the License.
@@ -9,6 +9,7 @@
9
9
  daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10
10
  months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
11
11
  monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12
- today: "I Dag"
12
+ today: "I Dag",
13
+ clear: "Nulstil"
13
14
  };
14
- }(jQuery));
15
+ }(jQuery));
@@ -0,0 +1,11 @@
1
+ ;(function($){
2
+ $.fn.datepicker.dates['gl'] = {
3
+ days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado", "Domingo"],
4
+ daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb", "Dom"],
5
+ daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", "Do"],
6
+ months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"],
7
+ monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"],
8
+ today: "Hoxe",
9
+ clear: "Limpar"
10
+ };
11
+ }(jQuery));
@@ -10,6 +10,7 @@
10
10
  months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"],
11
11
  monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
12
12
  today: "Vandaag",
13
+ clear: "Leegmaken",
13
14
  weekStart: 1,
14
15
  format: "dd/mm/yyyy"
15
16
  };
@@ -10,6 +10,7 @@
10
10
  monthsShort: ['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'],
11
11
  today: 'I dag',
12
12
  clear: 'Nullstill',
13
- weekStart: 0
13
+ weekStart: 1,
14
+ format: 'dd.mm.yyyy'
14
15
  };
15
16
  }(jQuery));
@@ -445,7 +445,6 @@
445
445
  }
446
446
  .input-append.date .add-on i,
447
447
  .input-prepend.date .add-on i {
448
- display: block;
449
448
  cursor: pointer;
450
449
  width: 16px;
451
450
  height: 16px;
@@ -467,10 +466,10 @@
467
466
  display: inline-block;
468
467
  width: auto;
469
468
  min-width: 16px;
470
- height: 18px;
469
+ height: 20px;
471
470
  padding: 4px 5px;
472
471
  font-weight: normal;
473
- line-height: 18px;
472
+ line-height: 20px;
474
473
  text-align: center;
475
474
  text-shadow: 0 1px 0 #ffffff;
476
475
  vertical-align: middle;
@@ -479,3 +478,35 @@
479
478
  margin-left: -5px;
480
479
  margin-right: -5px;
481
480
  }
481
+ .datepicker.dropdown-menu {
482
+ position: absolute;
483
+ top: 100%;
484
+ left: 0;
485
+ z-index: 1000;
486
+ float: left;
487
+ display: none;
488
+ min-width: 160px;
489
+ list-style: none;
490
+ background-color: #ffffff;
491
+ border: 1px solid #ccc;
492
+ border: 1px solid rgba(0, 0, 0, 0.2);
493
+ -webkit-border-radius: 5px;
494
+ -moz-border-radius: 5px;
495
+ border-radius: 5px;
496
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
497
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
498
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
499
+ -webkit-background-clip: padding-box;
500
+ -moz-background-clip: padding;
501
+ background-clip: padding-box;
502
+ *border-right-width: 2px;
503
+ *border-bottom-width: 2px;
504
+ color: #333333;
505
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
506
+ font-size: 13px;
507
+ line-height: 20px;
508
+ }
509
+ .datepicker.dropdown-menu th,
510
+ .datepicker.dropdown-menu td {
511
+ padding: 4px 5px;
512
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-datepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1.7
4
+ version: 1.1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Rodríguez-Baltanás Díaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-20 00:00:00.000000000 Z
11
+ date: 2013-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -112,6 +112,7 @@ files:
112
112
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.et.js
113
113
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fi.js
114
114
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.fr.js
115
+ - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.gl.js
115
116
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.he.js
116
117
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.hr.js
117
118
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.hu.js