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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c248188fd3112addf9a46c84dd2adf04c72055b
4
- data.tar.gz: 75a14633e1867fa4b6f3e124840c5eeabd5a92b8
3
+ metadata.gz: e585dd48362fb9183c88d4168b6e757de4d9f137
4
+ data.tar.gz: e8ac29431ccdd34af684b06fdd30cc8e6d172941
5
5
  SHA512:
6
- metadata.gz: f003ed34a15aefda73534d8281c9991e84aef0c9da80bdb309441654e8649b7904211e059319672a6820cb049122cacdab0d10b18d50f126b18d84e1001d0e77
7
- data.tar.gz: 7566f7bd669366c7a259bc3e4c0231a75e1182a6bd05065b20cd8d2bdfa220ee274da2481ea7ec8dc693c3d9b937e975b51305f2e71d9d5f00cb8264d4659e77
6
+ metadata.gz: fb8c5fe788304d9b55df12032de2787161d2eda074e362bd0cd3a2e57b3acf44d7b76681f7db8a8880bb91b0e1e649a8aacf25f646b1760ab962ee970c4bcaab
7
+ data.tar.gz: 0df4c2fe1a31b00bc4d85405432625a267aab47669761ce57e9695a5c61bed7f7c498faa99186fa64013785f80b0ff7b7a372b9111481d6428f123de53b38929
@@ -2,7 +2,5 @@ before_install:
2
2
  - gem install bundler
3
3
 
4
4
  rvm:
5
- - 2.0
6
- - 2.1
7
- - 2.2
8
- - 2.3.0
5
+ - 2.3.5
6
+ - 2.4.2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
@@ -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'
@@ -51,7 +51,7 @@ module WebFinger
51
51
 
52
52
  def handle_response
53
53
  raw_response = yield
54
- jrd = MultiJson.load(raw_response).with_indifferent_access
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
@@ -1,23 +1,22 @@
1
1
  Gem::Specification.new do |gem|
2
- gem.name = "webfinger"
3
- gem.version = File.read("VERSION").delete("\n\r")
4
- gem.authors = ["nov matake"]
5
- gem.email = ["nov@matake.jp"]
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 = "https://github.com/nov/webfinger"
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 = ["lib"]
15
- gem.add_runtime_dependency "httpclient", ">= 2.4"
16
- gem.add_runtime_dependency "multi_json"
17
- gem.add_runtime_dependency "activesupport"
18
- gem.add_development_dependency "rake"
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 "simplecov"
22
- gem.add_development_dependency "webmock", ">= 1.6.2"
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.2
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: 2016-01-26 00:00:00.000000000 Z
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.5.1
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.