ccls-simply_authorized 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/README.rdoc +53 -0
  2. data/app/models/role.rb +34 -0
  3. data/generators/ccls_simply_authorized/USAGE +0 -0
  4. data/generators/ccls_simply_authorized/ccls_simply_authorized_generator.rb +98 -0
  5. data/generators/ccls_simply_authorized/templates/autotest_simply_authorized.rb +3 -0
  6. data/generators/ccls_simply_authorized/templates/controllers/roles_controller.rb +38 -0
  7. data/generators/ccls_simply_authorized/templates/fixtures/roles.yml +36 -0
  8. data/generators/ccls_simply_authorized/templates/functional/roles_controller_test.rb +142 -0
  9. data/generators/ccls_simply_authorized/templates/migrations/create_roles.rb +14 -0
  10. data/generators/ccls_simply_authorized/templates/migrations/create_roles_users.rb +14 -0
  11. data/generators/ccls_simply_authorized/templates/simply_authorized.rake +6 -0
  12. data/generators/ccls_simply_authorized/templates/stylesheets/authorized.css +0 -0
  13. data/generators/ccls_simply_authorized/templates/unit/role_test.rb +30 -0
  14. data/lib/ccls-simply_authorized.rb +1 -0
  15. data/lib/simply_authorized.rb +42 -0
  16. data/lib/simply_authorized/authorization.rb +68 -0
  17. data/lib/simply_authorized/autotest.rb +33 -0
  18. data/lib/simply_authorized/controller.rb +87 -0
  19. data/lib/simply_authorized/core_extension.rb +16 -0
  20. data/lib/simply_authorized/factories.rb +15 -0
  21. data/lib/simply_authorized/factory_test_helper.rb +47 -0
  22. data/lib/simply_authorized/helper.rb +28 -0
  23. data/lib/simply_authorized/permissive_controller.rb +27 -0
  24. data/lib/simply_authorized/resourceful_controller.rb +83 -0
  25. data/lib/simply_authorized/tasks.rb +1 -0
  26. data/lib/simply_authorized/test_tasks.rb +47 -0
  27. data/lib/simply_authorized/user_model.rb +166 -0
  28. data/lib/tasks/application.rake +40 -0
  29. data/lib/tasks/common_lib.rake +7 -0
  30. data/lib/tasks/database.rake +52 -0
  31. data/lib/tasks/documentation.rake +68 -0
  32. data/lib/tasks/rcov.rake +44 -0
  33. data/rails/init.rb +4 -0
  34. data/test/unit/authorized/role_test.rb +30 -0
  35. metadata +141 -0
metadata ADDED
@@ -0,0 +1,141 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ccls-simply_authorized
3
+ version: !ruby/object:Gem::Version
4
+ hash: 5
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 4
9
+ - 1
10
+ version: 1.4.1
11
+ platform: ruby
12
+ authors:
13
+ - George 'Jake' Wendt
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-03-06 00:00:00 -08:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rails
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 7
30
+ segments:
31
+ - 2
32
+ version: "2"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: ccls-common_lib
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: ryanb-acts-as-list
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ description: longer description of your gem
64
+ email: github@jakewendt.com
65
+ executables: []
66
+
67
+ extensions: []
68
+
69
+ extra_rdoc_files:
70
+ - README.rdoc
71
+ files:
72
+ - app/models/role.rb
73
+ - generators/ccls_simply_authorized/USAGE
74
+ - generators/ccls_simply_authorized/ccls_simply_authorized_generator.rb
75
+ - generators/ccls_simply_authorized/templates/autotest_simply_authorized.rb
76
+ - generators/ccls_simply_authorized/templates/controllers/roles_controller.rb
77
+ - generators/ccls_simply_authorized/templates/fixtures/roles.yml
78
+ - generators/ccls_simply_authorized/templates/functional/roles_controller_test.rb
79
+ - generators/ccls_simply_authorized/templates/migrations/create_roles.rb
80
+ - generators/ccls_simply_authorized/templates/migrations/create_roles_users.rb
81
+ - generators/ccls_simply_authorized/templates/simply_authorized.rake
82
+ - generators/ccls_simply_authorized/templates/stylesheets/authorized.css
83
+ - generators/ccls_simply_authorized/templates/unit/role_test.rb
84
+ - lib/ccls-simply_authorized.rb
85
+ - lib/simply_authorized.rb
86
+ - lib/simply_authorized/authorization.rb
87
+ - lib/simply_authorized/autotest.rb
88
+ - lib/simply_authorized/controller.rb
89
+ - lib/simply_authorized/core_extension.rb
90
+ - lib/simply_authorized/factories.rb
91
+ - lib/simply_authorized/factory_test_helper.rb
92
+ - lib/simply_authorized/helper.rb
93
+ - lib/simply_authorized/permissive_controller.rb
94
+ - lib/simply_authorized/resourceful_controller.rb
95
+ - lib/simply_authorized/tasks.rb
96
+ - lib/simply_authorized/test_tasks.rb
97
+ - lib/simply_authorized/user_model.rb
98
+ - lib/tasks/application.rake
99
+ - lib/tasks/common_lib.rake
100
+ - lib/tasks/database.rake
101
+ - lib/tasks/documentation.rake
102
+ - lib/tasks/rcov.rake
103
+ - rails/init.rb
104
+ - README.rdoc
105
+ - test/unit/authorized/role_test.rb
106
+ has_rdoc: true
107
+ homepage: http://github.com/ccls/simply_authorized
108
+ licenses: []
109
+
110
+ post_install_message:
111
+ rdoc_options: []
112
+
113
+ require_paths:
114
+ - lib
115
+ required_ruby_version: !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ hash: 3
130
+ segments:
131
+ - 0
132
+ version: "0"
133
+ requirements: []
134
+
135
+ rubyforge_project:
136
+ rubygems_version: 1.6.2
137
+ signing_key:
138
+ specification_version: 3
139
+ summary: one-line summary of your gem
140
+ test_files:
141
+ - test/unit/authorized/role_test.rb