opener-tokenizer 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/tokenizer-server +4 -6
- data/lib/opener/tokenizer/version.rb +1 -1
- data/opener-tokenizer.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07977da1fd3a94d9a88697f43235d2c7202bbe33
|
4
|
+
data.tar.gz: e86a4ca7440d2e2b1ed8bfa8851e90d842c5eaab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd20250047b206a9df53fc462fd27fc9e0d826baa07584edbf87d2afbc63a68e398b4a729755ffab04c467231645153ac8f0dee2c6b2719902eeee23b420a79b
|
7
|
+
data.tar.gz: 286ceb3f33edf03e2db5ea0fd123aaca4a46a39e5c3afd6d0157af73cbf912e4cc680c1bfb73c53598159fad6fae5dd512e1855d02c0d27b1a547d690f6ed0c9
|
data/bin/tokenizer-server
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require '
|
3
|
+
require 'puma/cli'
|
4
4
|
|
5
|
-
|
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
|
-
|
7
|
+
cli = Puma::CLI.new([rack_config] + ARGV)
|
8
|
+
cli.run
|
data/opener-tokenizer.gemspec
CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |gem|
|
|
28
28
|
gem.add_dependency 'sinatra', '~>1.4.2'
|
29
29
|
gem.add_dependency 'httpclient'
|
30
30
|
gem.add_dependency 'opener-daemons'
|
31
|
+
gem.add_dependency 'puma'
|
31
32
|
|
32
33
|
gem.add_development_dependency 'rspec'
|
33
34
|
gem.add_development_dependency 'cucumber'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-tokenizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- development@olery.com
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: puma
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rspec
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|