Run of fresh-releases for ruby-webfinger

Merge these changes:

git pull https://janitor.debian.net/git/ruby-webfinger fresh-releases/main
git pull https://janitor.debian.net/git/ruby-webfinger fresh-releases/pristine-tar
git pull https://janitor.debian.net/git/ruby-webfinger fresh-releases/upstream

Summary

Merged new upstream version: 1.2.0 (was: 1.0.2).

Diff

Branch: main

diff --git a/.travis.yml b/.travis.yml
index e940e12..af265be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ before_install:
   - gem install bundler
 
 rvm:
-  - 2.0
-  - 2.1
-  - 2.2
-  - 2.3.0
\ No newline at end of file
+  - 2.5.8
+  - 2.6.6
+  - 2.7.2
+  - 3.0.0
\ No newline at end of file
diff --git a/VERSION b/VERSION
index e6d5cb8..867e524 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.2
\ No newline at end of file
+1.2.0
\ No newline at end of file
diff --git a/debian/changelog b/debian/changelog
index 0457c5e..b05eaa8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-ruby-webfinger (1.0.2-3) UNRELEASED; urgency=medium
+ruby-webfinger (1.2.0-1) UNRELEASED; urgency=medium
 
   [ Utkarsh Gupta ]
   * Add salsa-ci.yml
@@ -18,8 +18,9 @@ ruby-webfinger (1.0.2-3) UNRELEASED; urgency=medium
     + Build-Depends: Drop versioned constraint on ruby-httpclient.
     + ruby-webfinger: Drop versioned constraint on ruby-httpclient in Depends.
   * Bump debhelper from old 12 to 13.
+  * New upstream release.
 
- -- Utkarsh Gupta <guptautkarsh2102@gmail.com>  Tue, 13 Aug 2019 08:14:36 +0530
+ -- Utkarsh Gupta <guptautkarsh2102@gmail.com>  Thu, 10 Mar 2022 13:04:29 -0000
 
 ruby-webfinger (1.0.2-2) unstable; urgency=medium
 
diff --git a/lib/webfinger.rb b/lib/webfinger.rb
index ade5cb8..437af66 100644
--- a/lib/webfinger.rb
+++ b/lib/webfinger.rb
@@ -1,5 +1,5 @@
+require 'json'
 require 'httpclient'
-require 'multi_json'
 require 'active_support'
 require 'active_support/core_ext'
 
@@ -45,6 +45,11 @@ module WebFinger
     _http_client_ = HTTPClient.new(
       agent_name: "WebFinger (#{VERSION})"
     )
+
+    # NOTE: httpclient gem seems stopped maintaining root certtificate set, use OS default.
+    _http_client_.ssl_config.clear_cert_store
+    _http_client_.ssl_config.cert_store.set_default_paths
+
     _http_client_.request_filter << Debugger::RequestFilter.new if debugging?
     http_config.try(:call, _http_client_)
     _http_client_
@@ -57,4 +62,4 @@ end
 require 'webfinger/debugger'
 require 'webfinger/exception'
 require 'webfinger/request'
-require 'webfinger/response'
\ No newline at end of file
+require 'webfinger/response'
diff --git a/lib/webfinger/request.rb b/lib/webfinger/request.rb
index 661d1b3..b732265 100644
--- a/lib/webfinger/request.rb
+++ b/lib/webfinger/request.rb
@@ -51,7 +51,7 @@ module WebFinger
 
     def handle_response
       raw_response = yield
-      jrd = MultiJson.load(raw_response).with_indifferent_access
+      jrd = JSON.parse(raw_response).with_indifferent_access
       Response.new jrd
     rescue HTTPClient::BadResponseError => e
       case e.res.try(:status)
@@ -70,4 +70,4 @@ module WebFinger
       end
     end
   end
-end
\ No newline at end of file
+end
diff --git a/webfinger.gemspec b/webfinger.gemspec
index 058940d..48f53f6 100644
--- a/webfinger.gemspec
+++ b/webfinger.gemspec
@@ -1,23 +1,22 @@
 Gem::Specification.new do |gem|
-  gem.name          = "webfinger"
-  gem.version       = File.read("VERSION").delete("\n\r")
-  gem.authors       = ["nov matake"]
-  gem.email         = ["nov@matake.jp"]
+  gem.name          = 'webfinger'
+  gem.version       = File.read('VERSION').delete("\n\r")
+  gem.authors       = ['nov matake']
+  gem.email         = ['nov@matake.jp']
   gem.description   = %q{Ruby WebFinger client library}
   gem.summary       = %q{Ruby WebFinger client library, following IETF WebFinger WG spec updates.}
-  gem.homepage      = "https://github.com/nov/webfinger"
+  gem.homepage      = 'https://github.com/nov/webfinger'
   gem.license       = 'MIT'
 
   gem.files         = `git ls-files`.split($/)
   gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
-  gem.require_paths = ["lib"]
-  gem.add_runtime_dependency "httpclient", ">= 2.4"
-  gem.add_runtime_dependency "multi_json"
-  gem.add_runtime_dependency "activesupport"
-  gem.add_development_dependency "rake"
-  gem.add_development_dependency "rspec"
+  gem.require_paths = ['lib']
+  gem.add_runtime_dependency 'httpclient', '>= 2.4'
+  gem.add_runtime_dependency 'activesupport'
+  gem.add_development_dependency 'rake'
+  gem.add_development_dependency 'rspec'
   gem.add_development_dependency 'rspec-its'
-  gem.add_development_dependency "simplecov"
-  gem.add_development_dependency "webmock", ">= 1.6.2"
+  gem.add_development_dependency 'simplecov'
+  gem.add_development_dependency 'webmock', '>= 1.6.2'
 end

