cream 0.8.9.3 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.txt +5 -0
- data/Gemfile +8 -10
- data/Rakefile +3 -4
- data/VERSION +1 -1
- data/cream.gemspec +62 -20
- data/lib/generators/cancan/config/config_generator.rb +2 -3
- data/lib/generators/cream/app/app_generator.rb +2 -3
- data/lib/generators/cream/core_ext.rb +1 -1
- data/lib/generators/cream/full_config/full_config_generator.rb +2 -3
- data/lib/generators/cream/helpers/all.rb +8 -1
- data/lib/generators/devise/config/config_generator.rb +2 -3
- data/lib/generators/devise/customize/customize_generator.rb +1 -2
- data/lib/generators/devise/customize/helpers/username_helper.rb +4 -4
- data/lib/generators/devise/users/users_generator.rb +2 -3
- data/lib/generators/permits/config/config_generator.rb +3 -5
- data/lib/generators/roles/config/config_generator.rb +3 -8
- metadata +188 -36
data/Changelog.txt
CHANGED
data/Gemfile
CHANGED
@@ -2,27 +2,25 @@ source :rubygems
|
|
2
2
|
source 'http://gems.github.com/'
|
3
3
|
|
4
4
|
group :default do
|
5
|
-
gem "devise-links", ">= 0.2.
|
6
|
-
gem "cancan-rest-links", ">= 0.2.
|
7
|
-
gem "cancan-permits", ">= 0.3.
|
5
|
+
gem "devise-links", ">= 0.2.1"
|
6
|
+
gem "cancan-rest-links", ">= 0.2.1"
|
7
|
+
gem "cancan-permits", ">= 0.3.11"
|
8
8
|
|
9
9
|
gem "require_all", "~> 1.2.0"
|
10
10
|
|
11
|
-
gem "colorize", ">= 0.5.8"
|
12
11
|
gem "devise", ">= 1.1.5"
|
13
12
|
gem "cancan", ">= 1.4.0"
|
14
13
|
gem "rails", ">= 3.0.1"
|
15
14
|
|
16
|
-
gem "
|
17
|
-
# gem 'logging_assist', ">= 0.2.0"
|
15
|
+
gem "rails_artifactor", ">= 0.3.3"
|
18
16
|
|
19
|
-
gem "r3_plugin_toolbox", "
|
20
|
-
gem "sugar-high", "~> 0.
|
17
|
+
gem "r3_plugin_toolbox", "~> 0.4.0"
|
18
|
+
gem "sugar-high", "~> 0.4.0"
|
21
19
|
end
|
22
20
|
|
23
21
|
group :test do
|
24
|
-
gem 'ffaker', '~> 0.4.0', :git => 'http://github.com/kematzy/ffaker.git'
|
25
|
-
gem "rspec", ">= 2.0.
|
22
|
+
# gem 'ffaker', '~> 0.4.0', :git => 'http://github.com/kematzy/ffaker.git'
|
23
|
+
gem "rspec", ">= 2.0.1"
|
26
24
|
gem "generator-spec", ">= 0.6.0"
|
27
25
|
gem "rspec-action_view", ">= 0.3.1"
|
28
26
|
gem "rails-app-spec", "~> 0.3.0"
|
data/Rakefile
CHANGED
@@ -20,17 +20,16 @@ begin
|
|
20
20
|
|
21
21
|
gem.add_dependency "devise-links", ">= 0.2.1"
|
22
22
|
gem.add_dependency "cancan-rest-links", ">= 0.2.1"
|
23
|
-
gem.add_dependency "cancan-permits", ">= 0.3.
|
23
|
+
gem.add_dependency "cancan-permits", ">= 0.3.11"
|
24
24
|
|
25
25
|
gem.add_dependency "devise", ">= 1.1.5"
|
26
26
|
gem.add_dependency "cancan", ">= 1.4.1"
|
27
27
|
gem.add_dependency "rails", ">= 3.0.1"
|
28
28
|
|
29
|
-
gem.add_dependency "
|
30
|
-
# gem.add_dependency 'logging_assist', ">= 0.2.0" # only required if logging is on
|
29
|
+
gem.add_dependency "rails_artifactor", "~> 0.3.3"
|
31
30
|
|
32
31
|
gem.add_dependency "r3_plugin_toolbox", ">= 0.4.0"
|
33
|
-
gem.add_dependency "sugar-high", ">= 0.
|
32
|
+
gem.add_dependency "sugar-high", ">= 0.4.0"
|
34
33
|
|
35
34
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
36
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/cream.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cream}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.9.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Kristian Mandrup}]
|
12
|
+
s.date = %q{2011-05-06}
|
13
13
|
s.description = %q{An integrated Authentication, Authorization and Roles solution for your Rails 3 app with support for multiple ORMs}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -105,8 +105,8 @@ Gem::Specification.new do |s|
|
|
105
105
|
"wiki/How to gollum wiki.txt"
|
106
106
|
]
|
107
107
|
s.homepage = %q{http://github.com/kristianmandrup/cream}
|
108
|
-
s.require_paths = [
|
109
|
-
s.rubygems_version = %q{1.
|
108
|
+
s.require_paths = [%q{lib}]
|
109
|
+
s.rubygems_version = %q{1.8.0}
|
110
110
|
s.summary = %q{Integrates Devise, CanCan with permits and Roles generic for multiple ORMs}
|
111
111
|
s.test_files = [
|
112
112
|
"spec/configure_helper.rb",
|
@@ -133,48 +133,90 @@ Gem::Specification.new do |s|
|
|
133
133
|
s.specification_version = 3
|
134
134
|
|
135
135
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
136
|
-
s.
|
136
|
+
s.add_runtime_dependency(%q<devise-links>, [">= 0.2.1"])
|
137
|
+
s.add_runtime_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
138
|
+
s.add_runtime_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
139
|
+
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
140
|
+
s.add_runtime_dependency(%q<devise>, [">= 1.1.5"])
|
141
|
+
s.add_runtime_dependency(%q<cancan>, [">= 1.4.0"])
|
142
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0.1"])
|
143
|
+
s.add_runtime_dependency(%q<rails_artifactor>, [">= 0.3.3"])
|
144
|
+
s.add_runtime_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
145
|
+
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
146
|
+
s.add_development_dependency(%q<rspec>, [">= 2.0.1"])
|
147
|
+
s.add_development_dependency(%q<generator-spec>, [">= 0.7.0"])
|
148
|
+
s.add_development_dependency(%q<rspec-action_view>, [">= 0.3.1"])
|
149
|
+
s.add_development_dependency(%q<rails-app-spec>, [">= 0.3.0"])
|
137
150
|
s.add_development_dependency(%q<devise-spec>, [">= 0.1.3"])
|
138
151
|
s.add_development_dependency(%q<roles-spec>, [">= 0.1.3"])
|
139
152
|
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
140
153
|
s.add_runtime_dependency(%q<colorize>, [">= 0.5.8"])
|
141
|
-
s.add_runtime_dependency(%q<devise-links>, [">= 0.2.
|
142
|
-
s.add_runtime_dependency(%q<cancan-rest-links>, [">= 0.2.
|
154
|
+
s.add_runtime_dependency(%q<devise-links>, [">= 0.2.1"])
|
155
|
+
s.add_runtime_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
156
|
+
s.add_runtime_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
143
157
|
s.add_runtime_dependency(%q<devise>, [">= 1.1.5"])
|
144
158
|
s.add_runtime_dependency(%q<cancan>, [">= 1.4.1"])
|
145
159
|
s.add_runtime_dependency(%q<rails>, [">= 3.0.1"])
|
146
160
|
s.add_runtime_dependency(%q<rails_artifactor>, ["~> 0.3.3"])
|
147
|
-
s.add_runtime_dependency(%q<r3_plugin_toolbox>, [">= 0.4.
|
148
|
-
s.add_runtime_dependency(%q<sugar-high>, ["
|
161
|
+
s.add_runtime_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
162
|
+
s.add_runtime_dependency(%q<sugar-high>, [">= 0.4.0"])
|
149
163
|
else
|
150
|
-
s.add_dependency(%q<
|
164
|
+
s.add_dependency(%q<devise-links>, [">= 0.2.1"])
|
165
|
+
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
166
|
+
s.add_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
167
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
168
|
+
s.add_dependency(%q<devise>, [">= 1.1.5"])
|
169
|
+
s.add_dependency(%q<cancan>, [">= 1.4.0"])
|
170
|
+
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
171
|
+
s.add_dependency(%q<rails_artifactor>, [">= 0.3.3"])
|
172
|
+
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
173
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
174
|
+
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
175
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.0"])
|
176
|
+
s.add_dependency(%q<rspec-action_view>, [">= 0.3.1"])
|
177
|
+
s.add_dependency(%q<rails-app-spec>, [">= 0.3.0"])
|
151
178
|
s.add_dependency(%q<devise-spec>, [">= 0.1.3"])
|
152
179
|
s.add_dependency(%q<roles-spec>, [">= 0.1.3"])
|
153
180
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
154
181
|
s.add_dependency(%q<colorize>, [">= 0.5.8"])
|
155
|
-
s.add_dependency(%q<devise-links>, [">= 0.2.
|
156
|
-
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.
|
182
|
+
s.add_dependency(%q<devise-links>, [">= 0.2.1"])
|
183
|
+
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
184
|
+
s.add_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
157
185
|
s.add_dependency(%q<devise>, [">= 1.1.5"])
|
158
186
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
159
187
|
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
160
188
|
s.add_dependency(%q<rails_artifactor>, ["~> 0.3.3"])
|
161
|
-
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.
|
162
|
-
s.add_dependency(%q<sugar-high>, ["
|
189
|
+
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
190
|
+
s.add_dependency(%q<sugar-high>, [">= 0.4.0"])
|
163
191
|
end
|
164
192
|
else
|
165
|
-
s.add_dependency(%q<
|
193
|
+
s.add_dependency(%q<devise-links>, [">= 0.2.1"])
|
194
|
+
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
195
|
+
s.add_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
196
|
+
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
197
|
+
s.add_dependency(%q<devise>, [">= 1.1.5"])
|
198
|
+
s.add_dependency(%q<cancan>, [">= 1.4.0"])
|
199
|
+
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
200
|
+
s.add_dependency(%q<rails_artifactor>, [">= 0.3.3"])
|
201
|
+
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
202
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
203
|
+
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
204
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.0"])
|
205
|
+
s.add_dependency(%q<rspec-action_view>, [">= 0.3.1"])
|
206
|
+
s.add_dependency(%q<rails-app-spec>, [">= 0.3.0"])
|
166
207
|
s.add_dependency(%q<devise-spec>, [">= 0.1.3"])
|
167
208
|
s.add_dependency(%q<roles-spec>, [">= 0.1.3"])
|
168
209
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
169
210
|
s.add_dependency(%q<colorize>, [">= 0.5.8"])
|
170
|
-
s.add_dependency(%q<devise-links>, [">= 0.2.
|
171
|
-
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.
|
211
|
+
s.add_dependency(%q<devise-links>, [">= 0.2.1"])
|
212
|
+
s.add_dependency(%q<cancan-rest-links>, [">= 0.2.1"])
|
213
|
+
s.add_dependency(%q<cancan-permits>, [">= 0.3.11"])
|
172
214
|
s.add_dependency(%q<devise>, [">= 1.1.5"])
|
173
215
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
174
216
|
s.add_dependency(%q<rails>, [">= 3.0.1"])
|
175
217
|
s.add_dependency(%q<rails_artifactor>, ["~> 0.3.3"])
|
176
|
-
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.
|
177
|
-
s.add_dependency(%q<sugar-high>, ["
|
218
|
+
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
219
|
+
s.add_dependency(%q<sugar-high>, [">= 0.4.0"])
|
178
220
|
end
|
179
221
|
end
|
180
222
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
module Cancan
|
@@ -20,8 +20,7 @@ module Cancan
|
|
20
20
|
|
21
21
|
protected
|
22
22
|
|
23
|
-
|
24
|
-
extend Rails3::Assist::UseMacro
|
23
|
+
extend RailsAssist::UseMacro
|
25
24
|
include Cream::GeneratorHelper
|
26
25
|
|
27
26
|
use_helpers :controller, :app
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
module Cream
|
@@ -31,8 +31,7 @@ module Cream
|
|
31
31
|
protected
|
32
32
|
|
33
33
|
include Cream::GeneratorHelper
|
34
|
-
|
35
|
-
extend Rails3::Assist::UseMacro
|
34
|
+
extend RailsAssist::UseMacro
|
36
35
|
use_helpers :app, :special, :file, :view, :model
|
37
36
|
|
38
37
|
def app_orm
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# TODO:
|
2
|
-
# model_file_name and similar methods in
|
2
|
+
# model_file_name and similar methods in rails_assist and rails_artifaftor should be fixed to always call underscore on filenames
|
3
3
|
|
4
4
|
class String
|
5
5
|
def as_filename
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'active_support'
|
6
6
|
require 'generators/cream/helpers/all'
|
7
7
|
|
@@ -53,8 +53,7 @@ module Cream
|
|
53
53
|
# -----------------
|
54
54
|
protected
|
55
55
|
|
56
|
-
|
57
|
-
extend Rails3::Assist::UseMacro
|
56
|
+
extend RailsAssist::UseMacro
|
58
57
|
|
59
58
|
include Cream::GeneratorHelper
|
60
59
|
|
@@ -5,11 +5,18 @@ module Cream
|
|
5
5
|
module GeneratorHelper
|
6
6
|
def logit!
|
7
7
|
if logging?
|
8
|
-
|
8
|
+
add_logger
|
9
9
|
logger.add_logfile :logfile => logfile
|
10
10
|
end
|
11
11
|
end
|
12
12
|
|
13
|
+
def add_logger
|
14
|
+
require 'logging_assist'
|
15
|
+
class_eval do
|
16
|
+
send :include, RailsAssist::BasicLogger
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
13
20
|
def debug! msg
|
14
21
|
logger.debug msg if logging?
|
15
22
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
# include helpers
|
@@ -31,8 +31,7 @@ module Devise
|
|
31
31
|
|
32
32
|
protected
|
33
33
|
|
34
|
-
|
35
|
-
extend Rails3::Assist::UseMacro
|
34
|
+
extend RailsAssist::UseMacro
|
36
35
|
|
37
36
|
include Cream::GeneratorHelper
|
38
37
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
require_all File.dirname(__FILE__) # + '/helpers'
|
@@ -31,7 +31,6 @@ module Devise
|
|
31
31
|
protected
|
32
32
|
|
33
33
|
include Cream::GeneratorHelper
|
34
|
-
include Rails3::Assist::BasicLogger
|
35
34
|
|
36
35
|
def login_attribute
|
37
36
|
att = options[:login_attribute] || 'generic'
|
@@ -4,8 +4,8 @@ module Devise
|
|
4
4
|
module Customizers
|
5
5
|
class UserName
|
6
6
|
include Cream::GeneratorHelper
|
7
|
-
extend
|
8
|
-
|
7
|
+
extend RailsAssist::UseMacro
|
8
|
+
|
9
9
|
use_helpers :app, :special, :file, :model
|
10
10
|
|
11
11
|
attr_accessor :orm, :user_class, :login_attribute
|
@@ -114,8 +114,8 @@ module Devise
|
|
114
114
|
|
115
115
|
class AuthenticationKeys
|
116
116
|
include Cream::GeneratorHelper
|
117
|
-
extend
|
118
|
-
|
117
|
+
extend RailsAssist::UseMacro
|
118
|
+
|
119
119
|
use_helpers :app, :special, :file
|
120
120
|
|
121
121
|
attr_accessor :login_attribute
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
# include helpers
|
@@ -65,8 +65,7 @@ module Devise
|
|
65
65
|
|
66
66
|
protected
|
67
67
|
|
68
|
-
extend
|
69
|
-
include Rails3::Assist::BasicLogger
|
68
|
+
extend RailsAssist::UseMacro
|
70
69
|
|
71
70
|
include Cream::GeneratorHelper
|
72
71
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
module Permits
|
@@ -27,11 +27,9 @@ module Permits
|
|
27
27
|
# Run permits generator to generate permit for each role
|
28
28
|
rgen "cancan:permits --roles #{roles_list} --orm #{orm}"
|
29
29
|
rgen "cancan:licenses"
|
30
|
-
end
|
30
|
+
end
|
31
31
|
|
32
|
-
protected
|
33
|
-
|
34
|
-
include Rails3::Assist::BasicLogger
|
32
|
+
protected
|
35
33
|
|
36
34
|
include Cream::GeneratorHelper
|
37
35
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sugar-high/file'
|
2
2
|
require 'sugar-high/module'
|
3
3
|
require 'cream'
|
4
|
-
require '
|
4
|
+
require 'rails_artifactor'
|
5
5
|
require 'generators/cream/helpers/all'
|
6
6
|
|
7
7
|
module Roles
|
@@ -25,10 +25,7 @@ module Roles
|
|
25
25
|
class_option :gems, :type => :boolean, :default => true, :desc => "Add gems to gemfile?"
|
26
26
|
|
27
27
|
def configure_roles
|
28
|
-
|
29
|
-
require 'logging_assist'
|
30
|
-
|
31
|
-
end
|
28
|
+
logit!
|
32
29
|
|
33
30
|
# make the artifactor model methods behave according to selected orm! - this is a macro
|
34
31
|
set_orm
|
@@ -44,9 +41,7 @@ module Roles
|
|
44
41
|
|
45
42
|
protected
|
46
43
|
|
47
|
-
|
48
|
-
extend Rails3::Assist::UseMacro
|
49
|
-
|
44
|
+
extend RailsAssist::UseMacro
|
50
45
|
include Cream::GeneratorHelper
|
51
46
|
|
52
47
|
use_helpers :model, :file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,23 +9,165 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
13
|
-
default_executable:
|
12
|
+
date: 2011-05-06 00:00:00.000000000Z
|
14
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: devise-links
|
16
|
+
requirement: &2157585740 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.2.1
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2157585740
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: cancan-rest-links
|
27
|
+
requirement: &2157584900 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.2.1
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2157584900
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: cancan-permits
|
38
|
+
requirement: &2157584060 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.3.11
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2157584060
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: require_all
|
49
|
+
requirement: &2157583120 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.2.0
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2157583120
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: devise
|
60
|
+
requirement: &2157582240 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.1.5
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2157582240
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cancan
|
71
|
+
requirement: &2157580920 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.4.0
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2157580920
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rails
|
82
|
+
requirement: &2157580160 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: 3.0.1
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *2157580160
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: rails_artifactor
|
93
|
+
requirement: &2157579440 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 0.3.3
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *2157579440
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: r3_plugin_toolbox
|
104
|
+
requirement: &2157578780 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.4.0
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *2157578780
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: sugar-high
|
115
|
+
requirement: &2157578020 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: 0.4.0
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *2157578020
|
15
124
|
- !ruby/object:Gem::Dependency
|
16
125
|
name: rspec
|
17
|
-
requirement: &
|
126
|
+
requirement: &2157572480 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.0.1
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *2157572480
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: generator-spec
|
137
|
+
requirement: &2157571860 !ruby/object:Gem::Requirement
|
18
138
|
none: false
|
19
139
|
requirements:
|
20
140
|
- - ! '>='
|
21
141
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
142
|
+
version: 0.7.0
|
23
143
|
type: :development
|
24
144
|
prerelease: false
|
25
|
-
version_requirements: *
|
145
|
+
version_requirements: *2157571860
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: rspec-action_view
|
148
|
+
requirement: &2157571100 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: 0.3.1
|
154
|
+
type: :development
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *2157571100
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rails-app-spec
|
159
|
+
requirement: &2157570440 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.3.0
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *2157570440
|
26
168
|
- !ruby/object:Gem::Dependency
|
27
169
|
name: devise-spec
|
28
|
-
requirement: &
|
170
|
+
requirement: &2157569800 !ruby/object:Gem::Requirement
|
29
171
|
none: false
|
30
172
|
requirements:
|
31
173
|
- - ! '>='
|
@@ -33,10 +175,10 @@ dependencies:
|
|
33
175
|
version: 0.1.3
|
34
176
|
type: :development
|
35
177
|
prerelease: false
|
36
|
-
version_requirements: *
|
178
|
+
version_requirements: *2157569800
|
37
179
|
- !ruby/object:Gem::Dependency
|
38
180
|
name: roles-spec
|
39
|
-
requirement: &
|
181
|
+
requirement: &2157568940 !ruby/object:Gem::Requirement
|
40
182
|
none: false
|
41
183
|
requirements:
|
42
184
|
- - ! '>='
|
@@ -44,10 +186,10 @@ dependencies:
|
|
44
186
|
version: 0.1.3
|
45
187
|
type: :development
|
46
188
|
prerelease: false
|
47
|
-
version_requirements: *
|
189
|
+
version_requirements: *2157568940
|
48
190
|
- !ruby/object:Gem::Dependency
|
49
191
|
name: require_all
|
50
|
-
requirement: &
|
192
|
+
requirement: &2157568240 !ruby/object:Gem::Requirement
|
51
193
|
none: false
|
52
194
|
requirements:
|
53
195
|
- - ~>
|
@@ -55,10 +197,10 @@ dependencies:
|
|
55
197
|
version: 1.2.0
|
56
198
|
type: :runtime
|
57
199
|
prerelease: false
|
58
|
-
version_requirements: *
|
200
|
+
version_requirements: *2157568240
|
59
201
|
- !ruby/object:Gem::Dependency
|
60
202
|
name: colorize
|
61
|
-
requirement: &
|
203
|
+
requirement: &2157567440 !ruby/object:Gem::Requirement
|
62
204
|
none: false
|
63
205
|
requirements:
|
64
206
|
- - ! '>='
|
@@ -66,32 +208,43 @@ dependencies:
|
|
66
208
|
version: 0.5.8
|
67
209
|
type: :runtime
|
68
210
|
prerelease: false
|
69
|
-
version_requirements: *
|
211
|
+
version_requirements: *2157567440
|
70
212
|
- !ruby/object:Gem::Dependency
|
71
213
|
name: devise-links
|
72
|
-
requirement: &
|
214
|
+
requirement: &2157566480 !ruby/object:Gem::Requirement
|
73
215
|
none: false
|
74
216
|
requirements:
|
75
217
|
- - ! '>='
|
76
218
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.2.
|
219
|
+
version: 0.2.1
|
78
220
|
type: :runtime
|
79
221
|
prerelease: false
|
80
|
-
version_requirements: *
|
222
|
+
version_requirements: *2157566480
|
81
223
|
- !ruby/object:Gem::Dependency
|
82
224
|
name: cancan-rest-links
|
83
|
-
requirement: &
|
225
|
+
requirement: &2157565660 !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 0.2.1
|
231
|
+
type: :runtime
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: *2157565660
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: cancan-permits
|
236
|
+
requirement: &2157562340 !ruby/object:Gem::Requirement
|
84
237
|
none: false
|
85
238
|
requirements:
|
86
239
|
- - ! '>='
|
87
240
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
241
|
+
version: 0.3.11
|
89
242
|
type: :runtime
|
90
243
|
prerelease: false
|
91
|
-
version_requirements: *
|
244
|
+
version_requirements: *2157562340
|
92
245
|
- !ruby/object:Gem::Dependency
|
93
246
|
name: devise
|
94
|
-
requirement: &
|
247
|
+
requirement: &2157561600 !ruby/object:Gem::Requirement
|
95
248
|
none: false
|
96
249
|
requirements:
|
97
250
|
- - ! '>='
|
@@ -99,10 +252,10 @@ dependencies:
|
|
99
252
|
version: 1.1.5
|
100
253
|
type: :runtime
|
101
254
|
prerelease: false
|
102
|
-
version_requirements: *
|
255
|
+
version_requirements: *2157561600
|
103
256
|
- !ruby/object:Gem::Dependency
|
104
257
|
name: cancan
|
105
|
-
requirement: &
|
258
|
+
requirement: &2157560760 !ruby/object:Gem::Requirement
|
106
259
|
none: false
|
107
260
|
requirements:
|
108
261
|
- - ! '>='
|
@@ -110,10 +263,10 @@ dependencies:
|
|
110
263
|
version: 1.4.1
|
111
264
|
type: :runtime
|
112
265
|
prerelease: false
|
113
|
-
version_requirements: *
|
266
|
+
version_requirements: *2157560760
|
114
267
|
- !ruby/object:Gem::Dependency
|
115
268
|
name: rails
|
116
|
-
requirement: &
|
269
|
+
requirement: &2157560020 !ruby/object:Gem::Requirement
|
117
270
|
none: false
|
118
271
|
requirements:
|
119
272
|
- - ! '>='
|
@@ -121,10 +274,10 @@ dependencies:
|
|
121
274
|
version: 3.0.1
|
122
275
|
type: :runtime
|
123
276
|
prerelease: false
|
124
|
-
version_requirements: *
|
277
|
+
version_requirements: *2157560020
|
125
278
|
- !ruby/object:Gem::Dependency
|
126
279
|
name: rails_artifactor
|
127
|
-
requirement: &
|
280
|
+
requirement: &2157559300 !ruby/object:Gem::Requirement
|
128
281
|
none: false
|
129
282
|
requirements:
|
130
283
|
- - ~>
|
@@ -132,29 +285,29 @@ dependencies:
|
|
132
285
|
version: 0.3.3
|
133
286
|
type: :runtime
|
134
287
|
prerelease: false
|
135
|
-
version_requirements: *
|
288
|
+
version_requirements: *2157559300
|
136
289
|
- !ruby/object:Gem::Dependency
|
137
290
|
name: r3_plugin_toolbox
|
138
|
-
requirement: &
|
291
|
+
requirement: &2157558440 !ruby/object:Gem::Requirement
|
139
292
|
none: false
|
140
293
|
requirements:
|
141
294
|
- - ! '>='
|
142
295
|
- !ruby/object:Gem::Version
|
143
|
-
version: 0.4.
|
296
|
+
version: 0.4.0
|
144
297
|
type: :runtime
|
145
298
|
prerelease: false
|
146
|
-
version_requirements: *
|
299
|
+
version_requirements: *2157558440
|
147
300
|
- !ruby/object:Gem::Dependency
|
148
301
|
name: sugar-high
|
149
|
-
requirement: &
|
302
|
+
requirement: &2157557760 !ruby/object:Gem::Requirement
|
150
303
|
none: false
|
151
304
|
requirements:
|
152
|
-
- -
|
305
|
+
- - ! '>='
|
153
306
|
- !ruby/object:Gem::Version
|
154
307
|
version: 0.4.0
|
155
308
|
type: :runtime
|
156
309
|
prerelease: false
|
157
|
-
version_requirements: *
|
310
|
+
version_requirements: *2157557760
|
158
311
|
description: An integrated Authentication, Authorization and Roles solution for your
|
159
312
|
Rails 3 app with support for multiple ORMs
|
160
313
|
email: kmandrup@gmail.com
|
@@ -250,7 +403,6 @@ files:
|
|
250
403
|
- spec/spec_helper.rb
|
251
404
|
- wiki/Cream-generators-overview.textile
|
252
405
|
- wiki/How to gollum wiki.txt
|
253
|
-
has_rdoc: true
|
254
406
|
homepage: http://github.com/kristianmandrup/cream
|
255
407
|
licenses: []
|
256
408
|
post_install_message:
|
@@ -271,7 +423,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
423
|
version: '0'
|
272
424
|
requirements: []
|
273
425
|
rubyforge_project:
|
274
|
-
rubygems_version: 1.
|
426
|
+
rubygems_version: 1.8.0
|
275
427
|
signing_key:
|
276
428
|
specification_version: 3
|
277
429
|
summary: Integrates Devise, CanCan with permits and Roles generic for multiple ORMs
|