langalex-totally-restful-authorization 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/totally_restful_authorization.rb +1 -1
- data/rails/init.rb +1 -1
- data/totally-restful-authorization.gemspec +50 -0
- metadata +2 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
@@ -4,7 +4,7 @@ require 'totally_restful_authorization/permission_check'
|
|
4
4
|
require 'totally_restful_authorization/permission_dsl'
|
5
5
|
|
6
6
|
if defined?(ActiveRecord::Base)
|
7
|
-
ActiveRecord::Base.send :include, PermissionDsl
|
7
|
+
ActiveRecord::Base.send :include, TotallyRestfulAuthorization::PermissionDsl
|
8
8
|
end
|
9
9
|
|
10
10
|
if defined?(ActionController::Base)
|
data/rails/init.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../lib/totally_restful_authorization'
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{totally-restful-authorization}
|
5
|
+
s.version = "0.0.2"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Alexander Lang"]
|
9
|
+
s.date = %q{2009-06-12}
|
10
|
+
s.email = %q{alex@upstream-berlin.com}
|
11
|
+
s.extra_rdoc_files = [
|
12
|
+
"LICENSE",
|
13
|
+
"README"
|
14
|
+
]
|
15
|
+
s.files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README",
|
18
|
+
"Rakefile",
|
19
|
+
"VERSION",
|
20
|
+
"lib/totally_restful_authorization.rb",
|
21
|
+
"lib/totally_restful_authorization/permission_check.rb",
|
22
|
+
"lib/totally_restful_authorization/permission_dsl.rb",
|
23
|
+
"rails/init.rb",
|
24
|
+
"test/test_helper.rb",
|
25
|
+
"test/unit/permission_check_test.rb",
|
26
|
+
"test/unit/permission_dsl_test.rb",
|
27
|
+
"totally-restful-authorization.gemspec"
|
28
|
+
]
|
29
|
+
s.has_rdoc = true
|
30
|
+
s.homepage = %q{http://github.com/langalex/totally_restful_authorization}
|
31
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.1}
|
34
|
+
s.summary = %q{This plugin adds an authorization layer to your rails app that is totally transparent to your restful controllers and a DSL for declaring permissions on your models.}
|
35
|
+
s.test_files = [
|
36
|
+
"test/test_helper.rb",
|
37
|
+
"test/unit/permission_check_test.rb",
|
38
|
+
"test/unit/permission_dsl_test.rb"
|
39
|
+
]
|
40
|
+
|
41
|
+
if s.respond_to? :specification_version then
|
42
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
43
|
+
s.specification_version = 2
|
44
|
+
|
45
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
46
|
+
else
|
47
|
+
end
|
48
|
+
else
|
49
|
+
end
|
50
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: langalex-totally-restful-authorization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Lang
|
@@ -34,6 +34,7 @@ files:
|
|
34
34
|
- test/test_helper.rb
|
35
35
|
- test/unit/permission_check_test.rb
|
36
36
|
- test/unit/permission_dsl_test.rb
|
37
|
+
- totally-restful-authorization.gemspec
|
37
38
|
has_rdoc: true
|
38
39
|
homepage: http://github.com/langalex/totally_restful_authorization
|
39
40
|
post_install_message:
|