active_directory_login 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c892e5b739bd1f8cd09c4a398b85fa08e59d7134
4
- data.tar.gz: ba290b49088433670ae44dce6a1c047f61bfa4a5
3
+ metadata.gz: 2f372c1224af276b1408eea08fe1a6a363df35a7
4
+ data.tar.gz: 270a0f4d03a14e50e6c92fe7597bb95ebd7a9302
5
5
  SHA512:
6
- metadata.gz: 394ec0c6b95043a8bcad2975e8c8cbe2ea2dbb1b852680e6d572202c0b2bd22eff3ac16aefb9f715ce4f59171395dc11d261640a1c21d664dbd2351d503df1f0
7
- data.tar.gz: a2a0f4dbcddbc9884cacfc8033d4023a7f6e9fe28645e267e90349336b4b60e77c60c4a89592bb18fca3760ca5f7d9058f5ddca9f7d2094ece9264a33093452e
6
+ metadata.gz: fd69338bb3db4393900f8d642b81f698af5f6644e2b6181ea4d697b169029d66589d6607b3f6b3bf3e69113a26c3b96c9249ac46766d634b02de8cc76c5525dc
7
+ data.tar.gz: cb0bdae8e08b77978043cb73016a0c6b1f032b5b96cb1e627c671d0cd29c734e92a96ebc86a3ea47351a06f619fb725f5123afdfd5cc743d8dbddf52e48c5a72
@@ -102,7 +102,8 @@ module ActiveDirectoryLogin
102
102
  user = @query.first_or_initialize(
103
103
  name: "#{@ad_user.givenname} #{@ad_user.sn}",
104
104
  email: @ad_user.mail.downcase,
105
- username: @ad_user[:sAMAccountName]
105
+ username: @ad_user[:sAMAccountName].downcase,
106
+ provider: User::LDAP
106
107
  )
107
108
 
108
109
  # Update the user's password and permissions (can't use update_attributes as it might not be saved yet)
@@ -1,3 +1,3 @@
1
1
  module ActiveDirectoryLogin
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_directory_login
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brad Murray
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-02 00:00:00.000000000 Z
11
+ date: 2014-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -172,7 +172,6 @@ extensions: []
172
172
  extra_rdoc_files: []
173
173
  files:
174
174
  - Gemfile
175
- - Gemfile.lock
176
175
  - LICENSE.txt
177
176
  - README.md
178
177
  - Rakefile
@@ -1,137 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- active_directory_login (0.0.1)
5
- datacom-net-ldap (= 0.5.0.datacom)
6
- datacom_active_directory (= 1.5.5.datacom)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionmailer (4.0.3)
12
- actionpack (= 4.0.3)
13
- mail (~> 2.5.4)
14
- actionpack (4.0.3)
15
- activesupport (= 4.0.3)
16
- builder (~> 3.1.0)
17
- erubis (~> 2.7.0)
18
- rack (~> 1.5.2)
19
- rack-test (~> 0.6.2)
20
- activemodel (4.0.3)
21
- activesupport (= 4.0.3)
22
- builder (~> 3.1.0)
23
- activerecord (4.0.3)
24
- activemodel (= 4.0.3)
25
- activerecord-deprecated_finders (~> 1.0.2)
26
- activesupport (= 4.0.3)
27
- arel (~> 4.0.0)
28
- activerecord-deprecated_finders (1.0.3)
29
- activesupport (4.0.3)
30
- i18n (~> 0.6, >= 0.6.4)
31
- minitest (~> 4.2)
32
- multi_json (~> 1.3)
33
- thread_safe (~> 0.1)
34
- tzinfo (~> 0.3.37)
35
- arel (4.0.2)
36
- atomic (1.1.15)
37
- bcrypt (3.1.7)
38
- bcrypt-ruby (3.1.5)
39
- bcrypt (>= 3.1.3)
40
- builder (3.1.4)
41
- coderay (1.1.0)
42
- datacom-net-ldap (0.5.0.datacom)
43
- datacom_active_directory (1.5.5.datacom)
44
- datacom-net-ldap (= 0.5.0.datacom)
45
- devise (3.0.0)
46
- bcrypt-ruby (~> 3.0)
47
- orm_adapter (~> 0.1)
48
- railties (>= 3.2.6, < 5)
49
- warden (~> 1.2.3)
50
- diff-lcs (1.2.5)
51
- erubis (2.7.0)
52
- flexmock (1.3.3)
53
- hike (1.2.3)
54
- i18n (0.6.9)
55
- mail (2.5.4)
56
- mime-types (~> 1.16)
57
- treetop (~> 1.4.8)
58
- method_source (0.8.2)
59
- mime-types (1.25.1)
60
- minitest (4.7.5)
61
- multi_json (1.8.4)
62
- orm_adapter (0.5.0)
63
- polyglot (0.3.4)
64
- pry (0.9.12.6)
65
- coderay (~> 1.0)
66
- method_source (~> 0.8)
67
- slop (~> 3.4)
68
- rack (1.5.2)
69
- rack-test (0.6.2)
70
- rack (>= 1.0)
71
- rails (4.0.3)
72
- actionmailer (= 4.0.3)
73
- actionpack (= 4.0.3)
74
- activerecord (= 4.0.3)
75
- activesupport (= 4.0.3)
76
- bundler (>= 1.3.0, < 2.0)
77
- railties (= 4.0.3)
78
- sprockets-rails (~> 2.0.0)
79
- railties (4.0.3)
80
- actionpack (= 4.0.3)
81
- activesupport (= 4.0.3)
82
- rake (>= 0.8.7)
83
- thor (>= 0.18.1, < 2.0)
84
- rake (10.1.1)
85
- rspec (2.14.1)
86
- rspec-core (~> 2.14.0)
87
- rspec-expectations (~> 2.14.0)
88
- rspec-mocks (~> 2.14.0)
89
- rspec-core (2.14.7)
90
- rspec-expectations (2.14.5)
91
- diff-lcs (>= 1.1.3, < 2.0)
92
- rspec-mocks (2.14.6)
93
- rspec-rails (2.14.1)
94
- actionpack (>= 3.0)
95
- activemodel (>= 3.0)
96
- activesupport (>= 3.0)
97
- railties (>= 3.0)
98
- rspec-core (~> 2.14.0)
99
- rspec-expectations (~> 2.14.0)
100
- rspec-mocks (~> 2.14.0)
101
- slop (3.4.7)
102
- sprockets (2.11.0)
103
- hike (~> 1.2)
104
- multi_json (~> 1.0)
105
- rack (~> 1.0)
106
- tilt (~> 1.1, != 1.3.0)
107
- sprockets-rails (2.0.1)
108
- actionpack (>= 3.0)
109
- activesupport (>= 3.0)
110
- sprockets (~> 2.8)
111
- thor (0.18.1)
112
- thread_safe (0.2.0)
113
- atomic (>= 1.1.7, < 2)
114
- tilt (1.4.1)
115
- treetop (1.4.15)
116
- polyglot
117
- polyglot (>= 0.3.1)
118
- tzinfo (0.3.38)
119
- warden (1.2.3)
120
- rack (>= 1.0)
121
-
122
- PLATFORMS
123
- ruby
124
-
125
- DEPENDENCIES
126
- active_directory_login!
127
- bundler (~> 1.3)
128
- datacom-net-ldap
129
- datacom_active_directory
130
- devise (= 3.0.0)
131
- flexmock
132
- pry
133
- rails (~> 4.0)
134
- rake
135
- rspec (~> 2.14)
136
- rspec-rails (~> 2.14)
137
- warden