ultimate_turbo_modal 3.0.2 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +10 -0
- data/VERSION +1 -1
- data/lib/generators/ultimate_turbo_modal/base.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6268ff8b62e48ca3db43234cd39a4c7fb7fb0423b6c51b2188b3ccde7a159f2
|
|
4
|
+
data.tar.gz: 827ac0fdc99421674ef3c785f587f5bb36bc4f3440ae75ffa474505f449cb591
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e81350b0bda0647dc614db502a608b9c508b83de675801a7b2bcd3da07efc08b5cbde00cfd65979f258d87bf63475b719e860519da48abca041abfbfcdf8dbda
|
|
7
|
+
data.tar.gz: 736685549a29598f1f0982b3693d23f0cbc10d9f1b974ae1d00a1f71e61bbc0dab3564ab062f22134a906eaf028c79a16a9200f78bb3daab958ea2d0bb461464
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [3.0.3] - 2026-03-23
|
|
2
|
+
|
|
3
|
+
- Switched importmap CDN from JSPM to jsdelivr for more reliable package resolution.
|
|
4
|
+
|
|
1
5
|
## [3.0.2] - 2026-03-22
|
|
2
6
|
|
|
3
7
|
- Fixed npm package not being found on JSPM, which prevented `bin/importmap pin` from working ([#46](https://github.com/cmer/ultimate_turbo_modal/issues/46)).
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -259,3 +259,13 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/cmer/u
|
|
|
259
259
|
## License
|
|
260
260
|
|
|
261
261
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
262
|
+
|
|
263
|
+
## Star History
|
|
264
|
+
|
|
265
|
+
<a href="https://www.star-history.com/?repos=cmer%2Fultimate_turbo_modal&type=date&legend=top-left">
|
|
266
|
+
<picture>
|
|
267
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=cmer/ultimate_turbo_modal&type=date&theme=dark&legend=top-left" />
|
|
268
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=cmer/ultimate_turbo_modal&type=date&legend=top-left" />
|
|
269
|
+
<img alt="Star History Chart" src="https://api.star-history.com/image?repos=cmer/ultimate_turbo_modal&type=date&legend=top-left" />
|
|
270
|
+
</picture>
|
|
271
|
+
</a>
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.3
|
|
@@ -19,7 +19,7 @@ module UltimateTurboModal
|
|
|
19
19
|
|
|
20
20
|
if uses_importmaps?
|
|
21
21
|
say "Detected Importmaps. Pinning #{version_spec}...", :green
|
|
22
|
-
run "bin/importmap pin #{version_spec}"
|
|
22
|
+
run "bin/importmap pin #{version_spec} --from jsdelivr"
|
|
23
23
|
say "✅ Pinned '#{package_name}' via importmap.", :green
|
|
24
24
|
return
|
|
25
25
|
end
|
|
@@ -46,7 +46,7 @@ module UltimateTurboModal
|
|
|
46
46
|
else
|
|
47
47
|
say "Could not automatically detect Importmaps or jsbundling-rails.", :yellow
|
|
48
48
|
say "Please manually add the '#{package_name}' JavaScript package.", :yellow
|
|
49
|
-
say "If using Importmaps: bin/importmap pin #{version_spec}", :cyan
|
|
49
|
+
say "If using Importmaps: bin/importmap pin #{version_spec} --from jsdelivr", :cyan
|
|
50
50
|
say "If using Yarn: yarn add #{version_spec}", :cyan
|
|
51
51
|
say "If using npm: npm install --save #{version_spec}", :cyan
|
|
52
52
|
say "If using Bun: bun add #{version_spec}", :cyan
|
|
@@ -60,7 +60,7 @@ module UltimateTurboModal
|
|
|
60
60
|
if uses_importmaps?
|
|
61
61
|
version_spec = "#{package_name}@#{gem_version_to_npm(UltimateTurboModal::VERSION)}"
|
|
62
62
|
say "Detected Importmaps. Ensuring pin for #{version_spec}...", :green
|
|
63
|
-
run "bin/importmap pin #{version_spec}"
|
|
63
|
+
run "bin/importmap pin #{version_spec} --from jsdelivr"
|
|
64
64
|
say "✅ Pinned '#{package_name}' via importmap.", :green
|
|
65
65
|
return
|
|
66
66
|
end
|