Commit 50b8c088 authored by Fabio Pelosin's avatar Fabio Pelosin

[Lockfile] Remove `---' from YAML.

parent 34a68534
......@@ -74,7 +74,7 @@ module Pod
# serialization.
#
def to_yaml
to_dict.to_yaml
to_dict.to_yaml.gsub(/^--- ?\n/,"")
end
# @return [Dictionary] The Dictionary representation of the Lockfile.
......
......@@ -5,7 +5,6 @@ describe "Pod::Lockfile" do
def sample
text = <<-LOCKFILE.strip_heredoc
---
PODS:
- BananaLib (1.0):
- monkey (< 1.0.9, ~> 1.0.1)
......@@ -13,7 +12,7 @@ describe "Pod::Lockfile" do
DEPENDENCIES:
- BananaLib (~> 1.0)
COCOAPODS: #{Pod::VERSION}
LOCKFILE
LOCKFILE
end
def podfile
......
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