popel-active_acl_plus 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +504 -0
- data/README.rdoc +317 -0
- data/VERSION.yml +4 -0
- data/lib/active_acl.rb +32 -0
- data/lib/active_acl/acts_as_access_group.rb +57 -0
- data/lib/active_acl/acts_as_access_object.rb +114 -0
- data/lib/active_acl/base.rb +29 -0
- data/lib/active_acl/cache/memcache_adapter.rb +46 -0
- data/lib/active_acl/cache/no_cache_adapter.rb +22 -0
- data/lib/active_acl/db/active_record_adapter.rb +15 -0
- data/lib/active_acl/db/mysql_adapter.rb +29 -0
- data/lib/active_acl/grant.rb +53 -0
- data/lib/active_acl/handler/nested_set.rb +33 -0
- data/lib/active_acl/handler/object_handler.rb +253 -0
- data/lib/active_acl/load_controller_actions.rb +77 -0
- data/lib/active_acl/load_files_from.rb +21 -0
- data/lib/active_acl/options.rb +37 -0
- data/lib/active_acl/privilege_const_set.rb +22 -0
- metadata +342 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
|
2
|
+
class ActionController::Base
|
3
|
+
# Get the access object for the current action.
|
4
|
+
def current_action
|
5
|
+
ActiveAcl::CONTROLLERS[self.class.name][action_name]
|
6
|
+
end
|
7
|
+
|
8
|
+
# alias method_added class method
|
9
|
+
class << self
|
10
|
+
alias :method_added_before_active_acl_controller_action_loading :method_added
|
11
|
+
end
|
12
|
+
|
13
|
+
# Overrides method_added, so the needed ActiveAcl::ControllerAction is loaded/created
|
14
|
+
# when the action gets added to the controller.
|
15
|
+
def self.method_added(action) #:nodoc:
|
16
|
+
method_added_before_active_acl_controller_action_loading(action)
|
17
|
+
ActiveAcl::CONTROLLERS[self.name] ||= {}
|
18
|
+
|
19
|
+
if (public_instance_methods.include?(action.to_s))
|
20
|
+
# if no loaded target found
|
21
|
+
unless ActiveAcl::CONTROLLERS[self.name][action.to_s]
|
22
|
+
# load it
|
23
|
+
stripped_name = self.name.underscore.gsub(/_controller/, '')
|
24
|
+
|
25
|
+
begin
|
26
|
+
target = (ActiveAcl::CONTROLLERS[self.name][action.to_s] ||= ActiveAcl::ControllerAction.find_by_action_and_controller(action.to_s, stripped_name))
|
27
|
+
unless target
|
28
|
+
grp_name = stripped_name + ActiveAcl::OPTIONS[:controller_group_name_suffix]
|
29
|
+
|
30
|
+
# find controller group
|
31
|
+
cgroup = ActiveAcl::CONTROLLERS[self.name][:cgroup] ||= ActiveAcl::ControllerGroup.find_by_description(grp_name)
|
32
|
+
|
33
|
+
unless cgroup
|
34
|
+
#try to get main group
|
35
|
+
main_group ||= (ActiveAcl::CONTROLLERS[ActiveAcl::OPTIONS[:controllers_group_name]] ||= ActiveAcl::ControllerGroup.find_by_description(ActiveAcl::OPTIONS[:controllers_group_name]))
|
36
|
+
|
37
|
+
unless main_group
|
38
|
+
# create main group
|
39
|
+
base_group = ActiveAcl::ControllerGroup.root
|
40
|
+
main_group = ActiveAcl::ControllerGroup.create(:description => ActiveAcl::OPTIONS[:controllers_group_name])
|
41
|
+
# check if better_nested_set functionality is available
|
42
|
+
if main_group.respond_to?(:move_to_child_of)
|
43
|
+
main_group.move_to_child_of base_group
|
44
|
+
else
|
45
|
+
base_group.add_child main_group
|
46
|
+
end
|
47
|
+
|
48
|
+
ActiveAcl::CONTROLLERS[ActiveAcl::OPTIONS[:controllers_group_name]] = main_group
|
49
|
+
end
|
50
|
+
|
51
|
+
# create controller group
|
52
|
+
cgroup = ActiveAcl::ControllerGroup.create(:description => grp_name)
|
53
|
+
|
54
|
+
# check if better_nested_set functionality is available
|
55
|
+
if cgroup.respond_to?(:move_to_child_of)
|
56
|
+
cgroup.move_to_child_of main_group
|
57
|
+
else
|
58
|
+
main_group.add_child cgroup
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
target = cgroup.controller_actions.create :action => action.to_s, :controller => stripped_name
|
63
|
+
|
64
|
+
# save to collection
|
65
|
+
ActiveAcl::CONTROLLERS[self.name][action.to_s] = target
|
66
|
+
|
67
|
+
end # unless target fetched from db
|
68
|
+
|
69
|
+
# return target
|
70
|
+
return target
|
71
|
+
rescue Exception => e
|
72
|
+
Rails.logger.error("error loading target actions in controller #{self.name}: #{e.message}")
|
73
|
+
end
|
74
|
+
end # unless target constant found
|
75
|
+
end # if method is a action
|
76
|
+
end # method_added
|
77
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class ::Object
|
2
|
+
|
3
|
+
# Loads all files it finds at the specified path -
|
4
|
+
# use /path/**/[^.]*.rb to load from sub directories as well
|
5
|
+
#
|
6
|
+
# Silently fails if path is not found or an error occurs
|
7
|
+
def load_files_from(filenames)
|
8
|
+
# don't show files that begin with . and ensure .rb ending
|
9
|
+
cs = Dir["#{filenames}"]
|
10
|
+
for file_name in cs.sort
|
11
|
+
begin
|
12
|
+
# load file_name
|
13
|
+
load(file_name)
|
14
|
+
Rails.logger.info "#{file_name} loaded"
|
15
|
+
rescue Exception => e
|
16
|
+
Rails.logger.warn("error loading file #{file_name}: #{e.message}")
|
17
|
+
Rails.logger.warn(e.backtrace)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
module ActiveAcl
|
2
|
+
unless const_defined?('OPTIONS')
|
3
|
+
OPTIONS = {}
|
4
|
+
end
|
5
|
+
|
6
|
+
# ActiveAcl::ACCESS_CLASSES = {}
|
7
|
+
# ActiveAcl::GROUP_CLASSES = {}
|
8
|
+
|
9
|
+
DEFAULT_OPTIONS = {
|
10
|
+
:acl_sections_table => 'acl_sections',
|
11
|
+
:acls_privileges_table => 'acls_privileges',
|
12
|
+
:acls_table => 'acls',
|
13
|
+
:privileges_table => 'privileges',
|
14
|
+
:requester_links_table => 'requester_links',
|
15
|
+
:target_links_table => 'target_links',
|
16
|
+
:requester_group_links_table => 'requester_group_links',
|
17
|
+
:target_group_links_table => 'target_group_links',
|
18
|
+
:controller_actions_table => 'controller_actions',
|
19
|
+
:controller_groups_table => 'controller_groups',
|
20
|
+
|
21
|
+
:controllers_group_name => 'unassigned_controller_actions',
|
22
|
+
:controller_group_name_suffix => '_controller',
|
23
|
+
|
24
|
+
:cache_privilege_timeout => 10,
|
25
|
+
|
26
|
+
:db => ActiveAcl::DB::ActiveRecordAdapter,
|
27
|
+
:cache => ActiveAcl::Cache::NoCacheAdapter,
|
28
|
+
|
29
|
+
:default_selector_controller => 'selector',
|
30
|
+
:default_selector_action => 'show_members',
|
31
|
+
|
32
|
+
:default_group_selector_controller => 'selector',
|
33
|
+
:default_group_selector_action => 'show_group_members'}
|
34
|
+
|
35
|
+
# merge options
|
36
|
+
OPTIONS.replace DEFAULT_OPTIONS.merge(OPTIONS)
|
37
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class ::Module
|
2
|
+
public
|
3
|
+
# Looks up or creates a privilege object using the caller's name and the constant's name.
|
4
|
+
# Finally sets the privilege object as a constant to the caller.
|
5
|
+
# Accepts a hash of names with descriptions like :name => description or a single string name value.
|
6
|
+
# If force_reload is set to true, the constant will be recreated from the DB.
|
7
|
+
# Returns an array of changed privileges.
|
8
|
+
def privilege_const_set(constant, force_reload = false)
|
9
|
+
result = []
|
10
|
+
constant.is_a?(Hash) ? constant_hash = constant : constant_hash = {constant.to_s => nil}
|
11
|
+
constant_hash.each_pair do |constant_name, description|
|
12
|
+
if !const_defined?(constant_name.to_s) || force_reload
|
13
|
+
remove_const(constant_name.to_s) if const_defined?(constant_name.to_s)
|
14
|
+
privilege = ActiveAcl::Privilege.find_by_section_and_value(self.name, constant_name.to_s)
|
15
|
+
privilege = ActiveAcl::Privilege.create!(:section => self.name, :value => constant_name.to_s, :description => description) unless privilege
|
16
|
+
const_set(constant_name.to_s, privilege)
|
17
|
+
result << privilege
|
18
|
+
end
|
19
|
+
end
|
20
|
+
result
|
21
|
+
end
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,342 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: popel-active_acl_plus
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Peter Schrammel
|
8
|
+
- Gregor Melhorn
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-03-23 00:00:00 -07:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: A flexible, fast and easy to use generic access control system.
|
18
|
+
email:
|
19
|
+
- peter.schrammel@gmx.de
|
20
|
+
executables: []
|
21
|
+
|
22
|
+
extensions: []
|
23
|
+
|
24
|
+
extra_rdoc_files:
|
25
|
+
- README.rdoc
|
26
|
+
- LICENSE
|
27
|
+
files:
|
28
|
+
- README.rdoc
|
29
|
+
- VERSION.yml
|
30
|
+
- lib/active_acl
|
31
|
+
- lib/active_acl/db
|
32
|
+
- lib/active_acl/db/mysql_adapter.rb
|
33
|
+
- lib/active_acl/db/active_record_adapter.rb
|
34
|
+
- lib/active_acl/cache
|
35
|
+
- lib/active_acl/cache/no_cache_adapter.rb
|
36
|
+
- lib/active_acl/cache/memcache_adapter.rb
|
37
|
+
- lib/active_acl/handler
|
38
|
+
- lib/active_acl/handler/object_handler.rb
|
39
|
+
- lib/active_acl/handler/nested_set.rb
|
40
|
+
- lib/active_acl/load_files_from.rb
|
41
|
+
- lib/active_acl/options.rb
|
42
|
+
- lib/active_acl/load_controller_actions.rb
|
43
|
+
- lib/active_acl/privilege_const_set.rb
|
44
|
+
- lib/active_acl/acts_as_access_group.rb
|
45
|
+
- lib/active_acl/grant.rb
|
46
|
+
- lib/active_acl/base.rb
|
47
|
+
- lib/active_acl/acts_as_access_object.rb
|
48
|
+
- lib/active_acl.rb
|
49
|
+
- test/unit
|
50
|
+
- test/unit/cache
|
51
|
+
- test/unit/cache/no_cache_adapter_test.rb
|
52
|
+
- test/unit/cache/memcache_adapter_test.rb
|
53
|
+
- test/unit/db
|
54
|
+
- test/unit/db/my_sql_adapter_test.rb
|
55
|
+
- test/unit/db/active_record_adapter_test.rb
|
56
|
+
- test/unit/acl_test.rb
|
57
|
+
- test/unit/controller_group_test.rb
|
58
|
+
- test/unit/controller_action_test.rb
|
59
|
+
- test/unit/method_added_test.rb
|
60
|
+
- test/unit/acl_section_test.rb
|
61
|
+
- test/unit/acts_as_access_object_test.rb
|
62
|
+
- test/unit/acts_as_access_group_test.rb
|
63
|
+
- test/unit/privilege_test.rb
|
64
|
+
- test/fixtures
|
65
|
+
- test/fixtures/acl_sections.yml
|
66
|
+
- test/fixtures/forums.yml
|
67
|
+
- test/fixtures/users.yml
|
68
|
+
- test/fixtures/user_groups.yml
|
69
|
+
- test/fixtures/user_groups_users.yml
|
70
|
+
- test/fixtures/categories.yml
|
71
|
+
- test/fixtures/acls.yml
|
72
|
+
- test/fixtures/controller_actions.yml
|
73
|
+
- test/fixtures/controller_groups.yml
|
74
|
+
- test/fixtures/privileges.yml
|
75
|
+
- test/fixtures/requester_group_links.yml
|
76
|
+
- test/fixtures/requester_links.yml
|
77
|
+
- test/fixtures/target_group_links.yml
|
78
|
+
- test/fixtures/target_links.yml
|
79
|
+
- test/rails_root
|
80
|
+
- test/rails_root/app
|
81
|
+
- test/rails_root/app/controllers
|
82
|
+
- test/rails_root/app/controllers/application.rb
|
83
|
+
- test/rails_root/app/controllers/action_test_controller.rb
|
84
|
+
- test/rails_root/app/helpers
|
85
|
+
- test/rails_root/app/helpers/application_helper.rb
|
86
|
+
- test/rails_root/app/models
|
87
|
+
- test/rails_root/app/models/category.rb
|
88
|
+
- test/rails_root/app/models/forum.rb
|
89
|
+
- test/rails_root/app/models/paying_member.rb
|
90
|
+
- test/rails_root/app/models/sti_forum.rb
|
91
|
+
- test/rails_root/app/models/user.rb
|
92
|
+
- test/rails_root/app/models/user_group.rb
|
93
|
+
- test/rails_root/app/views
|
94
|
+
- test/rails_root/app/views/layouts
|
95
|
+
- test/rails_root/config
|
96
|
+
- test/rails_root/config/environments
|
97
|
+
- test/rails_root/config/environments/mysql.rb
|
98
|
+
- test/rails_root/config/environments/postgresql.rb
|
99
|
+
- test/rails_root/config/environments/sqlite3.rb
|
100
|
+
- test/rails_root/config/initializers
|
101
|
+
- test/rails_root/config/initializers/inflections.rb
|
102
|
+
- test/rails_root/config/initializers/mime_types.rb
|
103
|
+
- test/rails_root/config/initializers/new_rails_defaults.rb
|
104
|
+
- test/rails_root/config/database.example
|
105
|
+
- test/rails_root/config/routes.rb
|
106
|
+
- test/rails_root/config/boot.rb
|
107
|
+
- test/rails_root/config/environment_old.rb
|
108
|
+
- test/rails_root/config/environment.rb
|
109
|
+
- test/rails_root/config/database.yml
|
110
|
+
- test/rails_root/db
|
111
|
+
- test/rails_root/db/migrate
|
112
|
+
- test/rails_root/db/migrate/002_create_base_tables.rb
|
113
|
+
- test/rails_root/db/schema.rb
|
114
|
+
- test/rails_root/db/test.sqlite3
|
115
|
+
- test/rails_root/lib
|
116
|
+
- test/rails_root/lib/tasks
|
117
|
+
- test/rails_root/log
|
118
|
+
- test/rails_root/log/sqlite3.log
|
119
|
+
- test/rails_root/public
|
120
|
+
- test/rails_root/public/old
|
121
|
+
- test/rails_root/public/old/stylesheets
|
122
|
+
- test/rails_root/public/old/javascripts
|
123
|
+
- test/rails_root/public/old/javascripts/prototype.js
|
124
|
+
- test/rails_root/public/old/javascripts/effects.js
|
125
|
+
- test/rails_root/public/old/javascripts/dragdrop.js
|
126
|
+
- test/rails_root/public/old/javascripts/controls.js
|
127
|
+
- test/rails_root/public/old/javascripts/application.js
|
128
|
+
- test/rails_root/public/old/images
|
129
|
+
- test/rails_root/public/old/images/rails.png
|
130
|
+
- test/rails_root/public/old/robots.txt
|
131
|
+
- test/rails_root/public/old/index.html
|
132
|
+
- test/rails_root/public/old/favicon.ico
|
133
|
+
- test/rails_root/public/old/dispatch.fcgi
|
134
|
+
- test/rails_root/public/old/dispatch.cgi
|
135
|
+
- test/rails_root/public/old/500.html
|
136
|
+
- test/rails_root/public/old/422.html
|
137
|
+
- test/rails_root/public/old/404.html
|
138
|
+
- test/rails_root/public/old/dispatch.rb
|
139
|
+
- test/rails_root/script
|
140
|
+
- test/rails_root/script/performance
|
141
|
+
- test/rails_root/script/performance/benchmarker
|
142
|
+
- test/rails_root/script/performance/profiler
|
143
|
+
- test/rails_root/script/performance/request
|
144
|
+
- test/rails_root/script/process
|
145
|
+
- test/rails_root/script/process/reaper
|
146
|
+
- test/rails_root/script/process/spawner
|
147
|
+
- test/rails_root/script/process/inspector
|
148
|
+
- test/rails_root/script/about
|
149
|
+
- test/rails_root/script/console
|
150
|
+
- test/rails_root/script/dbconsole
|
151
|
+
- test/rails_root/script/destroy
|
152
|
+
- test/rails_root/script/generate
|
153
|
+
- test/rails_root/script/runner
|
154
|
+
- test/rails_root/script/server
|
155
|
+
- test/rails_root/script/plugin
|
156
|
+
- test/rails_root/test
|
157
|
+
- test/rails_root/test/fixtures
|
158
|
+
- test/rails_root/test/functional
|
159
|
+
- test/rails_root/test/integration
|
160
|
+
- test/rails_root/test/unit
|
161
|
+
- test/rails_root/test/test_helper.rb
|
162
|
+
- test/rails_root/vendor
|
163
|
+
- test/rails_root/vendor/plugins
|
164
|
+
- test/rails_root/vendor/plugins/active_acl
|
165
|
+
- test/rails_root/vendor/plugins/active_acl/init.rb
|
166
|
+
- test/rails_root/vendor/plugins/awesome_nested_set
|
167
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib
|
168
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set
|
169
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb
|
170
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/helper.rb
|
171
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb
|
172
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
|
173
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/rails
|
174
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/rails/init.rb
|
175
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test
|
176
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set
|
177
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set/helper_test.rb
|
178
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/db
|
179
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/db/schema.rb
|
180
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/db/database.yml
|
181
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/fixtures
|
182
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/category.rb
|
183
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/categories.yml
|
184
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/departments.yml
|
185
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/notes.yml
|
186
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set_test.rb
|
187
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/test/test_helper.rb
|
188
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/MIT-LICENSE
|
189
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/README.rdoc
|
190
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/Rakefile
|
191
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/awesome_nested_set.gemspec
|
192
|
+
- test/rails_root/vendor/plugins/awesome_nested_set/init.rb
|
193
|
+
- test/rails_root/tmp
|
194
|
+
- test/rails_root/tmp/sessions
|
195
|
+
- test/rails_root/tmp/sockets
|
196
|
+
- test/rails_root/tmp/cache
|
197
|
+
- test/rails_root/tmp/pids
|
198
|
+
- test/rails_root/Rakefile
|
199
|
+
- test/rails_root/README
|
200
|
+
- test/functional
|
201
|
+
- test/functional/controller_action_test.rb
|
202
|
+
- test/test_helper.rb
|
203
|
+
- test/unit_tests.rb
|
204
|
+
- test/all_tests.rb
|
205
|
+
- test/test_fixtures.rb
|
206
|
+
- test/load_fixtures.rb
|
207
|
+
- test/functional_tests.rb
|
208
|
+
- test/README.rdoc
|
209
|
+
- spec/README.rdoc
|
210
|
+
- spec/models
|
211
|
+
- spec/models/base_spec.rb
|
212
|
+
- spec/models/grant_spec.rb
|
213
|
+
- spec/models/has_privilege_g_g_spec.rb
|
214
|
+
- spec/models/has_privilege_g_spec.rb
|
215
|
+
- spec/models/has_privilege_g_ug_spec.rb
|
216
|
+
- spec/models/has_privilege_ug_g_spec.rb
|
217
|
+
- spec/models/has_privilege_ug_spec.rb
|
218
|
+
- spec/models/has_privilege_ug_ug_spec.rb
|
219
|
+
- spec/models/method_added_spec.rb
|
220
|
+
- spec/models/privilege_spec.rb
|
221
|
+
- spec/rails_root
|
222
|
+
- spec/rails_root/Rakefile
|
223
|
+
- spec/rails_root/app
|
224
|
+
- spec/rails_root/app/controllers
|
225
|
+
- spec/rails_root/app/controllers/action_test_controller.rb
|
226
|
+
- spec/rails_root/app/controllers/application.rb
|
227
|
+
- spec/rails_root/app/helpers
|
228
|
+
- spec/rails_root/app/helpers/application_helper.rb
|
229
|
+
- spec/rails_root/app/models
|
230
|
+
- spec/rails_root/app/models/category.rb
|
231
|
+
- spec/rails_root/app/models/company.rb
|
232
|
+
- spec/rails_root/app/models/forum.rb
|
233
|
+
- spec/rails_root/app/models/page.rb
|
234
|
+
- spec/rails_root/app/models/paying_member.rb
|
235
|
+
- spec/rails_root/app/models/sti_forum.rb
|
236
|
+
- spec/rails_root/app/models/user.rb
|
237
|
+
- spec/rails_root/app/models/user_group.rb
|
238
|
+
- spec/rails_root/app/models/person.rb
|
239
|
+
- spec/rails_root/app/models/family.rb
|
240
|
+
- spec/rails_root/config
|
241
|
+
- spec/rails_root/config/boot.rb
|
242
|
+
- spec/rails_root/config/database.yml
|
243
|
+
- spec/rails_root/config/environment.rb
|
244
|
+
- spec/rails_root/config/environments
|
245
|
+
- spec/rails_root/config/environments/development.rb
|
246
|
+
- spec/rails_root/config/environments/mysql.rb
|
247
|
+
- spec/rails_root/config/environments/postgresql.rb
|
248
|
+
- spec/rails_root/config/environments/sqlite3.rb
|
249
|
+
- spec/rails_root/config/initializers
|
250
|
+
- spec/rails_root/config/initializers/inflections.rb
|
251
|
+
- spec/rails_root/config/initializers/mime_types.rb
|
252
|
+
- spec/rails_root/config/initializers/new_rails_defaults.rb
|
253
|
+
- spec/rails_root/config/routes.rb
|
254
|
+
- spec/rails_root/db
|
255
|
+
- spec/rails_root/db/migrate
|
256
|
+
- spec/rails_root/db/migrate/002_create_base_tables.rb
|
257
|
+
- spec/rails_root/db/schema.rb
|
258
|
+
- spec/rails_root/db/test.sqlite3
|
259
|
+
- spec/rails_root/script
|
260
|
+
- spec/rails_root/script/about
|
261
|
+
- spec/rails_root/script/console
|
262
|
+
- spec/rails_root/script/dbconsole
|
263
|
+
- spec/rails_root/script/destroy
|
264
|
+
- spec/rails_root/script/generate
|
265
|
+
- spec/rails_root/script/performance
|
266
|
+
- spec/rails_root/script/performance/benchmarker
|
267
|
+
- spec/rails_root/script/performance/profiler
|
268
|
+
- spec/rails_root/script/performance/request
|
269
|
+
- spec/rails_root/script/plugin
|
270
|
+
- spec/rails_root/script/process
|
271
|
+
- spec/rails_root/script/process/inspector
|
272
|
+
- spec/rails_root/script/process/reaper
|
273
|
+
- spec/rails_root/script/process/spawner
|
274
|
+
- spec/rails_root/script/server
|
275
|
+
- spec/rails_root/vendor
|
276
|
+
- spec/rails_root/vendor/plugins
|
277
|
+
- spec/rails_root/vendor/plugins/active_acl
|
278
|
+
- spec/rails_root/vendor/plugins/active_acl/init.rb
|
279
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set
|
280
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/MIT-LICENSE
|
281
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/README.rdoc
|
282
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/Rakefile
|
283
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/awesome_nested_set.gemspec
|
284
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/init.rb
|
285
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib
|
286
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
|
287
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set
|
288
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/compatability.rb
|
289
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/helper.rb
|
290
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/lib/awesome_nested_set/named_scope.rb
|
291
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/rails
|
292
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/rails/init.rb
|
293
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test
|
294
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set
|
295
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set/helper_test.rb
|
296
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/awesome_nested_set_test.rb
|
297
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/db
|
298
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/db/database.yml
|
299
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/db/schema.rb
|
300
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/fixtures
|
301
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/categories.yml
|
302
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/category.rb
|
303
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/departments.yml
|
304
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/fixtures/notes.yml
|
305
|
+
- spec/rails_root/vendor/plugins/awesome_nested_set/test/test_helper.rb
|
306
|
+
- spec/rails_root/log
|
307
|
+
- spec/rails_root/log/sqlite3.log
|
308
|
+
- spec/spec_helper.rb
|
309
|
+
- LICENSE
|
310
|
+
has_rdoc: true
|
311
|
+
homepage: http://activeaclplus.rubyforge.org/
|
312
|
+
post_install_message:
|
313
|
+
rdoc_options:
|
314
|
+
- --title
|
315
|
+
- Active Acl Plus
|
316
|
+
- --main
|
317
|
+
- README.rdoc
|
318
|
+
- --inline-source
|
319
|
+
- --charset=UTF-8
|
320
|
+
require_paths:
|
321
|
+
- lib
|
322
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
323
|
+
requirements:
|
324
|
+
- - ">="
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: "0"
|
327
|
+
version:
|
328
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
329
|
+
requirements:
|
330
|
+
- - ">="
|
331
|
+
- !ruby/object:Gem::Version
|
332
|
+
version: "0"
|
333
|
+
version:
|
334
|
+
requirements: []
|
335
|
+
|
336
|
+
rubyforge_project: activeaclplus
|
337
|
+
rubygems_version: 1.2.0
|
338
|
+
signing_key:
|
339
|
+
specification_version: 2
|
340
|
+
summary: A new Version of ActiveAclPlus is available.
|
341
|
+
test_files: []
|
342
|
+
|