lyb_devise_admin 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ module LybDeviseAdmin
2
+ VERSION="0.2.0"
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lyb_devise_admin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- - 1
10
- version: 0.1.1
8
+ - 2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,41 +15,38 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-09 00:00:00 +02:00
18
+ date: 2011-08-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
22
- description: LybDeviseAdmin .
22
+ description: LybDeviseAdmin provides a ready-to-use admin interface for device.
23
23
  email:
24
24
  - simon.huerlimann@cyt.ch
25
25
  executables: []
26
26
 
27
27
  extensions: []
28
28
 
29
- extra_rdoc_files: []
30
-
29
+ extra_rdoc_files:
30
+ - README.rdoc
31
31
  files:
32
- - app/helpers/devise_helper.rb
33
- - app/controllers/users_controller.rb
34
32
  - app/controllers/authorized_controller.rb
33
+ - app/controllers/users_controller.rb
34
+ - app/helpers/devise_helper.rb
35
+ - app/views/users/_collection_table.html.haml
36
+ - app/views/users/_form.html.haml
37
+ - app/views/users/_resource_detail.html.haml
35
38
  - app/views/users/edit.html.haml
36
- - app/views/users/_form.html.haml~
37
39
  - app/views/users/index.html.haml
38
40
  - app/views/users/new.html.haml
39
- - app/views/users/_resource_detail.html.haml
40
41
  - app/views/users/show.html.haml
41
- - app/views/users/_collection_table.html.haml
42
- - app/views/users/_form.html.haml
43
- - lib/lyb_devise_admin.rb
44
- - lib/lyb_devise_admin/railtie.rb
45
42
  - config/locales/lyb_devise_admin.yml
46
43
  - config/routes.rb
47
- - MIT-LICENSE
48
- - Rakefile
49
- - Gemfile
44
+ - lib/lyb_devise_admin.rb
45
+ - lib/lyb_devise_admin/railtie.rb
46
+ - lib/lyb_devise_admin/version.rb
50
47
  - README.rdoc
51
48
  has_rdoc: true
52
- homepage:
49
+ homepage: https://github.com/huerlisi/has_accounts
53
50
  licenses: []
54
51
 
55
52
  post_install_message:
@@ -81,6 +78,6 @@ rubyforge_project:
81
78
  rubygems_version: 1.3.7
82
79
  signing_key:
83
80
  specification_version: 3
84
- summary: LybDeviseAdmin provides a ready-to-use admin interface for device.
81
+ summary: Admin interface for device.
85
82
  test_files: []
86
83
 
data/Gemfile DELETED
@@ -1,30 +0,0 @@
1
- # Settings
2
- # ========
3
- source :rubygems
4
-
5
- gemspec
6
-
7
- # Test
8
- # ====
9
- group :test do
10
- gem "rspec", "~> 2.0"
11
- gem "rspec-rails", "~> 2.0"
12
- gem "capybara", "~> 0.4"
13
- end
14
-
15
- # Rails
16
- # =====
17
- gem 'rails', '~> 3.0.0'
18
-
19
- # Authentication
20
- gem 'devise', '~> 1.1'
21
-
22
- # Authorization
23
- gem 'cancan'
24
-
25
- # CRUD helpers
26
- gem 'inherited_resources'
27
- gem 'inherited_resources_views'
28
- gem 'has_scope'
29
-
30
- gem 'i18n_rails_helpers', '~> 0.9'
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright 2011 YOURNAME
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile DELETED
@@ -1,25 +0,0 @@
1
- # encoding: UTF-8
2
- require 'rubygems'
3
- begin
4
- require 'bundler/setup'
5
- rescue LoadError
6
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7
- end
8
-
9
- require 'rake'
10
- require 'rake/rdoctask'
11
-
12
- require 'rspec/core'
13
- require 'rspec/core/rake_task'
14
-
15
- RSpec::Core::RakeTask.new(:spec)
16
-
17
- task :default => :spec
18
-
19
- Rake::RDocTask.new(:rdoc) do |rdoc|
20
- rdoc.rdoc_dir = 'rdoc'
21
- rdoc.title = 'LybDeviseAdmin'
22
- rdoc.options << '--line-numbers' << '--inline-source'
23
- rdoc.rdoc_files.include('README.rdoc')
24
- rdoc.rdoc_files.include('lib/**/*.rb')
25
- end
@@ -1,11 +0,0 @@
1
- = semantic_form_for @user do |f|
2
- = f.semantic_errors
3
- = f.inputs do
4
- = f.input :email
5
- = f.input :password, :hint => !f.object.new_record?, :input_html => {:autocomplete => "off"}
6
- = f.input :password_confirmation
7
- -# f.input :current_password, :required => true unless can?(:manage, User)
8
- = f.input :role_texts, :as => :select, :collection => Ability.roles_for_collection, :include_blank => false, :input_html => {:multiple => 'multiple'}, :required => true if can?(:manage, Role)
9
-
10
- = f.buttons do
11
- = f.commit_button