Permalink
Browse files

Rename cocoa_pods => cocoapods.

  • Loading branch information...
alloy committed Sep 17, 2011
1 parent 2b4c37d commit 4ee802d15cb3e8149cdc5e90413791102b5dad92
View
@@ -4,3 +4,8 @@ task :compile do
sh "macrubyc #{file} -C -o #{file}o"
end
end
+
+desc "Remove rbo files"
+task :clean do
+ sh "rm lib/**/*.rbo"
+end
View
@@ -1,30 +0,0 @@
-module Pod
- class Informative < StandardError
- end
-
- autoload :Command, 'cocoa_pods/command'
- autoload :Config, 'cocoa_pods/config'
- autoload :Dependency, 'cocoa_pods/dependency'
- autoload :Downloader, 'cocoa_pods/downloader'
- autoload :Executable, 'cocoa_pods/executable'
- autoload :Installer, 'cocoa_pods/installer'
- autoload :Resolver, 'cocoa_pods/resolver'
- autoload :Source, 'cocoa_pods/source'
- autoload :Spec, 'cocoa_pods/specification'
- autoload :Specification, 'cocoa_pods/specification'
- autoload :Version, 'cocoa_pods/version'
-
- module Xcode
- autoload :Config, 'cocoa_pods/xcode/config'
- autoload :Project, 'cocoa_pods/xcode/project'
- end
-
- autoload :Pathname, 'pathname'
-end
-
-class Pathname
- def glob(pattern = '')
- Dir.glob((self + pattern).to_s).map { |f| Pathname.new(f) }
- end
-end
-
View
@@ -0,0 +1,30 @@
+module Pod
+ class Informative < StandardError
+ end
+
+ autoload :Command, 'cocoapods/command'
+ autoload :Config, 'cocoapods/config'
+ autoload :Dependency, 'cocoapods/dependency'
+ autoload :Downloader, 'cocoapods/downloader'
+ autoload :Executable, 'cocoapods/executable'
+ autoload :Installer, 'cocoapods/installer'
+ autoload :Resolver, 'cocoapods/resolver'
+ autoload :Source, 'cocoapods/source'
+ autoload :Spec, 'cocoapods/specification'
+ autoload :Specification, 'cocoapods/specification'
+ autoload :Version, 'cocoapods/version'
+
+ module Xcode
+ autoload :Config, 'cocoapods/xcode/config'
+ autoload :Project, 'cocoapods/xcode/project'
+ end
+
+ autoload :Pathname, 'pathname'
+end
+
+class Pathname
+ def glob(pattern = '')
+ Dir.glob((self + pattern).to_s).map { |f| Pathname.new(f) }
+ end
+end
+
@@ -1,9 +1,9 @@
module Pod
class Command
- autoload :Install, 'cocoa_pods/command/install'
- autoload :Repo, 'cocoa_pods/command/repo'
- autoload :Setup, 'cocoa_pods/command/setup'
- autoload :Spec, 'cocoa_pods/command/spec'
+ autoload :Install, 'cocoapods/command/install'
+ autoload :Repo, 'cocoapods/command/repo'
+ autoload :Setup, 'cocoapods/command/setup'
+ autoload :Spec, 'cocoapods/command/spec'
class Help < Informative
def initialize(command_class, argv)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +1,6 @@
module Pod
class Specification
- autoload :Set, 'cocoa_pods/specification/set'
+ autoload :Set, 'cocoapods/specification/set'
def self.from_podfile(path)
if path.exist?
File renamed without changes.
File renamed without changes.
@@ -7,7 +7,7 @@ class Project
# that makes the use of __FILE__ impossible.
#
#TEMPLATES_DIR = Pathname.new(File.expand_path('../../../../xcode-project-templates', __FILE__))
- file = $LOADED_FEATURES.find { |file| file =~ %r{cocoa_pods/xcode/project\.rbo?$} }
+ file = $LOADED_FEATURES.find { |file| file =~ %r{cocoapods/xcode/project\.rbo?$} }
TEMPLATES_DIR = Pathname.new(File.expand_path('../../../../xcode-project-templates', file))
# TODO see if we really need different templates for iOS and OS X
View
@@ -5,7 +5,7 @@
ROOT = Pathname.new(File.expand_path('../../', __FILE__))
$:.unshift((ROOT + 'lib').to_s)
-require 'cocoa_pods'
+require 'cocoapods'
$:.unshift((ROOT + 'spec').to_s)
require 'spec_helper/fixture'

0 comments on commit 4ee802d

Please sign in to comment.