opener-chained-daemon 3.3.23 → 3.3.25

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: ba5c7ff40d39f2dfbc377e14884b0bfbf429b27a7e85f9286958e1bfe030fa54
4
- data.tar.gz: 3a1fc4c0dc82916d1f57d4d2dd0b0c45d3ab189c3c03bd9f0a60663377dff517
3
+ metadata.gz: 9c9988ce367058d5a2aedee18115e0de82eb0cfd616e589cad7e773772edb919
4
+ data.tar.gz: 425b42ad8ddf46a66fec6b47ef2b58a609ae9132e31d82b6f730f19325481973
5
5
  SHA512:
6
- metadata.gz: c01f33f8c0bc626a0ec4c8a4af5685e6edab9958c8e9ed6af1b1d9465f5a694d90ab4f131c055322dc5fa941acbb0719dad86ee78a51c3fe9d8e9580a0778e4f
7
- data.tar.gz: e3f2d92587fce40449e95f8b066447838a711a2254343784d379be0c4485514ec7059564e55d6224668bd208592aa30b24b501d1d920ceeabb36c9e6fbcfd875
6
+ metadata.gz: 60cae9372fca4608cd8ceb43cda5a49e2b14f5c9764fa8427d719fbb5539b28a89712b0421a972bb5cae3555e231bf6410e9a727d108d68a86ca15cef61417a8
7
+ data.tar.gz: a373b5592fd5278728b04f053710989429329607c69e36c8a07654419a4b19236f64d1b621cfebeb7828d83a54a235203a9e348dff27d68f9e4b30342b769e23
@@ -25,7 +25,9 @@ module Opener
25
25
 
26
26
  def run input, _params = {}
27
27
  params = SymMash.new _params
28
- params.translate_languages ||= []
28
+ params.reject!{ |k,v| v.blank? }
29
+ params.cache_keys&.reject!{ |k,v| v.blank? }
30
+
29
31
  params.cache_keys = SymMash.new params.cache_keys&.to_h&.sort&.to_h || {}
30
32
  if params.filter_vertical and params.property_type.present?
31
33
  params.cache_keys.property_type = params.property_type
@@ -33,6 +35,7 @@ module Opener
33
35
  params.cache_keys.contract_ids = nil unless params.cache_keys.contract_ids
34
36
 
35
37
  params.cache_keys.environment ||= 'production'
38
+ params.translate_languages ||= []
36
39
 
37
40
  lang = nil
38
41
  output = nil
@@ -52,6 +52,7 @@ Example:
52
52
  # Set environment as staging from console for testing purposes
53
53
  env = ENV['LEXICONS_ENV'] || 'staging'
54
54
  pt = ENV['LEXICONS_PROPERTY_TYPE']
55
+ params[:language] = ENV['OVERRIDE_LANGUAGE']
55
56
  params[:cache_keys] = {
56
57
  environment: env,
57
58
  property_type: pt,
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class ChainedDaemon
3
3
 
4
- VERSION = '3.3.23'
4
+ VERSION = '3.3.25'
5
5
 
6
6
  end
7
7
  end
@@ -28,10 +28,11 @@ Gem::Specification.new do |spec|
28
28
 
29
29
  spec.add_dependency 'roda'
30
30
  spec.add_dependency 'rack-timeout'
31
- spec.add_dependency 'opener-daemons', '~> 2.7.2'
31
+ spec.add_dependency 'oni', '>= 4.3.1'
32
+ spec.add_dependency 'opener-daemons', '>= 2.7.4'
32
33
  spec.add_dependency 'opener-callback-handler', '~> 1.0'
33
34
 
34
- spec.add_dependency 'opener-language-identifier', '>= 4.4.0'
35
+ spec.add_dependency 'opener-language-identifier', '>= 4.4.3'
35
36
  spec.add_dependency 'opener-property-tagger', '>= 3.4.3'
36
37
  spec.add_dependency 'opener-polarity-tagger', '>= 3.5.5'
37
38
  spec.add_dependency 'opener-opinion-detector-basic', '>= 3.2.8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-chained-daemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.23
4
+ version: 3.3.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - development@olery.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-03 00:00:00.000000000 Z
11
+ date: 2022-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -94,20 +94,34 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: oni
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 4.3.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 4.3.1
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: opener-daemons
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - "~>"
115
+ - - ">="
102
116
  - !ruby/object:Gem::Version
103
- version: 2.7.2
117
+ version: 2.7.4
104
118
  type: :runtime
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - "~>"
122
+ - - ">="
109
123
  - !ruby/object:Gem::Version
110
- version: 2.7.2
124
+ version: 2.7.4
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: opener-callback-handler
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +142,14 @@ dependencies:
128
142
  requirements:
129
143
  - - ">="
130
144
  - !ruby/object:Gem::Version
131
- version: 4.4.0
145
+ version: 4.4.3
132
146
  type: :runtime
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
150
  - - ">="
137
151
  - !ruby/object:Gem::Version
138
- version: 4.4.0
152
+ version: 4.4.3
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: opener-property-tagger
141
155
  requirement: !ruby/object:Gem::Requirement
@@ -265,10 +279,10 @@ dependencies:
265
279
  description: OpeNER daemon for processing multiple queues at once
266
280
  email:
267
281
  executables:
268
- - chained-daemon-daemon
282
+ - chained-daemon
269
283
  - chained-daemon-csv
284
+ - chained-daemon-daemon
270
285
  - console
271
- - chained-daemon
272
286
  extensions: []
273
287
  extra_rdoc_files: []
274
288
  files:
@@ -310,8 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
324
  - !ruby/object:Gem::Version
311
325
  version: '0'
312
326
  requirements: []
313
- rubyforge_project:
314
- rubygems_version: 2.7.6.2
327
+ rubygems_version: 3.1.6
315
328
  signing_key:
316
329
  specification_version: 4
317
330
  summary: OpeNER daemon for processing multiple queues at once