rack-openid 1.0.0 → 1.0.1

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.
Files changed (3) hide show
  1. data/LICENSE +1 -1
  2. data/lib/rack/openid.rb +1 -1
  3. metadata +2 -22
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 Joshua Peek
1
+ Copyright (c) 2010 Joshua Peek
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/lib/rack/openid.rb CHANGED
@@ -91,7 +91,7 @@ module Rack #:nodoc:
91
91
  # returns a <tt>[status, header, body]</tt> response.
92
92
  def call(env)
93
93
  req = Rack::Request.new(env)
94
- if env["REQUEST_METHOD"] == "GET" && req.GET["openid.mode"]
94
+ if req.params["openid.mode"]
95
95
  complete_authentication(env)
96
96
  end
97
97
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-openid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Peek
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-18 00:00:00 -06:00
12
+ date: 2010-02-22 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,26 +32,6 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.1.6
34
34
  version:
35
- - !ruby/object:Gem::Dependency
36
- name: mocha
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- version: 0.9.7
44
- version:
45
- - !ruby/object:Gem::Dependency
46
- name: roman-rots
47
- type: :development
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 0.2.1
54
- version:
55
35
  description: " Rack::OpenID provides a more HTTPish API around the ruby-openid library.\n"
56
36
  email: josh@joshpeek.com
57
37
  executables: []