cas_client 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. data/.gitignore +4 -0
  2. data/.rvmrc +1 -0
  3. data/Gemfile +5 -0
  4. data/README +89 -0
  5. data/Rakefile +4 -0
  6. data/TODO +1 -0
  7. data/app/controllers/cas_client/sessions_controller.rb +20 -0
  8. data/cas_client.gemspec +24 -0
  9. data/config/routes.rb +8 -0
  10. data/lib/cas_client/engine.rb +28 -0
  11. data/lib/cas_client/errors.rb +10 -0
  12. data/lib/cas_client/user_api.rb +172 -0
  13. data/lib/cas_client/version.rb +3 -0
  14. data/lib/cas_client.rb +12 -0
  15. data/lib/generators/install_generator.rb +19 -0
  16. data/lib/generators/templates/cas_server.yml +14 -0
  17. data/lib/generators/templates/sessions_controller.rb +18 -0
  18. data/lib/generators/templates/user.rb +16 -0
  19. data/lib/omniauth/strategies/facebook_signup/configuration.rb +91 -0
  20. data/lib/omniauth/strategies/facebook_signup/service_ticket_validator.rb +80 -0
  21. data/lib/omniauth/strategies/facebook_signup/strategy.rb +45 -0
  22. data/spec/models/user_spec.rb +133 -0
  23. data/spec/spec_app/.gitignore +4 -0
  24. data/spec/spec_app/.rspec +1 -0
  25. data/spec/spec_app/.rvmrc +1 -0
  26. data/spec/spec_app/Gemfile +11 -0
  27. data/spec/spec_app/README +256 -0
  28. data/spec/spec_app/Rakefile +7 -0
  29. data/spec/spec_app/app/controllers/application_controller.rb +3 -0
  30. data/spec/spec_app/app/helpers/application_helper.rb +2 -0
  31. data/spec/spec_app/app/models/user.rb +14 -0
  32. data/spec/spec_app/app/views/layouts/application.html.erb +14 -0
  33. data/spec/spec_app/config/application.rb +42 -0
  34. data/spec/spec_app/config/boot.rb +6 -0
  35. data/spec/spec_app/config/cas_server.yml +14 -0
  36. data/spec/spec_app/config/database.yml +22 -0
  37. data/spec/spec_app/config/environment.rb +5 -0
  38. data/spec/spec_app/config/environments/development.rb +26 -0
  39. data/spec/spec_app/config/environments/production.rb +49 -0
  40. data/spec/spec_app/config/environments/test.rb +35 -0
  41. data/spec/spec_app/config/initializers/backtrace_silencers.rb +7 -0
  42. data/spec/spec_app/config/initializers/inflections.rb +10 -0
  43. data/spec/spec_app/config/initializers/mime_types.rb +5 -0
  44. data/spec/spec_app/config/initializers/secret_token.rb +7 -0
  45. data/spec/spec_app/config/initializers/session_store.rb +8 -0
  46. data/spec/spec_app/config/locales/en.yml +5 -0
  47. data/spec/spec_app/config/routes.rb +58 -0
  48. data/spec/spec_app/config.ru +4 -0
  49. data/spec/spec_app/db/migrate/20110224230909_create_users.rb +17 -0
  50. data/spec/spec_app/db/schema.rb +25 -0
  51. data/spec/spec_app/db/seeds.rb +7 -0
  52. data/spec/spec_app/doc/README_FOR_APP +2 -0
  53. data/spec/spec_app/lib/tasks/.gitkeep +0 -0
  54. data/spec/spec_app/public/404.html +26 -0
  55. data/spec/spec_app/public/422.html +26 -0
  56. data/spec/spec_app/public/500.html +26 -0
  57. data/spec/spec_app/public/favicon.ico +0 -0
  58. data/spec/spec_app/public/images/rails.png +0 -0
  59. data/spec/spec_app/public/index.html +239 -0
  60. data/spec/spec_app/public/javascripts/.gitkeep +0 -0
  61. data/spec/spec_app/public/javascripts/application.js +0 -0
  62. data/spec/spec_app/public/robots.txt +5 -0
  63. data/spec/spec_app/public/stylesheets/.gitkeep +0 -0
  64. data/spec/spec_app/script/rails +6 -0
  65. data/spec/spec_app/vendor/plugins/.gitkeep +0 -0
  66. data/spec/spec_helper.rb +57 -0
  67. data/spec/tasks/spec.rake +19 -0
  68. metadata +208 -0
