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
362da697
Commit
362da697
authored
Feb 02, 2014
by
Eloy Durán
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of I18n deprecation warning.
parent
4b78767c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
cocoapods.rb
lib/cocoapods.rb
+10
-0
installer.rb
lib/cocoapods/installer.rb
+2
-0
target_integrator.rb
...ds/installer/user_project_integrator/target_integrator.rb
+1
-1
No files found.
lib/cocoapods.rb
View file @
362da697
require
'rubygems'
require
'rubygems'
require
'xcodeproj'
require
'xcodeproj'
# It is very likely that we'll need these and as some of those paths will atm
# result in a I18n deprecation warning, we load those here now so that we can
# get rid of that warning.
require
'active_support/core_ext/string/strip'
require
'active_support/core_ext/string/inflections'
require
'active_support/core_ext/array/conversions'
# TODO check what this actually does by the time we're going to add support for
# other locales.
I18n
.
enforce_available_locales
=
false
module
Pod
module
Pod
require
'pathname'
require
'pathname'
...
...
lib/cocoapods/installer.rb
View file @
362da697
require
'active_support/core_ext/string/inflections'
module
Pod
module
Pod
# The Installer is responsible of taking a Podfile and transform it in the
# The Installer is responsible of taking a Podfile and transform it in the
...
...
lib/cocoapods/installer/user_project_integrator/target_integrator.rb
View file @
362da697
require
'active_support'
require
'active_support
/core_ext/string/inflections
'
module
Pod
module
Pod
class
Installer
class
Installer
...
...
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