prathe_devise_ldap_authenticatable 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +187 -0
  3. data/Rakefile +52 -0
  4. data/VERSION +1 -0
  5. data/devise_ldap_authenticatable.gemspec +133 -0
  6. data/lib/devise_ldap_authenticatable.rb +48 -0
  7. data/lib/devise_ldap_authenticatable/exception.rb +6 -0
  8. data/lib/devise_ldap_authenticatable/ldap_adapter.rb +242 -0
  9. data/lib/devise_ldap_authenticatable/logger.rb +11 -0
  10. data/lib/devise_ldap_authenticatable/model.rb +101 -0
  11. data/lib/devise_ldap_authenticatable/routes.rb +8 -0
  12. data/lib/devise_ldap_authenticatable/schema.rb +14 -0
  13. data/lib/devise_ldap_authenticatable/strategy.rb +36 -0
  14. data/lib/devise_ldap_authenticatable/version.rb +4 -0
  15. data/lib/generators/devise_ldap_authenticatable/install_generator.rb +62 -0
  16. data/lib/generators/devise_ldap_authenticatable/templates/ldap.yml +51 -0
  17. data/rails/init.rb +2 -0
  18. data/test/devise_ldap_authenticatable_test.rb +8 -0
  19. data/test/ldap/base.ldif +73 -0
  20. data/test/ldap/clear.ldif +26 -0
  21. data/test/ldap/local.schema +6 -0
  22. data/test/ldap/run-server.sh +10 -0
  23. data/test/ldap/server.pem +38 -0
  24. data/test/ldap/slapd-ssl-test.conf +107 -0
  25. data/test/ldap/slapd-test.conf +107 -0
  26. data/test/rails_app/Gemfile +22 -0
  27. data/test/rails_app/Gemfile.lock +159 -0
  28. data/test/rails_app/Rakefile +7 -0
  29. data/test/rails_app/app/controllers/application_controller.rb +4 -0
  30. data/test/rails_app/app/controllers/posts_controller.rb +15 -0
  31. data/test/rails_app/app/helpers/application_helper.rb +2 -0
  32. data/test/rails_app/app/helpers/posts_helper.rb +2 -0
  33. data/test/rails_app/app/models/post.rb +2 -0
  34. data/test/rails_app/app/models/user.rb +10 -0
  35. data/test/rails_app/app/views/layouts/application.html.erb +26 -0
  36. data/test/rails_app/app/views/posts/index.html.erb +2 -0
  37. data/test/rails_app/config.ru +4 -0
  38. data/test/rails_app/config/application.rb +46 -0
  39. data/test/rails_app/config/boot.rb +13 -0
  40. data/test/rails_app/config/cucumber.yml +8 -0
  41. data/test/rails_app/config/database.yml +25 -0
  42. data/test/rails_app/config/environment.rb +5 -0
  43. data/test/rails_app/config/environments/development.rb +22 -0
  44. data/test/rails_app/config/environments/production.rb +46 -0
  45. data/test/rails_app/config/environments/test.rb +34 -0
  46. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/rails_app/config/initializers/devise.rb +140 -0
  48. data/test/rails_app/config/initializers/inflections.rb +10 -0
  49. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  50. data/test/rails_app/config/initializers/secret_token.rb +7 -0
  51. data/test/rails_app/config/initializers/session_store.rb +8 -0
  52. data/test/rails_app/config/ldap.yml +22 -0
  53. data/test/rails_app/config/ldap_with_erb.yml +23 -0
  54. data/test/rails_app/config/ldap_with_uid.yml +18 -0
  55. data/test/rails_app/config/locales/devise.en.yml +39 -0
  56. data/test/rails_app/config/locales/en.yml +5 -0
  57. data/test/rails_app/config/routes.rb +64 -0
  58. data/test/rails_app/config/ssl_ldap.yml +21 -0
  59. data/test/rails_app/config/ssl_ldap_with_erb.yml +23 -0
  60. data/test/rails_app/config/ssl_ldap_with_uid.yml +18 -0
  61. data/test/rails_app/db/migrate/20100708120302_create_posts.rb +14 -0
  62. data/test/rails_app/db/migrate/20100708120448_devise_create_users.rb +26 -0
  63. data/test/rails_app/db/schema.rb +41 -0
  64. data/test/rails_app/db/seeds.rb +7 -0
  65. data/test/rails_app/features/manage_logins.feature +35 -0
  66. data/test/rails_app/features/step_definitions/login_steps.rb +21 -0
  67. data/test/rails_app/features/step_definitions/web_steps.rb +219 -0
  68. data/test/rails_app/features/support/env.rb +58 -0
  69. data/test/rails_app/features/support/paths.rb +38 -0
  70. data/test/rails_app/lib/tasks/.gitkeep +0 -0
  71. data/test/rails_app/lib/tasks/cucumber.rake +53 -0
  72. data/test/rails_app/public/404.html +26 -0
  73. data/test/rails_app/public/422.html +26 -0
  74. data/test/rails_app/public/500.html +26 -0
  75. data/test/rails_app/public/images/rails.png +0 -0
  76. data/test/rails_app/public/javascripts/application.js +2 -0
  77. data/test/rails_app/public/javascripts/controls.js +965 -0
  78. data/test/rails_app/public/javascripts/dragdrop.js +974 -0
  79. data/test/rails_app/public/javascripts/effects.js +1123 -0
  80. data/test/rails_app/public/javascripts/prototype.js +4874 -0
  81. data/test/rails_app/public/javascripts/rails.js +118 -0
  82. data/test/rails_app/public/stylesheets/.gitkeep +0 -0
  83. data/test/rails_app/script/cucumber +10 -0
  84. data/test/rails_app/script/rails +6 -0
  85. data/test/rails_app/test/factories/users.rb +14 -0
  86. data/test/rails_app/test/functional/posts_controller_test.rb +58 -0
  87. data/test/rails_app/test/performance/browsing_test.rb +9 -0
  88. data/test/rails_app/test/test_helper.rb +36 -0
  89. data/test/rails_app/test/unit/helpers/posts_helper_test.rb +4 -0
  90. data/test/rails_app/test/unit/post_test.rb +4 -0
  91. data/test/rails_app/test/unit/user_test.rb +254 -0
  92. data/test/test_helper.rb +3 -0
  93. metadata +161 -0
