lyb_devise_admin 0.3.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 36dcd8104bde42a9bb222f33764dbd789bcb300c
4
+ data.tar.gz: 792a06c67d0a2994d874bd0cd3109869ead64e18
5
+ SHA512:
6
+ metadata.gz: 5708849279d8206295afa07a6bac6b33130766fd6f7d7a1a66eb050eca03cb6cb3a6897a980b4598bf01da5a7554f983fd19a13acc98e976fcc561905afeb23f
7
+ data.tar.gz: da6ec73cf2c17093b652dd267f32d3082c6768f339c6697b7916858cef421f03306c257889b102930b430efcaf25a639f715f637f0aa8222faada20dfe030ce1
data/README.rdoc CHANGED
@@ -1,10 +1,10 @@
1
1
  = LybDeviseAdmin
2
2
 
3
- LybDeviseAdmin provides a ready-to-use admin interface for device.
3
+ LybDeviseAdmin provides a ready-to-use admin interface for devise.
4
4
 
5
5
  = Install
6
6
 
7
- In Rails 3, simply add
7
+ In Rails simply add
8
8
 
9
9
  gem 'lyb_devise_admin'
10
10
 
@@ -12,6 +12,6 @@ to your Gemfile.
12
12
 
13
13
  = License
14
14
 
15
- Copyright (c) 2011 Simon Hürlimann <simon.huerlimann@cyt.ch>
15
+ Copyright (c) 2011-2015 Simon Hürlimann <simon.huerlimann@cyt.ch>
16
16
 
17
17
  Released under the MIT license.
@@ -9,7 +9,7 @@
9
9
  .row-fluid
10
10
  .span6= f.input :current_password, :required => true
11
11
  .row-fluid
12
- .span6= f.input :role_texts, :as => :select, :collection => Ability.roles_for_collection, :include_blank => false, :input_html => {:multiple => 'multiple'}, :required => true if can?(:manage, Role)
12
+ .span6= f.input :role_texts, :as => :select, :collection => Ability.roles_for_collection, :include_blank => false, :input_html => {:multiple => 'multiple', :class => 'span select2'}, :required => true if can?(:manage, Role)
13
13
 
14
14
  .form-actions
15
15
  = f.button :submit
@@ -8,7 +8,7 @@
8
8
  %td= user.locked_at if Devise.mappings[:user].lockable?
9
9
 
10
10
  %td.action-links
11
- =link_to t_action(:edit), edit_resource_url(user)
12
- =link_to t_action(:lock), lock_user_path(user), :method => :post if Devise.mappings[:user].lockable? && !user.locked_at?
13
- =link_to t_action(:unlock), unlock_user_path(user), :method => :post if Devise.mappings[:user].lockable? && user.locked_at?
14
- =link_to t_action(:delete), resource_url(user), :confirm => t_confirm_delete(user), :method => :delete
11
+ = list_link_to :edit, user
12
+ = list_link_to :lock, user, :method => :post if Devise.mappings[:user].lockable? && !user.locked_at?
13
+ = list_link_to :unlock, user, :method => :post if Devise.mappings[:user].lockable? && user.locked_at?
14
+ = list_link_to :delete, user, :confirm => t_confirm_delete(user), :method => :delete
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module LybDeviseAdmin
4
- VERSION="0.3.6"
4
+ VERSION="0.4.0"
5
5
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lyb_devise_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
5
- prerelease:
4
+ version: 0.4.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Simon Hürlimann (CyT)
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-04-26 00:00:00.000000000 Z
11
+ date: 2015-03-17 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: LybDeviseAdmin provides a ready-to-use admin interface for devise.
15
14
  email:
@@ -19,6 +18,7 @@ extensions: []
19
18
  extra_rdoc_files:
20
19
  - README.rdoc
21
20
  files:
21
+ - README.rdoc
22
22
  - app/controllers/authorized_controller.rb
23
23
  - app/controllers/users_controller.rb
24
24
  - app/helpers/devise_helper.rb
@@ -32,30 +32,28 @@ files:
32
32
  - lib/lyb_devise_admin.rb
33
33
  - lib/lyb_devise_admin/railtie.rb
34
34
  - lib/lyb_devise_admin/version.rb
35
- - README.rdoc
36
- homepage: https://github.com/huerlisi/has_accounts
35
+ homepage: https://github.com/huerlisi/lyb_devise_admin
37
36
  licenses: []
37
+ metadata: {}
38
38
  post_install_message:
39
39
  rdoc_options: []
40
40
  require_paths:
41
41
  - lib
42
42
  required_ruby_version: !ruby/object:Gem::Requirement
43
- none: false
44
43
  requirements:
45
- - - ! '>='
44
+ - - ">="
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
47
  required_rubygems_version: !ruby/object:Gem::Requirement
49
- none: false
50
48
  requirements:
51
- - - ! '>='
49
+ - - ">="
52
50
  - !ruby/object:Gem::Version
53
51
  version: '0'
54
52
  requirements: []
55
53
  rubyforge_project:
56
- rubygems_version: 1.8.11
54
+ rubygems_version: 2.4.5
57
55
  signing_key:
58
- specification_version: 3
56
+ specification_version: 4
59
57
  summary: Admin interface for device.
60
58
  test_files: []
61
59
  has_rdoc: