wolf_core 0.1.65 → 0.1.67

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: 4c09ab5a7c3aa039646379d0f034bdbd701d78746b0aea5e94d1bc4f7f8c4c29
4
- data.tar.gz: 98b8b9ecdd7c1c4838ccf4adc134908907371e08d58e05e54be1958cabd88f42
3
+ metadata.gz: 4369c2e9e4caf0b45a99451baa6d76d2b1db1e1ccb2e84f9e4473a55e05febf3
4
+ data.tar.gz: 7a71db69eb1f9944f09da51cd8e2bc72f5e7321509f4ab12f7a5c42e5898a4f8
5
5
  SHA512:
6
- metadata.gz: fab759aa245c4ea9b15009ec091168a6c279269ec052a4e5811c95bbffb4336067bb0374be59d64a8c3babbff827691c6a7aefd709f24e49f15581c5e4f959fa
7
- data.tar.gz: 231f3004c96927192404179db30bdd082ccb78759990fee77bc253d9f8f49b24d05f85390c30b086c2a6a4c5cfc629e3566f7ecafe959164e99682ebce68cd1d
6
+ metadata.gz: d030b0ff3e2035b761d029a85c3bf7746867e8564ce3ca17275e8c1ecfa663349d0cab1bca74d39527efad873335c813e1ec21b610330242154dbb2c2d8e6329
7
+ data.tar.gz: 9d001b00e214b05d1f2c051b970dcdd6fff0f08d34dc71584f4ceacc93003dd542555f8d9e374eba08ca8b374711d48105bffa40b84cbacb22e93bd2ee7c5a7a
@@ -0,0 +1,7 @@
1
+ module WolfCore
2
+ module ArrayUtils
3
+ def first_or_self(input)
4
+ input.is_a?(Array) ? input.first : input
5
+ end
6
+ end
7
+ end
@@ -1,6 +1,7 @@
1
1
  module WolfCore
2
2
  module StringUtils
3
3
  def camelcase_to_spaces(str)
4
+ return if str.nil?
4
5
  str.gsub(/([A-Z])/, ' \1').strip.downcase.capitalize
5
6
  end
6
7
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WolfCore
4
- VERSION = "0.1.65"
4
+ VERSION = "0.1.67"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wolf_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.65
4
+ version: 0.1.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Roncallo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-16 00:00:00.000000000 Z
11
+ date: 2024-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -72,6 +72,7 @@ files:
72
72
  - lib/wolf_core/infrastructure/http_operations.rb
73
73
  - lib/wolf_core/infrastructure/lambda_function_data_source.rb
74
74
  - lib/wolf_core/infrastructure/lambda_function_operations.rb
75
+ - lib/wolf_core/utils/array_utils.rb
75
76
  - lib/wolf_core/utils/async_utils.rb
76
77
  - lib/wolf_core/utils/file_utils.rb
77
78
  - lib/wolf_core/utils/logging_utils.rb