roles_active_record 0.4.6.2 → 0.4.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.6.2
1
+ 0.4.6.3
@@ -48,7 +48,7 @@ module Roles::ActiveRecord
48
48
  end
49
49
 
50
50
  def get_roles
51
- self.send(role_attribute)
51
+ self.send(role_attribute) || []
52
52
  end
53
53
  end
54
54
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{roles_active_record}
8
- s.version = "0.4.6.2"
8
+ s.version = "0.4.6.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2011-01-21}
12
+ s.date = %q{2011-02-01}
13
13
  s.description = %q{Makes it easy to set a role strategy on your User model in Active Record}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 4
8
8
  - 6
9
- - 2
10
- version: 0.4.6.2
9
+ - 3
10
+ version: 0.4.6.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Kristian Mandrup
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-21 00:00:00 +01:00
18
+ date: 2011-02-01 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency