From 94d0b15e29ecdaf6dcabd82b7a2dbc2dfd2961e77dc7665d716676875e6ec32e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 6 Nov 2024 08:00:36 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96:=20Automatic=20update=20to=201.0.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-http-cookie?expand=0&rev=14 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + gem2rpm.yml | 70 ++++++++++++++++++++++++++++++++++++ http-cookie-1.0.6.gem | 3 ++ http-cookie-1.0.7.gem | 3 ++ rubygem-http-cookie.changes | 71 +++++++++++++++++++++++++++++++++++++ rubygem-http-cookie.spec | 62 ++++++++++++++++++++++++++++++++ 7 files changed, 233 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gem2rpm.yml create mode 100644 http-cookie-1.0.6.gem create mode 100644 http-cookie-1.0.7.gem create mode 100644 rubygem-http-cookie.changes create mode 100644 rubygem-http-cookie.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..c8bb494 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,70 @@ +--- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +:post_install: |- + # drop files from the git repository + find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.travis.yml' -o -name '.gitignore' \) | xargs rm +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# diff --git a/http-cookie-1.0.6.gem b/http-cookie-1.0.6.gem new file mode 100644 index 0000000..520f67d --- /dev/null +++ b/http-cookie-1.0.6.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7713d3196f21ff5ab0944011d7d4e619b62ec082374a52de2193ccfe78924044 +size 40448 diff --git a/http-cookie-1.0.7.gem b/http-cookie-1.0.7.gem new file mode 100644 index 0000000..157923e --- /dev/null +++ b/http-cookie-1.0.7.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb7a399f3344f720b8a0f3b0765f29b62608ebb9c3ce4abf4d6eeff2caf42253 +size 40448 diff --git a/rubygem-http-cookie.changes b/rubygem-http-cookie.changes new file mode 100644 index 0000000..98ef328 --- /dev/null +++ b/rubygem-http-cookie.changes @@ -0,0 +1,71 @@ +------------------------------------------------------------------- +Mon Nov 4 16:52:37 UTC 2024 - Dan Čermák + +- ## 1.0.7 (2024-06-06) + +- Explicitly require "cgi" to avoid `NameError` in some applications. (#50 by @flavorjones) + +## 1.0.6 (2024-06-01) + +- Fix error formatting bug in HTTP::CookieJar::AbstractStore (#42 by @andrelaszlo) +- Allow non-RFC 3986-compliant URLs (#45 by @c960657) +- Add coverage for Ruby 3.2 and 3.3 (#46 by @flavorjones) +- Quash ruby 3.4 warnings (#47 by @flavorjones) + + +------------------------------------------------------------------- +Fri Jun 21 10:02:35 UTC 2024 - Dan Čermák + +- New upstream release 1.0.6, see bundled CHANGELOG.md + +------------------------------------------------------------------- +Thu Aug 4 13:14:52 UTC 2022 - Stephan Kulow + +updated to version 1.0.5 + see installed CHANGELOG.md + + +------------------------------------------------------------------- +Wed Aug 25 12:41:06 UTC 2021 - Dan Čermák + +- Cleanup spec + +------------------------------------------------------------------- +Thu Jun 24 17:30:51 UTC 2021 - Stephan Kulow + +updated to version 1.0.4 + see installed CHANGELOG.md + + ## Unreleased + + - Support Mozilla's cookie storage format up to version 7. + + - Fix the time representation with creationTime and lastAccessed in + MozillaStore. (#8) + + +------------------------------------------------------------------- +Sat Oct 1 04:40:47 UTC 2016 - coolo@suse.com + +- updated to version 1.0.3 + see installed CHANGELOG.md + + ## 1.0.3 (2016-09-30) + + - Treat comma as normal character in HTTP::Cookie.cookie_value_to_hash + instead of key-value pair separator. This should fix the problem + described in CVE-2016-7401. + +------------------------------------------------------------------- +Fri Sep 13 11:06:22 UTC 2013 - coolo@suse.com + +- updated to version 1.0.2 + - Fix HTTP::Cookie.parse so that it does not raise ArgumentError + when it finds a bad name or value that is parsable but considered + invalid. + +------------------------------------------------------------------- +Fri May 24 08:37:46 UTC 2013 - coolo@suse.com + +- initial package + diff --git a/rubygem-http-cookie.spec b/rubygem-http-cookie.spec new file mode 100644 index 0000000..0efa831 --- /dev/null +++ b/rubygem-http-cookie.spec @@ -0,0 +1,62 @@ +# +# spec file for package rubygem-http-cookie +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# +# 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.7 +Release: 0 +%define mod_name http-cookie +%define mod_full_name %{mod_name}-%{version} +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 + +%description +HTTP::Cookie is a Ruby library to handle HTTP Cookies based on RFC 6265. It +has with security, standards compliance and compatibility in mind, to behave +just the same as today's major web browsers. It has builtin support for the +legacy cookies.txt and the latest cookies.sqlite formats of Mozilla Firefox, +and its modular API makes it easy to add support for a new backend store. + +%prep + +%build + +%install +%gem_install \ + --doc-files="CHANGELOG.md LICENSE.txt README.md" \ + -f +# MANUAL +# drop files from the git repository +find %{buildroot}/%{_libdir}/ruby/gems/ \( -name '.travis.yml' -o -name '.gitignore' \) | xargs rm +# /MANUAL + +%gem_packages + +%changelog