Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-http-cookie for
openSUSE:Factory checked in at 2022-08-09 15:26:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-http-cookie (Old)
and /work/SRC/openSUSE:Factory/.rubygem-http-cookie.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-http-cookie"
Tue Aug 9 15:26:35 2022 rev:2 rq:993487 version:1.0.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-http-cookie/rubygem-http-cookie.changes
2021-08-25 21:00:13.473002364 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-http-cookie.new.1521/rubygem-http-cookie.changes
2022-08-09 15:26:45.473351834 +0200
@@ -1,0 +2,7 @@
+Thu Aug 4 13:14:52 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 1.0.5
+ see installed CHANGELOG.md
+
+
+-------------------------------------------------------------------
Old:
----
http-cookie-1.0.4.gem
New:
----
http-cookie-1.0.5.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-http-cookie.spec ++++++
--- /var/tmp/diff_new_pack.IlAjZp/_old 2022-08-09 15:26:45.929353137 +0200
+++ /var/tmp/diff_new_pack.IlAjZp/_new 2022-08-09 15:26:45.937353159 +0200
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-http-cookie
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,28 @@
#
-%define mod_name http-cookie
-%define mod_full_name %{mod_name}-%{version}
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
+
Name: rubygem-http-cookie
-Version: 1.0.4
+Version: 1.0.5
Release: 0
-Summary: A Ruby library to handle HTTP Cookies based on RFC 6265
-License: MIT
-Group: Development/Languages/Ruby
-URL: https://github.com/sparklemotion/http-cookie
-Source: https://rubygems.org/gems/%{mod_full_name}.gem
-Source1: gem2rpm.yml
+%define mod_name http-cookie
+%define mod_full_name %{mod_name}-%{version}
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
+URL: https://github.com/sparklemotion/http-cookie
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
+Summary: A Ruby library to handle HTTP Cookies based on RFC 6265
+License: MIT
+Group: Development/Languages/Ruby
%description
HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It
@@ -57,7 +59,6 @@
find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.travis.yml' -o -name
'.gitignore' \) | xargs rm
# /MANUAL
-
%gem_packages
%changelog
++++++ http-cookie-1.0.4.gem -> http-cookie-1.0.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.github/workflows/ci.yml new/.github/workflows/ci.yml
--- old/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/.github/workflows/ci.yml 2022-05-25 10:47:29.000000000 +0200
@@ -0,0 +1,37 @@
+name: CI
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - "*"
+
+jobs:
+ test:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu]
+ # We still kind of support Ruby 1.8.7
+ ruby: [2.7, "3.0", 3.1, head, jruby]
+
+ name: >-
+ ${{matrix.os}}:ruby-${{matrix.ruby}}
+ runs-on: ${{matrix.os}}-latest
+ continue-on-error: ${{matrix.ruby == 'head' || matrix.ruby == 'jruby'}}
+
+ steps:
+ - name: Check out
+ uses: actions/checkout@v2
+
+ - name: Set up ruby and bundle
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{matrix.ruby}}
+ bundler-cache: true
+
+ - name: Run rake
+ run: |
+ bundle exec rake
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2021-06-07 09:47:12.000000000 +0200
+++ new/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-sudo: false
-language: ruby
-cache: bundler
-rvm:
- - 1.8.7
- - ree
- - 1.9.3
- - 2.0.0
- - 2.1
- - 2.2
- - 2.3.0
- - ruby-head
- - jruby-1.7
- - jruby-9
- - rbx-2
-matrix:
- allow_failures:
- - rvm: ruby-head
- - rvm: rbx-2
-before_install:
- - gem update bundler
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2021-06-07 09:47:12.000000000 +0200
+++ new/CHANGELOG.md 2022-05-25 10:47:29.000000000 +0200
@@ -1,4 +1,8 @@
-## Unreleased
+## 1.0.5 (2022-05-25)
+
+- Silence SQLite3 warnings
+
+## 1.0.4 (2021-06-07)
- Support Mozilla's cookie storage format up to version 7.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/http-cookie.gemspec new/http-cookie.gemspec
--- old/http-cookie.gemspec 2021-06-07 09:47:12.000000000 +0200
+++ new/http-cookie.gemspec 2022-05-25 10:47:29.000000000 +0200
@@ -25,7 +25,7 @@
gem.extra_rdoc_files = ['README.md', 'LICENSE.txt']
gem.add_runtime_dependency("domain_name", ["~> 0.5"])
- gem.add_development_dependency("sqlite3", ["~> 1.3.3"]) unless
defined?(JRUBY_VERSION)
+ gem.add_development_dependency("sqlite3", ["~> 1.3"]) unless
defined?(JRUBY_VERSION)
gem.add_development_dependency("bundler", [">= 1.2.0"])
gem.add_development_dependency("test-unit", [">= 2.4.3", *("< 3" if
RUBY_VERSION < "1.9")])
gem.add_development_dependency("rake", [">= 0.9.2.2", *("< 11" if
RUBY_VERSION < "1.9")])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/http/cookie/version.rb
new/lib/http/cookie/version.rb
--- old/lib/http/cookie/version.rb 2021-06-07 09:47:12.000000000 +0200
+++ new/lib/http/cookie/version.rb 2022-05-25 10:47:29.000000000 +0200
@@ -1,5 +1,5 @@
module HTTP
class Cookie
- VERSION = "1.0.4"
+ VERSION = "1.0.5"
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/http/cookie_jar/mozilla_store.rb
new/lib/http/cookie_jar/mozilla_store.rb
--- old/lib/http/cookie_jar/mozilla_store.rb 2021-06-07 09:47:12.000000000
+0200
+++ new/lib/http/cookie_jar/mozilla_store.rb 2022-05-25 10:47:29.000000000
+0200
@@ -136,7 +136,7 @@
# Returns the schema version of the database.
def schema_version
- @schema_version ||= @db.execute("PRAGMA user_version").first[0]
+ @schema_version ||= @db.execute("PRAGMA
user_version").first["user_version"]
rescue SQLite3::SQLException
@logger.warn "couldn't get schema version!" if @logger
return nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2021-06-07 09:47:12.000000000 +0200
+++ new/metadata 2022-05-25 10:47:29.000000000 +0200
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: http-cookie
version: !ruby/object:Gem::Version
- version: 1.0.4
+ version: 1.0.5
platform: ruby
authors:
- Akinori MUSHA
@@ -11,7 +11,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2021-06-07 00:00:00.000000000 Z
+date: 2022-05-25 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: domain_name
@@ -33,14 +33,14 @@
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 1.3.3
+ version: '1.3'
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - "~>"
- !ruby/object:Gem::Version
- version: 1.3.3
+ version: '1.3'
- !ruby/object:Gem::Dependency
name: bundler
requirement: !ruby/object:Gem::Requirement
@@ -127,8 +127,8 @@
- README.md
- LICENSE.txt
files:
+- ".github/workflows/ci.yml"
- ".gitignore"
-- ".travis.yml"
- CHANGELOG.md
- Gemfile
- LICENSE.txt
@@ -171,7 +171,7 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.2.11
+rubygems_version: 3.3.14
signing_key:
specification_version: 4
summary: A Ruby library to handle HTTP Cookies based on RFC 6265
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test/test_http_cookie.rb new/test/test_http_cookie.rb
--- old/test/test_http_cookie.rb 2021-06-07 09:47:12.000000000 +0200
+++ new/test/test_http_cookie.rb 2022-05-25 10:47:29.000000000 +0200
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
require File.expand_path('helper', File.dirname(__FILE__))
+require 'psych' if !defined?(YAML) && RUBY_VERSION == "1.9.2"
+require 'yaml'
class TestHTTPCookie < Test::Unit::TestCase
def setup
@@ -1073,6 +1075,16 @@
}
end
+ if YAML.name == 'Psych' && Psych::VERSION >= '3.1'
+ private def load_yaml(yaml)
+ YAML.safe_load(yaml, :permitted_classes => %w[Time HTTP::Cookie
Mechanize::Cookie DomainName], :aliases => true)
+ end
+ else
+ private def load_yaml(yaml)
+ YAML.load(yaml)
+ end
+ end
+
def test_yaml_expires
require 'yaml'
cookie = HTTP::Cookie.new(cookie_values)
@@ -1080,29 +1092,29 @@
assert_equal false, cookie.session?
assert_equal nil, cookie.max_age
- ycookie = YAML.load(cookie.to_yaml)
+ ycookie = load_yaml(cookie.to_yaml)
assert_equal false, ycookie.session?
assert_equal nil, ycookie.max_age
assert_in_delta cookie.expires, ycookie.expires, 1
cookie.expires = nil
- ycookie = YAML.load(cookie.to_yaml)
+ ycookie = load_yaml(cookie.to_yaml)
assert_equal true, ycookie.session?
assert_equal nil, ycookie.max_age
cookie.expires = Time.now + 3600
- ycookie = YAML.load(cookie.to_yaml)
+ ycookie = load_yaml(cookie.to_yaml)
assert_equal false, ycookie.session?
assert_equal nil, ycookie.max_age
assert_in_delta cookie.expires, ycookie.expires, 1
cookie.max_age = 3600
- ycookie = YAML.load(cookie.to_yaml)
+ ycookie = load_yaml(cookie.to_yaml)
assert_equal false, ycookie.session?
assert_in_delta cookie.created_at + 3600, ycookie.expires, 1
cookie.max_age = nil
- ycookie = YAML.load(cookie.to_yaml)
+ ycookie = load_yaml(cookie.to_yaml)
assert_equal true, ycookie.session?
assert_equal nil, ycookie.expires
end