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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4006bd50ba1693d0d012a648cf4a8d500082f9f58ba02c00d828233d3437b46a
4
- data.tar.gz: e7377b811456a99d875a0d0450690d63c4e1dec41e1e8e21dfe5110210e529a5
3
+ metadata.gz: a6268ff8b62e48ca3db43234cd39a4c7fb7fb0423b6c51b2188b3ccde7a159f2
4
+ data.tar.gz: 827ac0fdc99421674ef3c785f587f5bb36bc4f3440ae75ffa474505f449cb591
5
5
  SHA512:
6
- metadata.gz: 85529b5b0438d441e75bb50ecc58733d938a3e4486b8935273c57bc7f3a5bb82e99a263a92a5ccb7618ddfd860ad84be3cd1de7d9f3146d9eba07977dff7a6c0
7
- data.tar.gz: d2d481a1a9713e6adec93a679c3f59ad285eb7acd6c866a01d45cf496fa82422ea0c84fe2c060439af41950276645d889f216404714ead27df185b890bcff743
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ultimate_turbo_modal (3.0.2)
4
+ ultimate_turbo_modal (3.0.3)
5
5
  actionpack (>= 8.0)
6
6
  activesupport (>= 8.0)
7
7
  phlex-rails (>= 2.0)
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.2
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultimate_turbo_modal
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Mercier