the_role_management_panel 3.0.2 → 3.5

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: 227f4252d08e97b061eb6d4de59f59dcf6513257
4
- data.tar.gz: cabeaca7675d0f59bc24b02e92065b25547fd112
3
+ metadata.gz: 0d2d9df7dc31de6ae3e29c6a94ba400e64f6a3b5
4
+ data.tar.gz: a9e7dc76f21f05f6c0202f57f37f2d35f9064845
5
5
  SHA512:
6
- metadata.gz: e03b66803e01ceb7d92bbc3d69399f69669204fe71d1b0b42eda104c0f2685e1565408f1fc49d0a418acddfedaf9953583abc6491c8ebc1dd565e0bd62aae146
7
- data.tar.gz: 5734d5e5cd21e822b4de500b3a91b04c2a558d03091443a27a42d61344c4307a656455b6c1971cda89c813c93bbda2fbd62bf3a53a5634b5ffd8173cb2ff1705
6
+ metadata.gz: 3ccf9a33dd06dfa7b5920a544c11dea0088283a1c6ea1a5f6d9ad17ded9cf834b9169880d38989d84794013780644a528c95a71bc3370436a2aa99905f6d9696
7
+ data.tar.gz: 1e0c53a7968a159ef3d89ef7b87d76695892d801fdd3fcffcf34e48851120e6a4f865cb48422970f3a443bd6a8ab0add7394df3ee41d443d9b810695bd0d794b
data/README.md CHANGED
@@ -16,13 +16,12 @@
16
16
  </p>
17
17
 
18
18
  <div align="center" class='center' style="text-align:center">
19
-
20
- <a href="http://badge.fury.io/rb/the_role"><img src="https://badge.fury.io/rb/the_role.svg" alt="Gem Version" height="18"></a>
21
- &nbsp;
22
- <a href="https://travis-ci.org/TheRole/DummyApp"><img src="https://travis-ci.org/TheRole/DummyApp.svg?branch=master" alt="Build Status" height="18"></a>
23
- &nbsp;
24
- <a href="https://codeclimate.com/github/TheRole/TheRoleManagementPanelBootstrap3"><img src="https://codeclimate.com/github/TheRole/TheRoleManagementPanelBootstrap3/badges/gpa.svg" /></a>
25
- &nbsp;
19
+ TheRole: <a href="http://badge.fury.io/rb/the_role"><img src="https://badge.fury.io/rb/the_role.svg" alt="Gem Version" height="18"></a>
20
+ API: <a href="http://badge.fury.io/rb/the_role_api"><img src="https://badge.fury.io/rb/the_role_api.svg" alt="Gem Version" height="18"></a>
21
+ GUI: <a href="http://badge.fury.io/rb/the_role_management_panel"><img src="https://badge.fury.io/rb/the_role_management_panel.svg" alt="Gem Version" height="18"></a>
22
+ <br>
23
+ GUI: <a href="https://codeclimate.com/github/TheRole/TheRoleManagementPanelBootstrap3"><img src="https://codeclimate.com/github/TheRole/TheRoleManagementPanelBootstrap3/badges/gpa.svg" /></a>
24
+ CI: <a href="https://travis-ci.org/TheRole/DummyApp"><img src="https://travis-ci.org/TheRole/DummyApp.svg?branch=master" alt="Build Status" height="18"></a>
26
25
  <a href="https://www.ruby-toolbox.com/categories/rails_authorization">ruby-toolbox</a>
27
26
  </div>
28
27
 
@@ -11,7 +11,7 @@
11
11
  - hidden = 'visibility:hidden'
12
12
  .panel.panel-primary
13
13
  .panel-heading
14
- Role Info (edit in place)
14
+ = t(:role_info, scope: t_scope)
15
15
  = link_to t(:role_export, scope: t_scope), role_export_admin_role_path(role), class: "btn btn-xs btn-warning pull-right"
16
16
  .panel-body
17
17
  = form_for(role, url: change_admin_role_path(role), html: { class: "form-inline" } ) do |f|
@@ -39,7 +39,8 @@
39
39
  = yield(:role_update_btn_set)
40
40
 
41
41
  .panel.panel-primary
42
- .panel-heading Role rules
42
+ .panel-heading
43
+ = t(:role_rules, scope: t_scope)
43
44
  .panel-body
44
45
  - role.to_hash.each_pair do |section, rules|
45
46
  .panel.panel-info
@@ -2,13 +2,14 @@
2
2
 
3
3
  - content_for :role_sidebar do
4
4
  .panel.panel-primary
5
- .panel-heading Role Nav
5
+ .panel-heading
6
+ = t :role_nav, scope: t_scope
6
7
  .panel-body
7
8
  %h4= link_to raw('&larr; Home'), root_path
8
9
 
9
10
  .panel.panel-primary
10
11
  .panel-heading
11
- = t '.roles_list'
12
+ = t :roles_list, scope: t_scope
12
13
  .panel-body
13
14
 
14
15
  - (@roles || Role.all).each do |role|
@@ -38,8 +38,11 @@ en:
38
38
  new_rule_placeholder: New rule name
39
39
  create_rule: Create new rule
40
40
  role_export: "Export role"
41
+ role_info: Role Info (edit in place)
42
+ role_rules: Role rules
41
43
  sidebar:
42
44
  roles_list: Roles list
45
+ role_nav: Menu
43
46
  new_role: Create new role
44
47
  delete_role_confirm: 'Are you sure? It can be dangerous!'
45
48
 
@@ -36,8 +36,11 @@ es:
36
36
  create_section: Crear nueva sección
37
37
  new_rule_placeholder: Nombre de la nueva regla
38
38
  create_rule: Crear nueva regla
39
+ role_info: Datos de papel
40
+ role_rules: Reglas de roles
39
41
  sidebar:
40
42
  roles_list: Lista de roles
43
+ role_nav: Menú
41
44
  new_role: Crear nuevo rol
42
45
  delete_role_confirm: "¿Estás seguro? ¡Puede ser peligroso!"
43
46
 
@@ -37,8 +37,11 @@ nl:
37
37
  create_section: Maak nieuwe sectie aan
38
38
  new_rule_placeholder: Naam nieuw toegansprofiel
39
39
  create_rule: Maak nieuw toegansprofiel
40
+ role_info: Toegangsprofiel info
41
+ role_rules: Toegangsprofiel regels
40
42
  sidebar:
41
43
  roles_list: Lijst toegangsprofielen
44
+ role_nav: Menu
42
45
  new_role: Maak nieuw toegansprofiel
43
46
  delete_role_confirm: 'Weet je het zeker? Dit kan gevaarlijk zijn!'
44
47
 
@@ -36,8 +36,11 @@ pl:
36
36
  create_section: Utwórz nową sekcję
37
37
  new_rule_placeholder: Nazwa nowej reguły
38
38
  create_rule: Utwórz nową regułę
39
+ role_info: Rolę informacji
40
+ role_rules: Rolę zasady
39
41
  sidebar:
40
42
  roles_list: Lista ról
43
+ role_nav: Menu
41
44
  new_role: Utwórz nową rolę
42
45
  delete_role_confirm: 'Czy jesteś pewien? To może być niebezpieczne!'
43
46
 
@@ -1,8 +1,8 @@
1
1
  pt-BR:
2
2
  the_role_gui:
3
- role_created: Papel criado
4
- role_updated: Papel atualizado
5
- role_deleted: Papel excluído
3
+ role_created: Perfil criado
4
+ role_updated: Perfil atualizado
5
+ role_deleted: Perfil excluído
6
6
  section_created: Seção criada
7
7
  section_not_created: Seção não foi criada
8
8
  section_rule_created: "Regra de seção criada"
@@ -14,19 +14,19 @@ pt-BR:
14
14
  section_not_deleted: Seção não foi excluída
15
15
  section_rule_deleted: "Regra de seção excluída"
16
16
  section_rule_not_deleted: "Regra de seção não foi excluída"
17
- imported_roles: "Imported roles: %{roles_list}"
17
+ imported_roles: "Regras importadas: %{roles_list}"
18
18
 
19
19
  roles:
20
20
  new:
