Locomotive::Steam.to_app is better than Locomotive::Steam::Server.to_app
did
committed Jan 11, 2016
commit e3691b00a905547a509cb82905061afe9108ccad
Showing 2
changed files with
2 additions
and 2 deletions
Gemfile
+1
-1
| @@ | @@ -6,7 +6,7 @@ gemspec |
| gem 'rb-fsevent', '~> 0.9.1' | |
| # Development | |
| - | gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: '096da14', require: false |
| + | gem 'locomotivecms_steam', github: 'locomotivecms/steam', ref: '940837b', require: false |
| # gem 'locomotivecms_coal', github: 'locomotivecms/coal', ref: '32b2844', require: false | |
| # gem 'locomotivecms_common', github: 'locomotivecms/common', ref: '3046b79893', require: false | |
locomotive/wagon/commands/serve_command.rb b/lib/locomotive/wagon/commands/serve_command.rb
+1
-1
| @@ | @@ -106,7 +106,7 @@ module Locomotive::Wagon |
| # Thin in debug mode | |
| # Thin::Logging.debug = true | |
| - | app = Locomotive::Steam::Server.to_app |
| + | app = Locomotive::Steam.to_app |
| Thin::Server.new(options[:host], options[:port], { signals: true }, app).tap do |server| | |
| server.threaded = true | |