From be78dcfc50c3915dbcf69d78e60c2286a21a8c74 Mon Sep 17 00:00:00 2001 From: Suyeol Jeon Date: Fri, 8 May 2015 17:45:16 +0900 Subject: [PATCH] Move all `require` to cocoaseeds.rb --- lib/cocoaseeds.rb | 3 +++ lib/cocoaseeds/command.rb | 2 -- lib/cocoaseeds/core.rb | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/cocoaseeds.rb b/lib/cocoaseeds.rb index e384d53..e126061 100644 --- a/lib/cocoaseeds.rb +++ b/lib/cocoaseeds.rb @@ -1,4 +1,7 @@ +require 'colorize' +require 'fileutils' require 'xcodeproj' +require 'yaml' module Seeds require 'cocoaseeds/version' diff --git a/lib/cocoaseeds/command.rb b/lib/cocoaseeds/command.rb index 06ed36d..d1e43ce 100644 --- a/lib/cocoaseeds/command.rb +++ b/lib/cocoaseeds/command.rb @@ -1,5 +1,3 @@ -require 'colorize' - module Seeds class Command def self.run(argv) diff --git a/lib/cocoaseeds/core.rb b/lib/cocoaseeds/core.rb index 2d9ca23..abc60d8 100644 --- a/lib/cocoaseeds/core.rb +++ b/lib/cocoaseeds/core.rb @@ -1,6 +1,3 @@ -require 'fileutils' -require 'yaml' - module Seeds class Core attr_reader :root_path, :seedfile_path, :lockfile_path