Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #938 from carolynvs/use-semver-PR
Browse files Browse the repository at this point in the history
Use fork of Masterminds/semver until PR is merged
  • Loading branch information
sdboyer committed Aug 8, 2017
2 parents b8ecfaa + 0cbbebd commit 843f6f2
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 8 deletions.
7 changes: 4 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[[constraint]]
branch = "2.x"
branch = "parse-constraints-with-dash-in-pre"
name = "github.com/Masterminds/semver"
source = "https://github.com/carolynvs/semver.git"

[[constraint]]
name = "github.com/Masterminds/vcs"
Expand Down
4 changes: 2 additions & 2 deletions cmd/dep/godep_importer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ func TestGodepConfig_ConvertProject_WithSemverSuffix(t *testing.T) {
}

v := d.Constraint.String()
if v != ">=1.12.0, <=12.0.0-g2fd980e" {
t.Fatalf("Expected manifest constraint to be >=1.12.0, <=12.0.0-g2fd980e, got %s", v)
if v != "^1.12.0-12-g2fd980e" {
t.Fatalf("Expected manifest constraint to be ^1.12.0-12-g2fd980e, got %s", v)
}

p := lock.P[0]
Expand Down
2 changes: 1 addition & 1 deletion vendor/github.com/Masterminds/semver/constraints.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion vendor/github.com/Masterminds/semver/constraints_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/github.com/Masterminds/semver/parse.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 843f6f2

Please sign in to comment.