-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Merge #188995: bundler: 2.3.20 -> 2.3.21"
Moving to staging branch, as it's a huge rebuild. This reverts commit 6511d3f, reversing changes made to cf40140.
- Loading branch information
Showing
1 changed file
with
3 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,14 @@ | ||
{ lib, buildRubyGem, ruby, writeScript }: | ||
{ buildRubyGem, ruby }: | ||
|
||
buildRubyGem rec { | ||
inherit ruby; | ||
name = "${gemName}-${version}"; | ||
gemName = "bundler"; | ||
version = "2.3.21"; | ||
source.sha256 = "sha256-+u3H/8Fno8U7ZMRj2me1DVvkOAR2HeWmjdo0TCG/0d4="; | ||
version = "2.3.20"; | ||
source.sha256 = "sha256-gJJ3vHzrJo6XpHS1iwLb77jd9ZB39GGLcOJQSrgaBHw="; | ||
dontPatchShebangs = true; | ||
|
||
passthru.updateScript = writeScript "gem-update-script" '' | ||
#!/usr/bin/env nix-shell | ||
#!nix-shell -i bash -p curl common-updater-scripts jq | ||
set -eu -o pipefail | ||
latest_version=$(curl -s https://rubygems.org/api/v1/gems/${gemName}.json | jq --raw-output .version) | ||
update-source-version ${gemName} "$latest_version" | ||
''; | ||
|
||
postFixup = '' | ||
sed -i -e "s/activate_bin_path/bin_path/g" $out/bin/bundle | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Manage your Ruby application's gem dependencies"; | ||
homepage = "https://bundler.io"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [anthonyroussel]; | ||
}; | ||
} |
21de2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vcunat, you pushed a commit directly to master/release branch
instead of going through a Pull Request.
That's highly discouraged beyond the few exceptions listed
on #118661
21de2b9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, intentional.