21
- create: Criar novo Papel
22
- name: "Nome do Papel (caracteres latinos, com underscore)"
23
- title: Título do papel (texto)
24
- description: Descrição do papel (texto)
25
- based_on_role: "Novo papel baseado em:"
21
+ create: Criar novo Perfil
22
+ name: "Nome do Perfil (caracteres latinos, com underscore)"
23
+ title: Título do perfil (texto)
24
+ description: Descrição do perfil (texto)
25
+ based_on_role: "Novo perfil baseado em:"
26
26
  role:
27
- role_name: Nome do papel
27
+ role_name: Nome do perfil
28
28
  title: Título
29
- role_description: Descrição do papel
29
+ role_description: Descrição do perfil
30
30
  delete_section: Excluir sessão
31
31
  section_delete_confirm: 'Deseja excluir a seção?'
32
32
  rule_delete_confirm: 'Deseja excluir a regra?'
@@ -37,11 +37,15 @@ pt-BR:
37
37
  create_section: Criar nova seção
38
38
  new_rule_placeholder: Nome da nova regra
39
39
  create_rule: Criar nova regra
40
+ role_info: Informações do perfil
41
+ role_rules: Regras do perfil
42
+ role_export: "Exportar perfil"
40
43
  sidebar:
41
- roles_list: Lista de Papéis
42
- new_role: Criar novo papel
44
+ roles_list: Lista de perfis
45
+ role_nav: Menu
46
+ new_role: Criar novo perfil
43
47
  delete_role_confirm: 'Tem certeza? Isto pode ser perigoso!'
44
48
 
45
- roles_export: "Roles Export"
46
- roles_import: "Roles Import"
47
- roles_import_confirm: 'It can change role policy of your system. Are you sure?'
49
+ roles_export: "Exportar perfis"
50
+ roles_import: "Importar perfis"
51
+ roles_import_confirm: 'Isto pode alterar a política de regras do seu sistema. Tem certeza?'
@@ -39,8 +39,12 @@ ru:
39
39
  new_rule_placeholder: Имя нового правила
40
40
  create_rule: Создать правило
41
41
  role_export: Выгрузить роль
42
+ role_info: Информация Роль
43
+ role_rules: правила Ролевые
44
+
42
45
  sidebar:
43
46
  roles_list: Список ролей
47
+ role_nav: Меню
44
48
  new_role: Создать новую Роль
45
49
  delete_role_confirm: 'Удалить роль? Это может быть опасно! Уверены?'
46
50
 
@@ -36,8 +36,11 @@ zh_CN:
36
36
  create_section: 创建新章节
37
37
  new_rule_placeholder: 新规则名称
38
38
  create_rule: 创建新规则
39
+ role_info: 角色信息
40
+ role_rules: 角色规则
39
41
  sidebar:
40
42
  roles_list: 角色列表
43
+ role_nav: 菜单
41
44
  new_role: 创建新角色
42
45
  delete_role_confirm: '你确定? 可能存在风险!'
43
46
 
@@ -1,3 +1,3 @@
1
1
  module TheRoleManagementPanel
2
- VERSION = "3.0.2"
2
+ VERSION = "3.5"
3
3
  end
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'the_notification', '~> 0.5.1'
28
28
  spec.add_dependency 'bootstrap-sass', '~> 3.3', '>= 3.3.1'
29
29
 
30
- spec.add_dependency 'rails', ['>= 3', '< 5']
30
+ spec.add_dependency 'rails', ['>= 3', '< 6']
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the_role_management_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: '3.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya N. Zykin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-04 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -123,7 +123,7 @@ dependencies:
123
123
  version: '3'
124
124
  - - "<"
125
125
  - !ruby/object:Gem::Version
126
- version: '5'
126
+ version: '6'
127
127
  type: :runtime
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
@@ -133,7 +133,7 @@ dependencies:
133
133
  version: '3'
134
134
  - - "<"
135
135
  - !ruby/object:Gem::Version
136
- version: '5'
136
+ version: '6'
137
137
  description: " Management panel for TheRole on Bootstrap3 "
138
138
  email:
139
139
  - zykin-ilya@ya.ru
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.2.2
195
+ rubygems_version: 2.5.0
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: TheRole Management panel