mc-openid 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'open_id_authentication/lib/open_id_authentication'
2
+ require 'gapps_openid'
2
3
 
3
4
  module ModCloth
4
5
  module OpenID
@@ -6,11 +7,7 @@ module ModCloth
6
7
 
7
8
 
8
9
  def check_openid
9
- unless session && session[:user_email]
10
- open_id_authentication("https://www.google.com/accounts/o8/site-xrds?hd=modcloth.com")
11
- else
12
- session
13
- end
10
+ open_id_authentication("https://www.google.com/accounts/o8/site-xrds?hd=modcloth.com")
14
11
  end
15
12
 
16
13
  def open_id_authentication(openid_url)
@@ -1,5 +1,5 @@
1
1
  module ModCloth
2
2
  module OpenID
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mc-openid
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease:
4
+ hash: 25
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luis Flores, Juan Esparza, Rudy Sombillo, Sergio Figueroa
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 -08:00
18
+ date: 2011-01-26 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements: []
90
90
 
91
91
  rubyforge_project: mc-openid
92
- rubygems_version: 1.4.2
92
+ rubygems_version: 1.3.7
93
93
  signing_key:
94
94
  specification_version: 3
95
95
  summary: summary