devise_cas_authenticatable 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  # Changelog for devise\_cas\_authenticatable
2
2
 
3
+ ## Version 1.1.2 - May 23, 2012
4
+
5
+ * Only do schema stuff if using Devise 2.0.x or below
6
+
3
7
  ## Version 1.1.1 - April 2, 2012
4
8
 
5
9
  * Add cas_client_config_options so that users can add unsupported RubyCAS options such as encode_extra_attributes_as
@@ -14,7 +14,7 @@ GIT
14
14
  PATH
15
15
  remote: .
16
16
  specs:
17
- devise_cas_authenticatable (1.1.1)
17
+ devise_cas_authenticatable (1.1.2)
18
18
  devise (>= 1.0.6)
19
19
  rubycas-client (>= 2.2.1)
20
20
 
@@ -64,9 +64,9 @@ GEM
64
64
  ffi (~> 1.0.6)
65
65
  coderay (0.9.8)
66
66
  crypt-isaac (0.9.1)
67
- devise (2.0.4)
67
+ devise (2.1.0)
68
68
  bcrypt-ruby (~> 3.0)
69
- orm_adapter (~> 0.0.3)
69
+ orm_adapter (~> 0.0.7)
70
70
  railties (~> 3.1)
71
71
  warden (~> 1.1.1)
72
72
  diff-lcs (1.1.3)
@@ -74,7 +74,7 @@ GEM
74
74
  ffi (1.0.11)
75
75
  hike (1.2.1)
76
76
  i18n (0.6.0)
77
- json (1.6.4)
77
+ json (1.7.3)
78
78
  json_pure (1.6.1)
79
79
  launchy (2.0.5)
80
80
  addressable (~> 2.2.6)
@@ -88,9 +88,9 @@ GEM
88
88
  mime-types (1.17.2)
89
89
  mocha (0.10.0)
90
90
  metaclass (~> 0.0.1)
91
- multi_json (1.0.4)
91
+ multi_json (1.3.5)
92
92
  nokogiri (1.5.0)
93
- orm_adapter (0.0.6)
93
+ orm_adapter (0.0.7)
94
94
  polyglot (0.3.3)
95
95
  pry (0.9.7.3)
96
96
  coderay (~> 0.9.8)
@@ -98,7 +98,7 @@ GEM
98
98
  ruby_parser (>= 2.3.1)
99
99
  slop (~> 2.1.0)
100
100
  rack (1.3.6)
101
- rack-cache (1.1)
101
+ rack-cache (1.2)
102
102
  rack (>= 0.4)
103
103
  rack-mount (0.8.3)
104
104
  rack (>= 1.0.0)
@@ -124,7 +124,7 @@ GEM
124
124
  rdoc (~> 3.4)
125
125
  thor (~> 0.14.6)
126
126
  rake (0.9.2.2)
127
- rdoc (3.11)
127
+ rdoc (3.12)
128
128
  json (~> 1.4)
129
129
  rspec (2.7.0)
130
130
  rspec-core (~> 2.7.0)
@@ -158,7 +158,7 @@ GEM
158
158
  rack-protection (~> 1.2)
159
159
  tilt (~> 1.3, >= 1.3.3)
160
160
  slop (2.1.0)
161
- sprockets (2.1.1)
161
+ sprockets (2.1.3)
162
162
  hike (~> 1.2)
163
163
  rack (~> 1.0)
164
164
  tilt (~> 1.1, != 1.3.0)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{devise_cas_authenticatable}
5
- s.version = "1.1.1"
5
+ s.version = "1.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Nat Budin", "Jeremy Haile"]
@@ -1,15 +1,20 @@
1
- require 'devise/schema'
1
+ require 'devise/version'
2
2
 
3
- module Devise
4
- module Schema
5
- # Adds the required fields for cas_authenticatable to the schema. Currently
6
- # this is just username (String).
7
- def cas_authenticatable
8
- if respond_to? :apply_devise_schema
9
- apply_devise_schema :username, String
10
- else
11
- apply_schema :username, String
3
+ # Devise 2.1 removes schema stuff
4
+ if Devise::VERSION < "2.1"
5
+ require 'devise/schema'
6
+
7
+ module Devise
8
+ module Schema
9
+ # Adds the required fields for cas_authenticatable to the schema. Currently
10
+ # this is just username (String).
11
+ def cas_authenticatable
12
+ if respond_to? :apply_devise_schema
13
+ apply_devise_schema :username, String
14
+ else
15
+ apply_schema :username, String
16
+ end
12
17
  end
13
18
  end
14
19
  end
15
- end
20
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise_cas_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-04-02 00:00:00.000000000 Z
13
+ date: 2012-05-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: devise
17
- requirement: &70115849206480 !ruby/object:Gem::Requirement
17
+ requirement: &70287163104420 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.0.6
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70115849206480
25
+ version_requirements: *70287163104420
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rubycas-client
28
- requirement: &70115849206000 !ruby/object:Gem::Requirement
28
+ requirement: &70287163103900 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70115849206000
36
+ version_requirements: *70287163103900
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rails
39
- requirement: &70115849205520 !ruby/object:Gem::Requirement
39
+ requirement: &70287163103300 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 3.0.7
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70115849205520
47
+ version_requirements: *70287163103300
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rspec-rails
50
- requirement: &70115849204900 !ruby/object:Gem::Requirement
50
+ requirement: &70287163102760 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 2.6.1
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70115849204900
58
+ version_requirements: *70287163102760
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: mocha
61
- requirement: &70115849204480 !ruby/object:Gem::Requirement
61
+ requirement: &70287163102340 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70115849204480
69
+ version_requirements: *70287163102340
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: shoulda
72
- requirement: &70115849432020 !ruby/object:Gem::Requirement
72
+ requirement: &70287163101840 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70115849432020
80
+ version_requirements: *70287163101840
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: sqlite3-ruby
83
- requirement: &70115849431580 !ruby/object:Gem::Requirement
83
+ requirement: &70287163101380 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70115849431580
91
+ version_requirements: *70287163101380
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: sham_rack
94
- requirement: &70115849431160 !ruby/object:Gem::Requirement
94
+ requirement: &70287163100860 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: '0'
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70115849431160
102
+ version_requirements: *70287163100860
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: capybara
105
- requirement: &70115849430740 !ruby/object:Gem::Requirement
105
+ requirement: &70287163116740 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ! '>='
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: '0'
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *70115849430740
113
+ version_requirements: *70287163116740
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: crypt-isaac
116
- requirement: &70115849430320 !ruby/object:Gem::Requirement
116
+ requirement: &70287163115900 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ! '>='
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *70115849430320
124
+ version_requirements: *70287163115900
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: launchy
127
- requirement: &70115849429860 !ruby/object:Gem::Requirement
127
+ requirement: &70287163115460 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ! '>='
@@ -132,10 +132,10 @@ dependencies:
132
132
  version: '0'
133
133
  type: :development
134
134
  prerelease: false
135
- version_requirements: *70115849429860
135
+ version_requirements: *70287163115460
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: pry
138
- requirement: &70115849429440 !ruby/object:Gem::Requirement
138
+ requirement: &70287163114920 !ruby/object:Gem::Requirement
139
139
  none: false
140
140
  requirements:
141
141
  - - ! '>='
@@ -143,7 +143,7 @@ dependencies:
143
143
  version: '0'
144
144
  type: :development
145
145
  prerelease: false
146
- version_requirements: *70115849429440
146
+ version_requirements: *70287163114920
147
147
  description: CAS authentication module for Devise
148
148
  email: natbudin@gmail.com
149
149
  executables: []
@@ -223,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
223
223
  version: '0'
224
224
  segments:
225
225
  - 0
226
- hash: 3652027784105001669
226
+ hash: 3628489376454156530
227
227
  required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  none: false
229
229
  requirements: