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.
- checksums.yaml +4 -4
- data/lib/utility/common.rb +20 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3dc548bffdaf2be6ac65e4c9231196f2b542d3cff6a092e3756272a62312d4b
|
4
|
+
data.tar.gz: fe6f7d03c9f2d1c56faeb501b7823c38abef582ce2edaade3a26d8c28dfad7ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
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:
|
129
|
+
revision: aa0e7e495d6f49de2bc05991b793b18b0c1ca78d
|
129
130
|
repository: git@github.com:elastic/ent-search-connectors.git
|
130
131
|
post_install_message:
|
131
132
|
rdoc_options: []
|