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
67541e5e
Commit
67541e5e
authored
Sep 28, 2012
by
Fabio Pelosin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Config] Rename Podfile.cocoapods to CocoaPods.podfile
parent
f5ad196e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
CHANGELOG.md
CHANGELOG.md
+1
-1
config.rb
lib/cocoapods/config.rb
+1
-1
config_spec.rb
spec/unit/config_spec.rb
+2
-2
No files found.
CHANGELOG.md
View file @
67541e5e
...
...
@@ -13,7 +13,7 @@
-
Added support for linting a Podspec using the files from its folder
`pod spec
lint --local`
-
Refactored UI.
-
Added support for Podfiles named
`
Podfile.cocoapods
`
which allows to
-
Added support for Podfiles named
`
CocoaPods.podfile
`
which allows to
associate an editor application in Mac OS X.
[
#528
](
https://github.com/CocoaPods/CocoaPods/issues/528
)
-
Added config option to disable the new version available message.
...
...
lib/cocoapods/config.rb
View file @
67541e5e
...
...
@@ -41,7 +41,7 @@ module Pod
def
project_podfile
unless
@project_podfile
@project_podfile
=
project_root
+
'
Podfile.cocoapods
'
@project_podfile
=
project_root
+
'
CocoaPods.podfile
'
unless
@project_podfile
.
exist?
@project_podfile
=
project_root
+
'Podfile'
end
...
...
spec/unit/config_spec.rb
View file @
67541e5e
...
...
@@ -30,9 +30,9 @@ describe "Pod::Config" do
end
it
"returns the path to the project Podfile if specified with the extension"
do
(
temporary_directory
+
'
Podfile.cocoapods
'
).
open
(
'w'
)
{
|
f
|
f
<<
'# Yo'
}
(
temporary_directory
+
'
CocoaPods.podfile
'
).
open
(
'w'
)
{
|
f
|
f
<<
'# Yo'
}
Dir
.
chdir
(
temporary_directory
)
do
config
.
project_podfile
.
should
==
Pathname
.
pwd
+
'
Podfile.cocoapods
'
config
.
project_podfile
.
should
==
Pathname
.
pwd
+
'
CocoaPods.podfile
'
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