From 3d19c2373d03ece92d898a9017f5084c0cf34db6 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 21 Feb 2016 02:01:33 -0300 Subject: [PATCH] Move require 'yaml' to state_file.rb f788af0c8f7993899e35994d9c63dce4dd6de299 moved YAML related code to state_file.rb but didn't move the require from control_cli.rb to state_file.rb --- lib/puma/control_cli.rb | 2 +- lib/puma/state_file.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/puma/control_cli.rb b/lib/puma/control_cli.rb index 2b32c01b..962ae0ae 100644 --- a/lib/puma/control_cli.rb +++ b/lib/puma/control_cli.rb @@ -1,9 +1,9 @@ require 'optparse' require 'puma/const' require 'puma/configuration' -require 'yaml' require 'uri' require 'socket' + module Puma class ControlCLI diff --git a/lib/puma/state_file.rb b/lib/puma/state_file.rb index 84b236ce..caea14e2 100644 --- a/lib/puma/state_file.rb +++ b/lib/puma/state_file.rb @@ -1,3 +1,5 @@ +require 'yaml' + module Puma class StateFile def initialize