Permalink
Browse files

Ok, this brings 0.9.3

  • Loading branch information...
be9 committed Feb 4, 2009
1 parent 48956a1 commit dd78f4d82e9601e2ac9f8046d742ef8da658ce34
Showing with 12 additions and 22 deletions.
  1. +3 −1 CHANGELOG.textile
  2. +4 −0 Manifest
  3. +0 −16 TODO
  4. +4 −4 acl9.gemspec
  5. +1 −1 lib/acl9/version.rb
View
@@ -1,6 +1,8 @@
-h2. 0.9.3 (?)
+h2. 0.9.3 (04-Feb-2009)
* Fix bug in delete_role - didn't work with custom class names
+* Add @:helper@ option for @access_control@.
+* Ability to generate helper methods directly (place @include Acl9Helpers@ in your helper module).
h2. 0.9.2 (11-Jan-2009)
View
@@ -1,3 +1,4 @@
+lib/acl9/helpers.rb
lib/acl9/config.rb
lib/acl9/model_extensions/subject.rb
lib/acl9/model_extensions/object.rb
@@ -7,11 +8,14 @@ lib/acl9/controller_extensions/dsl_base.rb
lib/acl9/version.rb
lib/acl9/model_extensions.rb
lib/acl9.rb
+TODO
spec/db/schema.rb
+spec/helpers_spec.rb
spec/spec_helper.rb
spec/models.rb
spec/dsl_base_spec.rb
spec/access_control_spec.rb
+spec/controllers.rb
spec/roles_spec.rb
acl9.gemspec
Manifest
View
16 TODO
@@ -13,22 +13,6 @@
end
end
-* Add helper_method call.
-
- access_control :helper => :can_see? do
- allow :owner, :of => :foo, :to => [:show, :index]
- end
-
- will work exactly as
-
- access_control :can_see?, :filter => false do
- allow :owner, :of => :foo, :to => [:show, :index]
- end
-
- helper_method :can_see?
-
- and provide :can_see? method in a view.
-
* Acl9-based menu generator.
If you get Access Denied on /secrets/index, probably you shouldn't see "Secrets" item
View
@@ -2,15 +2,15 @@
Gem::Specification.new do |s|
s.name = %q{acl9}
- s.version = "0.9.2"
+ s.version = "0.9.3"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Oleg Dashevskii"]
- s.date = %q{2009-02-01}
+ s.date = %q{2009-02-04}
s.description = %q{Yet another role-based authorization system for Rails with a nice DSL for access control lists.}
s.email = %q{olegdashevskii@gmail.com}
- s.extra_rdoc_files = ["lib/acl9/model_extensions.rb", "lib/acl9/version.rb", "lib/acl9/model_extensions/subject.rb", "lib/acl9/model_extensions/object.rb", "lib/acl9/controller_extensions/generators.rb", "lib/acl9/controller_extensions/dsl_base.rb", "lib/acl9/config.rb", "lib/acl9/controller_extensions.rb", "lib/acl9.rb", "README.textile", "CHANGELOG.textile"]
- s.files = ["init.rb", "Manifest", "lib/acl9/model_extensions.rb", "lib/acl9/version.rb", "lib/acl9/model_extensions/subject.rb", "lib/acl9/model_extensions/object.rb", "lib/acl9/controller_extensions/generators.rb", "lib/acl9/controller_extensions/dsl_base.rb", "lib/acl9/config.rb", "lib/acl9/controller_extensions.rb", "lib/acl9.rb", "README.textile", "acl9.gemspec", "CHANGELOG.textile", "MIT-LICENSE", "Rakefile", "spec/db/schema.rb", "spec/dsl_base_spec.rb", "spec/spec_helper.rb", "spec/access_control_spec.rb", "spec/roles_spec.rb", "spec/models.rb"]
+ s.extra_rdoc_files = ["lib/acl9/helpers.rb", "lib/acl9/config.rb", "lib/acl9/model_extensions/subject.rb", "lib/acl9/model_extensions/object.rb", "lib/acl9/controller_extensions.rb", "lib/acl9/controller_extensions/generators.rb", "lib/acl9/controller_extensions/dsl_base.rb", "lib/acl9/version.rb", "lib/acl9/model_extensions.rb", "lib/acl9.rb", "TODO", "README.textile", "CHANGELOG.textile"]
+ s.files = ["lib/acl9/helpers.rb", "lib/acl9/config.rb", "lib/acl9/model_extensions/subject.rb", "lib/acl9/model_extensions/object.rb", "lib/acl9/controller_extensions.rb", "lib/acl9/controller_extensions/generators.rb", "lib/acl9/controller_extensions/dsl_base.rb", "lib/acl9/version.rb", "lib/acl9/model_extensions.rb", "lib/acl9.rb", "TODO", "spec/db/schema.rb", "spec/helpers_spec.rb", "spec/spec_helper.rb", "spec/models.rb", "spec/dsl_base_spec.rb", "spec/access_control_spec.rb", "spec/controllers.rb", "spec/roles_spec.rb", "acl9.gemspec", "Manifest", "MIT-LICENSE", "Rakefile", "README.textile", "init.rb", "CHANGELOG.textile"]
s.has_rdoc = true
s.homepage = %q{http://github.com/be9/acl9}
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Acl9", "--main", "README.textile"]
View
@@ -44,7 +44,7 @@ def to_a
MAJOR = 0
MINOR = 9
- TINY = 2
+ TINY = 3
# The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)

0 comments on commit dd78f4d

Please sign in to comment.