Hello community, here is the log from the commit of package rubygem-public_suffix for openSUSE:Factory checked in at 2017-11-18 00:21:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-public_suffix (Old) and /work/SRC/openSUSE:Factory/.rubygem-public_suffix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-public_suffix" Sat Nov 18 00:21:27 2017 rev:3 rq:542640 version:3.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-public_suffix/rubygem-public_suffix.changes 2017-09-13 22:36:11.610122526 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-public_suffix.new/rubygem-public_suffix.changes 2017-11-18 00:21:39.622312996 +0100 @@ -1,0 +2,8 @@ +Fri Nov 17 10:38:25 UTC 2017 - mschnit...@suse.com + +- updated to version 3.0.1 + + CHANGED: Updated definitions. + CHANGED: Improve performance and avoid allocation (GH-146). [Thanks @robholland] + +------------------------------------------------------------------- Old: ---- public_suffix-3.0.0.gem New: ---- public_suffix-3.0.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-public_suffix.spec ++++++ --- /var/tmp/diff_new_pack.odugi5/_old 2017-11-18 00:21:40.402284598 +0100 +++ /var/tmp/diff_new_pack.odugi5/_new 2017-11-18 00:21:40.406284452 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-public_suffix -Version: 3.0.0 +Version: 3.0.1 Release: 0 %define mod_name public_suffix %define mod_full_name %{mod_name}-%{version} ++++++ public_suffix-3.0.0.gem -> public_suffix-3.0.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop_defaults.yml new/.rubocop_defaults.yml --- old/.rubocop_defaults.yml 2017-08-04 14:51:56.000000000 +0200 +++ new/.rubocop_defaults.yml 2017-11-08 21:42:27.000000000 +0100 @@ -6,6 +6,9 @@ - 'tmp/**/*' - 'vendor/**/*' +Lint/RescueWithoutErrorClass: + Enabled: false + # [codesmell] Metrics/AbcSize: Enabled: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2017-08-04 14:51:56.000000000 +0200 +++ new/.travis.yml 2017-11-08 21:42:27.000000000 +0100 @@ -3,24 +3,22 @@ rvm: - 2.1 - 2.2 - - 2.3.3 - - 2.4.0 + - 2.3 + - 2.4 + - jruby-9.1.5.0 - ruby-head - - jruby-9.0.5.0 - - jruby-9.1.0.0 -before_install: - - gem update --system - - gem install bundler +env: + - COVERALL=1 cache: - bundler -env: - - COVERALL=1 - matrix: allow_failures: - rvm: ruby-head - - rvm: jruby-9.0.5.0 - rvm: jruby-9.1.0.0 + +before_install: + - rvm get latest + - gem install bundler diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2017-08-04 14:51:56.000000000 +0200 +++ new/CHANGELOG.md 2017-11-08 21:42:27.000000000 +0100 @@ -1,6 +1,12 @@ # Changelog +#### Release 3.0.1 + +- CHANGED: Updated definitions. +- CHANGED: Improve performance and avoid allocation (GH-146). [Thanks @robholland] + + #### Release 3.0.0 This new version includes a major redesign of the library internals, with the goal to drastically diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2017-08-04 14:51:56.000000000 +0200 +++ new/README.md 2017-11-08 21:42:27.000000000 +0100 @@ -7,7 +7,7 @@ ## Requirements -- Ruby >= 2.0 +- Ruby >= 2.1 For an older versions of Ruby use a previous release. Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data/list.txt new/data/list.txt --- old/data/list.txt 2017-08-04 14:51:56.000000000 +0200 +++ new/data/list.txt 2017-11-08 21:42:27.000000000 +0100 @@ -399,24 +399,34 @@ // br : http://registro.br/dominio/categoria.html // Submitted by registry <fne...@registro.br> br +abc.br adm.br adv.br agr.br +aju.br am.br +aparecida.br arq.br art.br ato.br b.br belem.br +bhz.br bio.br blog.br bmd.br +boavista.br +bsb.br +campinas.br +caxias.br cim.br cng.br cnt.br com.br +contagem.br coop.br cri.br +cuiaba.br def.br ecn.br eco.br @@ -427,14 +437,17 @@ etc.br eti.br far.br +feira.br flog.br floripa.br fm.br fnd.br +fortal.br fot.br fst.br g12.br ggf.br +goiania.br gov.br // gov.br 26 states + df https://en.wikipedia.org/wiki/States_of_Brazil ac.gov.br @@ -464,42 +477,65 @@ se.gov.br sp.gov.br to.gov.br +gru.br imb.br ind.br inf.br +jab.br jampa.br +jdf.br +joinville.br jor.br jus.br leg.br lel.br +londrina.br +macapa.br +maceio.br mat.br med.br mil.br +morena.br mp.br mus.br +natal.br net.br +niteroi.br *.nom.br not.br ntr.br odo.br org.br +osasco.br +palmas.br poa.br ppg.br pro.br psc.br psi.br +pvh.br qsl.br radio.br rec.br recife.br +ribeirao.br +rio.br +riobranco.br +salvador.br +sampa.br +sjc.br slg.br +slz.br +sorocaba.br srv.br taxi.br teo.br +the.br tmp.br trd.br tur.br tv.br +udi.br vet.br vix.br vlog.br @@ -6472,6 +6508,17 @@ pvt.k12.ma.us chtr.k12.ma.us paroch.k12.ma.us +// Merit Network, Inc. maintains the registry for =~ /(k12|cc|lib).mi.us/ and the following +// see also: http://domreg.merit.edu +// see also: whois -h whois.domreg.merit.edu help +ann-arbor.mi.us +cog.mi.us +dst.mi.us +eaton.mi.us +gen.mi.us +mus.mi.us +tec.mi.us +washtenaw.mi.us // uy : http://www.nic.org.uy/ uy @@ -7473,9 +7520,6 @@ // chintai : 2015-06-11 CHINTAI Corporation chintai -// chloe : 2014-10-16 Richemont DNS Inc. -chloe - // christmas : 2013-11-21 Uniregistry, Corp. christmas @@ -8346,9 +8390,6 @@ // hsbc : 2014-10-24 HSBC Holdings PLC hsbc -// htc : 2015-04-02 HTC corporation -htc - // hughes : 2015-07-30 Hughes Satellite Systems Corporation hughes @@ -8802,12 +8843,6 @@ // mba : 2015-04-02 Lone Hollow, LLC mba -// mcd : 2015-07-30 McDonald’s Corporation -mcd - -// mcdonalds : 2015-07-30 McDonald’s Corporation -mcdonalds - // mckinsey : 2015-07-31 McKinsey Holdings, Inc. mckinsey @@ -8898,9 +8933,6 @@ // monster : 2015-09-11 Monster Worldwide, Inc. monster -// montblanc : 2014-06-23 Richemont DNS Inc. -montblanc - // mopar : 2015-07-30 FCA US LLC. mopar @@ -9132,9 +9164,6 @@ // page : 2014-12-04 Charleston Road Registry Inc. page -// pamperedchef : 2015-02-05 The Pampered Chef, Ltd. -pamperedchef - // panasonic : 2015-07-30 Panasonic Corporation panasonic @@ -10582,8 +10611,23 @@ // Amazon Elastic Beanstalk : https://aws.amazon.com/elasticbeanstalk/ // Submitted by Luke Wells <psl-maintain...@amazon.com> -elasticbeanstalk.cn-north-1.amazonaws.com.cn -*.elasticbeanstalk.com +cn-north-1.eb.amazonaws.com.cn +elasticbeanstalk.com +ap-northeast-1.elasticbeanstalk.com +ap-northeast-2.elasticbeanstalk.com +ap-south-1.elasticbeanstalk.com +ap-southeast-1.elasticbeanstalk.com +ap-southeast-2.elasticbeanstalk.com +ca-central-1.elasticbeanstalk.com +eu-central-1.elasticbeanstalk.com +eu-west-1.elasticbeanstalk.com +eu-west-2.elasticbeanstalk.com +sa-east-1.elasticbeanstalk.com +us-east-1.elasticbeanstalk.com +us-east-2.elasticbeanstalk.com +us-gov-west-1.elasticbeanstalk.com +us-west-1.elasticbeanstalk.com +us-west-2.elasticbeanstalk.com // Amazon Elastic Load Balancing : https://aws.amazon.com/elasticloadbalancing/ // Submitted by Luke Wells <psl-maintain...@amazon.com> @@ -10871,6 +10915,10 @@ reg.dk store.dk +// Debian : https://www.debian.org/ +// Submitted by Peter Palfrader / Debian Sysadmin Team <dsa-publicsuffixl...@debian.org> +debian.net + // deSEC : https://desec.io/ // Submitted by Peter Thomassen <pe...@desec.io> dedyn.io @@ -11398,6 +11446,10 @@ vladimir.su vologda.su +// Fancy Bits, LLC : http://getchannels.com +// Submitted by Aman Gupta <a...@getchannels.com> +channelsdvr.net + // Fastly Inc. : http://www.fastly.com/ // Submitted by Fastly Security <secur...@fastly.com> fastlylb.net @@ -11448,6 +11500,7 @@ // Futureweb OG : http://www.futureweb.at // Submitted by Andreas Schnederle-Wagner <schnede...@futureweb.at> +*.futurecms.at futurehosting.at futuremailing.at *.ex.ortsinfo.at @@ -11630,6 +11683,10 @@ sp.leg.br to.leg.br +// intermetrics GmbH : https://pixolino.com/ +// Submitted by Wolfgang Schwarz <ad...@intermetrics.de> +pixolino.com + // IPiFony Systems, Inc. : https://www.ipifony.com/ // Submitted by Matthew Hardeman <mharde...@ipifony.com> ipifony.net @@ -11953,6 +12010,7 @@ // Publication Presse Communication SARL : https://ppcom.fr // Submitted by Yaacov Akiba Slama <ad...@chirurgiens-dentistes-en-france.fr> chirurgiens-dentistes-en-france.fr +byen.site // QA2 // Submitted by Daniel Dent (https://www.danieldent.com/) @@ -12180,10 +12238,15 @@ // Submitted by Simon Kissel <hostmas...@viprinet.com> router.management +// Virtual-Info : https://www.virtual-info.info/ +// Submitted by Adnan RIHAN <hostmas...@v-info.info> +v-info.info + // WeDeploy by Liferay, Inc. : https://www.wedeploy.com // Submitted by Henrique Vicente <secur...@wedeploy.com> wedeploy.io wedeploy.me +wedeploy.sh // Western Digital Technologies, Inc : https://www.wdc.com // Submitted by Jung Jin <jungseok....@wdc.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/public_suffix/list.rb new/lib/public_suffix/list.rb --- old/lib/public_suffix/list.rb 2017-08-04 14:51:56.000000000 +0200 +++ new/lib/public_suffix/list.rb 2017-11-08 21:42:27.000000000 +0100 @@ -51,9 +51,7 @@ # Sets the default rule list to +value+. # - # @param [PublicSuffix::List] value - # The new rule list. - # + # @param value [PublicSuffix::List] the new list # @return [PublicSuffix::List] def self.default=(value) @default = value @@ -63,9 +61,9 @@ # # See http://publicsuffix.org/format/ for more details about input format. # - # @param string [#each_line] The list to parse. - # @param private_domains [Boolean] whether to ignore the private domains section. - # @return [Array<PublicSuffix::Rule::*>] + # @param string [#each_line] the list to parse + # @param private_domains [Boolean] whether to ignore the private domains section + # @return [PublicSuffix::List] def self.parse(input, private_domains: true) comment_token = "//".freeze private_token = "===BEGIN PRIVATE DOMAINS===".freeze diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/public_suffix/rule.rb new/lib/public_suffix/rule.rb --- old/lib/public_suffix/rule.rb 2017-08-04 14:51:56.000000000 +0200 +++ new/lib/public_suffix/rule.rb 2017-11-08 21:42:27.000000000 +0100 @@ -165,7 +165,7 @@ # we need to properly walk the input and skip parts according # to wildcard component. diff = name.chomp(value) - diff.empty? || diff[-1] == DOT + diff.empty? || diff.end_with?(DOT) end # @abstract diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/public_suffix/version.rb new/lib/public_suffix/version.rb --- old/lib/public_suffix/version.rb 2017-08-04 14:51:56.000000000 +0200 +++ new/lib/public_suffix/version.rb 2017-11-08 21:42:27.000000000 +0100 @@ -6,5 +6,5 @@ module PublicSuffix # The current library version. - VERSION = "3.0.0".freeze + VERSION = "3.0.1".freeze end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-08-04 14:51:56.000000000 +0200 +++ new/metadata 2017-11-08 21:42:27.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: public_suffix version: !ruby/object:Gem::Version - version: 3.0.0 + version: 3.0.1 platform: ruby authors: - Simone Carletti autorequire: bindir: bin cert_chain: [] -date: 2017-08-04 00:00:00.000000000 Z +date: 2017-11-08 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/unit/list_test.rb new/test/unit/list_test.rb --- old/test/unit/list_test.rb 2017-08-04 14:51:56.000000000 +0200 +++ new/test/unit/list_test.rb 2017-11-08 21:42:27.000000000 +0100 @@ -28,10 +28,10 @@ end def test_each_without_block - list = PublicSuffix::List.parse(<<EOS) + list = PublicSuffix::List.parse(<<LIST) alpha beta -EOS +LIST assert_kind_of Enumerator, list.each assert_equal 2, list.each.count @@ -39,10 +39,10 @@ end def test_each_with_block - list = PublicSuffix::List.parse(<<EOS) + list = PublicSuffix::List.parse(<<LIST) alpha beta -EOS +LIST entries = [] list.each { |r| entries << r } @@ -90,7 +90,7 @@ def test_find - list = PublicSuffix::List.parse(<<EOS) + list = PublicSuffix::List.parse(<<LIST) // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. @@ -116,7 +116,7 @@ blogspot.com // ===END PRIVATE DOMAINS=== -EOS +LIST # match IANA assert_equal PublicSuffix::Rule.factory("com"), list.find("example.com") @@ -186,7 +186,7 @@ end def test_self_parse - list = PublicSuffix::List.parse(<<EOS) + list = PublicSuffix::List.parse(<<LIST) // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. @@ -207,7 +207,7 @@ blogspot.com // ===END PRIVATE DOMAINS=== -EOS +LIST assert_instance_of PublicSuffix::List, list assert_equal 4, list.size @@ -224,7 +224,7 @@ private def list - @_list ||= PublicSuffix::List.parse(<<EOS) + @_list ||= PublicSuffix::List.parse(<<LIST) // com : http://en.wikipedia.org/wiki/.com com @@ -233,7 +233,7 @@ *.sch.uk !bl.uk !british-library.uk -EOS +LIST end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/unit/public_suffix_test.rb new/test/unit/public_suffix_test.rb --- old/test/unit/public_suffix_test.rb 2017-08-04 14:51:56.000000000 +0200 +++ new/test/unit/public_suffix_test.rb 2017-11-08 21:42:27.000000000 +0100 @@ -156,7 +156,7 @@ nil, "", " ", - ].each do |input, _| + ].each do |input| error = PublicSuffix.normalize(input) assert_instance_of PublicSuffix::DomainInvalid, error assert_equal "Name is blank", error.message @@ -166,7 +166,7 @@ def test_normalize_scheme [ "https://google.com", - ].each do |input, _| + ].each do |input| error = PublicSuffix.normalize(input) assert_instance_of PublicSuffix::DomainInvalid, error assert_match(/scheme/, error.message) @@ -176,7 +176,7 @@ def test_normalize_leading_dot [ ".google.com", - ].each do |input, _| + ].each do |input| error = PublicSuffix.normalize(input) assert_instance_of PublicSuffix::DomainInvalid, error assert_match "Name starts with a dot", error.message