els_token 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +9 -0
  3. data/Rakefile +38 -0
  4. data/lib/cert/AOLMemberCA +47 -0
  5. data/lib/els_token.rb +161 -0
  6. data/lib/els_token/els_user.rb +81 -0
  7. data/lib/els_token/module_inheritable_attributes.rb +35 -0
  8. data/lib/els_token/version.rb +3 -0
  9. data/lib/tasks/els_token_tasks.rake +4 -0
  10. data/test/dummy/Gemfile +3 -0
  11. data/test/dummy/Gemfile.lock +85 -0
  12. data/test/dummy/README.rdoc +261 -0
  13. data/test/dummy/Rakefile +7 -0
  14. data/test/dummy/app/assets/javascripts/application.js +15 -0
  15. data/test/dummy/app/assets/javascripts/hello.js +2 -0
  16. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  17. data/test/dummy/app/assets/stylesheets/hello.css +4 -0
  18. data/test/dummy/app/controllers/application_controller.rb +18 -0
  19. data/test/dummy/app/controllers/hello_controller.rb +4 -0
  20. data/test/dummy/app/helpers/application_helper.rb +2 -0
  21. data/test/dummy/app/helpers/hello_helper.rb +2 -0
  22. data/test/dummy/app/views/hello/index.html.erb +1 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/config.ru +4 -0
  25. data/test/dummy/config/application.rb +56 -0
  26. data/test/dummy/config/boot.rb +10 -0
  27. data/test/dummy/config/database.yml +25 -0
  28. data/test/dummy/config/els.yml +12 -0
  29. data/test/dummy/config/environment.rb +5 -0
  30. data/test/dummy/config/environments/development.rb +37 -0
  31. data/test/dummy/config/environments/production.rb +67 -0
  32. data/test/dummy/config/environments/test.rb +37 -0
  33. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  34. data/test/dummy/config/initializers/els_token.rb +6 -0
  35. data/test/dummy/config/initializers/inflections.rb +15 -0
  36. data/test/dummy/config/initializers/mime_types.rb +5 -0
  37. data/test/dummy/config/initializers/secret_token.rb +7 -0
  38. data/test/dummy/config/initializers/session_store.rb +8 -0
  39. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  40. data/test/dummy/config/locales/en.yml +5 -0
  41. data/test/dummy/config/routes.rb +60 -0
  42. data/test/dummy/db/development.sqlite3 +0 -0
  43. data/test/dummy/db/schema.rb +16 -0
  44. data/test/dummy/log/development.log +15 -0
  45. data/test/dummy/public/404.html +26 -0
  46. data/test/dummy/public/422.html +26 -0
  47. data/test/dummy/public/500.html +25 -0
  48. data/test/dummy/public/favicon.ico +0 -0
  49. data/test/dummy/script/rails +6 -0
  50. data/test/els_token_test.rb.old +7 -0
  51. data/test/hello_controller_test.rb +32 -0
  52. data/test/test_helper.rb +10 -0
  53. metadata +175 -0
@@ -0,0 +1,10 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: els_token
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Neil Chambers
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.3
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.1.3
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: ! " This is a rails plugin to help with ELS Token Validation.\n include
47
+ the ElsToken module in your application controller and\n set optional fake_it
48
+ and els_uri properties\n\n call get_els_token to extract the user cdid\n or
49
+ els_authenticated?(username,password) to get\n a boolean\n"
50
+ email:
51
+ - neil.chambers@teamaol.com
52
+ executables: []
53
+ extensions: []
54
+ extra_rdoc_files: []
55
+ files:
56
+ - lib/cert/AOLMemberCA
57
+ - lib/els_token/els_user.rb
58
+ - lib/els_token/module_inheritable_attributes.rb
59
+ - lib/els_token/version.rb
60
+ - lib/els_token.rb
61
+ - lib/tasks/els_token_tasks.rake
62
+ - MIT-LICENSE
63
+ - Rakefile
64
+ - README.rdoc
65
+ - test/dummy/app/assets/javascripts/application.js
66
+ - test/dummy/app/assets/javascripts/hello.js
67
+ - test/dummy/app/assets/stylesheets/application.css
68
+ - test/dummy/app/assets/stylesheets/hello.css
69
+ - test/dummy/app/controllers/application_controller.rb
70
+ - test/dummy/app/controllers/hello_controller.rb
71
+ - test/dummy/app/helpers/application_helper.rb
72
+ - test/dummy/app/helpers/hello_helper.rb
73
+ - test/dummy/app/views/hello/index.html.erb
74
+ - test/dummy/app/views/layouts/application.html.erb
75
+ - test/dummy/config/application.rb
76
+ - test/dummy/config/boot.rb
77
+ - test/dummy/config/database.yml
78
+ - test/dummy/config/els.yml
79
+ - test/dummy/config/environment.rb
80
+ - test/dummy/config/environments/development.rb
81
+ - test/dummy/config/environments/production.rb
82
+ - test/dummy/config/environments/test.rb
83
+ - test/dummy/config/initializers/backtrace_silencers.rb
84
+ - test/dummy/config/initializers/els_token.rb
85
+ - test/dummy/config/initializers/inflections.rb
86
+ - test/dummy/config/initializers/mime_types.rb
87
+ - test/dummy/config/initializers/secret_token.rb
88
+ - test/dummy/config/initializers/session_store.rb
89
+ - test/dummy/config/initializers/wrap_parameters.rb
90
+ - test/dummy/config/locales/en.yml
91
+ - test/dummy/config/routes.rb
92
+ - test/dummy/config.ru
93
+ - test/dummy/db/development.sqlite3
94
+ - test/dummy/db/schema.rb
95
+ - test/dummy/Gemfile
96
+ - test/dummy/Gemfile.lock
97
+ - test/dummy/log/development.log
98
+ - test/dummy/public/404.html
99
+ - test/dummy/public/422.html
100
+ - test/dummy/public/500.html
101
+ - test/dummy/public/favicon.ico
102
+ - test/dummy/Rakefile
103
+ - test/dummy/README.rdoc
104
+ - test/dummy/script/rails
105
+ - test/els_token_test.rb.old
106
+ - test/hello_controller_test.rb
107
+ - test/test_helper.rb
108
+ homepage: http://wiki.office.aol.com/wiki/Els_Token
109
+ licenses: []
110
+ post_install_message:
111
+ rdoc_options: []
112
+ require_paths:
113
+ - lib
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ! '>='
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ requirements: []
127
+ rubyforge_project:
128
+ rubygems_version: 1.8.24
129
+ signing_key:
130
+ specification_version: 3
131
+ summary: A simple plugin to assist ELS token validation
132
+ test_files:
133
+ - test/dummy/app/assets/javascripts/application.js
134
+ - test/dummy/app/assets/javascripts/hello.js
135
+ - test/dummy/app/assets/stylesheets/application.css
136
+ - test/dummy/app/assets/stylesheets/hello.css
137
+ - test/dummy/app/controllers/application_controller.rb
138
+ - test/dummy/app/controllers/hello_controller.rb
139
+ - test/dummy/app/helpers/application_helper.rb
140
+ - test/dummy/app/helpers/hello_helper.rb
141
+ - test/dummy/app/views/hello/index.html.erb
142
+ - test/dummy/app/views/layouts/application.html.erb
143
+ - test/dummy/config/application.rb
144
+ - test/dummy/config/boot.rb
145
+ - test/dummy/config/database.yml
146
+ - test/dummy/config/els.yml
147
+ - test/dummy/config/environment.rb
148
+ - test/dummy/config/environments/development.rb
149
+ - test/dummy/config/environments/production.rb
150
+ - test/dummy/config/environments/test.rb
151
+ - test/dummy/config/initializers/backtrace_silencers.rb
152
+ - test/dummy/config/initializers/els_token.rb
153
+ - test/dummy/config/initializers/inflections.rb
154
+ - test/dummy/config/initializers/mime_types.rb
155
+ - test/dummy/config/initializers/secret_token.rb
156
+ - test/dummy/config/initializers/session_store.rb
157
+ - test/dummy/config/initializers/wrap_parameters.rb
158
+ - test/dummy/config/locales/en.yml
159
+ - test/dummy/config/routes.rb
160
+ - test/dummy/config.ru
161
+ - test/dummy/db/development.sqlite3
162
+ - test/dummy/db/schema.rb
163
+ - test/dummy/Gemfile
164
+ - test/dummy/Gemfile.lock
165
+ - test/dummy/log/development.log
166
+ - test/dummy/public/404.html
167
+ - test/dummy/public/422.html
168
+ - test/dummy/public/500.html
169
+ - test/dummy/public/favicon.ico
170
+ - test/dummy/Rakefile
171
+ - test/dummy/README.rdoc
172
+ - test/dummy/script/rails
173
+ - test/els_token_test.rb.old
174
+ - test/hello_controller_test.rb
175
+ - test/test_helper.rb