gloo 3.9.0 → 3.9.1

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: afc950a2a2470041f3a3d990480cf26bee1005e6f4e00bcc95feb4e38d8de394
4
- data.tar.gz: fe2cf5549734e2779ed1ed1f90bc5974fcae7c0b8245b22626a9828d2f54c54e
3
+ metadata.gz: 41379e3f9f02c925e8f8db71c54d6cf726f4ba7e8944e6ed622946587378714e
4
+ data.tar.gz: ff6418c1725c5db6f3d0d74e59bd8386e0983ca25d99cb623ddc46f80b0acb8f
5
5
  SHA512:
6
- metadata.gz: 7eed261a94581ca0a1e7f5c9a61657bd8e39f1455d55f4754bc4530641fe33ef359d7055f191dd204c505b31e501291803f5ef5822672640a280845c5c27b0d1
7
- data.tar.gz: 643bd6cc65823bf8d1a8d1666e0b5b51abf5c44d0a8f2b25b51c901a1f18c3efda08264c5e686fe34efb0063a7e9e56b7040c50befa353e17369f0c04f32b186
6
+ metadata.gz: 74a247a591e58ca1518c483b4274490b24a4042dd73d2ebe1da42a5220e0bdb52976bf1751aaeb6db41477f769e02addf411d59d2896dc0841d7daef88838524
7
+ data.tar.gz: 65f189d2e4a7cab80c0f14114dac393a863381a8da34a545af2bbd752561c165de471b2f8a5016711ef6bb57464403af7365d907e79095bf64c78f33ae9dee1d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.9.0
1
+ 3.9.1
data/lib/VERSION_NOTES CHANGED
@@ -1,3 +1,7 @@
1
+ 3.9.1 - 2025.02.25
2
+ adds tag helper for apple touch icon
3
+
4
+
1
5
  3.9.0 - 2025.02.21
2
6
  - Fixes alias in page parameters
3
7
  - Adds comparison operators
@@ -44,6 +44,17 @@ module Gloo
44
44
  return "<link rel='shortcut icon' type='image/x-icon' href='#{published_name}' />"
45
45
  end
46
46
 
47
+ #
48
+ # Render a Apple Touch Icon tag.
49
+ # By default the name is 'apple-touch-icon.png' and does not need to be provided
50
+ # if that is the correct file name.
51
+ #
52
+ def apple_touch_icon_tag( name = 'apple-touch-icon.png', type = 'image/png' )
53
+ icon_path = "/#{Asset::ASSET_FOLDER}/#{Asset::IMAGE_FOLDER}/#{name}"
54
+ published_name = @engine.running_app.obj.asset.published_name( icon_path )
55
+ return "<link rel='apple-touch-icon' type='#{type}' href='#{published_name}' />"
56
+ end
57
+
47
58
  #
48
59
  # Render an image tag for the given image name.
49
60
  # Include optional proterties as part of the tag.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-02-21 00:00:00.000000000 Z
11
+ date: 2025-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler