webfinger 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/webfinger/request.rb +1 -1
- data/spec/helpers/webmock_helper.rb +3 -0
- data/spec/webfinger_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b46a25444cdb10ea610330974cd6ac9b02a547b3dbe3be70662d0c7b2ad2eeb
|
4
|
+
data.tar.gz: f6cec0ceef5f6cce9b7b7645998d38079a9089b90d2faaf282122a3280a29fab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1aead7e5646d0ac4e354bcf38f915d6d05bbcce805786d0b10c42c4b34f0e4cf666ca24e5aa9981b34884a7c36be1ba026cfc7f9aa86d730745d0bc17fad699b
|
7
|
+
data.tar.gz: 4d54467caf574a5cc4d9683e290ffdc6524bf49ce5169ff890dfeb522cd1e3366a300a718567ba7940cfea3ede4676716dea739820d5c8c9c075d5a7067af75b
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.1
|
data/lib/webfinger/request.rb
CHANGED
@@ -26,6 +26,9 @@ module WebMockHelper
|
|
26
26
|
|
27
27
|
def response_for(response_file, options = {})
|
28
28
|
response = {}
|
29
|
+
response[:headers] = {
|
30
|
+
'Content-Type': 'application/json'
|
31
|
+
}
|
29
32
|
response[:body] = File.new(File.join(File.dirname(__FILE__), '../mock_json', "#{response_file}.json"))
|
30
33
|
if options[:status]
|
31
34
|
response[:status] = options[:status]
|
data/spec/webfinger_spec.rb
CHANGED
@@ -157,7 +157,7 @@ describe WebFinger do
|
|
157
157
|
describe '#http_client' do
|
158
158
|
subject { WebFinger.http_client }
|
159
159
|
|
160
|
-
describe '#
|
160
|
+
describe '#logger' do
|
161
161
|
subject { WebFinger.http_client.builder.handlers.collect(&:klass) }
|
162
162
|
|
163
163
|
context 'as default' do
|