sinatra-portier 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinatra/browserid.rb +1 -0
- data/lib/sinatra/browserid/template.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c94129062c52333ea72bf2365641641dfa2f86c
|
4
|
+
data.tar.gz: ff07e3938417a2264a7ec21cd02796e7f276dd8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81aff93f4d05484565968f9a953098e3fbfc9417f961fcac2f64be0af5dd359eb761b7ae06c033b88c322e1dc0f061a0dc369e11b7105b12d6cc57693f621a4c
|
7
|
+
data.tar.gz: 8ea25ca20b8b54a4184ef409115d03d1037ea2a4caa619323b63490ed43c45cf3ebaabc7fe06ac2eaa938624fd83692a0377f52a44a49a644d2a1983855c0446
|
data/lib/sinatra/browserid.rb
CHANGED
@@ -18,6 +18,7 @@ module Sinatra
|
|
18
18
|
app.set :browserid_url, "https://broker.portier.io"
|
19
19
|
app.set :browserid_login_button, :red
|
20
20
|
app.set :browserid_login_url, "/_browserid_login"
|
21
|
+
app.set :browserid_button_class, ""
|
21
22
|
|
22
23
|
app.get '/_browserid_login' do
|
23
24
|
# TODO(petef): render a page that initiates login without
|
@@ -10,7 +10,7 @@ module Sinatra
|
|
10
10
|
<input type=hidden name=client_id value="<%= request.base_url.chomp('/') %>" />
|
11
11
|
<input type=hidden name=redirect_uri value="<%= url '/_browserid_assert' %>" />
|
12
12
|
<input type=hidden name=nonce value="<%= nonce %>" />
|
13
|
-
<input type=submit value="Log In" />
|
13
|
+
<input type=submit value="Log In" class="<%= settings.browserid_button_class %>" />
|
14
14
|
</form>
|
15
15
|
EOF
|
16
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-portier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Fritchman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sinatra
|