opener-opinion-detector-basic 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc6dd6c71396853ddb39ff898599ad4c3f466401
4
- data.tar.gz: c820abad54167482947c7a56d78cba5331482957
3
+ metadata.gz: a69285829be3b605bef98b6e597078390744b5fa
4
+ data.tar.gz: 3997c28d2a29a10ab31a04c5b5c6c06852672c44
5
5
  SHA512:
6
- metadata.gz: ee6555c6dee3540ed4b7a7817e106cfb459281f159c60d73b2af548b9bc19b967ce70bc52e8bac991eabdab6b74a6d30606f7672c339d75c999bf2666a8a66ec
7
- data.tar.gz: 72fc4d27ce5b98fab608880492a2c7b135e24542eb9b2cb26b3bd4c32008095f966ec944588d30aaeb278c265bdb65bd22688dd43649df7cd16d9ea0e99ece55
6
+ metadata.gz: 107ac8a51fb4f3664f5d994731338c4fafdcb437beb4631274b58c8a26d5f37e9af23e0298db2f044fffb96ff1c0a459aa68bc55d6efdaea9e2da4b60679ee11
7
+ data.tar.gz: 0d35ab0aa4cc33e63be29f1457b5c65a2d137b740751c2657e2ac90a7ac425888e2ecbde3937c692c04406c52af265d86b266fba381e189ecba54da0ce86669d
@@ -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 OpinionDetectorBasic
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -29,6 +29,7 @@ Gem::Specification.new do |gem|
29
29
  gem.add_dependency 'rake'
30
30
  gem.add_dependency 'sinatra'
31
31
  gem.add_dependency 'httpclient'
32
+ gem.add_dependency 'puma'
32
33
  gem.add_dependency 'opener-webservice'
33
34
 
34
35
  gem.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-opinion-detector-basic
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
  - development@olery.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-19 00:00:00.000000000 Z
11
+ date: 2014-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opener-build-tools
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: puma
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: opener-webservice
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -129,11 +143,8 @@ files:
129
143
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/installed-files.txt
130
144
  - core/site-packages/pre_build/VUKafParserPy-1.0-py2.7.egg-info/top_level.txt
131
145
  - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.py
132
- - core/site-packages/pre_build/VUKafParserPy/KafDataObjectsMod.pyc
133
146
  - core/site-packages/pre_build/VUKafParserPy/KafParserMod.py
134
- - core/site-packages/pre_build/VUKafParserPy/KafParserMod.pyc
135
147
  - core/site-packages/pre_build/VUKafParserPy/__init__.py
136
- - core/site-packages/pre_build/VUKafParserPy/__init__.pyc
137
148
  - core/vendor/src/crfsuite/AUTHORS
138
149
  - core/vendor/src/crfsuite/COPYING
139
150
  - core/vendor/src/crfsuite/ChangeLog