Closed donv closed 8 years ago
The test failure is due to an unbounded json version resolves to version 2.0.1 which requires Ruby 2.0+. This is unrelated to the PR.
The solution is to bind json to version '<2', at least when testing Ruby 1.9.3. Do you want me to add that?
@deadprogram ^
Hi, @donv
Since Ruby 1.9.3 is now considered end of life, should be perhaps just discontinue support for it? @hunterboerner any opinion on that?
@deadprogram
Whether Ruby 1.9.3 support should be discontinued is outside this PR. I am happy to help with that inside or outside this PR, but my first priority is getting this PR merged.
Added PR #35 to solve the Ruby 1.9.3 issue.
Thanks very much @donv
Thanks!
And thanks for the release!
We use rubyserial with RS485 where EVEN parity is enabled. With the changes in this PR, it works well on both OS X and Linux (on a Raspberry PI 3).
I don't have any documentation for Windows, so I have not added the feature there. I added a warning if someone tries to use parity on Windows.
I added a spec for using the parity option.
Finally I updated the README with usage for parity and listed the default.
Hopefully this can be merged and released 😄 .