Skip to content

Commit

Permalink
Merge pull request #440 from CocoaPods/seg-nanaimo-0-2-0
Browse files Browse the repository at this point in the history
[Plist] Update to Nanaimo 0.2.0
  • Loading branch information
segiddins authored Nov 2, 2016
2 parents 6f39ad0 + 05f5fc3 commit db38c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/xcodeproj/plist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def self.write_to_path(hash, path)

File.open(path, 'w') do |f|
plist = Nanaimo::Plist.new(hash, :xml)
Nanaimo::Writer::XMLWriter.new(plist, true, f).write
Nanaimo::Writer::XMLWriter.new(plist, :pretty => true, :output => f, :strict => false).write
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/xcodeproj/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def save(save_path = nil)
@dirty = false if save_path == path
FileUtils.mkdir_p(save_path)
file = File.join(save_path, 'project.pbxproj')
File.open(file, 'w') { |f| Nanaimo::XcodeProjectWriter.new(to_ascii_plist, true, f).write }
File.open(file, 'w') { |f| Nanaimo::Writer::PBXProjWriter.new(to_ascii_plist, :pretty => true, :output => f, :strict => false).write }
end

# Marks the project as dirty, that is, modified from what is on disk.
Expand Down

0 comments on commit db38c9b

Please sign in to comment.