Dan Čermák 2025-02-06 14:15:51 +00:00 committed by Git OBS Bridge
commit 7f2eccd3c9
8 changed files with 244 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

70
gem2rpm.yml Normal file
View File

@ -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
#

3
http-cookie-1.0.6.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7713d3196f21ff5ab0944011d7d4e619b62ec082374a52de2193ccfe78924044
size 40448

3
http-cookie-1.0.7.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb7a399f3344f720b8a0f3b0765f29b62608ebb9c3ce4abf4d6eeff2caf42253
size 40448

3
http-cookie-1.0.8.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b14fe0445cf24bf9ae098633e9b8d42e4c07c3c1f700672b09fbfe32ffd41aa6
size 40960

View File

@ -0,0 +1,79 @@
-------------------------------------------------------------------
Mon Feb 3 09:50:56 UTC 2025 - Dan Čermák <dan.cermak@posteo.net>
- ## 1.0.8 (2024-12-05)
- `Cookie#expires=` accepts `DateTime` objects. (#52) @luke-hill @flavorjones
-------------------------------------------------------------------
Mon Nov 4 16:52:37 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## 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 <dan.cermak@posteo.net>
- New upstream release 1.0.6, see bundled CHANGELOG.md
-------------------------------------------------------------------
Thu Aug 4 13:14:52 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 1.0.5
see installed CHANGELOG.md
-------------------------------------------------------------------
Wed Aug 25 12:41:06 UTC 2021 - Dan Čermák <dcermak@suse.com>
- Cleanup spec
-------------------------------------------------------------------
Thu Jun 24 17:30:51 UTC 2021 - Stephan Kulow <coolo@suse.com>
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

62
rubygem-http-cookie.spec Normal file
View File

@ -0,0 +1,62 @@
#
# spec file for package rubygem-http-cookie
#
# Copyright (c) 2025 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.8
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