opener-kaf-naf-parser 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/bin/kaf-naf-parser-server +4 -6
  3. data/lib/opener/kaf_naf_parser/version.rb +1 -1
  4. data/opener-kaf-naf-parser.gemspec +1 -0
  5. metadata +15 -31
  6. data/core/site-packages/pre_build/KafNafParser/KafNafParserMod.pyc +0 -0
  7. data/core/site-packages/pre_build/KafNafParser/__init__.pyc +0 -0
  8. data/core/site-packages/pre_build/KafNafParser/constituency_data.pyc +0 -0
  9. data/core/site-packages/pre_build/KafNafParser/coreference_data.pyc +0 -0
  10. data/core/site-packages/pre_build/KafNafParser/dependency_data.pyc +0 -0
  11. data/core/site-packages/pre_build/KafNafParser/entity_data.pyc +0 -0
  12. data/core/site-packages/pre_build/KafNafParser/external_references_data.pyc +0 -0
  13. data/core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.pyc +0 -0
  14. data/core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.pyc +0 -0
  15. data/core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.pyc +0 -0
  16. data/core/site-packages/pre_build/KafNafParser/features_data.pyc +0 -0
  17. data/core/site-packages/pre_build/KafNafParser/header_data.pyc +0 -0
  18. data/core/site-packages/pre_build/KafNafParser/opinion_data.pyc +0 -0
  19. data/core/site-packages/pre_build/KafNafParser/references_data.pyc +0 -0
  20. data/core/site-packages/pre_build/KafNafParser/span_data.pyc +0 -0
  21. data/core/site-packages/pre_build/KafNafParser/term_data.pyc +0 -0
  22. data/core/site-packages/pre_build/KafNafParser/term_sentiment_data.pyc +0 -0
  23. data/core/site-packages/pre_build/KafNafParser/text_data.pyc +0 -0
  24. data/core/site-packages/pre_build/VUA_pylib/__init__.pyc +0 -0
  25. data/core/site-packages/pre_build/VUA_pylib/common/__init__.pyc +0 -0
  26. data/core/site-packages/pre_build/VUA_pylib/common/common.pyc +0 -0
  27. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.pyc +0 -0
  28. data/core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.pyc +0 -0
  29. data/core/site-packages/pre_build/VUA_pylib/io_utils/__init__.pyc +0 -0
  30. data/core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.pyc +0 -0
  31. data/core/site-packages/pre_build/VUA_pylib/lexicon/__init__.pyc +0 -0
  32. data/core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.pyc +0 -0
  33. data/core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc +0 -0
  34. data/core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc +0 -0
  35. data/core/site-packages/pre_build/VUKafParserPy/__init__.pyc +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 111826dd2945be49e803641f30bf272a5e782908
4
- data.tar.gz: 9d3c898bd34b390f57d894565ca8985c292660b0
3
+ metadata.gz: 8e71d459ada19063793f0905e238ddfe438277da
4
+ data.tar.gz: b1772e20cb49d33bb1202bf6419e3cdcc1c211e2
5
5
  SHA512:
6
- metadata.gz: 189f6add729a2643723807b9839a0ea074c27b47298c4c793b3c74cec954f0671456f60a4d934122e320304a47b7552d221e5a9449e11d930dc4f3a5ef66d621
7
- data.tar.gz: e482152a60b32ed99a80d31db31bb40620a4b62965ec723a64995e13c65256d51608ebe79bcc951f9717142fabafb43bc6fedf0a037ccc6818f0f149d245394b
6
+ metadata.gz: acc64adb41209ba2b4b10f2fcc162315b567fd408a9f6fc842bd78b71b61ee004e62ef09d8a80e391c911bd5ffe927fcaa82a1bd2939c9589da52bfd35a1648f
7
+ data.tar.gz: 6677e7be9685c0efb7749759df67f37627cf04ca861cb09c0738687331e21075ac8213ec36acac86fccd9d188ae7876e984276d2e91a28f9abeaddd30645b43d
@@ -1,10 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'rack'
3
+ require 'puma/cli'
4
4
 
5
- # Without calling `Rack::Server#options` manually the CLI arguments will never
6
- # be passed, thus the application can't be specified as a constructor argument.
7
- server = Rack::Server.new
8
- server.options[:config] = File.expand_path('../../config.ru', __FILE__)
5
+ rack_config = File.expand_path('../../config.ru', __FILE__)
9
6
 
10
- server.start
7
+ cli = Puma::CLI.new([rack_config] + ARGV)
8
+ cli.run
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class KafNafParser
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end # KafNafVersion
5
5
  end # Opener
@@ -30,6 +30,7 @@ Gem::Specification.new do |gem|
30
30
  gem.add_dependency 'opener-build-tools'
31
31
  gem.add_dependency 'uuidtools'
32
32
  gem.add_dependency 'opener-webservice'
33
+ gem.add_dependency 'puma'
33
34
 
34
35
  gem.add_development_dependency 'rspec'
35
36
  gem.add_development_dependency 'cucumber'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-kaf-naf-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ruben.izquierdobevia@vu.nl
@@ -95,6 +95,20 @@ dependencies:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: puma
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: rspec
100
114
  requirement: !ruby/object:Gem::Requirement
@@ -177,75 +191,45 @@ files:
177
191
  - core/site-packages/pre_build/KafNafParser-1.2-py2.7.egg-info/installed-files.txt
178
192
  - core/site-packages/pre_build/KafNafParser-1.2-py2.7.egg-info/top_level.txt
179
193
  - core/site-packages/pre_build/KafNafParser/KafNafParserMod.py
180
- - core/site-packages/pre_build/KafNafParser/KafNafParserMod.pyc
181
194
  - core/site-packages/pre_build/KafNafParser/__init__.py
182
- - core/site-packages/pre_build/KafNafParser/__init__.pyc
183
195
  - core/site-packages/pre_build/KafNafParser/constituency_data.py
184
- - core/site-packages/pre_build/KafNafParser/constituency_data.pyc
185
196
  - core/site-packages/pre_build/KafNafParser/coreference_data.py
186
- - core/site-packages/pre_build/KafNafParser/coreference_data.pyc
187
197
  - core/site-packages/pre_build/KafNafParser/dependency_data.py
188
- - core/site-packages/pre_build/KafNafParser/dependency_data.pyc
189
198
  - core/site-packages/pre_build/KafNafParser/entity_data.py
190
- - core/site-packages/pre_build/KafNafParser/entity_data.pyc
191
199
  - core/site-packages/pre_build/KafNafParser/external_references_data.py
192
- - core/site-packages/pre_build/KafNafParser/external_references_data.pyc
193
200
  - core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.py
194
- - core/site-packages/pre_build/KafNafParser/feature_extractor/__init__.pyc
195
201
  - core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.py
196
- - core/site-packages/pre_build/KafNafParser/feature_extractor/constituency.pyc
197
202
  - core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.py
198
- - core/site-packages/pre_build/KafNafParser/feature_extractor/dependency.pyc
199
203
  - core/site-packages/pre_build/KafNafParser/features_data.py
200
- - core/site-packages/pre_build/KafNafParser/features_data.pyc
201
204
  - core/site-packages/pre_build/KafNafParser/header_data.py
202
- - core/site-packages/pre_build/KafNafParser/header_data.pyc
203
205
  - core/site-packages/pre_build/KafNafParser/opinion_data.py
204
- - core/site-packages/pre_build/KafNafParser/opinion_data.pyc
205
206
  - core/site-packages/pre_build/KafNafParser/references_data.py
206
- - core/site-packages/pre_build/KafNafParser/references_data.pyc
207
207
  - core/site-packages/pre_build/KafNafParser/span_data.py
208
- - core/site-packages/pre_build/KafNafParser/span_data.pyc
209
208
  - core/site-packages/pre_build/KafNafParser/term_data.py
210
- - core/site-packages/pre_build/KafNafParser/term_data.pyc
211
209
  - core/site-packages/pre_build/KafNafParser/term_sentiment_data.py
212
- - core/site-packages/pre_build/KafNafParser/term_sentiment_data.pyc
213
210
  - core/site-packages/pre_build/KafNafParser/text_data.py
214
- - core/site-packages/pre_build/KafNafParser/text_data.pyc
215
211
  - core/site-packages/pre_build/VUA_pylib-1.3-py2.7.egg-info/PKG-INFO
216
212
  - core/site-packages/pre_build/VUA_pylib-1.3-py2.7.egg-info/SOURCES.txt
217
213
  - core/site-packages/pre_build/VUA_pylib-1.3-py2.7.egg-info/dependency_links.txt
218
214
  - core/site-packages/pre_build/VUA_pylib-1.3-py2.7.egg-info/installed-files.txt
219
215
  - core/site-packages/pre_build/VUA_pylib-1.3-py2.7.egg-info/top_level.txt
220
216
  - core/site-packages/pre_build/VUA_pylib/__init__.py
221
- - core/site-packages/pre_build/VUA_pylib/__init__.pyc
222
217
  - core/site-packages/pre_build/VUA_pylib/common/__init__.py
223
- - core/site-packages/pre_build/VUA_pylib/common/__init__.pyc
224
218
  - core/site-packages/pre_build/VUA_pylib/common/common.py
225
- - core/site-packages/pre_build/VUA_pylib/common/common.pyc
226
219
  - core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.py
227
- - core/site-packages/pre_build/VUA_pylib/corpus_reader/__init__.pyc
228
220
  - core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.py
229
- - core/site-packages/pre_build/VUA_pylib/corpus_reader/google_web_nl.pyc
230
221
  - core/site-packages/pre_build/VUA_pylib/io_utils/__init__.py
231
- - core/site-packages/pre_build/VUA_pylib/io_utils/__init__.pyc
232
222
  - core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.py
233
- - core/site-packages/pre_build/VUA_pylib/io_utils/feature_file.pyc
234
223
  - core/site-packages/pre_build/VUA_pylib/lexicon/__init__.py
235
- - core/site-packages/pre_build/VUA_pylib/lexicon/__init__.pyc
236
224
  - core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.py
237
- - core/site-packages/pre_build/VUA_pylib/lexicon/lexicon.pyc
238
225
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/PKG-INFO
239
226
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/SOURCES.txt
240
227
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/dependency_links.txt
241
228
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt
242
229
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt
243
230
  - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py
244
- - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc
245
231
  - core/site-packages/pre_build/VUKafParserPy/KafParserMod.py
246
- - core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc
247
232
  - core/site-packages/pre_build/VUKafParserPy/__init__.py
248
- - core/site-packages/pre_build/VUKafParserPy/__init__.pyc
249
233
  - ext/hack/support.rb
250
234
  - lib/opener/kaf_naf_parser.rb
251
235
  - lib/opener/kaf_naf_parser/cli.rb