gloo 5.3.3 → 5.3.5

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: 25aaa13e4379e9559481b8f57581f4c49b2d522f937d9ec41c1e15a90fb4c930
4
- data.tar.gz: 2921a93b74f5a4d576c041f0e329afc18de609379f833df9b1b25b580852f320
3
+ metadata.gz: 55d950b89bc9046f1e31c4c055b28387673e5b13277b0a93fe548f0de926c3ed
4
+ data.tar.gz: 04bffb0434018dd8cd17cdf322c0f60022870bff76a19c69a3f7fa84a5e9b329
5
5
  SHA512:
6
- metadata.gz: c4336014d3d73095126b8a03879d861c0ea696c4cba55e2c9425906dc3bdec497eaf091e2c1fa67c5d57fa2a37c8bd38de06b7d2f9fc46ab34490704428d2340
7
- data.tar.gz: 5ac64724273398fc11531486cc0fbcd2f6f0a8b068238672d3067e6803cb23f262343498edc592de253663448103fafb9ee32822621514ff5826c472ea3fa155
6
+ metadata.gz: 999dd0172c6b87975f44fceb3be32935116c07fb8a281c94b2d3784f511d907051278aa3e8515ba46b6c53cb9edec0b2bbdec7c2017f582f878d773fdac8fead
7
+ data.tar.gz: cac87e1060490495e702b9abf92610fe7f1da9a4194aca8be866e102f5e4ee344bf7ccd333811b50f61010bde6c619738bcdb7f5502eb19e59afb61e88ae6297
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 5.3.3
1
+ 5.3.5
data/lib/VERSION_NOTES CHANGED
@@ -1,3 +1,11 @@
1
+ 5.3.5 - 2026.04.23
2
+ - Adds string trim message.
3
+
4
+
5
+ 5.3.4 - 2026.04.22
6
+ - mkdir now creates intermediate directories
7
+
8
+
1
9
  5.3.3 - 2026.04.18
2
10
  - Adds sub and gsub string messages.
3
11
 
@@ -45,7 +45,7 @@ module Gloo
45
45
  #
46
46
  def self.messages
47
47
  return super + %w[up down size starts_with? ends_with? substring? sub gsub
48
- count_lines count_words count_chars
48
+ count_lines count_words count_chars trim
49
49
  format_for_html encode64 decode64 escape unescape
50
50
  gen_alphanumeric gen_uuid gen_hex gen_base64]
51
51
  end
@@ -10,6 +10,17 @@ module Gloo
10
10
  module Objs
11
11
  module StringMsgs
12
12
 
13
+
14
+ #
15
+ # Strip whitespace from the beginning and end of the string.
16
+ #
17
+ def msg_trim
18
+ result = value.strip
19
+ @engine.heap.it.set_to result
20
+ set_value(result)
21
+ return result
22
+ end
23
+
13
24
  #
14
25
  # Does the string start with the given string?
15
26
  #
@@ -59,7 +59,7 @@ module Gloo
59
59
  #
60
60
  def self.messages
61
61
  return super + %w[up down size starts_with? ends_with? substring? sub gsub
62
- count_lines count_words count_chars
62
+ count_lines count_words count_chars trim
63
63
  format_for_html encode64 decode64 escape unescape
64
64
  gen_alphanumeric gen_uuid gen_hex gen_base64]
65
65
  end
@@ -139,7 +139,8 @@ module Gloo
139
139
  # Create a directory.
140
140
  #
141
141
  def msg_mkdir
142
- Dir.mkdir(value) unless Dir.exist?(value)
142
+ FileUtils.mkdir_p(value) unless Dir.exist?(value)
143
+ # Dir.mkdir(value) unless Dir.exist?(value)
143
144
  end
144
145
 
145
146
  #
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: 5.3.3
4
+ version: 5.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Crane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-04-18 00:00:00.000000000 Z
11
+ date: 2026-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler