diff -Nru ruby-xmlrpc-0.3.2/debian/changelog ruby-xmlrpc-0.3.0.1/debian/changelog --- ruby-xmlrpc-0.3.2/debian/changelog 2021-11-05 14:20:11.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/changelog 2022-01-27 13:05:55.000000000 +0000 @@ -1,34 +1,8 @@ -ruby-xmlrpc (0.3.2-1) unstable; urgency=medium +ruby-xmlrpc (0.3.0.1-0+lliurex) bionic; urgency=medium - * Team upload. + * Bionic backport - [ Utkarsh Gupta ] - * Add salsa-ci.yml - - [ Debian Janitor ] - * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, - Repository-Browse. - - [ Cédric Boutillier ] - * Update team name - * Add .gitattributes to keep unwanted files out of the source package - - [ Chris Hofstaedtler ] - * Remove myself from Uploaders - - [ Debian Janitor ] - * Update watch file format version to 4. - * Bump debhelper from old 11 to 13. - * Set debhelper-compat version in Build-Depends. - - [ Lucas Kanashiro ] - * d/watch: track upstream tags instead of releases - * New upstream version 0.3.2 (Closes: #996525) - * Add b-d on ruby-webrick - * d/copyright: remove tabs from license text - * Declare compliance with Debian Policy 4.6.0 - - -- Lucas Kanashiro Fri, 05 Nov 2021 11:20:11 -0300 + -- M.Angel Juan Thu, 27 Jan 2022 14:05:55 +0100 ruby-xmlrpc (0.3.0-2) unstable; urgency=medium diff -Nru ruby-xmlrpc-0.3.2/debian/compat ruby-xmlrpc-0.3.0.1/debian/compat --- ruby-xmlrpc-0.3.2/debian/compat 1970-01-01 00:00:00.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/compat 2022-01-27 13:05:55.000000000 +0000 @@ -0,0 +1 @@ +11 diff -Nru ruby-xmlrpc-0.3.2/debian/control ruby-xmlrpc-0.3.0.1/debian/control --- ruby-xmlrpc-0.3.2/debian/control 2021-11-05 14:19:53.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/control 2022-01-27 13:05:55.000000000 +0000 @@ -1,13 +1,13 @@ Source: ruby-xmlrpc Section: ruby Priority: optional -Maintainer: Debian Ruby Team -Uploaders: Antonio Terceiro -Build-Depends: debhelper-compat (= 13), +Maintainer: Debian Ruby Extras Maintainers +Uploaders: Antonio Terceiro , + Chris Hofstaedtler +Build-Depends: debhelper (>= 11~), gem2deb, - rake, - ruby-webrick (>= 1.7.0) -Standards-Version: 4.6.0 + rake +Standards-Version: 4.1.5 Vcs-Git: https://salsa.debian.org/ruby-team/ruby-xmlrpc.git Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-xmlrpc Homepage: https://github.com/ruby/xmlrpc diff -Nru ruby-xmlrpc-0.3.2/debian/copyright ruby-xmlrpc-0.3.0.1/debian/copyright --- ruby-xmlrpc-0.3.2/debian/copyright 2021-11-05 14:19:22.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/copyright 2022-01-27 13:05:55.000000000 +0000 @@ -25,8 +25,8 @@ . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said - modifications to Usenet or an equivalent medium, or by allowing - the author to include your modifications in the software. + modifications to Usenet or an equivalent medium, or by allowing + the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. @@ -40,11 +40,11 @@ provided that you do at least ONE of the following: . a) distribute the binaries and library files of the software, - together with instructions (in the manual page or equivalent) - on where to get the original distribution. + together with instructions (in the manual page or equivalent) + on where to get the original distribution. . b) accompany the distribution with the machine-readable source of - the software. + the software. . c) give non-standard binaries non-standard names, with instructions on where to get the original software distribution. diff -Nru ruby-xmlrpc-0.3.2/debian/rules ruby-xmlrpc-0.3.0.1/debian/rules --- ruby-xmlrpc-0.3.2/debian/rules 2021-11-05 14:00:13.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/rules 2022-01-27 13:05:55.000000000 +0000 @@ -1,5 +1,5 @@ #!/usr/bin/make -f - +export DH_RUBY_IGNORE_TESTS=all export GEM2DEB_TEST_RUNNER = --check-dependencies %: diff -Nru ruby-xmlrpc-0.3.2/debian/salsa-ci.yml ruby-xmlrpc-0.3.0.1/debian/salsa-ci.yml --- ruby-xmlrpc-0.3.2/debian/salsa-ci.yml 2021-11-05 14:00:13.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ ---- -include: - - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml - - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru ruby-xmlrpc-0.3.2/debian/upstream/metadata ruby-xmlrpc-0.3.0.1/debian/upstream/metadata --- ruby-xmlrpc-0.3.2/debian/upstream/metadata 2021-11-05 14:00:13.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ ---- -Bug-Database: https://github.com/ruby/xmlrpc/issues -Bug-Submit: https://github.com/ruby/xmlrpc/issues/new -Repository: https://github.com/ruby/xmlrpc.git -Repository-Browse: https://github.com/ruby/xmlrpc diff -Nru ruby-xmlrpc-0.3.2/debian/watch ruby-xmlrpc-0.3.0.1/debian/watch --- ruby-xmlrpc-0.3.2/debian/watch 2021-11-05 14:00:53.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/debian/watch 2022-01-27 13:05:55.000000000 +0000 @@ -1,2 +1,2 @@ -version=4 -https://github.com/ruby/xmlrpc/tags .*/v(.*).tar.gz +version=3 +https://github.com/ruby/xmlrpc/releases .*/v(.*).tar.gz diff -Nru ruby-xmlrpc-0.3.2/.github/workflows/test.yml ruby-xmlrpc-0.3.0.1/.github/workflows/test.yml --- ruby-xmlrpc-0.3.2/.github/workflows/test.yml 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/.github/workflows/test.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,36 +0,0 @@ -name: Test - -on: - - push - - pull_request - -jobs: - test: - name: >- - ${{ matrix.os }} ${{ matrix.ruby }} - runs-on: ${{ matrix.os }}-latest - strategy: - fail-fast: false - matrix: - os: - - ubuntu - - macos - - windows - ruby: - - "2.5" - - "2.6" - - "2.7" - - "3.0" - - head - include: - - { os: windows , ruby: mingw } - - { os: windows , ruby: mswin } - exclude: - - { os: windows , ruby: head } - steps: - - uses: actions/checkout@v2 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - run: bundle install - - run: rake diff -Nru ruby-xmlrpc-0.3.2/lib/xmlrpc/base64.rb ruby-xmlrpc-0.3.0.1/lib/xmlrpc/base64.rb --- ruby-xmlrpc-0.3.2/lib/xmlrpc/base64.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/lib/xmlrpc/base64.rb 2022-01-29 15:19:11.000000000 +0000 @@ -13,7 +13,6 @@ # You can use XMLRPC::Base64 on the client and server-side as a # parameter and/or return-value. class Base64 - include Comparable # Creates a new XMLRPC::Base64 instance with string +str+ as the # internal string. When +state+ is +:dec+ it assumes that the @@ -41,11 +40,6 @@ Base64.encode(@str) end - # Compare two base64 values, based on decoded string - def <=>(other) - return nil unless other.is_a?(self.class) - decoded <=> other.decoded - end # Decodes string +str+ with base64 and returns that value. def Base64.decode(str) diff -Nru ruby-xmlrpc-0.3.2/lib/xmlrpc/client.rb ruby-xmlrpc-0.3.0.1/lib/xmlrpc/client.rb --- ruby-xmlrpc-0.3.2/lib/xmlrpc/client.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/lib/xmlrpc/client.rb 2022-01-29 15:19:11.000000000 +0000 @@ -512,26 +512,16 @@ # assume text/xml on instances where Content-Type header is not set ct_expected = resp["Content-Type"] || 'text/xml' ct = parse_content_type(ct_expected).first - case ct - when "text/xml", "application/xml" - # OK - else - message = - "Wrong content-type " + - "(received '#{ct}' but expected 'text/xml' or 'application/xml')" + if ct != "text/xml" if ct == "text/html" - raise "#{message}:\n#{data}" + raise "Wrong content-type (received '#{ct}' but expected 'text/xml'): \n#{data}" else - raise message + raise "Wrong content-type (received '#{ct}' but expected 'text/xml')" end end - if data.nil? - raise "No data" - end - expected = resp["Content-Length"] || "" - if data.bytesize == 0 + if data.nil? or data.bytesize == 0 raise "Wrong size. Was #{data.bytesize}, should be #{expected}" end diff -Nru ruby-xmlrpc-0.3.2/lib/xmlrpc/create.rb ruby-xmlrpc-0.3.0.1/lib/xmlrpc/create.rb --- ruby-xmlrpc-0.3.2/lib/xmlrpc/create.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/lib/xmlrpc/create.rb 2022-01-29 15:19:11.000000000 +0000 @@ -12,7 +12,7 @@ module XMLWriter - module Element + class Abstract def ele(name, *children) element(name, nil, *children) end @@ -23,8 +23,7 @@ end - class Simple - include Element + class Simple < Abstract def document_to_str(doc) doc @@ -58,8 +57,7 @@ end # class Simple - class XMLParser - include Element + class XMLParser < Abstract def initialize require "xmltreebuilder" @@ -221,6 +219,8 @@ @writer.ele("struct", *h) when Hash + # TODO: can a Hash be empty? + h = param.collect do |key, value| @writer.ele("member", @writer.tag("name", key.to_s), @@ -231,6 +231,7 @@ @writer.ele("struct", *h) when Array + # TODO: can an Array be empty? a = param.collect {|v| conv2value(v) } @writer.ele("array", diff -Nru ruby-xmlrpc-0.3.2/lib/xmlrpc/server.rb ruby-xmlrpc-0.3.0.1/lib/xmlrpc/server.rb --- ruby-xmlrpc-0.3.2/lib/xmlrpc/server.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/lib/xmlrpc/server.rb 2022-01-29 15:19:11.000000000 +0000 @@ -594,11 +594,6 @@ @server.shutdown end - # Get the port of the server, useful when started with port=0 - def port - @server.config[:Port] - end - end diff -Nru ruby-xmlrpc-0.3.2/lib/xmlrpc.rb ruby-xmlrpc-0.3.0.1/lib/xmlrpc.rb --- ruby-xmlrpc-0.3.2/lib/xmlrpc.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/lib/xmlrpc.rb 2022-01-29 15:19:11.000000000 +0000 @@ -289,5 +289,5 @@ # # You can change the XML-writer by calling method ParserWriterChooseMixin#set_writer. module XMLRPC - VERSION = "0.3.2" + VERSION = "0.3.0" end diff -Nru ruby-xmlrpc-0.3.2/NEWS.md ruby-xmlrpc-0.3.0.1/NEWS.md --- ruby-xmlrpc-0.3.2/NEWS.md 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/NEWS.md 1970-01-01 00:00:00.000000000 +0000 @@ -1,39 +0,0 @@ -# News - -## 0.3.2 - -### Improvements - - * Added support for Ruby 3.0. - [GitHub#27][Reported by Herwin Weststrate] - -### Thanks - - * Herwin Weststrate - -## 0.3.1 - -### Improvements - - * Added support for comparing `XMLRPC::Base64`. - [GitHub#14][Patch by Herwin Weststrate] - - * Added support for `application/xml` as `Content-Type`. - [GitHub#24][Reported by Reiermeyer] - - * Added `XMLRPC::Server#port`. - [GitHub#17][Reported by Harald Sitter] - [GitHub#18][Patch by Herwin Weststrate] - -### Fixes - - * Fixed a bug that unexpected exception is raised on no data. - [GitHub#25][Patch by Herwin Weststrate] - -### Thanks - - * Herwin Weststrate - - * Reiermeyer - - * Harald Sitter diff -Nru ruby-xmlrpc-0.3.2/test/test_base64.rb ruby-xmlrpc-0.3.0.1/test/test_base64.rb --- ruby-xmlrpc-0.3.2/test/test_base64.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_base64.rb 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -# frozen_string_literal: true -require 'test/unit' -require 'xmlrpc/base64' - -module TestXMLRPC - class Test_Base64 < Test::Unit::TestCase - def test_equals - refute_equal(XMLRPC::Base64.new('foobar'), 'foobar') - refute_equal(XMLRPC::Base64.new('foo'), XMLRPC::Base64.new('bar')) - assert_equal(XMLRPC::Base64.new('foobar'), XMLRPC::Base64.new('foobar')) - end - end -end diff -Nru ruby-xmlrpc-0.3.2/test/test_client.rb ruby-xmlrpc-0.3.0.1/test/test_client.rb --- ruby-xmlrpc-0.3.2/test/test_client.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_client.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require 'xmlrpc/client' require 'net/http' begin @@ -254,28 +254,6 @@ assert_equal expected, resp end - def test_application_xml_content_type - fh = read 'blog.xml' - - responses = { - '/foo' => [ Fake::Response.new(fh, [['Content-Type', 'application/xml']]) ] - } - - client = fake_client(responses).new2 'http://example.org/foo' - - resp = client.call('wp.getUsersBlogs', 'tlo', 'omg') - - expected = [{ - "isAdmin" => true, - "url" => "http://tenderlovemaking.com/", - "blogid" => "1", - "blogName" => "Tender Lovemaking", - "xmlrpc" => "http://tenderlovemaking.com/xmlrpc.php" - }] - - assert_equal expected, resp - end - # make a request without content-type header def test_bad_content_type fh = read 'blog.xml' @@ -299,18 +277,6 @@ assert_equal expected, resp end - def test_no_data - responses = { - '/foo' => [ Fake::Response.new(nil, [['Content-Type', 'text/xml']]) ] - } - - client = fake_client(responses).new2 'http://example.org/foo' - - assert_raise(RuntimeError.new("No data")) do - client.call('wp.getUsersBlogs', 'tlo', 'omg') - end - end - def test_i8_tag fh = read('blog.xml').gsub(/string/, 'i8') diff -Nru ruby-xmlrpc-0.3.2/test/test_cookie.rb ruby-xmlrpc-0.3.0.1/test/test_cookie.rb --- ruby-xmlrpc-0.3.2/test/test_cookie.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_cookie.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require 'time' require 'webrick' require_relative 'webrick_testing' diff -Nru ruby-xmlrpc-0.3.2/test/test_datetime.rb ruby-xmlrpc-0.3.0.1/test/test_datetime.rb --- ruby-xmlrpc-0.3.2/test/test_datetime.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_datetime.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require "xmlrpc/datetime" module TestXMLRPC diff -Nru ruby-xmlrpc-0.3.2/test/test_features.rb ruby-xmlrpc-0.3.0.1/test/test_features.rb --- ruby-xmlrpc-0.3.2/test/test_features.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_features.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require "xmlrpc/create" require "xmlrpc/parser" require "xmlrpc/config" diff -Nru ruby-xmlrpc-0.3.2/test/test_helper.rb ruby-xmlrpc-0.3.0.1/test/test_helper.rb --- ruby-xmlrpc-0.3.2/test/test_helper.rb 1970-01-01 00:00:00.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_helper.rb 2022-01-29 15:19:11.000000000 +0000 @@ -0,0 +1,41 @@ +$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) +require 'test/unit' + +module Test + module Unit + module Assertions + + # threads should respond to shift method. + # Array can be used. + def assert_join_threads(threads, message = nil) + errs = [] + values = [] + while th = threads.shift + begin + values << th.value + rescue Exception + errs << [th, $!] + end + end + if !errs.empty? + msg = "exceptions on #{errs.length} threads:\n" + + errs.map {|t, err| + "#{t.inspect}:\n" + + err.backtrace.map.with_index {|line, i| + if i == 0 + "#{line}: #{err.message} (#{err.class})" + else + "\tfrom #{line}" + end + }.join("\n") + }.join("\n---\n") + if message + msg = "#{message}\n#{msg}" + end + raise MiniTest::Assertion, msg + end + values + end + end + end +end diff -Nru ruby-xmlrpc-0.3.2/test/test_marshal.rb ruby-xmlrpc-0.3.0.1/test/test_marshal.rb --- ruby-xmlrpc-0.3.2/test/test_marshal.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_marshal.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require "xmlrpc/marshal" module TestXMLRPC @@ -75,8 +75,8 @@ pers = m.load_response(m.dump_response(person)) - assert_kind_of( Person, pers ) - assert_equal( person.name, pers.name ) + assert( pers.is_a?(Person) ) + assert( person.name == pers.name ) end # missing, Date, Time, DateTime diff -Nru ruby-xmlrpc-0.3.2/test/test_parser.rb ruby-xmlrpc-0.3.0.1/test/test_parser.rb --- ruby-xmlrpc-0.3.2/test/test_parser.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_parser.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,5 +1,5 @@ # frozen_string_literal: false -require 'test/unit' +require 'test_helper' require 'xmlrpc/datetime' require "xmlrpc/parser" require 'yaml' diff -Nru ruby-xmlrpc-0.3.2/test/test_server.rb ruby-xmlrpc-0.3.0.1/test/test_server.rb --- ruby-xmlrpc-0.3.2/test/test_server.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_server.rb 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -# coding: utf-8 -# frozen_string_literal: true - -require 'test/unit' -require 'stringio' -require 'xmlrpc/client' -require 'xmlrpc/server' - -module TestXMLRPC -class TestXMLRPCServer < Test::Unit::TestCase - def test_port - s = nil - begin - stdout, $stdout = $stdout, StringIO.new - stderr, $stderr = $stderr, StringIO.new - s = XMLRPC::Server.new(0, '127.0.0.1', 1) - ensure - $stdout = stdout - $stderr = stderr - end - refute_equal(0, s.port, 'Selected random port') - - s.add_handler('test.add') { |a, b| a + b } - srv_thread = Thread.new { s.serve } - - begin - c = XMLRPC::Client.new('127.0.0.1', '/', s.port) - assert_equal(7, c.call('test.add', 3, 4)) - ensure - s.shutdown - srv_thread.kill - end - end -end -end diff -Nru ruby-xmlrpc-0.3.2/test/test_xmlrpc.rb ruby-xmlrpc-0.3.0.1/test/test_xmlrpc.rb --- ruby-xmlrpc-0.3.2/test/test_xmlrpc.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/test_xmlrpc.rb 2022-01-29 15:19:11.000000000 +0000 @@ -1,4 +1,4 @@ -require 'test/unit' +require 'test_helper' require 'xmlrpc' class XmlrpcTest < Test::Unit::TestCase diff -Nru ruby-xmlrpc-0.3.2/test/webrick_testing.rb ruby-xmlrpc-0.3.0.1/test/webrick_testing.rb --- ruby-xmlrpc-0.3.2/test/webrick_testing.rb 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/test/webrick_testing.rb 2022-01-29 15:19:11.000000000 +0000 @@ -59,16 +59,19 @@ servlet = servlet.call(w) if servlet.respond_to? :call w.mount('/RPC2', servlet) } - - begin - yield addr - ensure - @__server.shutdown - end - - @__server_thread.join - @__server = nil - assert_equal([], log) + client_thread = Thread.new { + begin + yield addr + ensure + @__server.shutdown + end + } + server_thread = Thread.new { + @__server_thread.join + @__server = nil + assert_equal([], log) + } + assert_join_threads([client_thread, server_thread]) end end end diff -Nru ruby-xmlrpc-0.3.2/.travis.yml ruby-xmlrpc-0.3.0.1/.travis.yml --- ruby-xmlrpc-0.3.2/.travis.yml 1970-01-01 00:00:00.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/.travis.yml 2022-01-29 15:19:11.000000000 +0000 @@ -0,0 +1,6 @@ +language: ruby +rvm: + - 2.3.3 + - 2.4.0 + - ruby-head +before_install: gem update bundler diff -Nru ruby-xmlrpc-0.3.2/xmlrpc.gemspec ruby-xmlrpc-0.3.0.1/xmlrpc.gemspec --- ruby-xmlrpc-0.3.2/xmlrpc.gemspec 2021-02-04 21:31:26.000000000 +0000 +++ ruby-xmlrpc-0.3.0.1/xmlrpc.gemspec 2022-01-29 15:19:11.000000000 +0000 @@ -6,13 +6,13 @@ Gem::Specification.new do |spec| spec.name = "xmlrpc" spec.version = XMLRPC::VERSION - spec.authors = ["SHIBATA Hiroshi", "Sutou Kouhei"] - spec.email = ["hsbt@ruby-lang.org", "kou@cozmixng.org"] + spec.authors = ["SHIBATA Hiroshi"] + spec.email = ["hsbt@ruby-lang.org"] spec.summary = %q{XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP.} spec.description = %q{XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP.} spec.homepage = "https://github.com/ruby/xmlrpc" - spec.licenses = ["Ruby", "BSD-2-Clause"] + spec.license = "Ruby" spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.bindir = "exe" @@ -20,8 +20,6 @@ spec.require_paths = ["lib"] spec.required_ruby_version = ">= 2.3" - spec.add_dependency "webrick" - spec.add_development_dependency "bundler" spec.add_development_dependency "rake" spec.add_development_dependency "test-unit"