devise_ldap_authenticatable 0.4.4 → 0.4.5

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.
data/README.md CHANGED
@@ -15,11 +15,11 @@ Requirements
15
15
  ------------
16
16
 
17
17
  - An LDAP server (tested on OpenLDAP)
18
- - Rails 3.0.0.rc
18
+ - Rails 3.0.0
19
19
 
20
20
  These gems are dependencies of the gem:
21
21
 
22
- - Devise 1.1.1
22
+ - Devise 1.1.2
23
23
  - net-ldap 0.1.1
24
24
 
25
25
  Installation
@@ -31,8 +31,8 @@ This will *only* work for Rails 3 applications.
31
31
 
32
32
  In the Gemfile for your application:
33
33
 
34
- gem "devise", "1.1.1"
35
- gem "devise_ldap_authenticatable", "0.4.4"
34
+ gem "devise", "1.1.2"
35
+ gem "devise_ldap_authenticatable", "0.4.5"
36
36
 
37
37
  To get the latest version, pull directly from github instead of the gem:
38
38
 
@@ -42,20 +42,26 @@ To get the latest version, pull directly from github instead of the gem:
42
42
  Setup
43
43
  -----
44
44
 
45
- Run the rails generator
45
+ Run the rails generators for devise (please check the [devise](http://github.com/plataformatec/devise) documents for further instructions)
46
+
47
+ rails generate devise:install
48
+ rails generate devise MODEL_NAME
49
+
50
+ Run the rails generator for devise_ldap_authenticatable
46
51
 
47
52
  rails generate devise_ldap_authenticatable:install [options]
48
53
 
49
54
  This will install the sample.yml, update the devise.rb initializer, and update your user model. There are some options you can pass to it:
50
55
 
51
56
  Options:
52
- [--user-model=USER_MODEL] # Model to update
53
- # Default: user
54
- [--update-model] # Update model to change from database_authenticatable to ldap_authenticatable
55
- # Default: true
56
- [--add-rescue] # Update Application Controller with resuce_from for DeviseLdapAuthenticatable::LdapException
57
- # Default: true
58
- [--advanced] # Add advanced config options to the devise initializer
57
+
58
+ [--user-model=USER_MODEL] # Model to update
59
+ # Default: user
60
+ [--update-model] # Update model to change from database_authenticatable to ldap_authenticatable
61
+ # Default: true
62
+ [--add-rescue] # Update Application Controller with resuce_from for DeviseLdapAuthenticatable::LdapException
63
+ # Default: true
64
+ [--advanced] # Add advanced config options to the devise initializer
59
65
 
60
66
 
61
67
  Usage
data/Rakefile CHANGED
@@ -43,8 +43,8 @@ begin
43
43
  gemspec.email = "curtis.schiewek@gmail.com"
44
44
  gemspec.homepage = "http://github.com/cschiewek/devise_ldap_authenticatable"
45
45
  gemspec.authors = ["Curtis Schiewek", "Daniel McNevin"]
46
- gemspec.add_runtime_dependency "devise", "> 1.0.4"
47
- gemspec.add_runtime_dependency "net-ldap", ">= 0.1.1"
46
+ gemspec.add_runtime_dependency "devise", "1.1.2"
47
+ gemspec.add_runtime_dependency "net-ldap", "0.1.1"
48
48
  end
49
49
  Jeweler::GemcutterTasks.new
50
50
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.4
1
+ 0.4.5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{devise_ldap_authenticatable}
8
- s.version = "0.4.4"
8
+ s.version = "0.4.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Curtis Schiewek", "Daniel McNevin"]
12
- s.date = %q{2010-08-14}
12
+ s.date = %q{2010-08-30}
13
13
  s.description = %q{LDAP authentication module for Devise}
14
14
  s.email = %q{curtis.schiewek@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -159,15 +159,15 @@ Gem::Specification.new do |s|
159
159
  s.specification_version = 3
160
160
 
161
161
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
162
- s.add_runtime_dependency(%q<devise>, ["> 1.0.4"])
163
- s.add_runtime_dependency(%q<net-ldap>, [">= 0.1.1"])
162
+ s.add_runtime_dependency(%q<devise>, ["= 1.1.2"])
163
+ s.add_runtime_dependency(%q<net-ldap>, ["= 0.1.1"])
164
164
  else
165
- s.add_dependency(%q<devise>, ["> 1.0.4"])
166
- s.add_dependency(%q<net-ldap>, [">= 0.1.1"])
165
+ s.add_dependency(%q<devise>, ["= 1.1.2"])
166
+ s.add_dependency(%q<net-ldap>, ["= 0.1.1"])
167
167
  end
168
168
  else
169
- s.add_dependency(%q<devise>, ["> 1.0.4"])
170
- s.add_dependency(%q<net-ldap>, [">= 0.1.1"])
169
+ s.add_dependency(%q<devise>, ["= 1.1.2"])
170
+ s.add_dependency(%q<net-ldap>, ["= 0.1.1"])
171
171
  end
172
172
  end
173
173
 
@@ -1,4 +1,4 @@
1
1
  module DeviseLdapAuthenticatable
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
4
4
 
@@ -1,9 +1,9 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '3.0.0.rc'
3
+ gem 'rails', '3.0.0'
4
4
  gem 'sqlite3-ruby', :require => 'sqlite3'
5
5
 
6
- gem "devise", "1.1.1"
6
+ gem "devise", "1.1.2"
7
7
  gem "devise_ldap_authenticatable", :path => "../../"
8
8
 
9
9
  group :test do
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/dpmcnevin/Rails/devise_ldap_authenticatable
3
3
  specs:
4
- devise_ldap_authenticatable (0.4.3)
4
+ devise_ldap_authenticatable (0.4.4)
5
5
  devise (> 1.0.4)
6
6
  net-ldap (>= 0.1.1)
7
7
 
@@ -10,34 +10,34 @@ GEM
10
10
  specs:
11
11
  ZenTest (4.3.3)
12
12
  abstract (1.0.0)
13
- actionmailer (3.0.0.rc)
14
- actionpack (= 3.0.0.rc)
13
+ actionmailer (3.0.0)
14
+ actionpack (= 3.0.0)
15
15
  mail (~> 2.2.5)
16
- actionpack (3.0.0.rc)
17
- activemodel (= 3.0.0.rc)
18
- activesupport (= 3.0.0.rc)
16
+ actionpack (3.0.0)
17
+ activemodel (= 3.0.0)
18
+ activesupport (= 3.0.0)
19
19
  builder (~> 2.1.2)
20
20
  erubis (~> 2.6.6)
21
21
  i18n (~> 0.4.1)
22
22
  rack (~> 1.2.1)
23
- rack-mount (~> 0.6.9)
23
+ rack-mount (~> 0.6.12)
24
24
  rack-test (~> 0.5.4)
25
- tzinfo (~> 0.3.22)
26
- activemodel (3.0.0.rc)
27
- activesupport (= 3.0.0.rc)
25
+ tzinfo (~> 0.3.23)
26
+ activemodel (3.0.0)
27
+ activesupport (= 3.0.0)
28
28
  builder (~> 2.1.2)
29
29
  i18n (~> 0.4.1)
30
- activerecord (3.0.0.rc)
31
- activemodel (= 3.0.0.rc)
32
- activesupport (= 3.0.0.rc)
33
- arel (~> 0.4.0)
34
- tzinfo (~> 0.3.22)
35
- activeresource (3.0.0.rc)
36
- activemodel (= 3.0.0.rc)
37
- activesupport (= 3.0.0.rc)
38
- activesupport (3.0.0.rc)
39
- arel (0.4.0)
40
- activesupport (>= 3.0.0.beta)
30
+ activerecord (3.0.0)
31
+ activemodel (= 3.0.0)
32
+ activesupport (= 3.0.0)
33
+ arel (~> 1.0.0)
34
+ tzinfo (~> 0.3.23)
35
+ activeresource (3.0.0)
36
+ activemodel (= 3.0.0)
37
+ activesupport (= 3.0.0)
38
+ activesupport (3.0.0)
39
+ arel (1.0.1)
40
+ activesupport (~> 3.0.0)
41
41
  autotest (4.3.2)
42
42
  autotest-growl (0.2.4)
43
43
  autotest (>= 4.2.4)
@@ -52,7 +52,6 @@ GEM
52
52
  rack (>= 1.0.0)
53
53
  rack-test (>= 0.5.4)
54
54
  selenium-webdriver (>= 0.0.3)
55
- columnize (0.3.1)
56
55
  configuration (1.1.0)
57
56
  cucumber (0.8.5)
58
57
  builder (~> 2.1.2)
@@ -62,15 +61,15 @@ GEM
62
61
  term-ansicolor (~> 1.0.4)
63
62
  cucumber-rails (0.3.2)
64
63
  cucumber (>= 0.8.0)
65
- culerity (0.2.10)
64
+ culerity (0.2.12)
66
65
  database_cleaner (0.5.2)
67
- devise (1.1.1)
66
+ devise (1.1.2)
68
67
  bcrypt-ruby (~> 2.1.2)
69
68
  warden (~> 0.10.7)
70
69
  diff-lcs (1.1.2)
71
70
  erubis (2.6.6)
72
71
  abstract (>= 1.0.0)
73
- factory_girl (1.3.1)
72
+ factory_girl (1.3.2)
74
73
  factory_girl_rails (1.0)
75
74
  factory_girl (~> 1.3)
76
75
  rails (>= 3.0.0.beta4)
@@ -79,11 +78,10 @@ GEM
79
78
  gherkin (2.1.5)
80
79
  trollop (~> 1.16.2)
81
80
  i18n (0.4.1)
82
- json_pure (1.4.3)
81
+ json_pure (1.4.6)
83
82
  launchy (0.3.7)
84
83
  configuration (>= 0.0.5)
85
84
  rake (>= 0.8.1)
86
- linecache (0.43)
87
85
  mail (2.2.5)
88
86
  activesupport (>= 2.3.6)
89
87
  mime-types
@@ -95,43 +93,37 @@ GEM
95
93
  nokogiri (1.4.3.1)
96
94
  polyglot (0.3.1)
97
95
  rack (1.2.1)
98
- rack-mount (0.6.9)
96
+ rack-mount (0.6.12)
99
97
  rack (>= 1.0.0)
100
98
  rack-test (0.5.4)
101
99
  rack (>= 1.0)
102
- rails (3.0.0.rc)
103
- actionmailer (= 3.0.0.rc)
104
- actionpack (= 3.0.0.rc)
105
- activerecord (= 3.0.0.rc)
106
- activeresource (= 3.0.0.rc)
107
- activesupport (= 3.0.0.rc)
108
- bundler (>= 1.0.0.rc.1)
109
- railties (= 3.0.0.rc)
110
- railties (3.0.0.rc)
111
- actionpack (= 3.0.0.rc)
112
- activesupport (= 3.0.0.rc)
113
- rake (>= 0.8.3)
100
+ rails (3.0.0)
101
+ actionmailer (= 3.0.0)
102
+ actionpack (= 3.0.0)
103
+ activerecord (= 3.0.0)
104
+ activeresource (= 3.0.0)
105
+ activesupport (= 3.0.0)
106
+ bundler (~> 1.0.0)
107
+ railties (= 3.0.0)
108
+ railties (3.0.0)
109
+ actionpack (= 3.0.0)
110
+ activesupport (= 3.0.0)
111
+ rake (>= 0.8.4)
114
112
  thor (~> 0.14.0)
115
113
  rake (0.8.7)
116
- redgreen (1.2.2)
117
- ruby-debug (0.10.3)
118
- columnize (>= 0.1)
119
- ruby-debug-base (~> 0.10.3.0)
120
- ruby-debug-base (0.10.3)
121
- linecache (>= 0.3)
122
114
  rubyzip (0.9.4)
123
- selenium-webdriver (0.0.27)
115
+ selenium-webdriver (0.0.28)
124
116
  ffi (>= 0.6.1)
125
117
  json_pure
126
118
  rubyzip
127
- shoulda (2.11.1)
119
+ shoulda (2.11.3)
128
120
  sqlite3-ruby (1.3.1)
129
121
  term-ansicolor (1.0.5)
130
122
  thor (0.14.0)
131
123
  treetop (1.4.8)
132
124
  polyglot (>= 0.3.1)
133
125
  trollop (1.16.2)
134
- tzinfo (0.3.22)
126
+ tzinfo (0.3.23)
135
127
  warden (0.10.7)
136
128
  rack (>= 1.0.0)
137
129
 
@@ -145,13 +137,11 @@ DEPENDENCIES
145
137
  capybara
146
138
  cucumber-rails
147
139
  database_cleaner
148
- devise (= 1.1.1)
140
+ devise (= 1.1.2)
149
141
  devise_ldap_authenticatable!
150
142
  factory_girl_rails
151
143
  launchy
152
144
  mocha
153
- rails (= 3.0.0.rc)
154
- redgreen
155
- ruby-debug
145
+ rails (= 3.0.0)
156
146
  shoulda
157
147
  sqlite3-ruby
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_ldap_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 4
10
- version: 0.4.4
9
+ - 5
10
+ version: 0.4.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Curtis Schiewek
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-08-14 00:00:00 -04:00
19
+ date: 2010-08-30 00:00:00 -04:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -25,14 +25,14 @@ dependencies:
25
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
- - - ">"
28
+ - - "="
29
29
  - !ruby/object:Gem::Version
30
- hash: 31
30
+ hash: 23
31
31
  segments:
32
32
  - 1
33
- - 0
34
- - 4
35
- version: 1.0.4
33
+ - 1
34
+ - 2
35
+ version: 1.1.2
36
36
  type: :runtime
37
37
  version_requirements: *id001
38
38
  - !ruby/object:Gem::Dependency
@@ -41,7 +41,7 @@ dependencies:
41
41
  requirement: &id002 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
- - - ">="
44
+ - - "="
45
45
  - !ruby/object:Gem::Version
46
46
  hash: 25
47
47
  segments: