gloo 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 925f6ae85aafc144e38e327c8a30a4de233991a648e59fb70a8adc304855853b
4
- data.tar.gz: 76c73401718f62d0064933305302d9e173f73272eeb11358d7b97b491beebca2
3
+ metadata.gz: a5821f97e00507549b9270307c7965649e57f9b2db2ddca0c443fa5705fe4e50
4
+ data.tar.gz: 31fc695bb6f0e367cc8a034a35c6548eb958db3946f874b80bde1748c9691c6f
5
5
  SHA512:
6
- metadata.gz: d8c21b97ca1eaf73b574e1f4658fb94e70ca29f46a2d91ac7792d635a30bf5132788c8e266f8cf845bcad5d472ef964ce2fb09319ffd9211c4e11c36cff35bb6
7
- data.tar.gz: f62a2718af2f07c8fe320cbe4b31edb7afe684c6f3e30ac2310512664bef7e0273085027fe8b8f965f82d49905bb28c8e73c08d4e67e5b898012af8e709b3004
6
+ metadata.gz: 6ca5dcd7554a5f640a8ec16512de56bfe76638de1a87f7267fafd57b727cb3a3044d77ad0f099cb4d390c90ec8b0dd6e30b3ce7eb3875731c2082fb6ba626f43
7
+ data.tar.gz: 99acc770c29d36ed41e117f5b0ca4ceb20dcefa6bb6115d16116f890502dcdf8cae49f92cbb1ce4724261939be602edab8e516519a3dfddc9c6a5e3aa5f48c99
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.6.1
1
+ 3.6.2
data/lib/VERSION_NOTES CHANGED
@@ -1,3 +1,7 @@
1
+ 3.6.2 - 2024.12.19
2
+ - Bug fix for URI open
3
+
4
+
1
5
  3.6.1 - 2024.12.19
2
6
  - tell URI to open fails on non-Mac platforms, so showing warning for now.
3
7
 
@@ -138,7 +138,7 @@ module Gloo
138
138
  def msg_open
139
139
  return unless value
140
140
 
141
- Gloo::Objs::Uri.open_url value
141
+ Gloo::Objs::Uri.open_url value, @engine
142
142
  end
143
143
 
144
144
 
@@ -149,16 +149,18 @@ module Gloo
149
149
  #
150
150
  # Open the given URL with platform command.
151
151
  #
152
- def self.open_url url
152
+ def self.open_url( url, engine=nil )
153
153
  cmd = Gloo::Core::GlooSystem.open_for_platform
154
154
  cmd_with_param = "#{cmd} \"#{url}\""
155
155
 
156
156
  if OS.mac?
157
+ engine.log.warn 'Opening URL.' if engine
158
+
157
159
  `#{cmd_with_param}`
158
160
  else
159
161
  # This does not work in Linux or in WSL on Windows:
160
162
  # exec cmd_with_param
161
- @engine.log.warn 'Opening URL not supported on this platform.'
163
+ engine.log.warn 'Opening URL not supported on this platform.' if engine
162
164
  end
163
165
  end
164
166
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gloo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.1
4
+ version: 3.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane