adauth 2.0.0pre1 → 2.0.0pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- adauth (2.0.0pre)
4
+ adauth (2.0.0pre1)
5
5
  net-ldap
6
6
 
7
7
  GEM
@@ -46,7 +46,7 @@ module Adauth
46
46
  if self.class::Fields.keys.include?(method)
47
47
  field = self.class::Fields[method]
48
48
  if field.is_a? Symbol
49
- return @ldap_object.send(field).to_s
49
+ return (@ldap_object.send(field).to_s).gsub(/\"|\[|\]/, "")
50
50
  elsif field.is_a? Array
51
51
  @ldap_object.send(field.first).collect(&field.last)
52
52
  end
@@ -1,4 +1,4 @@
1
1
  module Adauth
2
2
  # Adauths Version Number
3
- Version = "2.0.0pre1"
3
+ Version = "2.0.0pre2"
4
4
  end
metadata CHANGED
@@ -1,68 +1,71 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: adauth
3
- version: !ruby/object:Gem::Version
4
- prerelease: true
5
- segments:
6
- - 2
7
- - 0
8
- - 0pre1
9
- version: 2.0.0pre1
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.0.0pre2
5
+ prerelease: 5
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Adam "Arcath" Laycock
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2012-08-20 00:00:00 +01:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-11 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - ">="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 0
29
- version: "0"
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
30
22
  type: :development
31
- version_requirements: *id001
32
- - !ruby/object:Gem::Dependency
33
- name: rspec
34
23
  prerelease: false
35
- requirement: &id002 !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- segments:
40
- - 0
41
- version: "0"
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
42
38
  type: :development
43
- version_requirements: *id002
44
- - !ruby/object:Gem::Dependency
45
- name: net-ldap
46
39
  prerelease: false
47
- requirement: &id003 !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ">="
50
- - !ruby/object:Gem::Version
51
- segments:
52
- - 0
53
- version: "0"
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: net-ldap
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
54
  type: :runtime
55
- version_requirements: *id003
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
56
62
  description:
57
- email:
63
+ email:
58
64
  - gems@arcath.net
59
65
  executables: []
60
-
61
66
  extensions: []
62
-
63
67
  extra_rdoc_files: []
64
-
65
- files:
68
+ files:
66
69
  - .gitignore
67
70
  - .travis.yml
68
71
  - Gemfile
@@ -99,39 +102,31 @@ files:
99
102
  - spec/adauth_rails_model_bridge_spec.rb
100
103
  - spec/adauth_spec.rb
101
104
  - spec/spec_helper.rb
102
- has_rdoc: true
103
105
  homepage: http://adauth.arcath.net
104
106
  licenses: []
105
-
106
107
  post_install_message:
107
108
  rdoc_options: []
108
-
109
- require_paths:
109
+ require_paths:
110
110
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- segments:
116
- - 0
117
- version: "0"
118
- required_rubygems_version: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - ">"
121
- - !ruby/object:Gem::Version
122
- segments:
123
- - 1
124
- - 3
125
- - 1
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ! '>'
121
+ - !ruby/object:Gem::Version
126
122
  version: 1.3.1
127
123
  requirements: []
128
-
129
124
  rubyforge_project:
130
- rubygems_version: 1.3.6
125
+ rubygems_version: 1.8.23
131
126
  signing_key:
132
127
  specification_version: 3
133
128
  summary: Provides Active Directory authentication for Rails
134
- test_files:
129
+ test_files:
135
130
  - spec/adauth_ad_object_computer_spec.rb
136
131
  - spec/adauth_ad_object_group_spec.rb
137
132
  - spec/adauth_ad_object_ou_spec.rb
@@ -141,3 +136,4 @@ test_files:
141
136
  - spec/adauth_rails_model_bridge_spec.rb
142
137
  - spec/adauth_spec.rb
143
138
  - spec/spec_helper.rb
139
+ has_rdoc: