swaggard 0.5.0 → 0.5.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: beffa494b9022810c72e6b0dd874d2fb026397f1
4
- data.tar.gz: 51cab140b398a107e4b309a6ffd1853a6e499f38
3
+ metadata.gz: 9a917d95609c038ad062ceed22c30c031f6a89e2
4
+ data.tar.gz: ee9e6c25500409270e09878627e7c3e3f38df912
5
5
  SHA512:
6
- metadata.gz: e2fb323356636d66bacc03e42a922dfd49c69e3befbfc2788a32294b77c96b3408a0d2ebb94bcf218b32952440e18b0cb75ae25789b993cb9d3950953edd134e
7
- data.tar.gz: 2f941a8e01954f8858101cb3ae9c4e0dfb810c41fbfa5d2dc84b340993b1e7c80da17a63904450fafd78fa956f9f28cfd4c94c1bc25615e8b7610f9120c4ffdc
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
@@ -1,5 +1,5 @@
1
1
  module Swaggard
2
2
 
3
- VERSION = '0.5.0'
3
+ VERSION = '0.5.1'
4
4
 
5
5
  end
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.0
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: 2016-12-07 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails