roles_active_record 0.4.6.4 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.textile +6 -0
- data/Gemfile +18 -20
- data/Rakefile +16 -13
- data/VERSION +1 -1
- data/roles_active_record.gemspec +22 -65
- data/spec/spec_helper.rb +13 -13
- metadata +75 -325
- data/development.sqlite3 +0 -0
data/Changelog.textile
ADDED
data/Gemfile
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
source :rubygems
|
2
|
-
|
3
|
-
gem "activerecord",
|
4
|
-
gem "activesupport",
|
5
|
-
gem "arel", ">= 2.0"
|
6
|
-
gem "meta_where", ">= 0.
|
7
|
-
gem "sugar-high", "~> 0.3.
|
8
|
-
gem "require_all", '~> 1.2.0'
|
9
|
-
gem "roles_generic", '
|
10
|
-
|
11
|
-
gem '
|
12
|
-
gem 'logging_assist', '>= 0.2.0'
|
13
|
-
|
14
|
-
group :test do
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
gem "generator_spec", '>= 0.7.0'
|
20
|
-
end
|
1
|
+
# source :rubygems
|
2
|
+
#
|
3
|
+
# gem "activerecord", ">= 3.0.1"
|
4
|
+
# gem "activesupport", ">= 3.0.1"
|
5
|
+
# gem "arel", ">= 2.0"
|
6
|
+
# gem "meta_where", ">= 1.0.1"
|
7
|
+
# gem "sugar-high", "~> 0.3.5"
|
8
|
+
# gem "require_all", '~> 1.2.0'
|
9
|
+
# gem "roles_generic", '>= 0.3.7'
|
10
|
+
#
|
11
|
+
# gem 'rails_artifactor', '>= 0.3.3'
|
12
|
+
# gem 'logging_assist', '>= 0.2.0'
|
13
|
+
#
|
14
|
+
# group :test do
|
15
|
+
# gem "rspec", ">= 2.0.1"
|
16
|
+
# gem 'database_cleaner'
|
17
|
+
# gem "generator_spec", '>= 0.7.2'
|
18
|
+
# end
|
data/Rakefile
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'psych'
|
2
|
+
|
1
3
|
begin
|
2
4
|
require 'jeweler'
|
3
5
|
Jeweler::Tasks.new do |gem|
|
@@ -7,20 +9,21 @@ begin
|
|
7
9
|
gem.email = "kmandrup@gmail.com"
|
8
10
|
gem.homepage = "http://github.com/kristianmandrup/roles_active_record"
|
9
11
|
gem.authors = ["Kristian Mandrup"]
|
10
|
-
gem.
|
11
|
-
gem.add_development_dependency 'database_cleaner', '>= 0.5'
|
12
|
-
gem.add_development_dependency "generator-spec", '>= 0.7.0'
|
13
|
-
|
14
|
-
gem.add_dependency "activerecord", "~> 3.0.1"
|
15
|
-
gem.add_dependency "activesupport", "~> 3.0.1"
|
16
|
-
gem.add_dependency "arel", ">= 2.0"
|
17
|
-
gem.add_dependency "meta_where", ">= 0.9.9"
|
18
|
-
gem.add_dependency "sugar-high", "~> 0.3.0"
|
19
|
-
gem.add_dependency "require_all", '~> 1.2.0'
|
20
|
-
gem.add_dependency "roles_generic", '>= 0.3.2'
|
12
|
+
gem.rubygems_version = '1.6.0'
|
21
13
|
|
22
|
-
|
23
|
-
|
14
|
+
# See Gemfile for regular dependencies
|
15
|
+
# COMMENTED OUT TO AVOID DUPLICATION WITH GEMFILE:
|
16
|
+
# https://github.com/technicalpickles/jeweler/issues#issue/152
|
17
|
+
|
18
|
+
gem.add_development_dependency 'database_cleaner', '>= 0.6'
|
19
|
+
gem.add_development_dependency "rspec", '>= 2.4.1'
|
20
|
+
gem.add_development_dependency "generator-spec", '>= 0.7.3'
|
21
|
+
|
22
|
+
gem.add_dependency 'roles_generic', '>= 0.3.8'
|
23
|
+
gem.add_dependency 'require_all', '~> 1.2.0'
|
24
|
+
gem.add_dependency 'sugar-high', '~> 0.4.0'
|
25
|
+
gem.add_dependency 'meta_where', '>= 1.0.1'
|
26
|
+
|
24
27
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
25
28
|
end
|
26
29
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.7
|
data/roles_active_record.gemspec
CHANGED
@@ -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.
|
8
|
+
s.version = "0.4.7"
|
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-
|
12
|
+
s.date = %q{2011-03-04}
|
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 = [
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
".rspec",
|
22
|
+
"Changelog.textile",
|
22
23
|
"Gemfile",
|
23
24
|
"LICENSE",
|
24
25
|
"NOTES.textile",
|
@@ -26,7 +27,6 @@ Gem::Specification.new do |s|
|
|
26
27
|
"Rakefile",
|
27
28
|
"VERSION",
|
28
29
|
"config/database.yml",
|
29
|
-
"development.sqlite3",
|
30
30
|
"lib/generators/active_record/roles/core_ext.rb",
|
31
31
|
"lib/generators/active_record/roles/roles_generator.rb",
|
32
32
|
"lib/generators/active_record/roles/templates/many_roles/role.rb",
|
@@ -92,7 +92,7 @@ Gem::Specification.new do |s|
|
|
92
92
|
]
|
93
93
|
s.homepage = %q{http://github.com/kristianmandrup/roles_active_record}
|
94
94
|
s.require_paths = ["lib"]
|
95
|
-
s.rubygems_version = %q{1.
|
95
|
+
s.rubygems_version = %q{1.6.1}
|
96
96
|
s.summary = %q{Implementation of Roles generic API for Active Record}
|
97
97
|
s.test_files = [
|
98
98
|
"spec/fixtures/many_roles_setup.rb",
|
@@ -130,76 +130,33 @@ Gem::Specification.new do |s|
|
|
130
130
|
]
|
131
131
|
|
132
132
|
if s.respond_to? :specification_version then
|
133
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
134
133
|
s.specification_version = 3
|
135
134
|
|
136
135
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
137
|
-
s.
|
138
|
-
s.
|
139
|
-
s.
|
140
|
-
s.add_runtime_dependency(%q<
|
141
|
-
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
136
|
+
s.add_development_dependency(%q<database_cleaner>, [">= 0.6"])
|
137
|
+
s.add_development_dependency(%q<rspec>, [">= 2.4.1"])
|
138
|
+
s.add_development_dependency(%q<generator-spec>, [">= 0.7.3"])
|
139
|
+
s.add_runtime_dependency(%q<roles_generic>, [">= 0.3.8"])
|
142
140
|
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
143
|
-
s.add_runtime_dependency(%q<
|
144
|
-
s.add_runtime_dependency(%q<
|
145
|
-
s.add_runtime_dependency(%q<logging_assist>, [">= 0.2.0"])
|
146
|
-
s.add_development_dependency(%q<rspec>, [">= 2.0.1"])
|
147
|
-
s.add_development_dependency(%q<database_cleaner>, [">= 0.5"])
|
148
|
-
s.add_development_dependency(%q<generator-spec>, [">= 0.7.0"])
|
149
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 3.0.1"])
|
150
|
-
s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.1"])
|
151
|
-
s.add_runtime_dependency(%q<arel>, [">= 2.0"])
|
152
|
-
s.add_runtime_dependency(%q<meta_where>, [">= 0.9.9"])
|
153
|
-
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
154
|
-
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
155
|
-
s.add_runtime_dependency(%q<roles_generic>, [">= 0.3.2"])
|
156
|
-
s.add_runtime_dependency(%q<rails3_artifactor>, [">= 0.3.1"])
|
157
|
-
s.add_runtime_dependency(%q<logging_assist>, [">= 0.2.0"])
|
141
|
+
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
142
|
+
s.add_runtime_dependency(%q<meta_where>, [">= 1.0.1"])
|
158
143
|
else
|
159
|
-
s.add_dependency(%q<
|
160
|
-
s.add_dependency(%q<
|
161
|
-
s.add_dependency(%q<
|
162
|
-
s.add_dependency(%q<
|
163
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
164
|
-
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
165
|
-
s.add_dependency(%q<roles_generic>, ["~> 0.3.2"])
|
166
|
-
s.add_dependency(%q<rails3_artifactor>, [">= 0.3.1"])
|
167
|
-
s.add_dependency(%q<logging_assist>, [">= 0.2.0"])
|
168
|
-
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
169
|
-
s.add_dependency(%q<database_cleaner>, [">= 0.5"])
|
170
|
-
s.add_dependency(%q<generator-spec>, [">= 0.7.0"])
|
171
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0.1"])
|
172
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.1"])
|
173
|
-
s.add_dependency(%q<arel>, [">= 2.0"])
|
174
|
-
s.add_dependency(%q<meta_where>, [">= 0.9.9"])
|
175
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
144
|
+
s.add_dependency(%q<database_cleaner>, [">= 0.6"])
|
145
|
+
s.add_dependency(%q<rspec>, [">= 2.4.1"])
|
146
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
|
147
|
+
s.add_dependency(%q<roles_generic>, [">= 0.3.8"])
|
176
148
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
177
|
-
s.add_dependency(%q<
|
178
|
-
s.add_dependency(%q<
|
179
|
-
s.add_dependency(%q<logging_assist>, [">= 0.2.0"])
|
149
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
150
|
+
s.add_dependency(%q<meta_where>, [">= 1.0.1"])
|
180
151
|
end
|
181
152
|
else
|
182
|
-
s.add_dependency(%q<
|
183
|
-
s.add_dependency(%q<
|
184
|
-
s.add_dependency(%q<
|
185
|
-
s.add_dependency(%q<
|
186
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
187
|
-
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
188
|
-
s.add_dependency(%q<roles_generic>, ["~> 0.3.2"])
|
189
|
-
s.add_dependency(%q<rails3_artifactor>, [">= 0.3.1"])
|
190
|
-
s.add_dependency(%q<logging_assist>, [">= 0.2.0"])
|
191
|
-
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
192
|
-
s.add_dependency(%q<database_cleaner>, [">= 0.5"])
|
193
|
-
s.add_dependency(%q<generator-spec>, [">= 0.7.0"])
|
194
|
-
s.add_dependency(%q<activerecord>, ["~> 3.0.1"])
|
195
|
-
s.add_dependency(%q<activesupport>, ["~> 3.0.1"])
|
196
|
-
s.add_dependency(%q<arel>, [">= 2.0"])
|
197
|
-
s.add_dependency(%q<meta_where>, [">= 0.9.9"])
|
198
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
|
153
|
+
s.add_dependency(%q<database_cleaner>, [">= 0.6"])
|
154
|
+
s.add_dependency(%q<rspec>, [">= 2.4.1"])
|
155
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
|
156
|
+
s.add_dependency(%q<roles_generic>, [">= 0.3.8"])
|
199
157
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
200
|
-
s.add_dependency(%q<
|
201
|
-
s.add_dependency(%q<
|
202
|
-
s.add_dependency(%q<logging_assist>, [">= 0.2.0"])
|
158
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
159
|
+
s.add_dependency(%q<meta_where>, [">= 1.0.1"])
|
203
160
|
end
|
204
161
|
end
|
205
162
|
|
data/spec/spec_helper.rb
CHANGED
@@ -26,19 +26,19 @@ ActiveRecord::Base.logger = Logger.new(STDERR)
|
|
26
26
|
# Attempts at trying to make database_cleaner accept another location for database.yml
|
27
27
|
# ------------------------------------------------------------------------------------
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
29
|
+
module ActiveRecord
|
30
|
+
def self.config_file_location
|
31
|
+
File.dirname(__FILE__) + '/db/database.yml'
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module DatabaseCleaner
|
36
|
+
module ActiveRecord
|
37
|
+
def self.config_file_location
|
38
|
+
"#{DatabaseCleaner.app_root}/spec/db/database.yml"
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
42
|
|
43
43
|
DatabaseCleaner.strategy = :truncation
|
44
44
|
|
metadata
CHANGED
@@ -1,347 +1,105 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: roles_active_record
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 6
|
9
|
-
- 4
|
10
|
-
version: 0.4.6.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.7
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Kristian Mandrup
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
date: 2011-02-01 00:00:00 +01:00
|
12
|
+
date: 2011-03-04 00:00:00.000000000 +01:00
|
19
13
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
23
|
-
requirement: &
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 3
|
30
|
-
- 0
|
31
|
-
- 1
|
32
|
-
version: 3.0.1
|
33
|
-
type: :runtime
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: activesupport
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
segments:
|
44
|
-
- 3
|
45
|
-
- 0
|
46
|
-
- 1
|
47
|
-
version: 3.0.1
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: arel
|
53
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
|
-
requirements:
|
56
|
-
- - ">="
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 2
|
60
|
-
- 0
|
61
|
-
version: "2.0"
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: meta_where
|
67
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
|
-
requirements:
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
- 9
|
75
|
-
- 9
|
76
|
-
version: 0.9.9
|
77
|
-
type: :runtime
|
78
|
-
prerelease: false
|
79
|
-
version_requirements: *id004
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: sugar-high
|
82
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
|
-
requirements:
|
85
|
-
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
- 3
|
90
|
-
- 0
|
91
|
-
version: 0.3.0
|
92
|
-
type: :runtime
|
93
|
-
prerelease: false
|
94
|
-
version_requirements: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: require_all
|
97
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
segments:
|
103
|
-
- 1
|
104
|
-
- 2
|
105
|
-
- 0
|
106
|
-
version: 1.2.0
|
107
|
-
type: :runtime
|
108
|
-
prerelease: false
|
109
|
-
version_requirements: *id006
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: roles_generic
|
112
|
-
requirement: &id007 !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ~>
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
segments:
|
118
|
-
- 0
|
119
|
-
- 3
|
120
|
-
- 2
|
121
|
-
version: 0.3.2
|
122
|
-
type: :runtime
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: *id007
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rails3_artifactor
|
127
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
|
-
requirements:
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
- 3
|
135
|
-
- 1
|
136
|
-
version: 0.3.1
|
137
|
-
type: :runtime
|
138
|
-
prerelease: false
|
139
|
-
version_requirements: *id008
|
140
|
-
- !ruby/object:Gem::Dependency
|
141
|
-
name: logging_assist
|
142
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
143
|
-
none: false
|
144
|
-
requirements:
|
145
|
-
- - ">="
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
segments:
|
148
|
-
- 0
|
149
|
-
- 2
|
150
|
-
- 0
|
151
|
-
version: 0.2.0
|
152
|
-
type: :runtime
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: *id009
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: rspec
|
157
|
-
requirement: &id010 !ruby/object:Gem::Requirement
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: database_cleaner
|
17
|
+
requirement: &2156732560 !ruby/object:Gem::Requirement
|
158
18
|
none: false
|
159
|
-
requirements:
|
160
|
-
- -
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
|
163
|
-
- 2
|
164
|
-
- 0
|
165
|
-
- 1
|
166
|
-
version: 2.0.1
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.6'
|
167
23
|
type: :development
|
168
24
|
prerelease: false
|
169
|
-
version_requirements: *
|
170
|
-
- !ruby/object:Gem::Dependency
|
171
|
-
name:
|
172
|
-
requirement: &
|
25
|
+
version_requirements: *2156732560
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rspec
|
28
|
+
requirement: &2156732080 !ruby/object:Gem::Requirement
|
173
29
|
none: false
|
174
|
-
requirements:
|
175
|
-
- -
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
|
178
|
-
- 0
|
179
|
-
- 5
|
180
|
-
version: "0.5"
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.4.1
|
181
34
|
type: :development
|
182
35
|
prerelease: false
|
183
|
-
version_requirements: *
|
184
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *2156732080
|
37
|
+
- !ruby/object:Gem::Dependency
|
185
38
|
name: generator-spec
|
186
|
-
requirement: &
|
39
|
+
requirement: &2156731600 !ruby/object:Gem::Requirement
|
187
40
|
none: false
|
188
|
-
requirements:
|
189
|
-
- -
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
|
192
|
-
- 0
|
193
|
-
- 7
|
194
|
-
- 0
|
195
|
-
version: 0.7.0
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.7.3
|
196
45
|
type: :development
|
197
46
|
prerelease: false
|
198
|
-
version_requirements: *
|
199
|
-
- !ruby/object:Gem::Dependency
|
200
|
-
name:
|
201
|
-
requirement: &
|
202
|
-
none: false
|
203
|
-
requirements:
|
204
|
-
- - ~>
|
205
|
-
- !ruby/object:Gem::Version
|
206
|
-
segments:
|
207
|
-
- 3
|
208
|
-
- 0
|
209
|
-
- 1
|
210
|
-
version: 3.0.1
|
211
|
-
type: :runtime
|
212
|
-
prerelease: false
|
213
|
-
version_requirements: *id013
|
214
|
-
- !ruby/object:Gem::Dependency
|
215
|
-
name: activesupport
|
216
|
-
requirement: &id014 !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
segments:
|
222
|
-
- 3
|
223
|
-
- 0
|
224
|
-
- 1
|
225
|
-
version: 3.0.1
|
226
|
-
type: :runtime
|
227
|
-
prerelease: false
|
228
|
-
version_requirements: *id014
|
229
|
-
- !ruby/object:Gem::Dependency
|
230
|
-
name: arel
|
231
|
-
requirement: &id015 !ruby/object:Gem::Requirement
|
232
|
-
none: false
|
233
|
-
requirements:
|
234
|
-
- - ">="
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
segments:
|
237
|
-
- 2
|
238
|
-
- 0
|
239
|
-
version: "2.0"
|
240
|
-
type: :runtime
|
241
|
-
prerelease: false
|
242
|
-
version_requirements: *id015
|
243
|
-
- !ruby/object:Gem::Dependency
|
244
|
-
name: meta_where
|
245
|
-
requirement: &id016 !ruby/object:Gem::Requirement
|
246
|
-
none: false
|
247
|
-
requirements:
|
248
|
-
- - ">="
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
segments:
|
251
|
-
- 0
|
252
|
-
- 9
|
253
|
-
- 9
|
254
|
-
version: 0.9.9
|
255
|
-
type: :runtime
|
256
|
-
prerelease: false
|
257
|
-
version_requirements: *id016
|
258
|
-
- !ruby/object:Gem::Dependency
|
259
|
-
name: sugar-high
|
260
|
-
requirement: &id017 !ruby/object:Gem::Requirement
|
47
|
+
version_requirements: *2156731600
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: roles_generic
|
50
|
+
requirement: &2156731060 !ruby/object:Gem::Requirement
|
261
51
|
none: false
|
262
|
-
requirements:
|
263
|
-
- -
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
|
266
|
-
- 0
|
267
|
-
- 3
|
268
|
-
- 0
|
269
|
-
version: 0.3.0
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.3.8
|
270
56
|
type: :runtime
|
271
57
|
prerelease: false
|
272
|
-
version_requirements: *
|
273
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *2156731060
|
59
|
+
- !ruby/object:Gem::Dependency
|
274
60
|
name: require_all
|
275
|
-
requirement: &
|
61
|
+
requirement: &2156730500 !ruby/object:Gem::Requirement
|
276
62
|
none: false
|
277
|
-
requirements:
|
63
|
+
requirements:
|
278
64
|
- - ~>
|
279
|
-
- !ruby/object:Gem::Version
|
280
|
-
segments:
|
281
|
-
- 1
|
282
|
-
- 2
|
283
|
-
- 0
|
65
|
+
- !ruby/object:Gem::Version
|
284
66
|
version: 1.2.0
|
285
67
|
type: :runtime
|
286
68
|
prerelease: false
|
287
|
-
version_requirements: *
|
288
|
-
- !ruby/object:Gem::Dependency
|
289
|
-
name:
|
290
|
-
requirement: &
|
291
|
-
none: false
|
292
|
-
requirements:
|
293
|
-
- - ">="
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
segments:
|
296
|
-
- 0
|
297
|
-
- 3
|
298
|
-
- 2
|
299
|
-
version: 0.3.2
|
300
|
-
type: :runtime
|
301
|
-
prerelease: false
|
302
|
-
version_requirements: *id019
|
303
|
-
- !ruby/object:Gem::Dependency
|
304
|
-
name: rails3_artifactor
|
305
|
-
requirement: &id020 !ruby/object:Gem::Requirement
|
69
|
+
version_requirements: *2156730500
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: sugar-high
|
72
|
+
requirement: &2156730000 !ruby/object:Gem::Requirement
|
306
73
|
none: false
|
307
|
-
requirements:
|
308
|
-
- -
|
309
|
-
- !ruby/object:Gem::Version
|
310
|
-
|
311
|
-
- 0
|
312
|
-
- 3
|
313
|
-
- 1
|
314
|
-
version: 0.3.1
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.4.0
|
315
78
|
type: :runtime
|
316
79
|
prerelease: false
|
317
|
-
version_requirements: *
|
318
|
-
- !ruby/object:Gem::Dependency
|
319
|
-
name:
|
320
|
-
requirement: &
|
80
|
+
version_requirements: *2156730000
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: meta_where
|
83
|
+
requirement: &2156729440 !ruby/object:Gem::Requirement
|
321
84
|
none: false
|
322
|
-
requirements:
|
323
|
-
- -
|
324
|
-
- !ruby/object:Gem::Version
|
325
|
-
|
326
|
-
- 0
|
327
|
-
- 2
|
328
|
-
- 0
|
329
|
-
version: 0.2.0
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.0.1
|
330
89
|
type: :runtime
|
331
90
|
prerelease: false
|
332
|
-
version_requirements: *
|
91
|
+
version_requirements: *2156729440
|
333
92
|
description: Makes it easy to set a role strategy on your User model in Active Record
|
334
93
|
email: kmandrup@gmail.com
|
335
94
|
executables: []
|
336
|
-
|
337
95
|
extensions: []
|
338
|
-
|
339
|
-
extra_rdoc_files:
|
96
|
+
extra_rdoc_files:
|
340
97
|
- LICENSE
|
341
98
|
- README.textile
|
342
|
-
files:
|
99
|
+
files:
|
343
100
|
- .document
|
344
101
|
- .rspec
|
102
|
+
- Changelog.textile
|
345
103
|
- Gemfile
|
346
104
|
- LICENSE
|
347
105
|
- NOTES.textile
|
@@ -349,7 +107,6 @@ files:
|
|
349
107
|
- Rakefile
|
350
108
|
- VERSION
|
351
109
|
- config/database.yml
|
352
|
-
- development.sqlite3
|
353
110
|
- lib/generators/active_record/roles/core_ext.rb
|
354
111
|
- lib/generators/active_record/roles/roles_generator.rb
|
355
112
|
- lib/generators/active_record/roles/templates/many_roles/role.rb
|
@@ -415,36 +172,29 @@ files:
|
|
415
172
|
has_rdoc: true
|
416
173
|
homepage: http://github.com/kristianmandrup/roles_active_record
|
417
174
|
licenses: []
|
418
|
-
|
419
175
|
post_install_message:
|
420
176
|
rdoc_options: []
|
421
|
-
|
422
|
-
require_paths:
|
177
|
+
require_paths:
|
423
178
|
- lib
|
424
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
425
180
|
none: false
|
426
|
-
requirements:
|
427
|
-
- -
|
428
|
-
- !ruby/object:Gem::Version
|
429
|
-
|
430
|
-
|
431
|
-
version: "0"
|
432
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ! '>='
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
433
186
|
none: false
|
434
|
-
requirements:
|
435
|
-
- -
|
436
|
-
- !ruby/object:Gem::Version
|
437
|
-
|
438
|
-
- 0
|
439
|
-
version: "0"
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
440
191
|
requirements: []
|
441
|
-
|
442
192
|
rubyforge_project:
|
443
|
-
rubygems_version: 1.
|
193
|
+
rubygems_version: 1.6.1
|
444
194
|
signing_key:
|
445
195
|
specification_version: 3
|
446
196
|
summary: Implementation of Roles generic API for Active Record
|
447
|
-
test_files:
|
197
|
+
test_files:
|
448
198
|
- spec/fixtures/many_roles_setup.rb
|
449
199
|
- spec/fixtures/many_roles_setup_unique_check.rb
|
450
200
|
- spec/fixtures/one_role_setup.rb
|
data/development.sqlite3
DELETED
File without changes
|