New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent Podfile.lock files between Ruby versions #3452
Comments
So, this is happening because I'm using Psych to encode strings before they get into the lockfile, and I think the inconsistency is coming for psych. I'm really not sure what we can do about this. |
I opened an issue on Psych at ruby/psych#232, but I think I can do something to avoid re-writing the file if the contents is, other than the quoting difference, exactly the same. It won't save you from irrelevant diff lines, but it could mean that |
@segiddins I think so. People not familiar with the Podfile.lock might assume that they've done something wrong to change it. Also, thanks for filing the psych issue! |
@cbrauchli in that case, CocoaPods/Core@5133472 should help! It won't save you from longer diffs, but it will hopefully mean that, when the semantic contents of the lockfile haven't changed, the file won't change the quotes. |
Works for me! Is there any chance this change will make it onto the |
I don't know if we'll have another 0.36 release, since releases take a few hours, but that's probably @kylef's call. |
This is till happening in |
It's not really a problem CocoaPods can fix, unfortunately. Both are valid YAML files. |
馃寛
It looks like the
Podfile.lock
has different path strings for development pods depending on which version of Ruby is being used.On Ruby 2.2.2:
On Ruby 2.0.0:
The text was updated successfully, but these errors were encountered: