opener-chained-daemon 3.0.6 → 3.0.7

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: 3920c098f2410f265049d37ab9fe5d68bb29884987c51c117ea6ff7445b7ec2c
4
- data.tar.gz: ccbc7b603bf3e7c7d840ebc52c8b30e9984f0e9b16f1724fc486ae975f854446
3
+ metadata.gz: 1f37e21fff5f35b6736a17e4d4efcad5d496c1c2ec63e74c7b8907db45210770
4
+ data.tar.gz: 6e3b80ba665a950407b1c4bcba9e0f6074db41db86b2da233b21c1db638c792f
5
5
  SHA512:
6
- metadata.gz: 1ebd4d06c582fac7f857f8ea6975dee9a869557c8d457fe181a399a5266336e3b2e4b606740281be8977b367c7d0e3ac456de5ada10d23e67aa8f34aa4b71794
7
- data.tar.gz: 1e1485573eb03d540519365d0c7b5feaf29b9a41ddb99b6f86f098409fdfde87c832f0c3b9b46bc44865457c2fc9bdde3e66dab23ab966d80cdf24148a24e749
6
+ metadata.gz: 5738bfe0a4dbf5ff66010a9aa54ef7de4e951e7728d753000b99effbb0f4c17884791a8eb6c58fcfcafd51f0ba94520148f6d3699dd592c74145766e2c06917f
7
+ data.tar.gz: 7100f63ac6fd859b98f28eac22dd73e60419f21fc40e3b59c34c6550915182ca0598eb74f2ec9eddaa870fd4b91f94b31a694f70fc62ed20307b1415c0e82804
@@ -1,7 +1,7 @@
1
1
  module Opener
2
2
  class ChainedDaemon
3
3
 
4
- VERSION = '3.0.6'
4
+ VERSION = '3.0.7'
5
5
 
6
6
  end
7
7
  end
@@ -35,7 +35,8 @@ module Opener
35
35
 
36
36
  kaf = KAF::Document.from_xml input
37
37
 
38
- unless LANGUAGES_CACHE.get.include? kaf.language
38
+ prod = params[:cache_keys][:environment] != 'staging'
39
+ if prod and !LANGUAGES_CACHE.get.include?(kaf.language)
39
40
  raise Core::UnsupportedLanguageError.new kaf.language
40
41
  end
41
42
 
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_dependency 'opener-tokenizer', '>= 2.2.0'
37
37
  spec.add_dependency 'opener-pos-tagger', '>= 3.2.0'
38
38
  spec.add_dependency 'opener-polarity-tagger', '>= 3.2.7'
39
- spec.add_dependency 'opener-property-tagger', '>= 3.3.4'
39
+ spec.add_dependency 'opener-property-tagger', '>= 3.3.5'
40
40
  spec.add_dependency 'opener-opinion-detector-basic', '>= 3.2.3'
41
41
 
42
42
  spec.add_development_dependency 'bundler', '~> 1.3'
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.0.6
4
+ version: 3.0.7
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: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - ">="
200
200
  - !ruby/object:Gem::Version
201
- version: 3.3.4
201
+ version: 3.3.5
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
- version: 3.3.4
208
+ version: 3.3.5
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: opener-opinion-detector-basic
211
211
  requirement: !ruby/object:Gem::Requirement