Ruby-ACL 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/Ruby-ACL.rb +3 -1
  2. metadata +1 -1
data/lib/Ruby-ACL.rb CHANGED
@@ -42,7 +42,9 @@ class RubyACL
42
42
  # - instance of RubyACL
43
43
  # * *Raises* :
44
44
  # - +RubyACLException+ -> Name is empty
45
- def initialize(name, connector, colpath = "/db/acl/", src_files_path = "./src_files/", report = false)
45
+ def initialize(name, connector, colpath = "/db/acl/",
46
+ src_files_path = File.join(File.dirname(__FILE__),'.','src_files'),
47
+ report = false)
46
48
  if(name == "")
47
49
  raise RubyACLException.new(self.class.name, __method__, "Name is empty", 0), caller
48
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Ruby-ACL
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: