Skip to content

Commit

Permalink
chore: Upgrade pact_models to 1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Jul 27, 2023
1 parent 28a9df9 commit 4a01919
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion rust/pact_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exclude = [
clap = "2.31.2"
serde_json = "1.0"
serde = "1.0"
pact_models = "~1.1.8"
pact_models = "~1.1.9"
pact_matching = { version = "~1.1.3", path = "../pact_matching" }
anyhow = "1.0.40"
log = "0.4.14"
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_consumer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ lazy_static = "1.4.0"
maplit = "1.0.2"
pact_matching = { version = "~1.1.3", path = "../pact_matching", default-features = false }
pact_mock_server = { version = "~1.2.1", path = "../pact_mock_server", default-features = false }
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
pact-plugin-driver = { version = "~0.4.5", optional = true, default-features = false }
regex = "1.7.3"
serde_json = "1.0.95"
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exclude = [
ansi_term = "0.12.1"
anyhow = "1.0.70"
pact_matching = { version = "~1.1.3", path = "../pact_matching" }
pact_models = "~1.1.8"
pact_models = "~1.1.9"
pact_mock_server = { version = "~1.2.1", path = "../pact_mock_server" }
pact_verifier = { version = "~1.0.1", path = "../pact_verifier" }
libc = "0.2.141"
Expand Down
8 changes: 4 additions & 4 deletions rust/pact_ffi/src/mock_server/bodies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,25 +574,25 @@ mod test {
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "max", "max": 100 }).as_object().unwrap()))
.to(be_some().value(MatchingRule::MaxType(100)));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "timestamp" }).as_object().unwrap()))
.to(be_none());
.to(be_some().value(MatchingRule::Timestamp("".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "timestamp", "format": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Timestamp("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "timestamp", "timestamp": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Timestamp("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "datetime" }).as_object().unwrap()))
.to(be_none());
.to(be_some().value(MatchingRule::Timestamp("".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "datetime", "format": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Timestamp("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "datetime", "datetime": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Timestamp("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "date" }).as_object().unwrap()))
.to(be_none());
.to(be_some().value(MatchingRule::Date("".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "date", "format": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Date("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "date", "date": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Date("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "time" }).as_object().unwrap()))
.to(be_none());
.to(be_some().value(MatchingRule::Time("".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "time", "format": "yyyy-MM-dd" }).as_object().unwrap()))
.to(be_some().value(MatchingRule::Time("yyyy-MM-dd".to_string())));
expect!(matcher_from_integration_json(&json!({ "pact:matcher:type": "time", "time": "yyyy-MM-dd" }).as_object().unwrap()))
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_matching/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mime = "0.3.17"
multer = { version = "2.1.0", features = ["all"], optional = true }
nom = "7.1.3"
onig = { version = "6.4.0", default-features = false }
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
pact-plugin-driver = { version = "~0.4.5", optional = true, default-features = false }
rand = "0.8.5"
semver = "1.0.17"
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_mock_server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ itertools = "0.10.5"
lazy_static = "1.4.0"
maplit = "1.0.2"
pact_matching = { version = "~1.1.3", path = "../pact_matching", default-features = false }
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
pact-plugin-driver = { version = "~0.4.5", optional = true, default-features = false }
rustls = { version = "0.21.0", optional = true }
rustls-pemfile = { version = "1.0.2", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_mock_server_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ log = "0.4.18"
lazy_static = "1.4.0"
pact_matching = { version = "~1.1.3", path = "../pact_matching", default-features = false }
pact_mock_server = { version = "~1.2.1", path = "../pact_mock_server", default-features = false }
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
rand = "0.8.5"
regex = "1.8.4"
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls-native-roots", "blocking", "json"] }
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_verifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ lazy_static = "1.4.0"
maplit = "1.0.2"
mime = "0.3.16"
pact_matching = { version = "~1.1.3", path = "../pact_matching", default-features = false }
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
pact-plugin-driver = { version = "~0.4.5", optional = true, default-features = false }
regex = "1.7.0"
serde = "1.0.147"
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_verifier_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env_logger = "0.10.0"
junit-report = { version = "0.8.2", optional = true }
log = "0.4.17"
maplit = "1.0.2"
pact_models = { version = "~1.1.8", default-features = false }
pact_models = { version = "~1.1.9", default-features = false }
pact_verifier = { version = "~1.0.1", path = "../pact_verifier", default-features = false }
regex = "1.7.3"
reqwest = { version = "0.11.16", default-features = false, features = ["rustls-tls-native-roots", "blocking", "json"] }
Expand Down
2 changes: 1 addition & 1 deletion rust/pact_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exclude = [
crate-type = ["cdylib", "rlib"]

[dependencies]
pact_models = "~1.1.8"
pact_models = "~1.1.9"
wasm-bindgen = "0.2.79"
console_error_panic_hook = "0.1.7"
console_log = { version = "0.2.0", features = ["color"] }
Expand Down

0 comments on commit 4a01919

Please sign in to comment.