devise_wind 1.0.2 → 1.0.3

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.
@@ -1,4 +1,4 @@
1
- require 'net/http'
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
@@ -1,3 +1,3 @@
1
1
  module DeviseWind
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
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-12 00:00:00 Z
18
+ date: 2012-06-20 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails