opener-scorer 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/scorer-server +4 -6
- data/lib/opener/scorer/version.rb +1 -1
- data/opener-scorer.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: c523b9bdb95d9bade67318bd9bbbf323a72dffc3
|
4
|
+
data.tar.gz: 440ece97c32c502539fbc253144159a9da2e5876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88d6f4fe28d608d0e5beec296603284a5f84831b6e9d4b0233e3ddc6ebcc62d5e6d5854c1531f0cd180e5553fbda0483925e25463d15459dde54575c71def83a
|
7
|
+
data.tar.gz: cb0ccd806e33cabf1ca017cf1d59552c2ad9b74d46681588cd1ad06ec944927b1bf4624b134d62cb88c0eab03134562dff5ad72bb97b84755eed9444410754e0
|
data/bin/scorer-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-scorer.gemspec
CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |gem|
|
|
25
25
|
gem.add_dependency 'nokogiri'
|
26
26
|
gem.add_dependency 'httpclient'
|
27
27
|
gem.add_dependency 'uuidtools'
|
28
|
+
gem.add_dependency 'puma'
|
28
29
|
gem.add_dependency 'jdbc-mysql'
|
29
30
|
gem.add_dependency 'activerecord-jdbcmysql-adapter'
|
30
31
|
gem.add_dependency 'activerecord', '~>3.2'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opener-scorer
|
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
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: puma
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: jdbc-mysql
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|