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
5e2816f9
Commit
5e2816f9
authored
Nov 10, 2013
by
Joshua Kalpin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Validate on all pod commands that the user is using a terminal in utf-8
parent
aa25ac05
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
CHANGELOG.md
CHANGELOG.md
+5
-0
pod
bin/pod
+6
-1
No files found.
CHANGELOG.md
View file @
5e2816f9
...
@@ -58,6 +58,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
...
@@ -58,6 +58,11 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[
Swizzlr
](
https://github.com/swizzlr
)
[
Swizzlr
](
https://github.com/swizzlr
)
[
#1560
](
https://github.com/CocoaPods/CocoaPods/pull/1560
)
[
#1560
](
https://github.com/CocoaPods/CocoaPods/pull/1560
)
*
Users are now warned if their terminal encoding is not UTF-8. This fixes an issue
with a small percentage of pod names that are incompatible with ASCII.
[
Joshua Kalpin
](
https://github.com/Kapin
)
[
#1570
](
https://github.com/CocoaPods/CocoaPods/pull/1570
)
## 0.27.1
## 0.27.1
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.26.2...0.27.1
)
[
CocoaPods
](
https://github.com/CocoaPods/CocoaPods/compare/0.26.2...0.27.1
)
...
...
bin/pod
View file @
5e2816f9
#!/usr/bin/env ruby
#!/usr/bin/env ruby
if
RUBY_VERSION
>
'1.8.7'
&&
Encoding
.
default_external
!=
Encoding
::
UTF_8
puts
"
\e
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding."
puts
"See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for details on how to fix this
\e
[0m"
end
if
$0
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
if
$0
==
__FILE__
&&
!
ENV
[
'COCOAPODS_NO_BUNDLER'
]
ENV
[
'BUNDLE_GEMFILE'
]
=
File
.
expand_path
(
'../../Gemfile'
,
__FILE__
)
ENV
[
'BUNDLE_GEMFILE'
]
=
File
.
expand_path
(
'../../Gemfile'
,
__FILE__
)
require
"rubygems"
require
"rubygems"
...
@@ -10,7 +15,7 @@ elsif ENV['COCOAPODS_NO_BUNDLER']
...
@@ -10,7 +15,7 @@ elsif ENV['COCOAPODS_NO_BUNDLER']
gem
"cocoapods"
gem
"cocoapods"
end
end
if
(
ENV
[
'CP_STDOUT_SYNC'
]
==
'TRUE'
)
if
ENV
[
'CP_STDOUT_SYNC'
]
==
'TRUE'
STDOUT
.
sync
=
true
STDOUT
.
sync
=
true
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