warden-github 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,13 +55,3 @@ Warden::Strategies.add(:github) do
55
55
  "#{request.scheme}://#{request.host}#{port_part}#{suffix}"
56
56
  end
57
57
  end
58
-
59
- Warden::Manager.after_authentication do |user, proxy, opts|
60
- redirect_to = proxy.env['rack.session']['return_to']
61
- proxy.env['rack.session'].delete('return_to')
62
- if redirect_to
63
- response = Rack::Response.new
64
- response.redirect redirect_to
65
- throw :warden, response.finish
66
- end
67
- end
@@ -1,5 +1,5 @@
1
1
  module Warden
2
2
  module Github
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,9 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
+ require 'warden-github/version'
5
+
4
6
  Gem::Specification.new do |s|
5
7
  s.name = "warden-github"
6
- s.version = "0.1.0"
8
+ s.version = Warden::Github::VERSION
7
9
  s.platform = Gem::Platform::RUBY
8
10
  s.authors = ["Corey Donohoe"]
9
11
  s.email = ["atmos@atmos.org"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden-github
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Corey Donohoe
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-22 00:00:00 -07:00
18
+ date: 2011-06-27 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency