devise_ldap_authenticatable 0.7.0 → 0.8.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68e24de8c225dff39bf6640f3249b17c28d15a2b
4
- data.tar.gz: 68335d1a9e0bb5137a1629053f655cc051e019ec
3
+ metadata.gz: 548528afb06b9937883443ff08dcdfe51c050929
4
+ data.tar.gz: c35125610a1d1837b33ad0de333da30ed021f11c
5
5
  SHA512:
6
- metadata.gz: 16cc901376b48de4f8eeefd811e13272dd10763fe0ae66c42b59ca79cb0543c6a9c985142b43d52db3fc4e9c1e7c461bca9f907904664a6f2b25e34d4d191f46
7
- data.tar.gz: 9344876e0cf44b2b90fefef75d49346f5f0bffb01d2f4868fdfb9a56fcb68b58d0890ab7025acf8233600e98a4cf8b98476e4f09333fefa50d0b6cc986b9d933
6
+ metadata.gz: 72004032d5c0d27b2b9e370822c285da8b32e69df6b45291693317abab9337ba31701d41f8ffdf1b5a6e7275c569077e82c3f33cf9abb59c6192046800bb5ffc
7
+ data.tar.gz: de5183334fa0256b030c89b9dfd0385f6e52242a94142f42096410543beaabb464c1600926d2ded18a7aaa649b7e6e299ab07ca0f7c4c403fc5ea61074aeb8dc
data/.gitignore CHANGED
@@ -7,3 +7,4 @@ test/ldap/openldap-data/*
7
7
  test/ldap/openldap-data/run/slapd.*
8
8
  test/rails_app/tmp
9
9
  pkg/*
10
+ *.gem
data/README.md CHANGED
@@ -10,8 +10,10 @@ For a screencast with an example application, please visit: [http://random-rails
10
10
 
11
11
  Prerequisites
12
12
  -------------
13
- * devise ~> 2.0.0 (which requires rails ~> 3.1)
14
- * net-ldap ~> 0.2.2
13
+ * devise ~> 3.0.0 (which requires rails ~> 4.0)
14
+ * net-ldap ~> 0.3.1
15
+
16
+ Note: Rails 3.x / Devise 2.x has been moved to the 0.7 branch. All 0.7.x gems will support Rails 3, where as 0.8.x will support Rails 4.
15
17
 
16
18
  Usage
17
19
  -----
@@ -17,12 +17,12 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_dependency('devise', '~> 2.0')
20
+ s.add_dependency('devise', '3.0.0.rc')
21
21
  s.add_dependency('net-ldap', '~> 0.3.1')
22
22
 
23
23
  s.add_development_dependency('rake', '>= 0.9')
24
24
  s.add_development_dependency('rdoc', '>= 3')
25
- s.add_development_dependency('rails', '>= 3.2')
25
+ s.add_development_dependency('rails', '>= 4.0')
26
26
  s.add_development_dependency('sqlite3')
27
27
  s.add_development_dependency('factory_girl_rails', '~> 1.0')
28
28
  s.add_development_dependency('factory_girl', '~> 2.0')
@@ -1,3 +1,3 @@
1
1
  module DeviseLdapAuthenticatable
2
- VERSION = "0.7.0".freeze
2
+ VERSION = "0.8.0.pre".freeze
3
3
  end
@@ -4,7 +4,4 @@ class User < ActiveRecord::Base
4
4
  # :token_authenticatable, :confirmable, :lockable and :timeoutable
5
5
  devise :ldap_authenticatable, :registerable,
6
6
  :recoverable, :rememberable, :trackable# , :validatable
7
-
8
- # Setup accessible (or protected) attributes for your model
9
- attr_accessible :email, :password, :password_confirmation
10
- end
7
+ end
@@ -6,8 +6,8 @@ RailsApp::Application.configure do
6
6
  # since you don't have to restart the webserver when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
11
 
12
12
  # Show full error reports and disable caching
13
13
  config.consider_all_requests_local = true
@@ -7,8 +7,8 @@ RailsApp::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Log error messages when you accidentally call methods on nil.
11
- config.whiny_nils = true
10
+ # Do not eager load code on boot.
11
+ config.eager_load = false
12
12
 
13
13
  # Show full error reports and disable caching
14
14
  config.consider_all_requests_local = true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_ldap_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curtis Schiewek
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-20 00:00:00.000000000 Z
13
+ date: 2013-07-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: devise
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ~>
19
+ - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: '2.0'
21
+ version: 3.0.0.rc
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: '2.0'
28
+ version: 3.0.0.rc
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: net-ldap
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -74,14 +74,14 @@ dependencies:
74
74
  requirements:
75
75
  - - '>='
76
76
  - !ruby/object:Gem::Version
77
- version: '3.2'
77
+ version: '4.0'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - '>='
83
83
  - !ruby/object:Gem::Version
84
- version: '3.2'
84
+ version: '4.0'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: sqlite3
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -287,82 +287,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
287
287
  version: '0'
288
288
  required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  requirements:
290
- - - '>='
290
+ - - '>'
291
291
  - !ruby/object:Gem::Version
292
- version: '0'
292
+ version: 1.3.1
293
293
  requirements: []
294
294
  rubyforge_project:
295
- rubygems_version: 2.0.0
295
+ rubygems_version: 2.0.3
296
296
  signing_key:
297
297
  specification_version: 4
298
298
  summary: Devise extension to allow authentication via LDAP
299
- test_files:
300
- - spec/ldap/.gitignore
301
- - spec/ldap/base.ldif
302
- - spec/ldap/clear.ldif
303
- - spec/ldap/local.schema
304
- - spec/ldap/openldap-data/.gitignore
305
- - spec/ldap/openldap-data/run/.gitignore
306
- - spec/ldap/openldap-data/run/.gitkeep
307
- - spec/ldap/run-server
308
- - spec/ldap/server.pem
309
- - spec/ldap/slapd-test.conf.erb
310
- - spec/rails_app/Rakefile
311
- - spec/rails_app/app/controllers/application_controller.rb
312
- - spec/rails_app/app/controllers/posts_controller.rb
313
- - spec/rails_app/app/helpers/application_helper.rb
314
- - spec/rails_app/app/helpers/posts_helper.rb
315
- - spec/rails_app/app/models/post.rb
316
- - spec/rails_app/app/models/user.rb
317
- - spec/rails_app/app/views/layouts/application.html.erb
318
- - spec/rails_app/app/views/posts/index.html.erb
319
- - spec/rails_app/config.ru
320
- - spec/rails_app/config/application.rb
321
- - spec/rails_app/config/boot.rb
322
- - spec/rails_app/config/cucumber.yml
323
- - spec/rails_app/config/database.yml
324
- - spec/rails_app/config/environment.rb
325
- - spec/rails_app/config/environments/development.rb
326
- - spec/rails_app/config/environments/production.rb
327
- - spec/rails_app/config/environments/test.rb
328
- - spec/rails_app/config/initializers/backtrace_silencers.rb
329
- - spec/rails_app/config/initializers/devise.rb
330
- - spec/rails_app/config/initializers/inflections.rb
331
- - spec/rails_app/config/initializers/mime_types.rb
332
- - spec/rails_app/config/initializers/secret_token.rb
333
- - spec/rails_app/config/initializers/session_store.rb
334
- - spec/rails_app/config/ldap.yml
335
- - spec/rails_app/config/ldap_with_boolean_ssl.yml
336
- - spec/rails_app/config/ldap_with_erb.yml
337
- - spec/rails_app/config/ldap_with_uid.yml
338
- - spec/rails_app/config/locales/devise.en.yml
339
- - spec/rails_app/config/locales/en.yml
340
- - spec/rails_app/config/routes.rb
341
- - spec/rails_app/config/ssl_ldap.yml
342
- - spec/rails_app/config/ssl_ldap_with_erb.yml
343
- - spec/rails_app/config/ssl_ldap_with_uid.yml
344
- - spec/rails_app/db/migrate/20100708120448_devise_create_users.rb
345
- - spec/rails_app/db/schema.rb
346
- - spec/rails_app/features/manage_logins.feature
347
- - spec/rails_app/features/step_definitions/login_steps.rb
348
- - spec/rails_app/features/step_definitions/web_steps.rb
349
- - spec/rails_app/features/support/env.rb
350
- - spec/rails_app/features/support/paths.rb
351
- - spec/rails_app/lib/tasks/.gitkeep
352
- - spec/rails_app/lib/tasks/cucumber.rake
353
- - spec/rails_app/public/404.html
354
- - spec/rails_app/public/422.html
355
- - spec/rails_app/public/500.html
356
- - spec/rails_app/public/images/rails.png
357
- - spec/rails_app/public/javascripts/application.js
358
- - spec/rails_app/public/javascripts/controls.js
359
- - spec/rails_app/public/javascripts/dragdrop.js
360
- - spec/rails_app/public/javascripts/effects.js
361
- - spec/rails_app/public/javascripts/prototype.js
362
- - spec/rails_app/public/javascripts/rails.js
363
- - spec/rails_app/public/stylesheets/.gitkeep
364
- - spec/rails_app/script/cucumber
365
- - spec/rails_app/script/rails
366
- - spec/spec_helper.rb
367
- - spec/support/factories.rb
368
- - spec/unit/user_spec.rb
299
+ test_files: []