omniauth-dice 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.codeclimate.yml +8 -0
- data/README.md +1 -1
- data/lib/omniauth/dice/version.rb +1 -1
- data/lib/omniauth/strategies/dice.rb +3 -3
- metadata +3 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a097c63c5d4fb98081bba365012bf677121ef78
|
4
|
+
data.tar.gz: 9f377ee947be102ddaea762d9a33b15ef0ae309b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f782a5cff03a917ae079850dd909e07cc1b8f1336e9becafb2ddd46d0111d7575b7d2dff41e2bf4a2cf5d3b839f8e055b90e8f10cba72644f823d6c9d546518c
|
7
|
+
data.tar.gz: 4412b1988ab3f9979477195b41f947873d8891f86d7e606fdc057568e0cacfdb55e4d3c5b3d55644c4367d0958e9d29c7e880c8408e96a7b2f0dff4b74200d43
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.codeclimate.yml
ADDED
data/README.md
CHANGED
@@ -63,7 +63,6 @@ module OmniAuth
|
|
63
63
|
|
64
64
|
# Determine if required arguments are present or fail hard
|
65
65
|
def validate_required_params
|
66
|
-
log :debug, '.validate_required_params'
|
67
66
|
required_params.each do |param|
|
68
67
|
unless options.send(param)
|
69
68
|
error_msg = "omniauth-dice error: #{param} is required"
|
@@ -307,8 +306,9 @@ module OmniAuth
|
|
307
306
|
@conn ||= Faraday.new(url: options.cas_server, ssl: ssl_hash) do |conn|
|
308
307
|
conn.headers = headers
|
309
308
|
conn.response :logger # log requests to STDOUT
|
310
|
-
|
311
|
-
conn.response
|
309
|
+
format = options.format
|
310
|
+
conn.response(:xml, content_type: /\bxml$/) if format == 'xml'
|
311
|
+
conn.response(:json, content_type: /\bjson$/) if format == 'json'
|
312
312
|
conn.adapter :excon
|
313
313
|
end
|
314
314
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-dice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Haddox
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
42qdwEXvvkODZAD6KAIXPdmbMfBgPbcd+B/4eUA0PyKo+4dgL1NuqX4MPWToevIZ
|
31
31
|
O8EKLF2X7NmC6FY1bOsSj/J8r1SOkx0rxgF+geRvY1P+hfNjDfxTsjU=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2015-10-
|
33
|
+
date: 2015-10-21 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: awesome_print
|
@@ -364,6 +364,7 @@ executables: []
|
|
364
364
|
extensions: []
|
365
365
|
extra_rdoc_files: []
|
366
366
|
files:
|
367
|
+
- ".codeclimate.yml"
|
367
368
|
- ".coveralls.yml"
|
368
369
|
- ".gitignore"
|
369
370
|
- ".rubocop.yml"
|
metadata.gz.sig
CHANGED
Binary file
|