sinatra_omniauth 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/sinatra/omniauth.rb +1 -1
- data/sinatra_omniauth.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/lib/sinatra/omniauth.rb
CHANGED
@@ -148,7 +148,7 @@ module SinatraOmniAuth
|
|
148
148
|
end
|
149
149
|
@authentications_possible = @authentications_possible.dup.
|
150
150
|
reject do |a|
|
151
|
-
@authentications_available.detect{|p| p.provider == a['
|
151
|
+
@authentications_available.detect{|p| p.provider.gsub(/[ _]/,'') == a['name'].downcase.gsub(/[ _]/,'') }
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
data/sinatra_omniauth.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra_omniauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Clifford Heath
|