muck-auth 3.2.2 → 3.2.3
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.
- data/VERSION +1 -1
- data/app/views/authentications/_current_services.html.erb +2 -2
- data/lib/muck-auth/engine.rb +2 -2
- data/muck-auth.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.3
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div id="auth_current_services" class="auth-services">
|
2
2
|
<% if authentications.empty? -%>
|
3
|
-
<p><%=translate('muck.
|
3
|
+
<p><%=translate('muck.auth.you_are_currently_not_connected_to_any_external_services') %></p>
|
4
4
|
<% else -%>
|
5
|
-
<p><%=translate('muck.
|
5
|
+
<p><%=translate('muck.auth.you_are_connected_to_the_following_services') %></p>
|
6
6
|
<ul <%='class="icon-list"' if include_icons%>>
|
7
7
|
<% authentications.each do |auth| -%>
|
8
8
|
<li class="<%=auth_css_class(auth.provider)%> oauth_service service-link" <%= auth_icon_back(auth.provider, include_icons) %>>
|
data/lib/muck-auth/engine.rb
CHANGED
@@ -23,9 +23,9 @@ module MuckAuth
|
|
23
23
|
|
24
24
|
initializer "muck_auth.add_middleware" do |app|
|
25
25
|
raise MuckAuth::Exceptions::InvalidConfiguration, "Please provide a valid configuration for Muck Auth." if Secrets.auth_credentials.blank?
|
26
|
-
Secrets.auth_credentials.each_key do |
|
26
|
+
Secrets.auth_credentials.each_key do |provider|
|
27
27
|
Rails.application.config.middleware.use OmniAuth::Builder do
|
28
|
-
provider
|
28
|
+
provider(provider, Secrets.auth_credentials[provider]['key'], Secrets.auth_credentials[provider]['secret'], :scope => Secrets.auth_credentials[provider]['scope'])
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
data/muck-auth.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-auth}
|
8
|
-
s.version = "3.2.
|
8
|
+
s.version = "3.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-17}
|
13
13
|
s.description = %q{A simple wrapper for the omniauth gem so that it is faster to include oauth in muck based applications.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 3.2.
|
9
|
+
- 3
|
10
|
+
version: 3.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Justin Ball
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-17 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|