webfinger 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -4
- data/VERSION +1 -1
- data/lib/webfinger.rb +2 -2
- data/lib/webfinger/request.rb +2 -2
- data/webfinger.gemspec +12 -13
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e585dd48362fb9183c88d4168b6e757de4d9f137
|
4
|
+
data.tar.gz: e8ac29431ccdd34af684b06fdd30cc8e6d172941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8c5fe788304d9b55df12032de2787161d2eda074e362bd0cd3a2e57b3acf44d7b76681f7db8a8880bb91b0e1e649a8aacf25f646b1760ab962ee970c4bcaab
|
7
|
+
data.tar.gz: 0df4c2fe1a31b00bc4d85405432625a267aab47669761ce57e9695a5c61bed7f7c498faa99186fa64013785f80b0ff7b7a372b9111481d6428f123de53b38929
|
data/.travis.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0
|
1
|
+
1.1.0
|
data/lib/webfinger.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
+
require 'json'
|
1
2
|
require 'httpclient'
|
2
|
-
require 'multi_json'
|
3
3
|
require 'active_support'
|
4
4
|
require 'active_support/core_ext'
|
5
5
|
|
@@ -57,4 +57,4 @@ end
|
|
57
57
|
require 'webfinger/debugger'
|
58
58
|
require 'webfinger/exception'
|
59
59
|
require 'webfinger/request'
|
60
|
-
require 'webfinger/response'
|
60
|
+
require 'webfinger/response'
|
data/lib/webfinger/request.rb
CHANGED
@@ -51,7 +51,7 @@ module WebFinger
|
|
51
51
|
|
52
52
|
def handle_response
|
53
53
|
raw_response = yield
|
54
|
-
jrd =
|
54
|
+
jrd = JSON.parse(raw_response).with_indifferent_access
|
55
55
|
Response.new jrd
|
56
56
|
rescue HTTPClient::BadResponseError => e
|
57
57
|
case e.res.try(:status)
|
@@ -70,4 +70,4 @@ module WebFinger
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
end
|
73
|
-
end
|
73
|
+
end
|
data/webfinger.gemspec
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
|
-
gem.name =
|
3
|
-
gem.version = File.read(
|
4
|
-
gem.authors = [
|
5
|
-
gem.email = [
|
2
|
+
gem.name = 'webfinger'
|
3
|
+
gem.version = File.read('VERSION').delete("\n\r")
|
4
|
+
gem.authors = ['nov matake']
|
5
|
+
gem.email = ['nov@matake.jp']
|
6
6
|
gem.description = %q{Ruby WebFinger client library}
|
7
7
|
gem.summary = %q{Ruby WebFinger client library, following IETF WebFinger WG spec updates.}
|
8
|
-
gem.homepage =
|
8
|
+
gem.homepage = 'https://github.com/nov/webfinger'
|
9
9
|
gem.license = 'MIT'
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($/)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.require_paths = [
|
15
|
-
gem.add_runtime_dependency
|
16
|
-
gem.add_runtime_dependency
|
17
|
-
gem.
|
18
|
-
gem.add_development_dependency
|
19
|
-
gem.add_development_dependency "rspec"
|
14
|
+
gem.require_paths = ['lib']
|
15
|
+
gem.add_runtime_dependency 'httpclient', '>= 2.4'
|
16
|
+
gem.add_runtime_dependency 'activesupport'
|
17
|
+
gem.add_development_dependency 'rake'
|
18
|
+
gem.add_development_dependency 'rspec'
|
20
19
|
gem.add_development_dependency 'rspec-its'
|
21
|
-
gem.add_development_dependency
|
22
|
-
gem.add_development_dependency
|
20
|
+
gem.add_development_dependency 'simplecov'
|
21
|
+
gem.add_development_dependency 'webmock', '>= 1.6.2'
|
23
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webfinger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nov matake
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.4'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: multi_json
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: activesupport
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
158
|
version: '0'
|
173
159
|
requirements: []
|
174
160
|
rubyforge_project:
|
175
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.6.11
|
176
162
|
signing_key:
|
177
163
|
specification_version: 4
|
178
164
|
summary: Ruby WebFinger client library, following IETF WebFinger WG spec updates.
|