rubycas-server 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +20 -0
- data/LICENSE +1 -1
- data/README.md +17 -3
- data/Rakefile +2 -1
- data/config.ru +7 -1
- data/config/config.example.yml +1 -1
- data/lib/casserver/authenticators/sql_encrypted.rb +0 -1
- data/lib/casserver/authenticators/sql_rest_auth.rb +7 -7
- data/lib/casserver/cas.rb +23 -15
- data/lib/casserver/localization.rb +4 -82
- data/lib/casserver/server.rb +24 -17
- data/lib/casserver/views/_login_form.erb +4 -4
- data/lib/casserver/views/layout.erb +1 -1
- data/lib/casserver/views/login.erb +1 -1
- data/locales/de.yml +27 -0
- data/locales/en.yml +26 -0
- data/locales/es.yml +26 -0
- data/locales/es_ar.yml +26 -0
- data/locales/fr.yml +26 -0
- data/locales/jp.yml +26 -0
- data/locales/pl.yml +26 -0
- data/locales/pt.yml +26 -0
- data/locales/ru.yml +26 -0
- data/locales/zh.yml +26 -0
- data/locales/zh_tw.yml +26 -0
- data/public/themes/cas.css +6 -1
- data/rubycas-server.gemspec +7 -11
- data/spec/casserver_spec.rb +12 -5
- data/spec/spec_helper.rb +6 -5
- data/tasks/spec.rake +4 -4
- metadata +60 -48
- data/po/de_DE/rubycas-server.po +0 -127
- data/po/es_ES/rubycas-server.po +0 -123
- data/po/fr_FR/rubycas-server.po +0 -128
- data/po/ja_JP/rubycas-server.po +0 -126
- data/po/pl_PL/rubycas-server.po +0 -123
- data/po/pt_BR/rubycas-server.po +0 -123
- data/po/ru_RU/rubycas-server.po +0 -118
- data/po/rubycas-server.pot +0 -112
- data/po/zh_CN/rubycas-server.po +0 -113
- data/po/zh_TW/rubycas-server.po +0 -113
- data/tasks/localization.rake +0 -13
data/tasks/localization.rake
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
namespace :localization do
|
2
|
-
desc 'Scans the code for translatable strings and generates/updates the .po files'
|
3
|
-
task :po do
|
4
|
-
require 'gettext/utils'
|
5
|
-
GetText.update_pofiles("rubycas-server", Dir.glob("{lib,bin}/**/*.{rb}"), "rubycas-server ")
|
6
|
-
end
|
7
|
-
|
8
|
-
desc 'Creates .mo files from .po files and puts them in the locale dir'
|
9
|
-
task :mo do
|
10
|
-
require 'gettext/utils'
|
11
|
-
GetText.create_mofiles(true, "po", "locale")
|
12
|
-
end
|
13
|
-
end
|