…ng the latest Rails version to be loaded and bumped the minor gem version
(makes the authorization_usages bits work even if the rest of the site is using jquery)
… as the authorization engine
…g rake tasks in PLUGIN_PATH/tasks or PLUGIN_PATH/rails/tasks is deprecated. Use to PLUGIN_PATH/lib/tasks instead.
… symbols. Moved the conditional into class for symmetry with the above Hash#deep_merge
… defined. - we don't actually need the instance variable.
a) Authorization::Engine is already defined in authorization.rb. Therefore, we must (I believe) rename the Authorization::Engine rail tie. b) authorization.rb required railsengine.rb which required lib/declarative_authorization.rb. This dependency chain made it impossible to select which pieces from declarative auth you want (if you're not using ActiveRecord, loading in_model.rb will fail, and lib/declarative_authorization.rb makes such an attempt). Signed-off-by: Steffen Bartsch <email@example.com>
Signed-off-by: Steffen Bartsch <firstname.lastname@example.org>
…s 3.beta3 The correct approach most likely is to employ Railtie and init hooks to make sure that Rails is initialized. Anyway, this should fix it for now. (Closes #43)