devise_wind 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/devise_wind/strategy.rb +2 -1
- data/lib/devise_wind/version.rb +1 -1
- metadata +4 -4
data/lib/devise_wind/strategy.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require 'net/
|
1
|
+
require 'net/https'
|
2
2
|
class Devise::Strategies::WindAuthenticatable < Devise::Strategies::Authenticatable
|
3
3
|
include Warden::Mixins::Urls
|
4
4
|
# :stopdoc:
|
@@ -83,6 +83,7 @@ class Devise::Strategies::WindAuthenticatable < Devise::Strategies::Authenticata
|
|
83
83
|
validate_path = "/validate?ticketid=#{ticket_id}"
|
84
84
|
wind_validate = Net::HTTP.new("wind.columbia.edu",443)
|
85
85
|
wind_validate.use_ssl = true
|
86
|
+
wind_validate.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
86
87
|
wind_validate.start
|
87
88
|
wind_resp = wind_validate.get(validate_path)
|
88
89
|
wind_validate.finish
|
data/lib/devise_wind/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_wind
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Benjamin Armintor, James Stuart
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-06-
|
18
|
+
date: 2012-06-20 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rails
|