opener-tree-tagger 2.0.0 → 2.0.1

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
  SHA1:
3
- metadata.gz: b28b43d43758b577a224654b1d13a904544c3472
4
- data.tar.gz: 6c0359925f27fe733a72425a97da3ff730441453
3
+ metadata.gz: 4570c463f56695ff7dee60413f86b60b26eeee0b
4
+ data.tar.gz: 6123da901f2b037f38d413d998fe3768cdebe497
5
5
  SHA512:
6
- metadata.gz: 10ccf8aa51f752587c42768839270368ef6448192157570e15d65f8291a41a4ecd93bef059cda82a4ec70771177af5b8609dc98e3234b5c8f4e1230e8eb4759b
7
- data.tar.gz: e8b74d458942a42ef391a4ab4533641a7de37c24a4aebb7634df0a5b09dace5a6adb3f122b6034d9624f768129b9c5db3078652c68ce3d7f757aac53f306c67f
6
+ metadata.gz: 6d7fd2849e8c010e497ede5e6df23d6fc2141f4d9dd2498d277c4365e564e3e53b482c2e0613c460f05d3f4235344afe506a630bcc9801b88af7b97b6ee0ac10
7
+ data.tar.gz: b5e9826d95ab61bba42f0ada4ec1a5c019c11770c794b2a446f506e4f8c3a08e46583ec4e280169dc4c8cc977dff0e101f5c3907e133d29102057b68dcddf5d6
@@ -1,11 +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__)
9
-
10
- server.start
5
+ rack_config = File.expand_path('../../config.ru', __FILE__)
11
6
 
7
+ cli = Puma::CLI.new([rack_config] + ARGV)
8
+ cli.run
@@ -1,5 +1,5 @@
1
1
  module Opener
2
2
  class TreeTagger
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
@@ -28,6 +28,7 @@ Gem::Specification.new do |gem|
28
28
  gem.add_dependency 'rake'
29
29
  gem.add_dependency 'sinatra'
30
30
  gem.add_dependency 'httpclient'
31
+ gem.add_dependency 'puma'
31
32
  gem.add_dependency 'opener-webservice'
32
33
 
33
34
  gem.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-tree-tagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubenIzquierdo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-19 00:00:00.000000000 Z
12
+ date: 2014-05-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: opener-daemons
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: puma
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: opener-webservice
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -150,11 +164,8 @@ files:
150
164
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt
151
165
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt
152
166
  - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py
153
- - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc
154
167
  - core/site-packages/pre_build/VUKafParserPy/KafParserMod.py
155
- - core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc
156
168
  - core/site-packages/pre_build/VUKafParserPy/__init__.py
157
- - core/site-packages/pre_build/VUKafParserPy/__init__.pyc
158
169
  - core/spanish.map.treetagger.kaf.csv
159
170
  - core/token_matcher.py
160
171
  - core/tt_from_kaf_to_kaf.py