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
854cc1af
Commit
854cc1af
authored
Aug 10, 2012
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup a little by using ActiveSupport convenience methods.
parent
1dc80adc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
user_project_integrator.rb
lib/cocoapods/installer/user_project_integrator.rb
+5
-4
No files found.
lib/cocoapods/installer/user_project_integrator.rb
View file @
854cc1af
require
'xcodeproj/workspace'
require
'xcodeproj/project'
require
'active_support/core_ext/string/inflections'
require
'active_support/core_ext/array/conversions'
module
Pod
class
Installer
...
...
@@ -69,10 +72,8 @@ module Pod
return
if
targets
.
empty?
unless
Config
.
instance
.
silent?
# TODO let's just use ActiveSupport.
plural
=
targets
.
size
>
1
puts
"-> Integrating `
#{
@target_definition
.
lib_name
}
' into target
#{
's'
if
plural
}
"
\
"`
#{
targets
.
map
(
&
:name
).
join
(
', '
)
}
' of Xcode project `
#{
user_project_path
.
basename
}
'."
.
green
puts
"-> Integrating `
#{
@target_definition
.
lib_name
}
' into
#{
'target'
.
pluralize
(
targets
.
size
)
}
"
\
"`
#{
targets
.
map
(
&
:name
).
to_sentence
}
' of Xcode project `
#{
user_project_path
.
basename
}
'."
.
green
end
add_xcconfig_base_configuration
...
...
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