orange-more 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,7 @@ module Orange
11
11
  unless u
12
12
  users = model_class.all
13
13
  # Deep open id search (take out trailing slash, etc.)
14
+ return false if user.blank?
14
15
  id = user.gsub(/^https?:\/\//, '').gsub(/\/$/, '')
15
16
  matches = users.select{|u|
16
17
  (id == u.open_id.gsub(/^https?:\/\//, '').gsub(/\/$/, ''))
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orange-more
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 4
10
- version: 0.6.4
9
+ - 5
10
+ version: 0.6.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Haslem