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
ffd6e993
Commit
ffd6e993
authored
Feb 20, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Command::IPC] Fix spelling
parent
87d76497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
inter_process_communication.rb
lib/cocoapods/command/inter_process_communication.rb
+6
-7
No files found.
lib/cocoapods/command/inter_process_communication.rb
View file @
ffd6e993
...
@@ -3,7 +3,7 @@ module Pod
...
@@ -3,7 +3,7 @@ module Pod
class
IPC
<
Command
class
IPC
<
Command
self
.
abstract_command
=
true
self
.
abstract_command
=
true
self
.
summary
=
'Inter
process communication'
self
.
summary
=
'Inter
-
process communication'
#-----------------------------------------------------------------------#
#-----------------------------------------------------------------------#
...
@@ -18,13 +18,12 @@ module Pod
...
@@ -18,13 +18,12 @@ module Pod
super
super
end
end
def
run
def
validate!
if
@path
.
nil?
super
raise
Informative
,
"Path not given."
help!
"A specification path is required."
unless
@path
elsif
!
File
.
exists?
(
@path
)
end
raise
Informative
,
"The given path doesn't exists `
#{
@path
}
` not given."
end
def
run
spec
=
Specification
.
from_file
(
@path
)
spec
=
Specification
.
from_file
(
@path
)
UI
.
puts
spec
.
to_yaml
UI
.
puts
spec
.
to_yaml
end
end
...
...
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