arsecurity 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/Rakefile +1 -1
  3. data/lib/arsecurity_util.rb +2 -2
  4. metadata +7 -6
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ Changes in version 0.1.2 (2009-05-05)
2
+ fix bug, remove wrong '=' when rebuild conditions
3
+
1
4
  Changes in version 0.1.1 (2009-03-28)
2
5
  -------------------------------------
3
6
  fix missing of require
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
3
  PKG_NAME = "arsecurity"
4
- PKG_VERSION = "0.1.1"
4
+ PKG_VERSION = "0.1.2"
5
5
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
6
6
  PKG_FILES = FileList[
7
7
  '[A-Z]*',
@@ -44,7 +44,7 @@ class ArsecurityUtil
44
44
  new_conditions = []
45
45
  new_conditions[0] = ""
46
46
  conditions.each do |k, v|
47
- new_conditions[0] << " #{k} = #{attribute_condition(v)}"
47
+ new_conditions[0] << " #{k} #{attribute_condition(v)}"
48
48
  if v.is_a?(Range)
49
49
  new_conditions << v.first
50
50
  new_conditions << v.last
@@ -87,4 +87,4 @@ class ArsecurityUtil
87
87
  end
88
88
  end
89
89
  end
90
- end
90
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arsecurity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Li
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-28 00:00:00 +08:00
12
+ date: 2009-05-06 00:00:00 +08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,7 +22,7 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.1.0
24
24
  version:
25
- description: A security component for Activerecord, it can manage CRUD permissions with attribute level by configuration, you can implement RBAC easily with it. It depend on the AOP framework Rinter(Rinterceptor) and the OO query tool Rquerypad(Optinal)
25
+ description: " A security component for Activerecord, it can manage CRUD permissions with attribute level by configuration, you can implement RBAC easily with it. It depend on the AOP framework Rinter(Rinterceptor) and the OO query tool Rquerypad(Optinal)\n"
26
26
  email: scorpio_leon@hotmail.com
27
27
  executables: []
28
28
 
@@ -39,10 +39,11 @@ files:
39
39
  - lib/arsecurity_handler.rb
40
40
  - lib/arsecurity_default.rb
41
41
  - lib/arsecurity_util.rb
42
- - examples/initializers
43
42
  - examples/initializers/security.rb
44
43
  has_rdoc: false
45
44
  homepage: http://arsecurity.rubyforge.org/
45
+ licenses: []
46
+
46
47
  post_install_message:
47
48
  rdoc_options: []
48
49
 
@@ -63,9 +64,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
64
  requirements: []
64
65
 
65
66
  rubyforge_project: Activerecord Security
66
- rubygems_version: 1.3.1
67
+ rubygems_version: 1.3.2
67
68
  signing_key:
68
- specification_version: 2
69
+ specification_version: 3
69
70
  summary: A security component for Activerecord
70
71
  test_files: []
71
72