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
dfc021f0
Unverified
Commit
dfc021f0
authored
May 15, 2016
by
Nate West
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix various RuboCop offenses
parent
03744661
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
repl.rb
lib/cocoapods/command/ipc/repl.rb
+2
-2
create.rb
lib/cocoapods/command/lib/create.rb
+3
-3
No files found.
lib/cocoapods/command/ipc/repl.rb
View file @
dfc021f0
...
@@ -4,7 +4,7 @@ module Pod
...
@@ -4,7 +4,7 @@ module Pod
class
Repl
<
IPC
class
Repl
<
IPC
include
ProjectDirectory
include
ProjectDirectory
END_OF_OUTPUT_SIGNAL
=
"
\n\r
"
END_OF_OUTPUT_SIGNAL
=
'\n\r'
.
freeze
self
.
summary
=
'The repl listens to commands on standard input'
self
.
summary
=
'The repl listens to commands on standard input'
self
.
description
=
<<-
DESC
self
.
description
=
<<-
DESC
...
@@ -36,7 +36,7 @@ module Pod
...
@@ -36,7 +36,7 @@ module Pod
end
end
def
execute_repl_command
(
repl_command
)
def
execute_repl_command
(
repl_command
)
if
(
repl_command
!=
"
\n
"
)
unless
repl_command
==
'\n'
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
...
...
lib/cocoapods/command/lib/create.rb
View file @
dfc021f0
...
@@ -51,9 +51,9 @@ module Pod
...
@@ -51,9 +51,9 @@ module Pod
extend
Executable
extend
Executable
executable
:git
executable
:git
TEMPLATE_REPO
=
'https://github.com/CocoaPods/pod-template.git'
TEMPLATE_REPO
=
'https://github.com/CocoaPods/pod-template.git'
.
freeze
TEMPLATE_INFO_URL
=
'https://github.com/CocoaPods/pod-template'
TEMPLATE_INFO_URL
=
'https://github.com/CocoaPods/pod-template'
.
freeze
CREATE_NEW_POD_INFO_URL
=
'http://guides.cocoapods.org/making/making-a-cocoapod'
CREATE_NEW_POD_INFO_URL
=
'http://guides.cocoapods.org/making/making-a-cocoapod'
.
freeze
# Clones the template from the remote in the working directory using
# Clones the template from the remote in the working directory using
# the name of the Pod.
# the name of the Pod.
...
...
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