From ebb0494e6e7d0585095777ec8b34aca88fa23311d2abdb0fc48975832bae963a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 24 Dec 2024 17:28:29 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main rubygem-stimulus-rails revision 2ca9dba66aeca4f4d51fb2efb059f377 --- .gitattributes | 23 +++++ gem2rpm.yml | 152 +++++++++++++++++++++++++++++++++ rubygem-stimulus-rails.changes | 88 +++++++++++++++++++ rubygem-stimulus-rails.spec | 54 ++++++++++++ stimulus-rails-1.3.4.gem | 3 + 5 files changed, 320 insertions(+) create mode 100644 .gitattributes create mode 100644 gem2rpm.yml create mode 100644 rubygem-stimulus-rails.changes create mode 100644 rubygem-stimulus-rails.spec create mode 100644 stimulus-rails-1.3.4.gem 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/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..63a48df --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,152 @@ +# --- +# ## 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: +# :post_patch: +# if you need to fiddle with the source dir before rebuilding the gem +# ## 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_pkgs: +# 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} && 0%{?suse_version} < 1330 +# %define rb_build_versions ruby24 ruby25 +# %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0 +# %endif +# --- +# ## 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: +# :post_patch: +# if you need to fiddle with the source dir before rebuilding the gem +# ## 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_pkgs: +# 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} && 0%{?suse_version} < 1330 +# %define rb_build_versions ruby24 ruby25 +# %define rb_default_ruby_abi ruby:2.4.0 ruby:2.5.0 +# %endif diff --git a/rubygem-stimulus-rails.changes b/rubygem-stimulus-rails.changes new file mode 100644 index 0000000..2d60f81 --- /dev/null +++ b/rubygem-stimulus-rails.changes @@ -0,0 +1,88 @@ +------------------------------------------------------------------- +Mon Nov 4 17:38:17 UTC 2024 - Dan Čermák + +- 1.3.4: + +## What's Changed + +* Stop suggesting lazy loading by @dhh in https://github.com/hotwired/stimulus-rails/pull/140 +* Changed install template system call to account for spaces in path by @marekhilton in https://github.com/hotwired/stimulus-rails/pull/137 + +## New Contributors +* @berti92 made their first contribution in https://github.com/hotwired/stimulus-rails/pull/115 +* @marekhilton made their first contribution in https://github.com/hotwired/stimulus-rails/pull/137 + +**Full Changelog**: https://github.com/hotwired/stimulus-rails/compare/v1.3.3...v1.3.4 + + + +------------------------------------------------------------------- +Mon Jan 29 14:40:11 UTC 2024 - Dan Čermák + +- 1.3.3: + +## What's Changed + +* Fix syntax error in stimulus_with_node.rb by @euxx in https://github.com/hotwired/stimulus-rails/pull/134 + +**Full Changelog**: https://github.com/hotwired/stimulus-rails/compare/v1.3.2...v1.3.3 + +1.3.2: + +## What's Changed + +* Support for dasherized controller filenames by @adrienpoly in https://github.com/hotwired/stimulus-rails/pull/126 +* Describe the two options under stimulus:manifest so they can be found in a rails -T listing (closes #128) by @walterdavis in https://github.com/hotwired/stimulus-rails/pull/129 +* Fix duplicate controllers in manifest on update by @nachiket87 in https://github.com/hotwired/stimulus-rails/pull/132 +* Rely on import map-rails using preload by default by @dhh +* Improve Bun support by @rubys in https://github.com/hotwired/stimulus-rails/pull/127 + +**Full Changelog**: https://github.com/hotwired/stimulus-rails/compare/v1.3.0...v1.3.2 + + + +------------------------------------------------------------------- +Tue Nov 14 18:41:00 UTC 2023 - Dan Čermák + +- 1.3.0: + +## What's Changed +* Use bun for installation if applicable by @terracatta in https://github.com/hotwired/stimulus-rails/pull/125 + +## New Contributors +* @terracatta made their first contribution in https://github.com/hotwired/stimulus-rails/pull/125 + +**Full Changelog**: https://github.com/hotwired/stimulus-rails/compare/v1.2.2...v1.3.0 + +1.2.2: + +## What's Changed + +* Upgrade to [Stimulus 3.2.2](https://github.com/hotwired/stimulus/releases/tag/v3.2.2) by @dhh +* Use stimulus router lookup table to decide if controller is registered by @ikanade in https://github.com/hotwired/stimulus-rails/pull/113 +* Add skip_manifest option to generator by @KevinBerthier in https://github.com/hotwired/stimulus-rails/pull/123 + +## New Contributors +* @ikanade made their first contribution in https://github.com/hotwired/stimulus-rails/pull/113 +* @KevinBerthier made their first contribution in https://github.com/hotwired/stimulus-rails/pull/123 + +**Full Changelog**: https://github.com/hotwired/stimulus-rails/compare/v1.2.1...v1.2.2 + + + +------------------------------------------------------------------- +Wed Dec 7 11:37:24 UTC 2022 - Stephan Kulow + +updated to version 1.2.1 + no changelog found + +------------------------------------------------------------------- +Thu Aug 4 13:31:14 UTC 2022 - Stephan Kulow + +updated to version 1.1.0 + no changelog found + +------------------------------------------------------------------- +Mon Mar 7 13:04:19 UTC 2022 - Stephan Kulow + +- initial package (version 1.0.4) diff --git a/rubygem-stimulus-rails.spec b/rubygem-stimulus-rails.spec new file mode 100644 index 0000000..b0e7721 --- /dev/null +++ b/rubygem-stimulus-rails.spec @@ -0,0 +1,54 @@ +# +# spec file for package rubygem-stimulus-rails +# +# 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-stimulus-rails +Version: 1.3.4 +Release: 0 +%define mod_name stimulus-rails +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +URL: https://stimulus.hotwired.dev +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: A modest JavaScript framework for the HTML you already have +License: MIT + +%description +A modest JavaScript framework for the HTML you already have. + +%prep + +%build + +%install +%gem_install \ + --doc-files="MIT-LICENSE README.md" \ + -f + +%gem_packages + +%changelog diff --git a/stimulus-rails-1.3.4.gem b/stimulus-rails-1.3.4.gem new file mode 100644 index 0000000..3f54872 --- /dev/null +++ b/stimulus-rails-1.3.4.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:765676ffa1f33af64ce026d26b48e8ffb2e0b94e0f50e9119e11d6107d67cb06 +size 76288