Branch: pristine-tar

diff --git a/ruby-webfinger_1.2.0.orig.tar.gz.delta b/ruby-webfinger_1.2.0.orig.tar.gz.delta
new file mode 100644
index 0000000..8dd6a36
Binary files /dev/null and b/ruby-webfinger_1.2.0.orig.tar.gz.delta differ
diff --git a/ruby-webfinger_1.2.0.orig.tar.gz.id b/ruby-webfinger_1.2.0.orig.tar.gz.id
new file mode 100644
index 0000000..f00eb23
--- /dev/null
+++ b/ruby-webfinger_1.2.0.orig.tar.gz.id
@@ -0,0 +1 @@
+4bdb5d8e6ef5f3420e0b2f8ab6a203be0021efc7

Branch: upstream

Tag: upstream/1.2.0
diff --git a/.travis.yml b/.travis.yml
index e940e12..af265be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,7 +2,7 @@ before_install:
   - gem install bundler
 
 rvm:
-  - 2.0
-  - 2.1
-  - 2.2
-  - 2.3.0
\ No newline at end of file
+  - 2.5.8
+  - 2.6.6
+  - 2.7.2
+  - 3.0.0
\ No newline at end of file
diff --git a/VERSION b/VERSION
index e6d5cb8..867e524 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.0.2
\ No newline at end of file
+1.2.0
\ No newline at end of file
diff --git a/lib/webfinger.rb b/lib/webfinger.rb
index ade5cb8..437af66 100644
--- a/lib/webfinger.rb
+++ b/lib/webfinger.rb
@@ -1,5 +1,5 @@
+require 'json'
 require 'httpclient'
-require 'multi_json'
 require 'active_support'
 require 'active_support/core_ext'
 
@@ -45,6 +45,11 @@ module WebFinger
     _http_client_ = HTTPClient.new(
       agent_name: "WebFinger (#{VERSION})"
     )
+
+    # NOTE: httpclient gem seems stopped maintaining root certtificate set, use OS default.
+    _http_client_.ssl_config.clear_cert_store
+    _http_client_.ssl_config.cert_store.set_default_paths
+
     _http_client_.request_filter << Debugger::RequestFilter.new if debugging?
     http_config.try(:call, _http_client_)
     _http_client_
@@ -57,4 +62,4 @@ end
 require 'webfinger/debugger'
 require 'webfinger/exception'
 require 'webfinger/request'
-require 'webfinger/response'
\ No newline at end of file
+require 'webfinger/response'
diff --git a/lib/webfinger/request.rb b/lib/webfinger/request.rb
index 661d1b3..b732265 100644
--- a/lib/webfinger/request.rb
+++ b/lib/webfinger/request.rb
@@ -51,7 +51,7 @@ module WebFinger
 
     def handle_response
       raw_response = yield
-      jrd = MultiJson.load(raw_response).with_indifferent_access
+      jrd = JSON.parse(raw_response).with_indifferent_access
       Response.new jrd
     rescue HTTPClient::BadResponseError => e
       case e.res.try(:status)
@@ -70,4 +70,4 @@ module WebFinger
       end
     end
   end
-end
\ No newline at end of file
+end
diff --git a/webfinger.gemspec b/webfinger.gemspec
index 058940d..48f53f6 100644
--- a/webfinger.gemspec
+++ b/webfinger.gemspec
@@ -1,23 +1,22 @@
 Gem::Specification.new do |gem|
-  gem.name          = "webfinger"
-  gem.version       = File.read("VERSION").delete("\n\r")
-  gem.authors       = ["nov matake"]
-  gem.email         = ["nov@matake.jp"]
+  gem.name          = 'webfinger'
+  gem.version       = File.read('VERSION').delete("\n\r")
+  gem.authors       = ['nov matake']
+  gem.email         = ['nov@matake.jp']
   gem.description   = %q{Ruby WebFinger client library}
   gem.summary       = %q{Ruby WebFinger client library, following IETF WebFinger WG spec updates.}
-  gem.homepage      = "https://github.com/nov/webfinger"
+  gem.homepage      = 'https://github.com/nov/webfinger'
   gem.license       = 'MIT'
 
   gem.files         = `git ls-files`.split($/)
   gem.executables   = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
-  gem.require_paths = ["lib"]
-  gem.add_runtime_dependency "httpclient", ">= 2.4"
-  gem.add_runtime_dependency "multi_json"
-  gem.add_runtime_dependency "activesupport"
-  gem.add_development_dependency "rake"
-  gem.add_development_dependency "rspec"
+  gem.require_paths = ['lib']
+  gem.add_runtime_dependency 'httpclient', '>= 2.4'
+  gem.add_runtime_dependency 'activesupport'
+  gem.add_development_dependency 'rake'
+  gem.add_development_dependency 'rspec'
   gem.add_development_dependency 'rspec-its'
-  gem.add_development_dependency "simplecov"
-  gem.add_development_dependency "webmock", ">= 1.6.2"
+  gem.add_development_dependency 'simplecov'
+  gem.add_development_dependency 'webmock', '>= 1.6.2'
 end

Publish Blockers

  • ☑ run was successful
  • ☑ package has not been removed from the archive
  • ☑ command has not changed
  • ☒ not yet reviewed, but review needed
  • ☑ 0 publish attempts so far.not currently attempting to back off
  • ☒ merge proposals for the package maintainer are currently being rate-limited (open: 1257, max open: 300)
  • ☑ change set a251de8b-0427-42ca-b07a-b62e8f666d28 is ready

Resulting package

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases ruby-webfinger

Lintian Result

Full worker log Full build log