opener-outlet 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: df871ce40445a7412cc20219841a08301b1f6b20
4
- data.tar.gz: 616bf3d5e1dc8d18dead07853648ff90af349282
3
+ metadata.gz: f7e8f97ae0cd983e2615e1a56091f769fe99d16a
4
+ data.tar.gz: c1b7c8748c5cf2b4b2be5e30a462679c37f50cc3
5
5
  SHA512:
6
- metadata.gz: 48d8ffb897ff377d690a24a5fe3ac54ec1cce3f5750f9d6aafbc15bdd41317b69c1810a26a5eb794bade1053a5c0507a8fc1cf3a026978d5cdf0296b393530b1
7
- data.tar.gz: a7003db8bff48097aab1f5afca8f70377174a6c07997eacc5a806faf35467777131dd498209bff78ff50ef24f1127d6e460e0f4b517ab392f0d1e126a6db9011
6
+ metadata.gz: 5bba56e3eb92c6eee490a445093be43a3d34ad60f29e4e32668435e6188c9747fb71d0ef5b6b8684df16e7f2ff1df3f91b3a52b259300e116eb732706dd70e07
7
+ data.tar.gz: 0f29700842e2f4279099891dd951557a3bd805a28c269f65f32b6424fe11ae8774bcd445d3dc4afe6925aabd222a31eabee6edeb157b12c59207afeaa06fe88a
data/bin/outlet-server CHANGED
@@ -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 Outlet
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -24,6 +24,7 @@ Gem::Specification.new do |gem|
24
24
  gem.add_dependency 'builder', '~>3.0.0'
25
25
  gem.add_dependency 'sinatra', '~>1.4.2'
26
26
  gem.add_dependency 'nokogiri'
27
+ gem.add_dependency 'puma'
27
28
  gem.add_dependency 'httpclient'
28
29
  gem.add_dependency 'uuidtools'
29
30
  gem.add_dependency 'jdbc-mysql'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-outlet
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
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: puma
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: httpclient
57
71
  requirement: !ruby/object:Gem::Requirement