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
e65c2ee5
Commit
e65c2ee5
authored
Mar 07, 2013
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Command::IPC] Drop eval
parent
68252e6f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
inter_process_communication.rb
lib/cocoapods/command/inter_process_communication.rb
+1
-1
inter_process_communication_spec.rb
spec/functional/command/inter_process_communication_spec.rb
+1
-1
No files found.
lib/cocoapods/command/inter_process_communication.rb
View file @
e65c2ee5
...
@@ -136,7 +136,7 @@ module Pod
...
@@ -136,7 +136,7 @@ module Pod
repl_commands
=
repl_command
.
split
repl_commands
=
repl_command
.
split
subcommand
=
repl_commands
.
shift
.
capitalize
subcommand
=
repl_commands
.
shift
.
capitalize
arguments
=
repl_commands
arguments
=
repl_commands
subcommand_class
=
eval
(
"Pod::Command::IPC::
#{
subcommand
}
"
)
subcommand_class
=
Pod
::
Command
::
IPC
.
const_get
(
subcommand
)
subcommand_class
.
new
(
CLAide
::
ARGV
.
new
(
arguments
)).
run
subcommand_class
.
new
(
CLAide
::
ARGV
.
new
(
arguments
)).
run
signal_ready
signal_ready
end
end
...
...
spec/functional/command/inter_process_communication_spec.rb
View file @
e65c2ee5
...
@@ -57,7 +57,7 @@ module Pod
...
@@ -57,7 +57,7 @@ module Pod
command
.
run
command
.
run
out
=
UI
.
output
out
=
UI
.
output
out
.
should
.
match
/version:
#{
Pod
::
VERSION
}
/
out
.
should
.
match
/version:
'
#{
Pod
::
VERSION
}
'
/
end
end
it
"converts forwards the commands to the other ipc subcommands prints the result to STDOUT"
do
it
"converts forwards the commands to the other ipc subcommands prints the result to STDOUT"
do
...
...
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