connectors_utility 8.6.0.4.pre.20221104T201057Z → 8.6.0.4.pre.20221104T202636Z

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/utility/common.rb +20 -0
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75130f5f1747db0119b4619066fa71a9502d82c86838966c9453541704dc5e04
4
- data.tar.gz: a1dfebbed9be1639600cce8f35f49800d9a5538e97a4ed57d8674d81796902d1
3
+ metadata.gz: 4532477e27d803b5c9933b26b714979aa2d6f99443e1e0c40a84abc46709f8d9
4
+ data.tar.gz: 7c568080ab4dcdc479f214bfda177cabf12475dbf33ca329d2d5fdf721de42c0
5
5
  SHA512:
6
- metadata.gz: 6faaf8c6151c35c0923304cd11692a03bca2cf4f8f0544d38a76e30eb90ec3090e5f8b5a8249d1bd4f4724c0a4712b1ffc58a1d8be1d46fa18e0a1d1f5e2e045
7
- data.tar.gz: 57de1647be647f92b9934445034203ed762a453f62e5ce1b4554dff2c1632370eb86bd3b7ff44b2a6380d4ab75f691e8c0c70a39e5caecdfee27f876c475a73f
6
+ metadata.gz: 31865ecfc46198f5a6b8649e22f369573b766799eb177e28f25ae7a269384c63165ce7ffd2b9f41c4644d7d4e238c063237881e10e9e699ad02a220a94c41ab6
7
+ data.tar.gz: 246e0f453c9cffd5566d09d8370eecce5d4c65739ea84832350f2b9e21d2192aa560ad9b12495f9ad3027bc0b44d0f28315775292240ee3431f4c32f65d05b69
@@ -0,0 +1,20 @@
1
+ #
2
+ # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ # or more contributor license agreements. Licensed under the Elastic License;
4
+ # you may not use this file except in compliance with the Elastic License.
5
+ #
6
+
7
+ # frozen_string_literal: true
8
+
9
+ module Utility
10
+ class Common
11
+ class << self
12
+ def return_if_present(*args)
13
+ args.each do |arg|
14
+ return arg unless arg.nil?
15
+ end
16
+ nil
17
+ end
18
+ end
19
+ end
20
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connectors_utility
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.6.0.4.pre.20221104T201057Z
4
+ version: 8.6.0.4.pre.20221104T202636Z
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
@@ -110,6 +110,7 @@ files:
110
110
  - lib/core/elastic_connector_actions.rb
111
111
  - lib/core/scheduler.rb
112
112
  - lib/utility.rb
113
+ - lib/utility/common.rb
113
114
  - lib/utility/constants.rb
114
115
  - lib/utility/cron.rb
115
116
  - lib/utility/elasticsearch/index/language_data.yml
@@ -125,7 +126,7 @@ homepage: https://github.com/elastic/connectors-ruby
125
126
  licenses:
126
127
  - Elastic-2.0
127
128
  metadata:
128
- revision: 2051b3907639a1fe2ae68efdc33c06cf12d38383
129
+ revision: 5e2710b9b4af2fed4c7b95502327260a3ebf9e25
129
130
  repository: git@github.com:elastic/ent-search-connectors.git
130
131
  post_install_message:
131
132
  rdoc_options: []