@@ -0,0 +1,3 @@
1
+ require 'rubygems'
2
+ require 'active_support'
3
+ require 'active_support/test_case'
metadata ADDED
@@ -0,0 +1,161 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: prathe_devise_ldap_authenticatable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.10
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Curtis Schiewek
9
+ - Daniel McNevin
10
+ - Steven Xu
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2011-10-17 00:00:00.000000000Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: devise
18
+ requirement: &70183830643780 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 1.4.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: *70183830643780
27
+ - !ruby/object:Gem::Dependency
28
+ name: prathe_net-ldap
29
+ requirement: &70183830643300 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 0.2.2
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: *70183830643300
38
+ description: LDAP authentication module for Devise
39
+ email: curtis.schiewek@gmail.com
40
+ executables: []
41
+ extensions: []
42
+ extra_rdoc_files:
43
+ - README.md
44
+ files:
45
+ - MIT-LICENSE
46
+ - README.md
47
+ - Rakefile
48
+ - VERSION
49
+ - devise_ldap_authenticatable.gemspec
50
+ - lib/devise_ldap_authenticatable.rb
51
+ - lib/devise_ldap_authenticatable/exception.rb
52
+ - lib/devise_ldap_authenticatable/ldap_adapter.rb
53
+ - lib/devise_ldap_authenticatable/logger.rb
54
+ - lib/devise_ldap_authenticatable/model.rb
55
+ - lib/devise_ldap_authenticatable/routes.rb
56
+ - lib/devise_ldap_authenticatable/schema.rb
57
+ - lib/devise_ldap_authenticatable/strategy.rb
58
+ - lib/devise_ldap_authenticatable/version.rb
59
+ - lib/generators/devise_ldap_authenticatable/install_generator.rb
60
+ - lib/generators/devise_ldap_authenticatable/templates/ldap.yml
61
+ - rails/init.rb
62
+ - test/devise_ldap_authenticatable_test.rb
63
+ - test/ldap/base.ldif
64
+ - test/ldap/clear.ldif
65
+ - test/ldap/local.schema
66
+ - test/ldap/run-server.sh
67
+ - test/ldap/server.pem
68
+ - test/ldap/slapd-ssl-test.conf
69
+ - test/ldap/slapd-test.conf
70
+ - test/rails_app/Gemfile
71
+ - test/rails_app/Gemfile.lock
72
+ - test/rails_app/Rakefile
73
+ - test/rails_app/app/controllers/application_controller.rb
74
+ - test/rails_app/app/controllers/posts_controller.rb
75
+ - test/rails_app/app/helpers/application_helper.rb
76
+ - test/rails_app/app/helpers/posts_helper.rb
77
+ - test/rails_app/app/models/post.rb
78
+ - test/rails_app/app/models/user.rb
79
+ - test/rails_app/app/views/layouts/application.html.erb
80
+ - test/rails_app/app/views/posts/index.html.erb
81
+ - test/rails_app/config.ru
82
+ - test/rails_app/config/application.rb
83
+ - test/rails_app/config/boot.rb
84
+ - test/rails_app/config/cucumber.yml
85
+ - test/rails_app/config/database.yml
86
+ - test/rails_app/config/environment.rb
87
+ - test/rails_app/config/environments/development.rb
88
+ - test/rails_app/config/environments/production.rb
89
+ - test/rails_app/config/environments/test.rb
90
+ - test/rails_app/config/initializers/backtrace_silencers.rb
91
+ - test/rails_app/config/initializers/devise.rb
92
+ - test/rails_app/config/initializers/inflections.rb
93
+ - test/rails_app/config/initializers/mime_types.rb
94
+ - test/rails_app/config/initializers/secret_token.rb
95
+ - test/rails_app/config/initializers/session_store.rb
96
+ - test/rails_app/config/ldap.yml
97
+ - test/rails_app/config/ldap_with_erb.yml
98
+ - test/rails_app/config/ldap_with_uid.yml
99
+ - test/rails_app/config/locales/devise.en.yml
100
+ - test/rails_app/config/locales/en.yml
101
+ - test/rails_app/config/routes.rb
102
+ - test/rails_app/config/ssl_ldap.yml
103
+ - test/rails_app/config/ssl_ldap_with_erb.yml
104
+ - test/rails_app/config/ssl_ldap_with_uid.yml
105
+ - test/rails_app/db/migrate/20100708120302_create_posts.rb
106
+ - test/rails_app/db/migrate/20100708120448_devise_create_users.rb
107
+ - test/rails_app/db/schema.rb
108
+ - test/rails_app/db/seeds.rb
109
+ - test/rails_app/features/manage_logins.feature
110
+ - test/rails_app/features/step_definitions/login_steps.rb
111
+ - test/rails_app/features/step_definitions/web_steps.rb
112
+ - test/rails_app/features/support/env.rb
113
+ - test/rails_app/features/support/paths.rb
114
+ - test/rails_app/lib/tasks/.gitkeep
115
+ - test/rails_app/lib/tasks/cucumber.rake
116
+ - test/rails_app/public/404.html
117
+ - test/rails_app/public/422.html
118
+ - test/rails_app/public/500.html
119
+ - test/rails_app/public/images/rails.png
120
+ - test/rails_app/public/javascripts/application.js
121
+ - test/rails_app/public/javascripts/controls.js
122
+ - test/rails_app/public/javascripts/dragdrop.js
123
+ - test/rails_app/public/javascripts/effects.js
124
+ - test/rails_app/public/javascripts/prototype.js
125
+ - test/rails_app/public/javascripts/rails.js
126
+ - test/rails_app/public/stylesheets/.gitkeep
127
+ - test/rails_app/script/cucumber
128
+ - test/rails_app/script/rails
129
+ - test/rails_app/test/factories/users.rb
130
+ - test/rails_app/test/functional/posts_controller_test.rb
131
+ - test/rails_app/test/performance/browsing_test.rb
132
+ - test/rails_app/test/test_helper.rb
133
+ - test/rails_app/test/unit/helpers/posts_helper_test.rb
134
+ - test/rails_app/test/unit/post_test.rb
135
+ - test/rails_app/test/unit/user_test.rb
136
+ - test/test_helper.rb
137
+ homepage: http://github.com/cschiewek/devise_ldap_authenticatable
138
+ licenses: []
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ none: false
145
+ requirements:
146
+ - - ! '>='
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
+ none: false
151
+ requirements:
152
+ - - ! '>='
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubyforge_project:
157
+ rubygems_version: 1.8.10
158
+ signing_key:
159
+ specification_version: 3
160
+ summary: LDAP authentication module for Devise
161
+ test_files: []