Closed RomanTruba closed 7 years ago
Looks good! Can you add a spec?
@benasher44 sorry, i don't know how.
The first step is to figure out what it is in the JSON output from xcrun simctl list -j devices
causes this bug. Once you have that, you can make a json file with this output in spec/fixtures. And then in spec/unit_spec.rb, you can copy the sample that does something similar (inject the sample json from a file).
This fix should have a CHANGELOG entry as well.
@benasher44 I added a test device, and updated specs. I think, it will be better, if you add an entry to changelog.
@Dreddik I can add it, but I'm just curious. What's your concern about modifying the CHANGELOG? You're not expected to do anything about the version or anything like that. You can just add your change to the master section under bug fixes (replacing "None").
Looks good. Nice work! going to wait on CI to pass, and then I think we're all set!
Rubocop informed about complexity, refactored to avoid.
God, please, allow this last commit to be passed.
@Dreddik thanks for your contribution!
Fix for #8