orange-more 0.6.4 → 0.6.5
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.
|
@@ -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:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 6
|
|
9
|
-
-
|
|
10
|
-
version: 0.6.
|
|
9
|
+
- 5
|
|
10
|
+
version: 0.6.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Haslem
|