Sync from SUSE:SLFO:Main rubygem-importmap-rails revision 62747940c645976d57f2621153e57fa6
This commit is contained in:
commit
e044226c62
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
152
gem2rpm.yml
Normal file
152
gem2rpm.yml
Normal file
@ -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
|
BIN
importmap-rails-2.0.3.gem
(Stored with Git LFS)
Normal file
BIN
importmap-rails-2.0.3.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
129
rubygem-importmap-rails.changes
Normal file
129
rubygem-importmap-rails.changes
Normal file
@ -0,0 +1,129 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 16:54:32 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- 2.0.3:
|
||||
|
||||
## What's Changed
|
||||
|
||||
* Fix compatibility with older Ruby versions @jhawthorn
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v2.0.2...v2.0.3
|
||||
|
||||
2.0.2:
|
||||
|
||||
## What's Changed
|
||||
|
||||
* Add package information in vendored package file by @faqndo97 in https://github.com/rails/importmap-rails/pull/227
|
||||
* Update default provider to use `jspm.io` instead of `jspm` by @josefarias in https://github.com/rails/importmap-rails/pull/234
|
||||
* Updated module_name regexp to not match incorrect indexes by @Caleb-T-Owens in https://github.com/rails/importmap-rails/pull/238
|
||||
* Invoke app:template via Rake::Task[].invoke to avoid reloading rakefile by @Caleb-T-Owens in https://github.com/rails/importmap-rails/pull/239
|
||||
* Handle String response for "find latest version" by @vietqhoang in https://github.com/rails/importmap-rails/pull/246
|
||||
* Allows preload to be determined by provided entry_point by @aseroff in https://github.com/rails/importmap-rails/pull/253
|
||||
* Fix ./bin/importmap update by @arni1981 in https://github.com/rails/importmap-rails/pull/262
|
||||
|
||||
## New Contributors
|
||||
* @josefarias made their first contribution in https://github.com/rails/importmap-rails/pull/234
|
||||
* @wakairo made their first contribution in https://github.com/rails/importmap-rails/pull/249
|
||||
* @Caleb-T-Owens made their first contribution in https://github.com/rails/importmap-rails/pull/238
|
||||
* @schmijos made their first contribution in https://github.com/rails/importmap-rails/pull/260
|
||||
* @aseroff made their first contribution in https://github.com/rails/importmap-rails/pull/253
|
||||
* @arni1981 made their first contribution in https://github.com/rails/importmap-rails/pull/262
|
||||
* @corneverbruggen made their first contribution in https://github.com/rails/importmap-rails/pull/266
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v2.0.1...v2.0.2
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 14:08:13 UTC 2024 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- 2.0.1:
|
||||
|
||||
## What's Changed
|
||||
|
||||
* Ensure update only runs when there are outdated packages by @dhh
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v2.0.0...v2.0.1
|
||||
|
||||
2.0.0:
|
||||
|
||||
## What's Changed
|
||||
|
||||
This major release includes two potentially backwards-incompatible changes:
|
||||
|
||||
* The compatibility shim is no longer included, since [all major browsers now natively support import maps](https://caniuse.com/import-maps). But if you need to support old browsers, like Safari 15, Firefox 75, Chrome 88, you should continue using the 1.x series of this gem.
|
||||
* Preloading is now the default. So if you have pins that you intend to lazy load, you need to specifically call `preload: false` as part of the pin.
|
||||
|
||||
All changes:
|
||||
|
||||
* Drop the bundled shim by @dhh in https://github.com/rails/importmap-rails/pull/216
|
||||
* Pinning should just always download by @dhh in https://github.com/rails/importmap-rails/pull/217
|
||||
* Preload all by default by @dhh in https://github.com/rails/importmap-rails/pull/218
|
||||
* Update Impoortmaps::Command#puts_table to be markdown compatible by @faqndo97 in https://github.com/rails/importmap-rails/pull/222
|
||||
* bin/importmap update by @botandrose in https://github.com/rails/importmap-rails/pull/214
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v1.2.3...v2.0.0
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 3 07:39:21 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- 1.2.3:
|
||||
|
||||
## What's Changed
|
||||
* Fix using this gem outside of a Rails application by @rafaelfranca
|
||||
|
||||
## New Contributors
|
||||
* @rafaelfranca made their first contribution in https://github.com/rails/importmap-rails/pull/201
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v1.2.2...v1.2.3
|
||||
|
||||
1.2.2:
|
||||
|
||||
## What's Changed
|
||||
* Add single quote support in `importmap.rb` by @vietqhoang in https://github.com/rails/importmap-rails/pull/198
|
||||
* Remove prepended forward slash when mapping.path is empty by @jsntv200 in https://github.com/rails/importmap-rails/pull/192
|
||||
|
||||
## New Contributors
|
||||
* @vietqhoang made their first contribution in https://github.com/rails/importmap-rails/pull/198
|
||||
* @Rotario made their first contribution in https://github.com/rails/importmap-rails/pull/95
|
||||
* @jsntv200 made their first contribution in https://github.com/rails/importmap-rails/pull/192
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v1.2.1...v1.2.2
|
||||
|
||||
1.2.1:
|
||||
|
||||
## What's Changed
|
||||
|
||||
* Add a packages command to get package info by @dkniffin in https://github.com/rails/importmap-rails/pull/178
|
||||
* Respect `config.enable_reloading` by @ghiculescu in https://github.com/rails/importmap-rails/pull/172
|
||||
* Add support for passing a custom importmap to the tag helper by @elia in https://github.com/rails/importmap-rails/pull/187
|
||||
|
||||
## New Contributors
|
||||
* @dkniffin made their first contribution in https://github.com/rails/importmap-rails/pull/178
|
||||
* @ghiculescu made their first contribution in https://github.com/rails/importmap-rails/pull/172
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v1.1.6...v1.2.1
|
||||
|
||||
1.1.6:
|
||||
|
||||
## What's Changed
|
||||
|
||||
* Update [ES Module Shims to 1.7.2](https://github.com/guybedford/es-module-shims/releases/tag/1.7.2) by @dhh
|
||||
* Allow single quotes in config/importmaps.rb by @UweKubosch in https://github.com/rails/importmap-rails/pull/147
|
||||
|
||||
**Full Changelog**: https://github.com/rails/importmap-rails/compare/v1.1.5...v1.1.6
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 13:15:28 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 1.1.5
|
||||
no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 7 12:49:01 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- initial package (version 1.0.3)
|
55
rubygem-importmap-rails.spec
Normal file
55
rubygem-importmap-rails.spec
Normal file
@ -0,0 +1,55 @@
|
||||
#
|
||||
# spec file for package rubygem-importmap-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-importmap-rails
|
||||
Version: 2.0.3
|
||||
Release: 0
|
||||
%define mod_name importmap-rails
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
BuildRequires: %{ruby >= 2.7.0}
|
||||
BuildRequires: %{rubygem gem2rpm}
|
||||
BuildRequires: ruby-macros >= 5
|
||||
URL: https://github.com/rails/importmap-rails
|
||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Source1: gem2rpm.yml
|
||||
Summary: Use ESM with importmap to manage modern JavaScript in Rails without
|
||||
License: MIT
|
||||
|
||||
%description
|
||||
Use ESM with importmap to manage modern JavaScript in Rails without
|
||||
transpiling or bundling.
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%gem_install \
|
||||
--doc-files="MIT-LICENSE README.md" \
|
||||
-f
|
||||
|
||||
%gem_packages
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user