aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2013-01-29 10:55:16 +0100
committerGibheer <gibheer@gmail.com>2013-01-29 10:55:16 +0100
commit27442f40613cb3a557ca7a0a9d34a4e4296072bd (patch)
tree402f7a0b29cf46880fac7e74333daf7878b99aae
parenteeb0169bc9f6a6f7f60f47cc390845d5cc6cb8ab (diff)
remove more leftovers from class_options
-rw-r--r--Gemfile.lock2
-rw-r--r--lib/zero.rb2
-rw-r--r--lib/zero/controller.rb1
3 files changed, 0 insertions, 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