From 27442f40613cb3a557ca7a0a9d34a4e4296072bd Mon Sep 17 00:00:00 2001 From: Gibheer Date: Tue, 29 Jan 2013 10:55:16 +0100 Subject: [PATCH] remove more leftovers from class_options --- Gemfile.lock | 2 -- lib/zero.rb | 2 -- lib/zero/controller.rb | 1 - 3 files changed, 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 6b776c8..5c755c3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,13 +2,11 @@ PATH remote: . specs: zero (0.2.0) - class_options tilt GEM remote: https://rubygems.org/ specs: - class_options (0.0.1) coderay (1.0.8) devutils (0.0.1) rspec diff --git a/lib/zero.rb b/lib/zero.rb index 22bd30c..2f18519 100644 --- a/lib/zero.rb +++ b/lib/zero.rb @@ -3,8 +3,6 @@ if RUBY_VERSION <= '1.9' require 'zero_fix18' end -require 'class_options' - module Zero require 'zero/controller' require 'zero/router' diff --git a/lib/zero/controller.rb b/lib/zero/controller.rb index b9568cd..cf4c17e 100644 --- a/lib/zero/controller.rb +++ b/lib/zero/controller.rb @@ -5,7 +5,6 @@ module Zero # rack compatible controllers. It catches #call and creates a new instance # with the environment and calls #render on it. class Controller - extend ClassOptions::Options # initialize a new instance of the controller and call response on it def self.call(env) new(env).response