Commit 67541e5e authored by Fabio Pelosin's avatar Fabio Pelosin

[Config] Rename Podfile.cocoapods to CocoaPods.podfile

parent f5ad196e
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
- Added support for linting a Podspec using the files from its folder `pod spec - Added support for linting a Podspec using the files from its folder `pod spec
lint --local` lint --local`
- Refactored UI. - 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. associate an editor application in Mac OS X.
[#528](https://github.com/CocoaPods/CocoaPods/issues/528) [#528](https://github.com/CocoaPods/CocoaPods/issues/528)
- Added config option to disable the new version available message. - Added config option to disable the new version available message.
......
...@@ -41,7 +41,7 @@ module Pod ...@@ -41,7 +41,7 @@ module Pod
def project_podfile def project_podfile
unless @project_podfile unless @project_podfile
@project_podfile = project_root + 'Podfile.cocoapods' @project_podfile = project_root + 'CocoaPods.podfile'
unless @project_podfile.exist? unless @project_podfile.exist?
@project_podfile = project_root + 'Podfile' @project_podfile = project_root + 'Podfile'
end end
......
...@@ -30,9 +30,9 @@ describe "Pod::Config" do ...@@ -30,9 +30,9 @@ describe "Pod::Config" do
end end
it "returns the path to the project Podfile if specified with the extension" do 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 Dir.chdir(temporary_directory) do
config.project_podfile.should == Pathname.pwd + 'Podfile.cocoapods' config.project_podfile.should == Pathname.pwd + 'CocoaPods.podfile'
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment