swaggard 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/swaggard/swagger_controller.rb +3 -1
- data/lib/swaggard/version.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: 9a917d95609c038ad062ceed22c30c031f6a89e2
|
4
|
+
data.tar.gz: ee9e6c25500409270e09878627e7c3e3f38df912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 226caeb3f072e23e7ad016bafae52017e8086d2a04cf06640c5b7ad058825595b1b21b38796af049f5c9594269238361ebd5c6ae178b3417b9ec69ec88ef0af9
|
7
|
+
data.tar.gz: 1fd2aee9b4ed62117a92fa389f46aa18021ec4159235bc99da513074b6eeb2f1bf6799ab9d6d42290a76317f182983bf1d680d4e5782d011354462b2e3ff8739
|
@@ -8,7 +8,9 @@ module Swaggard
|
|
8
8
|
format.html do
|
9
9
|
@authentication_type = Swaggard.configuration.authentication_type
|
10
10
|
@authentication_key = Swaggard.configuration.authentication_key
|
11
|
-
@authentication_value = Swaggard.configuration.authentication_value
|
11
|
+
@authentication_value = Swaggard.configuration.authentication_value.respond_to?(:call) ?
|
12
|
+
Swaggard.configuration.authentication_value.call :
|
13
|
+
Swaggard.configuration.authentication_value
|
12
14
|
|
13
15
|
render :index, layout: false
|
14
16
|
end
|
data/lib/swaggard/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swaggard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|