gloo 3.6.0 → 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: 6e79ebad69bd8325e6f1b09ecd7d32520e7f82d1e4181d74c31433e4ca159cda
4
- data.tar.gz: 50cdd391fa4d96d0cb8897bf8b8fdb02b30aea567083343e5540b492399a9e93
3
+ metadata.gz: a5821f97e00507549b9270307c7965649e57f9b2db2ddca0c443fa5705fe4e50
4
+ data.tar.gz: 31fc695bb6f0e367cc8a034a35c6548eb958db3946f874b80bde1748c9691c6f
5
5
  SHA512:
6
- metadata.gz: 6712527d452fb8c73799f4e9829ffe58edb518aa6ed440e30fadb9211af0b899dce31453098f518b6310b693aec330d567b7ffb50713049c9abb3c27b7395eb8
7
- data.tar.gz: ba4b513a0e8b587d7418d10a16cfed7ecd2df4a9ce85409cdd78c59a5d936b0714008bfd02baa8a66814be1855ece161d3a07a9b7b1f6e6783d1ef9cf5091835
6
+ metadata.gz: 6ca5dcd7554a5f640a8ec16512de56bfe76638de1a87f7267fafd57b727cb3a3044d77ad0f099cb4d390c90ec8b0dd6e30b3ce7eb3875731c2082fb6ba626f43
7
+ data.tar.gz: 99acc770c29d36ed41e117f5b0ca4ceb20dcefa6bb6115d16116f890502dcdf8cae49f92cbb1ce4724261939be602edab8e516519a3dfddc9c6a5e3aa5f48c99
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.6.0
1
+ 3.6.2
data/lib/VERSION_NOTES CHANGED
@@ -1,3 +1,11 @@
1
+ 3.6.2 - 2024.12.19
2
+ - Bug fix for URI open
3
+
4
+
5
+ 3.6.1 - 2024.12.19
6
+ - tell URI to open fails on non-Mac platforms, so showing warning for now.
7
+
8
+
1
9
  3.6.0 - 2024.11.26
2
10
  - Adds support for route parameters
3
11
  - Updates iterators
@@ -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,14 +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
- exec cmd_with_param
161
+ # This does not work in Linux or in WSL on Windows:
162
+ # exec cmd_with_param
163
+ engine.log.warn 'Opening URL not supported on this platform.' if engine
160
164
  end
161
165
  end
162
166
 
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.6.0
4
+ version: 3.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler