Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
4ee802d1
Commit
4ee802d1
authored
Sep 17, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename cocoa_pods => cocoapods.
parent
2b4c37d3
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
42 additions
and
37 deletions
+42
-37
Rakefile
Rakefile
+5
-0
cocoa_pods.rb
lib/cocoa_pods.rb
+0
-30
cocoapods.rb
lib/cocoapods.rb
+30
-0
command.rb
lib/cocoapods/command.rb
+4
-4
install.rb
lib/cocoapods/command/install.rb
+0
-0
repo.rb
lib/cocoapods/command/repo.rb
+0
-0
setup.rb
lib/cocoapods/command/setup.rb
+0
-0
spec.rb
lib/cocoapods/command/spec.rb
+0
-0
config.rb
lib/cocoapods/config.rb
+0
-0
dependency.rb
lib/cocoapods/dependency.rb
+0
-0
downloader.rb
lib/cocoapods/downloader.rb
+0
-0
executable.rb
lib/cocoapods/executable.rb
+0
-0
installer.rb
lib/cocoapods/installer.rb
+0
-0
resolver.rb
lib/cocoapods/resolver.rb
+0
-0
source.rb
lib/cocoapods/source.rb
+0
-0
specification.rb
lib/cocoapods/specification.rb
+1
-1
set.rb
lib/cocoapods/specification/set.rb
+0
-0
version.rb
lib/cocoapods/version.rb
+0
-0
config.rb
lib/cocoapods/xcode/config.rb
+0
-0
project.rb
lib/cocoapods/xcode/project.rb
+1
-1
spec_helper.rb
spec/spec_helper.rb
+1
-1
No files found.
Rakefile
View file @
4ee802d1
...
...
@@ -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
lib/cocoa_pods.rb
deleted
100644 → 0
View file @
2b4c37d3
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
lib/cocoapods.rb
0 → 100644
View file @
4ee802d1
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
lib/cocoa
_
pods/command.rb
→
lib/cocoapods/command.rb
View file @
4ee802d1
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
)
...
...
lib/cocoa
_
pods/command/install.rb
→
lib/cocoapods/command/install.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/command/repo.rb
→
lib/cocoapods/command/repo.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/command/setup.rb
→
lib/cocoapods/command/setup.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/command/spec.rb
→
lib/cocoapods/command/spec.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/config.rb
→
lib/cocoapods/config.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/dependency.rb
→
lib/cocoapods/dependency.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/downloader.rb
→
lib/cocoapods/downloader.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/executable.rb
→
lib/cocoapods/executable.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/installer.rb
→
lib/cocoapods/installer.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/resolver.rb
→
lib/cocoapods/resolver.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/source.rb
→
lib/cocoapods/source.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/specification.rb
→
lib/cocoapods/specification.rb
View file @
4ee802d1
module
Pod
class
Specification
autoload
:Set
,
'cocoa
_
pods/specification/set'
autoload
:Set
,
'cocoapods/specification/set'
def
self
.
from_podfile
(
path
)
if
path
.
exist?
...
...
lib/cocoa
_
pods/specification/set.rb
→
lib/cocoapods/specification/set.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/version.rb
→
lib/cocoapods/version.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/xcode/config.rb
→
lib/cocoapods/xcode/config.rb
View file @
4ee802d1
File moved
lib/cocoa
_
pods/xcode/project.rb
→
lib/cocoapods/xcode/project.rb
View file @
4ee802d1
...
...
@@ -7,7 +7,7 @@ module Pod
# 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
...
...
spec/spec_helper.rb
View file @
4ee802d1
...
...
@@ -5,7 +5,7 @@ require 'pathname'
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment