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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cf7b340dc8102ec6a3f25c71b27c218da1aec5b
4
- data.tar.gz: 7849e64624574bfa8f194a0d72707318d0bd153e
3
+ metadata.gz: 9c94129062c52333ea72bf2365641641dfa2f86c
4
+ data.tar.gz: ff07e3938417a2264a7ec21cd02796e7f276dd8c
5
5
  SHA512:
6
- metadata.gz: 4c3aaa1f45496587023639ffc3b0bb275c7abaaaabd8554f8d4cbca7309000bf4c25a685010209f932e451a353d1ef48018d7ab263e6280ba6bd79206029ee32
7
- data.tar.gz: fe1e6802718f600c4267794d3ffb57d52a11945bb962e364b3ac479fa3c35fc0144af6c4781324724e646c9300a621f2c7eec0d05e15c67057589d7d67b91381
6
+ metadata.gz: 81aff93f4d05484565968f9a953098e3fbfc9417f961fcac2f64be0af5dd359eb761b7ae06c033b88c322e1dc0f061a0dc369e11b7105b12d6cc57693f621a4c
7
+ data.tar.gz: 8ea25ca20b8b54a4184ef409115d03d1037ea2a4caa619323b63490ed43c45cf3ebaabc7fe06ac2eaa938624fd83692a0377f52a44a49a644d2a1983855c0446
@@ -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.1.2
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: 2016-11-10 00:00:00.000000000 Z
12
+ date: 2017-01-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra