orange 0.0.15 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -66,7 +66,7 @@ module Orange::Middleware
66
66
  end
67
67
 
68
68
  def need_to_handle?(packet)
69
- @handle && ([@login, @logout].include? packet.env['REQUEST_PATH'])
69
+ @handle && ([@login, @logout].include? packet.request.path)
70
70
  end
71
71
 
72
72
  def handle_openid(packet)
@@ -134,7 +134,7 @@ module Orange::Middleware
134
134
  :required => [:email, "http://axschema.org/contact/email"]
135
135
  )
136
136
  )
137
- packet[:content] = 'Got openID?'
137
+ packet[:content] = 'Got openID?'
138
138
  return packet.finish
139
139
  end
140
140
  # Show login form, if necessary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orange
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Haslem