opener-s3-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: 10341e220c8473c0a1122c20b7ab9dc7b1f8452e
4
- data.tar.gz: e4a9dcf12a019669c8879838ff5f94ac3fc09a9b
3
+ metadata.gz: 95688f53614510d0600c1b1b2512b69cd4864b5d
4
+ data.tar.gz: fea5db52a43ffb44691518e09a9f53296a5e239b
5
5
  SHA512:
6
- metadata.gz: 975df73d82655fe9b781aed0e485a7805c68f3746442dd226d55217abe9acb411b98ea153174035dd242adf346f436ef49cc9b7b2f9a0a5325cebd727eecd073
7
- data.tar.gz: ab71c20499c3bae2a3ca8a6e35710520786275c59d47b3ef49b2bacecfedbf133e9243206f258a14c1e136a0bbcb99befe467f026af76e335c3782fa0cf39360
6
+ metadata.gz: c921551823e38dc67e9702ae3e5edcc75dde2a412a56c47d652ba9f1b473985b9ed9b6abcb4e94fb326da3dd6efb44d1d7b44dcf88ffd1273f9a852b070eaf8b
7
+ data.tar.gz: 39d672082d75b9df6e6fee621080d2a917c737a50998bd9bed525a507d7282b9a274de5ffc95033f1d21355b1c115561fd7d608ff886bec3dda7e3e6bd826b85
data/bin/s3-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 S3Outlet
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -30,6 +30,7 @@ Gem::Specification.new do |gem|
30
30
  gem.add_dependency 'opener-webservice'
31
31
  gem.add_dependency 'opener-daemons'
32
32
  gem.add_dependency 'aws-sdk'
33
+ gem.add_dependency 'puma'
33
34
 
34
35
  gem.add_development_dependency 'rspec'
35
36
  gem.add_development_dependency 'cucumber'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opener-s3-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
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: puma
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rspec
127
141
  requirement: !ruby/object:Gem::Requirement