Dan Čermák 2025-02-06 14:15:49 +00:00 committed by Git OBS Bridge
commit 8055f46eff
8 changed files with 293 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: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## 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
hashdiff-1.1.0.gem Normal file
View File

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

3
hashdiff-1.1.1.gem Normal file
View File

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

3
hashdiff-1.1.2.gem Normal file
View File

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

135
rubygem-hashdiff.changes Normal file
View File

@ -0,0 +1,135 @@
-------------------------------------------------------------------
Mon Feb 3 09:49:32 UTC 2025 - Dan Čermák <dan.cermak@posteo.net>
- ## v1.1.2 2024-11-12
* Fix bundler cache #96 (@olleolleolle)
* Quote the '3.0' in YAML #95 (@olleolleolle)
* Fix version in source code #97 (@liufengyun)
-------------------------------------------------------------------
Mon Nov 4 16:50:39 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- New upstream release 1.1.1, see bundled changelog.md
-------------------------------------------------------------------
Mon Jan 29 14:06:44 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
- ## v1.1.0 2020-02-25
* Add ignore_keys option (#86 @Matzfan)
* Remove pinned version of rake < 11
* Bump rspec dep ~> 3.5
* Bump rubocop dep >= 1.52.1
* Bump rubocop-rspec dep > 1.16.0
-------------------------------------------------------------------
Thu May 7 20:54:26 UTC 2020 - Stephan Kulow <coolo@suse.com>
- updated to version 1.0.1
see installed changelog.md
## v1.0.1 2020-02-25
* Add indifferent option
-------------------------------------------------------------------
Fri Jul 19 09:16:41 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 1.0.0
see installed changelog.md
## v1.0.0 2019-06-06
* Fix typo in readme (#72 @koic)
* Fix Rubocop offence (#73 @koic)
* Bumps version to v1.0.0 (#74 @jfelchner)
## v1.0.0.beta1 2019-06-06
* fix warnings in ci (#69 @y-yagi)
* drop warnings of the constant change (#70 @jfelchner)
## v0.4.0 2019-05-28
* refactoring (#56 #57 #59 #61 krzysiek1507)
* fix typo in README (#64 @pboling)
* change HashDiff to Hashdiff (#65 @jfelchner)
-------------------------------------------------------------------
Sun May 5 09:30:22 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 0.3.9
see installed changelog.md
## v0.3.9 2019-04-22
* Performance tweak (thanks @krzysiek1507: #51 #52 #53)
-------------------------------------------------------------------
Mon Jan 14 13:43:04 UTC 2019 - Stephan Kulow <coolo@suse.com>
- updated to version 0.3.8
see installed changelog.md
## v0.3.8 2018-12-30
* Add Rubocop and drops Ruby 1.9 support #47
-------------------------------------------------------------------
Mon Oct 9 07:01:34 UTC 2017 - mschnitzer@suse.com
- updated to version 0.3.7
* remove 1.8.7 support from gemspec #39
-------------------------------------------------------------------
Sun Sep 3 09:04:56 UTC 2017 - coolo@suse.com
- updated to version 0.3.6
see installed changelog.md
## v0.3.6 2017-08-22
* add option `use_lcs` #35
## v0.3.5 2017-08-06
* add option `array_path` #34
-------------------------------------------------------------------
Tue May 23 09:58:16 UTC 2017 - coolo@suse.com
- updated to version 0.3.4
see installed changelog.md
## v0.3.4 2017-05-01
* performance improvement of HashDiff#similar? #31
-------------------------------------------------------------------
Wed Dec 28 05:33:09 UTC 2016 - coolo@suse.com
- updated to version 0.3.2
see installed changelog.md
## v0.3.2 2016-12-27
* replace `Fixnum` by `Integer` #28
-------------------------------------------------------------------
Fri Nov 25 05:31:37 UTC 2016 - coolo@suse.com
- updated to version 0.3.1
see installed changelog.md
## v0.3.1 2016-11-24
* fix an error when a hash has mixed types #26
-------------------------------------------------------------------
Thu Jun 23 19:25:09 UTC 2016 - coolo@suse.com
- initial package

55
rubygem-hashdiff.spec Normal file
View File

@ -0,0 +1,55 @@
#
# spec file for package rubygem-hashdiff
#
# 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-hashdiff
Version: 1.1.2
Release: 0
%define mod_name hashdiff
%define mod_full_name %{mod_name}-%{version}
BuildRequires: %{ruby >= 2.0.0}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
URL: https://github.com/liufengyun/hashdiff
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Hashdiff is a diff lib to compute the smallest difference between
License: MIT
%description
Hashdiff is a diff lib to compute the smallest difference between two hashes.
.
%prep
%build
%install
%gem_install \
--doc-files="LICENSE README.md changelog.md" \
-f
%gem_packages
%changelog