lib/couch/actions/base.rb in couch-0.0.4 vs lib/couch/actions/base.rb in couch-0.1.0
- old
+ new
@@ -1,26 +1,16 @@
require 'couch'
-require 'couch/mapper'
require 'rubygems'
-require "rest_client"
-require 'json'
require 'thor/group'
-require 'active_support/core_ext/string/inflections'
+require 'active_support/inflector'
module Couch
module Actions
class Base < Thor::Group
- attr_reader :mapper
-
include Thor::Actions
class_option :database, :type => :string
-
- def initialize(*args)
- super
- @mapper = Mapper.new(destination_root)
- end
def self.banner
"couch #{to_s.split('::').last.underscore}"
end