connectors_utility 8.6.0.4.pre.20221104T201057Z → 8.6.0.4.pre.20221107T145613Z

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 +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75130f5f1747db0119b4619066fa71a9502d82c86838966c9453541704dc5e04
4
- data.tar.gz: a1dfebbed9be1639600cce8f35f49800d9a5538e97a4ed57d8674d81796902d1
3
+ metadata.gz: c3dc548bffdaf2be6ac65e4c9231196f2b542d3cff6a092e3756272a62312d4b
4
+ data.tar.gz: fe6f7d03c9f2d1c56faeb501b7823c38abef582ce2edaade3a26d8c28dfad7ac
5
5
  SHA512:
6
- metadata.gz: 6faaf8c6151c35c0923304cd11692a03bca2cf4f8f0544d38a76e30eb90ec3090e5f8b5a8249d1bd4f4724c0a4712b1ffc58a1d8be1d46fa18e0a1d1f5e2e045
7
- data.tar.gz: 57de1647be647f92b9934445034203ed762a453f62e5ce1b4554dff2c1632370eb86bd3b7ff44b2a6380d4ab75f691e8c0c70a39e5caecdfee27f876c475a73f
6
+ metadata.gz: 87400cec0be6b368834cd0171dd8ca38df5b5b7928b0e10da7c24a29a89a06a89af22c5a4317f8a683135cabfd2871412b26b9da61924ad2356612a4219be7c1
7
+ data.tar.gz: 249ed7dad12806e43c50b5c409085fcdb902f3e1e386bdfdf7db5d551dc0377d5a808cb8f4f49f9f01edebb548e7baebe1b8e9c249456a9efacb0496bf04d9c5
@@ -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,14 +1,14 @@
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.20221107T145613Z
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -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: aa0e7e495d6f49de2bc05991b793b18b0c1ca78d
129
130
  repository: git@github.com:elastic/ent-search-connectors.git
130
131
  post_install_message:
131
132
  rdoc_options: []