Skip to content

Commit

Permalink
Bump the libcnb group with 3 updates (#205)
Browse files Browse the repository at this point in the history
* Bump the libcnb group with 3 updates

Bumps the libcnb group with 3 updates: [libcnb](https://github.com/heroku/libcnb.rs), [libherokubuildpack](https://github.com/heroku/libcnb.rs) and [libcnb-test](https://github.com/heroku/libcnb.rs).


Updates `libcnb` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.14.0...v0.15.0)

Updates `libherokubuildpack` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.14.0...v0.15.0)

Updates `libcnb-test` from 0.14.0 to 0.15.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: libcnb
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libherokubuildpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libcnb-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix compile errors with libcnb-test 0.15.0

* Remove unnecessary `vec![]` usages

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ed Morley <[email protected]>
  • Loading branch information
dependabot[bot] and edmorley authored Oct 24, 2023
1 parent f48ea6e commit dd8376a
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 57 deletions.
134 changes: 87 additions & 47 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions buildpacks/ruby/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ glob = "0.3"
indoc = "2"
# libcnb has a much bigger impact on buildpack behaviour than any other dependencies,
# so it's pinned to an exact version to isolate it from lockfile refreshes.
libcnb = "=0.14.0"
libherokubuildpack = "=0.14.0"
libcnb = "=0.15.0"
libherokubuildpack = "=0.15.0"
rand = "0.8"
regex = "1"
serde = "1"
Expand All @@ -27,5 +27,5 @@ url = "2"
clap = { version = "4", features = ["derive"] }

[dev-dependencies]
libcnb-test = "=0.14.0"
libcnb-test = "=0.15.0"
toml = "0.8"
10 changes: 5 additions & 5 deletions buildpacks/ruby/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ DEPENDENCIES

TestRunner::default().build(
BuildConfig::new("heroku/builder:22", app_dir.path())
.buildpacks(vec![
.buildpacks([
BuildpackReference::Other(String::from("heroku/jvm")),
BuildpackReference::Crate,
BuildpackReference::CurrentCrate,
]),
|context| {
assert_contains!(context.pack_stdout, "# Heroku Ruby Buildpack");
Expand All @@ -97,10 +97,10 @@ DEPENDENCIES
fn test_ruby_app_with_yarn_app() {
TestRunner::default().build(
BuildConfig::new("heroku/builder:22", "tests/fixtures/yarn-ruby-app")
.buildpacks(vec![
.buildpacks([
BuildpackReference::Other(String::from("heroku/nodejs-engine")),
BuildpackReference::Other(String::from("heroku/nodejs-yarn")),
BuildpackReference::Crate,
BuildpackReference::CurrentCrate,
]),
|context| {
assert_contains!(context.pack_stdout, "# Heroku Ruby Buildpack");
Expand All @@ -122,7 +122,7 @@ fn test_barnes_app() {
context.start_container(
ContainerConfig::new()
.entrypoint("launcher")
.envs(vec![
.envs([
("DYNO", "web.1"),
("PORT", "1234"),
("AGENTMON_DEBUG", "1"),
Expand Down
4 changes: 2 additions & 2 deletions commons/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ indoc = "2"
lazy_static = "1"
# libcnb has a much bigger impact on buildpack behaviour than any other dependencies,
# so it's pinned to an exact version to isolate it from lockfile refreshes.
libcnb = "=0.14.0"
libherokubuildpack = "=0.14.0"
libcnb = "=0.15.0"
libherokubuildpack = "=0.15.0"
regex = "1"
serde = "1"
sha2 = "0.10"
Expand Down

0 comments on commit dd8376a

Please sign in to comment.