easy_roles 2.0.0.beta1 → 2.0.0.beta2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +1 -1
  2. data/Rakefile +2 -1
  3. data/easy_roles.gemspec +4 -1
  4. metadata +18 -7
@@ -42,7 +42,7 @@ Add the following to your Gemfile:
42
42
 
43
43
  Then generate the migration:
44
44
 
45
- rails g easy_bitmask_roles user roles
45
+ rails g easy_roles user roles --use-bitmask-method
46
46
 
47
47
  Or add a "roles_mask" column to your users model of type 'integer', and set the default value to 0. Please note you can call this column anything you like, I like to use the name "roles_mask":
48
48
 
data/Rakefile CHANGED
@@ -2,11 +2,12 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('easy_roles', '2.0.0.beta1') do |p|
5
+ Echoe.new('easy_roles', '2.0.0.beta2') do |p|
6
6
  p.description = "Easy role authorization in rails"
7
7
  p.url = "http://github.com/platform45/easy_roles"
8
8
  p.author = "Platform45"
9
9
  p.email = "ryan@platform45.com"
10
10
  p.ignore_pattern = ["tmp/*", "script/*"]
11
+ p.dependencies = ["activesupport"]
11
12
  p.development_dependencies = ["rspec", "activerecord", "sqlite3"]
12
13
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{easy_roles}
5
- s.version = "2.0.0.beta1"
5
+ s.version = "2.0.0.beta2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = [%q{Platform45}]
@@ -22,15 +22,18 @@ Gem::Specification.new do |s|
22
22
  s.specification_version = 3
23
23
 
24
24
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
25
+ s.add_runtime_dependency(%q<activesupport>, [">= 0"])
25
26
  s.add_development_dependency(%q<rspec>, [">= 0"])
26
27
  s.add_development_dependency(%q<activerecord>, [">= 0"])
27
28
  s.add_development_dependency(%q<sqlite3>, [">= 0"])
28
29
  else
30
+ s.add_dependency(%q<activesupport>, [">= 0"])
29
31
  s.add_dependency(%q<rspec>, [">= 0"])
30
32
  s.add_dependency(%q<activerecord>, [">= 0"])
31
33
  s.add_dependency(%q<sqlite3>, [">= 0"])
32
34
  end
33
35
  else
36
+ s.add_dependency(%q<activesupport>, [">= 0"])
34
37
  s.add_dependency(%q<rspec>, [">= 0"])
35
38
  s.add_dependency(%q<activerecord>, [">= 0"])
36
39
  s.add_dependency(%q<sqlite3>, [">= 0"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_roles
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta1
4
+ version: 2.0.0.beta2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -11,9 +11,20 @@ bindir: bin
11
11
  cert_chain: []
12
12
  date: 2011-08-18 00:00:00.000000000Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: &2168927500 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2168927500
14
25
  - !ruby/object:Gem::Dependency
15
26
  name: rspec
16
- requirement: &2153037320 !ruby/object:Gem::Requirement
27
+ requirement: &2168927020 !ruby/object:Gem::Requirement
17
28
  none: false
18
29
  requirements:
19
30
  - - ! '>='
@@ -21,10 +32,10 @@ dependencies:
21
32
  version: '0'
22
33
  type: :development
23
34
  prerelease: false
24
- version_requirements: *2153037320
35
+ version_requirements: *2168927020
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: activerecord
27
- requirement: &2153036840 !ruby/object:Gem::Requirement
38
+ requirement: &2168942920 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - ! '>='
@@ -32,10 +43,10 @@ dependencies:
32
43
  version: '0'
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *2153036840
46
+ version_requirements: *2168942920
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: sqlite3
38
- requirement: &2153036360 !ruby/object:Gem::Requirement
49
+ requirement: &2168942440 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
52
  - - ! '>='
@@ -43,7 +54,7 @@ dependencies:
43
54
  version: '0'
44
55
  type: :development
45
56
  prerelease: false
46
- version_requirements: *2153036360
57
+ version_requirements: *2168942440
47
58
  description: Easy role authorization in rails
48
59
  email: ryan@platform45.com
49
60
  executables: []