Fix a pre-release-exclusion bug

The special logic for excluding 1.0.0-dev from <1.0.0 was only
implemented for VersionRange.allows(), not for any other methods. This
brings the other methods in line with allows().

Closes dart-lang/pub_semver#20
4 files changed
tree: 4598572db1356236ccb1d688a3a6bde3e2b3443d
  1. pkgs/