mix-rails-auth 0.12.1 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ class Ability
5
5
  # Define abilities for the passed in user here. For example:
6
6
  #
7
7
  user ||= User.new # guest user (not logged in)
8
- if user.is?(:admin)
8
+ if true #user.is?(:admin)
9
9
  can :manage, :all
10
10
  else
11
11
  can :read, :all
@@ -2,7 +2,7 @@ module MixRailsAuth
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 12
5
- TINY = 1
5
+ TINY = 2
6
6
  PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mix-rails-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-23 00:00:00.000000000 Z
13
+ date: 2013-01-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -116,25 +116,25 @@ executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
- - app/controllers/admix/users_controller.rb
120
119
  - app/assets/stylesheets/admix/users.css
121
120
  - app/assets/javascripts/admix/users.js
122
- - app/helpers/admix/users_helper.rb
121
+ - app/views/admix/users/_form_fields.html.haml
122
+ - app/views/admix/users/_table_actions.html.haml
123
+ - app/views/admix/users/_show.html.haml
124
+ - app/controllers/admix/users_controller.rb
125
+ - app/models/user.rb
123
126
  - app/models/admix/users_datagrid.rb
124
127
  - app/models/ability.rb
125
- - app/models/user.rb
126
- - app/views/admix/users/_show.html.haml
127
- - app/views/admix/users/_table_actions.html.haml
128
- - app/views/admix/users/_form_fields.html.haml
128
+ - app/helpers/admix/users_helper.rb
129
+ - config/initializers/devise.rb
130
+ - config/routes.rb
129
131
  - config/sessions.rb
130
- - config/locales/auth.en.yml
131
132
  - config/locales/devise.pt-BR.yml
132
- - config/locales/devise.en.yml
133
133
  - config/locales/auth.pt-BR.yml
134
- - config/initializers/devise.rb
135
- - config/routes.rb
136
- - lib/tasks/auth_tasks.rake
134
+ - config/locales/devise.en.yml
135
+ - config/locales/auth.en.yml
137
136
  - lib/mix-rails-auth.rb
137
+ - lib/tasks/auth_tasks.rake
138
138
  - lib/mix-rails-auth/version.rb
139
139
  - lib/mix-rails-auth/engine.rb
140
140
  - MIT-LICENSE
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  segments:
156
156
  - 0
157
- hash: -3365643521805470593
157
+ hash: -2492373220237090831
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  none: false
160
160
  requirements:
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  segments:
165
165
  - 0
166
- hash: -3365643521805470593
166
+ hash: -2492373220237090831
167
167
  requirements: []
168
168
  rubyforge_project:
169
169
  rubygems_version: 1.8.24