bootstrap-datepicker-rails 0.6.21 → 0.6.22

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,20 +11,18 @@ task 'update' do
11
11
  system("git status")
12
12
  end
13
13
 
14
- desc "Build the gem"
15
- task "build" do
16
- system("gem build bootstrap-datepicker-rails.gemspec")
17
- end
18
-
19
- desc "Publish the gem"
20
- task 'publish' do
21
- system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
22
- system("git push")
23
- end
24
-
25
14
  desc "Build and publish de gem"
26
15
  task "release" do
16
+ version_file = File.read("lib/bootstrap-datepicker-rails/version.rb")
17
+ current_version = version_file.match(/\d\d/)[0]
18
+ updated_version = current_version.to_i + 1
19
+ replaced = version_file.gsub(current_version, updated_version.to_s)
20
+ File.open("lib/bootstrap-datepicker-rails/version.rb", "w") { |file| file.puts replaced }
21
+
22
+ system("git add . ")
23
+ system("git commit -m 'update assets'")
24
+
27
25
  system("gem build bootstrap-datepicker-rails.gemspec")
28
- system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
26
+ system("gem push bootstrap-datepicker-rails-#{BootstrapDatepickerRails::Rails::VERSION}.gem")
29
27
  system("git push")
30
28
  end
@@ -1,5 +1,5 @@
1
1
  module BootstrapDatepickerRails
2
2
  module Rails
3
- VERSION = "0.6.21"
3
+ VERSION = "0.6.22"
4
4
  end
5
- end
5
+ end
@@ -8,7 +8,7 @@
8
8
  daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"],
9
9
  daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"],
10
10
  months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"],
11
- monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"]
12
12
  today: "Hari Ini"
13
13
  };
14
14
  }(jQuery));
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Slovene translation for bootstrap-datepicker
3
+ * Gregor Rudolf <gregor.rudolf@gmail.com>
4
+ */
5
+ ;(function($){
6
+ $.fn.datepicker.dates['sl'] = {
7
+ days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"],
8
+ daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"],
9
+ daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"],
10
+ months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"],
11
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12
+ today: "Danes"
13
+ };
14
+ }(jQuery));
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.21
4
+ version: 0.6.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-15 00:00:00.000000000 Z
12
+ date: 2012-10-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -100,6 +100,7 @@ files:
100
100
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.js
101
101
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.pt.js
102
102
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.ru.js
103
+ - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sl.js
103
104
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.sv.js
104
105
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.th.js
105
106
  - vendor/assets/javascripts/bootstrap-datepicker/locales/bootstrap-datepicker.tr.js
@@ -120,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
121
  version: '0'
121
122
  segments:
122
123
  - 0
123
- hash: -3443690755334989289
124
+ hash: -747741763169653546
124
125
  required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  none: false
126
127
  requirements:
@@ -129,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  version: '0'
130
131
  segments:
131
132
  - 0
132
- hash: -3443690755334989289
133
+ hash: -747741763169653546
133
134
  requirements: []
134
135
  rubyforge_project:
135
136
  rubygems_version: 1.8.24