Sync from SUSE:SLFO:Main rubygem-rails-dom-testing revision 124b223039e37183cb6dcaa22b5ef55c

This commit is contained in:
Adrian Schröter 2025-02-06 18:13:11 +01:00
commit 55205cfd7e
5 changed files with 215 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

75
gem2rpm.yml Normal file
View File

@ -0,0 +1,75 @@
# ---
# ## 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
#
---
:preamble: |-
%if 0%{?suse_version} == 1110
%define rb_build_versions ruby21
%endif

BIN
rails-dom-testing-2.2.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,54 @@
-------------------------------------------------------------------
Tue Nov 14 15:27:40 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
- New upstream release 2.2.0, no changelog found
-------------------------------------------------------------------
Tue May 23 10:13:43 UTC 2017 - coolo@suse.com
- updated to version 2.0.3
no changelog found
-------------------------------------------------------------------
Wed Dec 28 05:37:21 UTC 2016 - coolo@suse.com
- updated to version 2.0.2
no changelog found
-------------------------------------------------------------------
Thu Jun 2 04:32:36 UTC 2016 - coolo@suse.com
- updated to version 2.0.1
no changelog found
-------------------------------------------------------------------
Mon May 9 04:45:08 UTC 2016 - coolo@suse.com
- updated to version 2.0.0
no changelog found
-------------------------------------------------------------------
Sat Aug 15 04:32:36 UTC 2015 - coolo@suse.com
- updated to version 1.0.7
no changelog found
-------------------------------------------------------------------
Wed Mar 18 15:38:28 UTC 2015 - coolo@suse.com
- updated to version 1.0.6
## Deprecation warnings when upgrading to Rails 4.2:
Nokogiri is slightly more strict about the format of css selectors than the previous implementation. That's why you have warnings like:
```
DEPRECATION WARNING: The assertion was not run because of an invalid css selector.
```
Check the 4.2 release notes [section on `assert_select`](http://edgeguides.rubyonrails.org/4_2_release_notes.html#assert-select) for help.
-------------------------------------------------------------------
Wed Jan 28 13:09:10 UTC 2015 - adrian@suse.de
- initial package

View File

@ -0,0 +1,60 @@
#
# spec file for package rubygem-rails-dom-testing
#
# Copyright (c) 2023 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-rails-dom-testing
Version: 2.2.0
Release: 0
%define mod_name rails-dom-testing
%define mod_full_name %{mod_name}-%{version}
# MANUAL
%if 0%{?suse_version} == 1110
%define rb_build_versions ruby21
%endif
# /MANUAL
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 2.5.0}
BuildRequires: %{rubygem gem2rpm}
URL: https://github.com/rails/rails-dom-testing
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Dom and Selector assertions for Rails applications
License: MIT
%description
This gem can compare doms and assert certain elements exists in doms using
Nokogiri.
%prep
%build
%install
%gem_install \
--doc-files="MIT-LICENSE README.md" \
-f
%gem_packages
%changelog