metadata ADDED
@@ -0,0 +1,208 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cas_client
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Ryan Moran
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-03-23 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: oa-enterprise
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 23
30
+ segments:
31
+ - 0
32
+ - 1
33
+ - 6
34
+ version: 0.1.6
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: yajl-ruby
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ description: Helpers, controllers and middleware to implement a CAS client app
52
+ email:
53
+ - ryan.moran@revolutionprep.com
54
+ executables: []
55
+
56
+ extensions: []
57
+
58
+ extra_rdoc_files: []
59
+
60
+ files:
61
+ - .gitignore
62
+ - .rvmrc
63
+ - Gemfile
64
+ - README
65
+ - Rakefile
66
+ - TODO
67
+ - app/controllers/cas_client/sessions_controller.rb
68
+ - cas_client.gemspec
69
+ - config/routes.rb
70
+ - lib/cas_client.rb
71
+ - lib/cas_client/engine.rb
72
+ - lib/cas_client/errors.rb
73
+ - lib/cas_client/user_api.rb
74
+ - lib/cas_client/version.rb
75
+ - lib/generators/install_generator.rb
76
+ - lib/generators/templates/cas_server.yml
77
+ - lib/generators/templates/sessions_controller.rb
78
+ - lib/generators/templates/user.rb
79
+ - lib/omniauth/strategies/facebook_signup/configuration.rb
80
+ - lib/omniauth/strategies/facebook_signup/service_ticket_validator.rb
81
+ - lib/omniauth/strategies/facebook_signup/strategy.rb
82
+ - spec/models/user_spec.rb
83
+ - spec/spec_app/.gitignore
84
+ - spec/spec_app/.rspec
85
+ - spec/spec_app/.rvmrc
86
+ - spec/spec_app/Gemfile
87
+ - spec/spec_app/README
88
+ - spec/spec_app/Rakefile
89
+ - spec/spec_app/app/controllers/application_controller.rb
90
+ - spec/spec_app/app/helpers/application_helper.rb
91
+ - spec/spec_app/app/models/user.rb
92
+ - spec/spec_app/app/views/layouts/application.html.erb
93
+ - spec/spec_app/config.ru
94
+ - spec/spec_app/config/application.rb
95
+ - spec/spec_app/config/boot.rb
96
+ - spec/spec_app/config/cas_server.yml
97
+ - spec/spec_app/config/database.yml
98
+ - spec/spec_app/config/environment.rb
99
+ - spec/spec_app/config/environments/development.rb
100
+ - spec/spec_app/config/environments/production.rb
101
+ - spec/spec_app/config/environments/test.rb
102
+ - spec/spec_app/config/initializers/backtrace_silencers.rb
103
+ - spec/spec_app/config/initializers/inflections.rb
104
+ - spec/spec_app/config/initializers/mime_types.rb
105
+ - spec/spec_app/config/initializers/secret_token.rb
106
+ - spec/spec_app/config/initializers/session_store.rb
107
+ - spec/spec_app/config/locales/en.yml
108
+ - spec/spec_app/config/routes.rb
109
+ - spec/spec_app/db/migrate/20110224230909_create_users.rb
110
+ - spec/spec_app/db/schema.rb
111
+ - spec/spec_app/db/seeds.rb
112
+ - spec/spec_app/doc/README_FOR_APP
113
+ - spec/spec_app/lib/tasks/.gitkeep
114
+ - spec/spec_app/public/404.html
115
+ - spec/spec_app/public/422.html
116
+ - spec/spec_app/public/500.html
117
+ - spec/spec_app/public/favicon.ico
118
+ - spec/spec_app/public/images/rails.png
119
+ - spec/spec_app/public/index.html
120
+ - spec/spec_app/public/javascripts/.gitkeep
121
+ - spec/spec_app/public/javascripts/application.js
122
+ - spec/spec_app/public/robots.txt
123
+ - spec/spec_app/public/stylesheets/.gitkeep
124
+ - spec/spec_app/script/rails
125
+ - spec/spec_app/vendor/plugins/.gitkeep
126
+ - spec/spec_helper.rb
127
+ - spec/tasks/spec.rake
128
+ has_rdoc: true
129
+ homepage: http://www.revolutionprep.com
130
+ licenses: []
131
+
132
+ post_install_message:
133
+ rdoc_options: []
134
+
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ hash: 3
143
+ segments:
144
+ - 0
145
+ version: "0"
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ none: false
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ hash: 3
152
+ segments:
153
+ - 0
154
+ version: "0"
155
+ requirements: []
156
+
157
+ rubyforge_project: cas_client
158
+ rubygems_version: 1.6.2
159
+ signing_key:
160
+ specification_version: 3
161
+ summary: CAS client implementation
162
+ test_files:
163
+ - spec/models/user_spec.rb
164
+ - spec/spec_app/.gitignore
165
+ - spec/spec_app/.rspec
166
+ - spec/spec_app/.rvmrc
167
+ - spec/spec_app/Gemfile
168
+ - spec/spec_app/README
169
+ - spec/spec_app/Rakefile
170
+ - spec/spec_app/app/controllers/application_controller.rb
171
+ - spec/spec_app/app/helpers/application_helper.rb
172
+ - spec/spec_app/app/models/user.rb
173
+ - spec/spec_app/app/views/layouts/application.html.erb
174
+ - spec/spec_app/config.ru
175
+ - spec/spec_app/config/application.rb
176
+ - spec/spec_app/config/boot.rb
177
+ - spec/spec_app/config/cas_server.yml
178
+ - spec/spec_app/config/database.yml
179
+ - spec/spec_app/config/environment.rb
180
+ - spec/spec_app/config/environments/development.rb
181
+ - spec/spec_app/config/environments/production.rb
182
+ - spec/spec_app/config/environments/test.rb
183
+ - spec/spec_app/config/initializers/backtrace_silencers.rb
184
+ - spec/spec_app/config/initializers/inflections.rb
185
+ - spec/spec_app/config/initializers/mime_types.rb
186
+ - spec/spec_app/config/initializers/secret_token.rb
187
+ - spec/spec_app/config/initializers/session_store.rb
188
+ - spec/spec_app/config/locales/en.yml
189
+ - spec/spec_app/config/routes.rb
190
+ - spec/spec_app/db/migrate/20110224230909_create_users.rb
191
+ - spec/spec_app/db/schema.rb
192
+ - spec/spec_app/db/seeds.rb
193
+ - spec/spec_app/doc/README_FOR_APP
194
+ - spec/spec_app/lib/tasks/.gitkeep
195
+ - spec/spec_app/public/404.html
196
+ - spec/spec_app/public/422.html
197
+ - spec/spec_app/public/500.html
198
+ - spec/spec_app/public/favicon.ico
199
+ - spec/spec_app/public/images/rails.png
200
+ - spec/spec_app/public/index.html
201
+ - spec/spec_app/public/javascripts/.gitkeep
202
+ - spec/spec_app/public/javascripts/application.js
203
+ - spec/spec_app/public/robots.txt
204
+ - spec/spec_app/public/stylesheets/.gitkeep
205
+ - spec/spec_app/script/rails
206
+ - spec/spec_app/vendor/plugins/.gitkeep
207
+ - spec/spec_helper.rb
208
+ - spec/tasks/spec.rake