bootstrap-datepicker-rails 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,8 @@ task 'update' do
6
6
  system("rm -rf bootstrap-datepicker")
7
7
  system("git clone git://github.com/eternicode/bootstrap-datepicker.git")
8
8
  system("cp bootstrap-datepicker/css/datepicker.css vendor/assets/stylesheets/bootstrap-datepicker.css")
9
- system("cp bootstrap-datepicker/js/bootstrap-datepicker.js vendor/assets/javascripts/bootstrap-datepicker.js")
9
+ system("cp bootstrap-datepicker/js/bootstrap-datepicker.js vendor/assets/javascripts/bootstrap-datepicker-code.js")
10
+ system("cp -R bootstrap-datepicker/js/locales/ vendor/assets/javascripts/locales/")
10
11
  system("git status")
11
12
  end
12
13
 
@@ -18,4 +19,12 @@ end
18
19
  desc "Publish the gem"
19
20
  task 'publish' do
20
21
  system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
22
+ system("git push")
23
+ end
24
+
25
+ desc "Build and publish de gem"
26
+ task "release" do
27
+ system("gem build bootstrap-datepicker-rails.gemspec")
28
+ system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
29
+ system("git push")
21
30
  end
@@ -1,5 +1,5 @@
1
1
  module BootstrapDatepickerRails
2
2
  module Rails
3
- VERSION = "0.6.5"
3
+ VERSION = "0.6.6"
4
4
  end
5
5
  end
@@ -0,0 +1,2 @@
1
+ // require bootstrap-datepicker-code
2
+ // require locales/locales
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Brazilian translation for bootstrap-datepicker
3
+ * Cauan Cabral <cauan@radig.com.br>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['br'] = {
7
+ days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"],
8
+ daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"],
9
+ daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"],
10
+ months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"],
11
+ monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Danish translation for bootstrap-datepicker
3
+ * Christian Pedersen <http://github.com/chripede>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['da'] = {
7
+ days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"],
8
+ daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"],
9
+ daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"],
10
+ months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * German translation for bootstrap-datepicker
3
+ * Sam Zurcher <sam@orelias.ch>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['de'] = {
7
+ days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"],
8
+ daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"],
9
+ daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"],
10
+ months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"],
11
+ monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Spanish translation for bootstrap-datepicker
3
+ * Bruno Bonamin <bruno.bonamin@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['es'] = {
7
+ days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"],
8
+ daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"],
9
+ daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"],
10
+ months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"],
11
+ monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * French translation for bootstrap-datepicker
3
+ * Nico Mollet <nico.mollet@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['fr'] = {
7
+ days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"],
8
+ daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"],
9
+ daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"],
10
+ months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"],
11
+ monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Icelandic translation for bootstrap-datepicker
3
+ * Hinrik Örn Sigurðsson <hinrik.sig@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['is'] = {
7
+ days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"],
8
+ daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"],
9
+ daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"],
10
+ months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Italian translation for bootstrap-datepicker
3
+ * Enrico Rubboli <rubboli@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['it'] = {
7
+ days: ["Domenica", "Lunedi", "Martedi", "Mercoledi", "Giovedi", "Venerdi", "Sabato", "Domenica"],
8
+ daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
9
+ daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"],
10
+ months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"],
11
+ monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Russian translation for bootstrap-datepicker
3
+ * Victor Taranenko <darwin@snowdale.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['ru'] = {
7
+ days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"],
8
+ daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"],
9
+ daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"],
10
+ months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"],
11
+ monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Swedish translation for bootstrap-datepicker
3
+ * Patrik Ragnarsson <patrik@starkast.net>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['sv'] = {
7
+ days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"],
8
+ daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"],
9
+ daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"],
10
+ months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"]
12
+ };
13
+ }(jQuery));
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Turkish translation for bootstrap-datepicker
3
+ * Serkan Algur <kaisercrazy_2@hotmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['tr'] = {
7
+ days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"],
8
+ daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"],
9
+ daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"],
10
+ months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"],
11
+ monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"]
12
+ };
13
+ }(jQuery));
14
+
@@ -0,0 +1 @@
1
+ // require_tree .
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-datepicker-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -76,7 +76,19 @@ files:
76
76
  - lib/bootstrap-datepicker-rails/engine.rb
77
77
  - lib/bootstrap-datepicker-rails/railtie.rb
78
78
  - lib/bootstrap-datepicker-rails/version.rb
79
- - vendor/assets/javascripts/bootstrap-datepicker.js
79
+ - vendor/assets/javascripts/boostrap-datepicker.js
80
+ - vendor/assets/javascripts/bootstrap-datepicker-code.js
81
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.br.js
82
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.da.js
83
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.de.js
84
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.es.js
85
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.fr.js
86
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.is.js
87
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.it.js
88
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.ru.js
89
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.sv.js
90
+ - vendor/assets/javascripts/locales/bootstrap-datepicker.tr.js
91
+ - vendor/assets/javascripts/locales/locales.js
80
92
  - vendor/assets/stylesheets/bootstrap-datepicker.css
81
93
  homepage: https://github.com/Nerian/bootstrap-datepicker-rails
82
94
  licenses: []
@@ -92,7 +104,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
104
  version: '0'
93
105
  segments:
94
106
  - 0
95
- hash: -3618310897262469218
107
+ hash: -1695727648399391111
96
108
  required_rubygems_version: !ruby/object:Gem::Requirement
97
109
  none: false
98
110
  requirements:
@@ -101,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
113
  version: '0'
102
114
  segments:
103
115
  - 0
104
- hash: -3618310897262469218
116
+ hash: -1695727648399391111
105
117
  requirements: []
106
118
  rubyforge_project:
107
119
  rubygems_version: 1.8.21