Skip to content

Commit

Permalink
rails 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kraatob committed May 28, 2014
1 parent 0fb61e3 commit c5b567f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.6
1.1.8
9 changes: 5 additions & 4 deletions aegis.gemspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{aegis}
s.version = "1.1.6"
s.version = "1.1.8"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Henning Koch"]
s.date = %q{2009-11-11}
s.date = %q{2014-05-28}
s.description = %q{Aegis is a role-based permission system, where all users are given a role. It is possible to define detailed and complex permissions for each role very easily.}
s.email = %q{github@makandra.de}
s.extra_rdoc_files = [
Expand Down Expand Up @@ -105,3 +105,4 @@ Gem::Specification.new do |s|
else
end
end

2 changes: 1 addition & 1 deletion lib/aegis/has_role.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def has_role(options = {})

self.class_eval do

class_inheritable_accessor :aegis_role_name_reader, :aegis_role_name_writer, :aegis_default_role_name
class_attribute :aegis_role_name_reader, :aegis_role_name_writer, :aegis_default_role_name

unless method_defined?(:after_initialize)
def after_initialize
Expand Down

0 comments on commit c5b567f

Please sign in to comment.